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
4b3ba0dd6a AJAX spinners are now contextual instead of in the same place on every Ajax request.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@668 a4c988fc-2ded-0310-b66e-134b36920a42
2007-12-03 03:24:05 +00:00
lukemelia
ae95f03c5b DRY up javascript for form visibility toggling.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@644 a4c988fc-2ded-0310-b66e-134b36920a42
2007-11-18 08:05:39 +00:00
lukemelia
2485faaf5c Clean up login screen when database authentication AND open id authentication is enabled.
There's now a simple way to switch between forms rather than showing them both at once.
Plus, Tracks will cookie you when you switch forms so it remembers the last type of
authentication you used when you return.



git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@504 a4c988fc-2ded-0310-b66e-134b36920a42
2007-03-30 06:06:31 +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
bsag
5d51ca84ba Rationalised and streamlined the flash and error notifications, using a method outlined here by Andreas Aderhold:
http://blog.andreasaderhold.com/2006/07/rails-notifications

All flash messages now show up as an overlay on the right hand side of the navigation header, and also fade automatically, so that you don't have to refresh the page. Errors (i.e. validation errors) are shown as close to the originating form as possible.

Two new notify methods (one for controllers, and one for RJS templates) help construct the flash of whatever type you like. e.g.

In controllers:

notify :warning, "This is the message"

In RJS:

notify :warning, "This is the message", 5.0



git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@351 a4c988fc-2ded-0310-b66e-134b36920a42
2006-11-19 16:52:58 +00:00
lukemelia
13f7f443af Major javascript performance improvements.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@281 a4c988fc-2ded-0310-b66e-134b36920a42
2006-07-13 04:50:26 +00:00
lukemelia
9263249e77 This changeset adds the ability to drag and drop actions between contexts and ajaxomagically update the action's context in the backend. I've tested it in Firefox and Safari, but not on other browsers.
When you start dragging an action, the other contexts collapse to provide easier targets for dropping. After the drop, the contexts return to their previously states of collapsed/expanded.



git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@275 a4c988fc-2ded-0310-b66e-134b36920a42
2006-07-03 00:22:28 +00:00
lukemelia
da22d34962 Enable user-specific, cookie-based storage of context collapse/expand settings on the homepage. Also, removed unused cookie get/set code from the toggle_notes.js file
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@262 a4c988fc-2ded-0310-b66e-134b36920a42
2006-06-10 17:09:16 +00:00
bsag
6d4b5f70c0 Committed Luke's spinner patch: ajax actions show a spinner while they are working, next to the date at the top of the page.
One issue is that adding successive actions without refreshing on the home page only triggers the spinner the first time, but deleting actions on the same page without refreshing triggers it each time. I don't have a clue why.

Fixes #192.



git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@208 a4c988fc-2ded-0310-b66e-134b36920a42
2006-03-22 19:13:41 +00:00