Habitica: cannot "Copy message as To-Do" from the Inbox

Created on 1 Apr 2016  路  7Comments  路  Source: HabitRPG/habitica

General Info

  • UUID: 73e5125c-2c87-4004-8ccd-972aeac4f17a
  • Browser: Chrome (49.0.2623.110 m) and Firefox (40.0.3)
  • OS: Windows 7

Description

The "Copy message as To-Do" feature does not work from the Inbox. It works in the Tavern (and I assume guilds, etc.), but in the Inbox there is no confirmation dialog. I see the same behavior in both Chrome and Firefox.

help wanted minor

Most helpful comment

@Redmega Maybe the method is in a scope that isn't being used for the code that does the inbox?
throws buzzwords around while trying to look intelligent and knowledgable

All 7 comments

Confirmed. No javascript console messages. The button does literally nothing (except for the on-hover explanatory text).

If nobody picks this up by tonight I'd like to give it a go

I've got my local environment set up and running, I'm looking into this now.

Still performing root cause analysis but it looks like from a cursory look the copyToDo method is never being hit on click of the inbox "Copy to Todos" button. I don't know enough about angular to fathom why, though.

@Redmega Maybe the method is in a scope that isn't being used for the code that does the inbox?
throws buzzwords around while trying to look intelligent and knowledgable

@Redmega I wanted to see if I could solve this problem as well. I believe i have a fix but i don't want to steal your issue. Give you a hint to Part of the problem. There is a missingng-controller='ChatCtrl'

@Sinble Thanks for the tip. Been reading into angular so not having that ChatCtrl controller attached would cause it to not be able to talk with the controller layer, right? So it doesn't even know what the copyToDo function is...

Guessing there's more to it than just adding the ng-controller attribute, though, since you're saying thats only _part_ of the problem. You can go ahead and solve this, I haven't gotten any headway with it and I'm going to be busy with work the next few days.

Was this page helpful?
0 / 5 - 0 ratings