Commit graph

195 commits

Author SHA1 Message Date
Reinier Balt
9c0445fcb7 make adding of todos from sidebar work in context and project grouping 2013-04-11 10:53:35 +02:00
Dan Rice
e6dceb5058 Fix contexts not being viewable if collapsed
Contexts collapsed on the homepage were also being collapsed on the
context detail page, but without the option to expand them.
This change stops collapsing them on the detail page regardless of the
setting on the homepage.
2013-03-20 18:56:40 +02:00
Reinier Balt
85fc82d494 refactor done todos view and tests 2013-03-18 12:36:40 +01:00
Reinier Balt
0a9755c8a3 get all scenario's running again, first pass. 2013-03-18 12:36:40 +01:00
Reinier Balt
ede898120c remove option to show empty containers and start fixing failing cucumber scenarios 2013-03-18 12:36:40 +01:00
Reinier Balt
22b371ef8c do a big refactor of rendering collections of todos for home page, tag page, project page, context page 2013-03-18 12:36:40 +01:00
Reinier Balt
f22dfc1f9b initial changes to add an option to select either context or project as grouping of todos on home or tag page
* new menu item in view menu
* js to toggle view
* store setting in cookie to keep de choice of view persistent
* refactor index and tag page of todos to look more alike
* refactor context and project partials to look more alike
2013-03-18 12:32:28 +01:00
Matt Rogers
63fc460c00 Refactor the empty message criteria into its own method.
Removes plenty of duplication in the code
2013-03-12 14:21:12 -05:00
Matt Rogers
d699359648 Move the view logic back into the helper
Staleness#days_stale only gives us the number of days that a Todo has
been stale. Add the logic for choosing the CSS class to use back to the
view helper.
2013-03-10 22:18:59 -05:00
Matt Rogers
8dfbac0fe8 Use the newly extracted method object for getting todo staleness 2013-03-09 22:38:38 -06:00
Katrina Owen
0b733b6183 Override #to_s on Tag for simplified joining 2013-02-19 08:47:47 -07:00
Katrina Owen
95a4ed6e4a Add Tag#label method 2013-02-18 15:12:53 -07:00
tim madden
f7f8b79f5b Eliminating unneeded blank space character from show_date_tag
The space character causes the 'Show in x period' background color to
run into the todo description.

Closes #1368
2012-11-30 16:08:25 -06:00
Dan Rice
9a1faa9701 convert rollovers to pure CSS with sprites 2012-09-29 09:56:51 -04:00
Reinier Balt
e8c3ba2e28 fix #1313 by checking on NullProject too 2012-07-18 10:39:15 +02:00
Reinier Balt
d6e66fa517 fix failing cucumber tests
fix data export view
fix mentions of tag on tag page 
fix autocomplete for tags
2012-07-11 15:35:21 +02:00
Reinier Balt
0b1d521bbf ugly fix for deprecation warnings fopr mouseover and fix failing tests 2012-06-27 21:40:12 +02:00
Reinier Balt
ecb0ff5bf7 get features of recurring_todos to pass 2012-05-12 15:37:13 +02:00
Reinier Balt
005723cb4f get login, mobile and notes features passing 2012-05-12 13:37:36 +02:00
Reinier Balt
c9d64e6f4b get the first cucumber feature running: calendar 2012-04-30 13:56:42 +02:00
Reinier Balt
63175c115b all non-cucumber tests are passing 2012-04-30 13:56:41 +02:00
Reinier Balt
76340b780c Getting functional tests running. 2012-04-30 13:56:38 +02:00
Reinier Balt
fd433d76d8 fix all upgrade warnings from the rails_upgrade plugin 2012-04-30 13:56:38 +02:00
Reinier Balt
e964769553 home page is restored, so is context view 2012-04-30 13:56:37 +02:00
Reinier Balt
bb8b5a4c72 store rendered notes of todos in database to avoid costly rendering when you load a page 2012-04-12 11:34:08 +02:00
Reinier Balt
b2e6253b4c restore all associations for tags. All tests are passing 2012-04-11 11:37:22 +02:00
Reinier Balt
c7637053e1 fix #1268. The default context in the new todo form on the home page is now the first active context
Instead of the first context that could be hidden and thus appear random. Also fix setting the default context based on the project you select.
2012-04-03 20:32:15 +02:00
Reinier Balt
dd957f0feb fix #1255. Context view now has seperate container for pending and deferred todos 2012-03-23 14:04:55 +01:00
Reinier Balt
1236b5985c migrate search and add new todo scenario's 2012-03-19 14:06:34 +01:00
tim madden
250e1d8fcc folding mobile_done method into original toggle_check method
the mobile_done method was created to test out a checkbox submit
the mobile interface. In the interests of DRY, this brings the new
mobile code into the original method,
2012-01-16 11:37:29 -06:00
tim madden
d0e7264661 changes for done checkbox on mobile page
adding recent completed todos in case you accidentally tick one by mistake
2011-12-19 21:10:19 -06:00
Stefan Richter
1b33a2733a slight syntax issue with 1.9 2011-10-09 20:30:26 +02:00
Reinier Balt
d182394930 further refactoring of todos_helper 2011-09-30 22:54:39 +02:00
Reinier Balt
fde151123c refactor tag helpers 2011-09-30 19:49:44 +02:00
Reinier Balt
bed46847b3 make todos editable on the search page. Fix #716. 2011-09-16 12:39:44 +02:00
Reinier Balt
84ad01a6f6 improve tests for preferences and fix a pending cucumber step 2011-08-19 12:51:06 +02:00
Reinier Balt
07b05d01f7 fix #922. You can now mark a todo complete from the tickler. Also fixed some small aasm corner cases found by this change 2011-08-18 17:15:00 +02:00
Reinier Balt
a8f4199adc clean up cucumber scenarios and add a few more 2011-08-15 20:44:59 +02:00
Reinier Balt
b40998e0bc add a few cucumber scenario's for editing a todo 2011-08-11 20:53:54 +02:00
Reinier Balt
f544c80fbc add some pending cucumber scenarios and fix a small bug it uncovered 2011-08-11 17:13:01 +02:00
Demian Gemperli
c45b11dc70 Have a Star option on task entry screens #928 2011-07-30 18:52:11 +02:00
Reinier Balt
c5c4c65f3c fix tab index counter. In case of a server restart the global var does not exist anymore causing an error 2011-05-23 14:44:16 +02:00
Reinier Balt
d444d80f93 fix #1168 by using a new helper to increate the tab_index automatically
Signed-off-by: Reinier Balt <lrbalt@gmail.com>
2011-05-08 16:40:31 +02:00
Reinier Balt
efa12e6695 fix small corner case where empty message was not shown when deleting last deferred todo from a project page 2011-05-01 15:07:41 +02:00
Reinier Balt
2675be8f4c fix #1156 where todos with ' in the name were not rendered correctly in title of pending annotation 2011-04-29 18:40:04 +02:00
Reinier Balt
4658ca8655 fix #1146 2011-04-19 17:22:23 +02:00
Reinier Balt
cb58318858 another attempt at #1150 and fix some failing cucumber scenarios 2011-04-19 16:40:55 +02:00
Reinier Balt
539e18d87e fix #1150 by nog using ruby1.8.7 Array.count but Array.length for 1.8.6 compat 2011-04-19 13:42:05 +02:00
Reinier Balt
c0115eacd7 get some wip cucumber tests running 2011-04-14 16:26:16 +02:00
Reinier Balt
c6e1760278 fix #1142 where an action unmarked as complete will not show the [C] or context name. Also fix contexts with " or ' in the name in the multi todos form 2011-04-14 12:28:30 +02:00