Commit graph

11 commits

Author SHA1 Message Date
bsag
02496f2d44 Updated to svn tags/tracks-1.6 2008-06-03 19:40:22 +01:00
lukemelia
8f81f6d58a Add additional keyboard shortcuts to date fields, per SK's suggestion in #470.
Date field shortcuts:

           (t) today
           (-) or (<) previous day
           (+) or (>) next day
           ([) previous week; (]) next week
           ({) previous month
           (}) next month



git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@519 a4c988fc-2ded-0310-b66e-134b36920a42
2007-04-02 04:55:04 +00:00
lukemelia
06f14dd3b9 And here's the copy step.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@501 a4c988fc-2ded-0310-b66e-134b36920a42
2007-03-30 04:36:52 +00:00
lukemelia
c34d9faa38 Arg. Branching never seems to "just work". Going to delete and recopy. Here's the delete step.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@500 a4c988fc-2ded-0310-b66e-134b36920a42
2007-03-30 04:36:14 +00:00
lukemelia
18bb7ff16a Reenable keyboard shortcuts for the date fields.
* Adds keyboard shortcuts to the passed in date field:
 *
 *   't'         input today's date
 *   '+' or '='  increment the date in the field by one day
 *   '-'         decrement the date in the field by one day
 *
 * If the calendar is visible, the shortcuts play nicely with it. If not,
 * they still work properly. Pressing '+' when no date is entered in the
 * field will set the date to tomorrow, and likewise '-' with no date
 * entered will set the date to yesterday.




git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@473 a4c988fc-2ded-0310-b66e-134b36920a42
2007-03-10 03:32:47 +00:00
lukemelia
2329cb8e1e Introduced user preference for time zone (migration, model and prefs forms)
Made all dates and times stored in UTC in the database and presented according to the User's preferred time zone.
Cleaned up old unused preference methods in UserController
Restored keyboard shortcuts for date field interaction
Aliased preference in User model to prefs for brevity

Don't forget to rake db:migrate for this update!

All tests pass, but there were a lot of little changes involved in this feature. Please help me test it thoroughly if you're using the trunk. 
 
Fixes #349



git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@392 a4c988fc-2ded-0310-b66e-134b36920a42
2007-01-06 10:06:33 +00:00
lukemelia
fd67a7341e Fixes #404. "Create a new deferred todo in the tickler go to due field. The calendar is shown go to the 'show from' field. The calendar is not shown" The problem was a javascript error from the partially disabled keyboard shortcuts in the calendar. They are now totally disabled until we work out the Chronic parsing stuff.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@357 a4c988fc-2ded-0310-b66e-134b36920a42
2006-11-21 05:10:32 +00:00
bsag
4c2742f6f3 Started adding support for the Chronic library, to provide natural language date selections. You can now type phrases such as "tomorrow", "nov 10", "1 week hence", "10 days hence" and so on into the date box and these will be parsed into a valid date. I haven't managed to get proper validation working yet, but you'll get a live preview of the parsed date just below the input box.
What doesn't work yet:

* If you delete all characters in the date box, you'll get an error message. This will go away if you type more characters
* You'll get an error as above when the form is cleared and redisplayed after submission. Again, it will go away if you type anything in the box.
* Validation doesn't work, but the preview will display "Invalid date" if Chronic can't parse your phrase
* This isn't added to the edit form for actions yet.

Also partially fixed #394: the mobile interface works again, but you might get an error visiting the subsequent pages of a filtered view (i.e. viewing a single context or project). I'm not sure what's causing this, but it's on my list to fix.

git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@332 a4c988fc-2ded-0310-b66e-134b36920a42
2006-10-25 15:35:08 +00:00
lukemelia
4de6537af8 Adds keyboard shortcuts to any field that has a calendar:
't'         input today's date
   '+' or '='  increment the date in the field by one day
   '-'         decrement the date in the field by one day

When the calendar is visible, the shortcuts play nicely with it. If the calendar is not visible they still work properly, which makes them useful for keyboard-only next action input. Pressing '+' when no date is entered in the field will set the date to tomorrow, and likewise '-' with no date entered will set the date to yesterday.

Closes #264



git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@231 a4c988fc-2ded-0310-b66e-134b36920a42
2006-04-23 06:23:03 +00:00
bsag
b4d72cf17a Updated the documents, which are now in doc (CHANGELOG and README_FOR_APP).
Also removed the tabs from all the files, and replaced with spaces (2 per tab).


git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@102 a4c988fc-2ded-0310-b66e-134b36920a42
2005-06-11 12:24:19 +00:00
bsag
8406a482d5 Merged branches/TRY-BSAG-ajax back to the trunk.
...and we're back!


git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@86 a4c988fc-2ded-0310-b66e-134b36920a42
2005-05-28 14:08:44 +00:00