Commit graph

38 commits

Author SHA1 Message Date
Tyler Renelle
f412a20203 habitrpg-shared: cron bug-fixes 2013-05-20 10:56:38 +01:00
Tyler Renelle
0b445df909 habitrpg-shared: *almost* working wth new scoring (c0cf9780fe) - need to fix for cron, API, and other misc bugs 2013-05-19 23:50:41 +01:00
Tyler Renelle
6a36f4bd1d habitrpg-shared: helpers now working d42ac5d53c 2013-05-19 18:53:13 +01:00
Tyler Renelle
f7145bb951 cleanup of the show-completed / show-remaining. That context-dependant
/ display-context-for stuff was bugging me out, and wasn't using Derby
to it's potential. also some tags & habit-wide cleanup in helpers:taskClasses()
2013-05-12 10:52:32 +01:00
Tyler Renelle
05de1364a8 apply active filters as tags to newly-created tasks 2013-05-10 18:35:14 +01:00
Tyler Renelle
bed0f64d47 tags: use select combobox instead of dropdown, easier code & mitigates
some css issues
2013-05-06 15:27:27 +01:00
Tyler Renelle
a3003a758d Merge branch 'tags' into develop
Conflicts:
	src/app/index.coffee
	src/app/tasks.coffee
	styles/app/index.styl
	views/app/index.html
	views/app/settings.html
	views/app/tasks.html
2013-05-06 14:01:43 +01:00
Tyler Renelle
b0b90f686c add back in model.id(), modified lefnire/racer#habitrpg model.id() instead 2013-05-05 23:04:09 +01:00
Tyler Renelle
d055f68c5b temporary fix to #891, model.id() isn't working for some reason.
Provide custom `helpers.uuid()` function until I can figure this out
2013-05-05 22:03:26 +01:00
Tyler Renelle
83649c6734 fix clear-completed 2013-04-10 19:24:33 -04:00
Tyler Renelle
0abbc98b1c move all view helpers out of their respective files and into
helpers.coffee. we need viewHelpers at top-level scope, but nothing
else per se - this is preparation for memory leak fixing
2013-04-04 16:17:30 -04:00
Tyler Renelle
b286b95153 add charts back in, temporary style 2013-03-21 16:31:23 -06:00
Tyler Renelle
f332c5d9a8 Merge branch 'develop' into toebu-tags-filters
Conflicts:
	src/app/index.coffee
	src/app/tasks.coffee
	styles/app/index.styl
	views/app/index.html
	views/app/tasks.html
2013-03-18 17:09:42 -04:00
Tyler Renelle
5799a155af set timeout interval on undo (disappear after 10s) 2013-03-17 23:16:05 -04:00
Tyler Renelle
de1eca084e bugfix to "can't delete task" 2013-03-17 22:09:33 -04:00
Tyler Renelle
07a3a3c3b6 fix to reward issue in undo 2013-03-17 22:02:06 -04:00
Tyler Renelle
903745f7c9 pass in whole task object to taskClasses 2013-03-17 21:50:02 -04:00
Tyler Renelle
10e9d3eb40 fixed undo on checkboxed items 2013-03-17 21:43:03 -04:00
Tyler Renelle
2f3d0fa86a start adding undo functionality 2013-03-17 21:30:24 -04:00
Tyler Renelle
4614e48cdc Adding first rudimentary version of tagging and filtering. New users get three tags: morning, afternoon and evening. At the moment, one can not change these tags or add new ones. There are also some problems: tagging a newly added task, also tags one of the existing tasks. Also, when having an active filter and removing the corresponding tag from a task, that task is immediately hidden, although you are still editing it. 2013-03-17 09:10:27 -04:00
Tyler Renelle
3f251c4b32 Merge pull request #624 from zakkain/ui-tweaks
Time to update the dev preview again!
2013-03-14 11:38:06 -07:00
Tobias Leugger
9aac271b60 Improving readability of the statements for setting the colour of a task 2013-03-09 20:06:53 +01:00
Zachary Kain
456580e352 gut & re-style Task Options, only Rewards tasks & options left to go through 2013-03-06 00:50:39 -05:00
Zachary Kain
84e07a0317 better a11y than display:none 2013-03-06 00:50:39 -05:00
Tyler Renelle
9c14b29a3d rename priority multiplier to "Difficulty" -> easy, medium,
hard (people keep getting confused) and putting it back into
"advanced" section
2013-03-05 18:07:22 -05:00
Philip How
7c10aafb1c Fixes galore 2013-03-04 22:00:12 +00:00
Tyler Renelle
9517455a79 migrate "multiplier" setup to "priority" setup, with ! !! !!! instead
of 1 2 3. multipliers are now 1x 1.5x 2x
2013-03-04 11:37:46 -05:00
Tyler Renelle
7f03a30fd5 remove "advanced" section, clean up the task-edit form a bit 2013-03-03 21:38:21 -05:00
Tyler Renelle
1a335cc68a add priority-multiplier to html & tasks.coffee (note, requires merge
of @IvanGaravito /derby#hotfix-model_at_for_each_blocks
2013-03-03 17:54:14 -05:00
Tyler Renelle
e6e960ae5e performance boost - only re-establish popover / tooltips on saving task 2013-03-02 23:52:47 -05:00
Tyler Renelle
d20fccea75 pass model by reference to scoring functions 2013-03-02 23:38:31 -05:00
Tyler Renelle
9b20d8ceba move scoring to its own class (attempt to remove model from hanging
around in closure on server, which is what's causing our memory leak -
see http://goo.gl/7Gt0M)
2013-02-26 16:51:00 -05:00
lancemanfv
5142a78bee Update src/app/tasks.coffee
20/02/13 Added a check for undefined value, more at https://github.com/lefnire/habitrpg/issues/463 -lancemanfv
2013-02-20 23:29:06 +02:00
Tyler Renelle
031b4029c6 test on empty task-text entry, for #330 2013-02-11 13:12:15 -05:00
Tyler Renelle
3a4d79e175 add items to the top of the list, since "add new __" is at the top 2013-02-11 01:27:52 -05:00
Tobias Leugger
c94563c8f3 Adding a new functionality that allows the context (i.e. css classes)
of an element to be changed easily. Using this to implement the
'remaining todos' and 'complete todos' views. Reverting fix from
69e5778 that is now not needed anymore since task deletion works as
it used to.
2013-02-09 16:45:00 +01:00
Tyler Renelle
5ea0dfe713 move idList back to root-level, is what's causing the sort bug - see https://github.com/codeparty/racer/pull/73 2013-02-08 21:03:56 -05:00
Tyler Renelle
230d672fc7 refactor much of the hodge-podge code into their own files 2013-02-08 18:03:46 -05:00