pond / trackrecord

TrackRecord is a Ruby On Rails application which lets users enter and analyse timesheets, based around a framework of customers, projects and tasks. It may be useful for sole traders and small businesses.
BSD 3-Clause "New" or "Revised" License
12 stars 6 forks source link

Refresh report #23

Open sarev opened 10 years ago

sarev commented 10 years ago

A minor feature request is for a "Refresh" button/link on a report page. This would be handy if you've left the report open for a few days in a browser tab and you want an update. At the moment, you have to scroll to the bottom of the page, click "Change report paramters" and submit the report again, which is a bit more clunky.

pond commented 10 years ago

Why not just use the browser's Reload button?

pond commented 10 years ago

...hmm, well, answering my own question - an unnamed report (unsaved) is cache-swept if the user revisits the Saved Reports pages in another tab or window, so Reload would give a "report not found" result and redirection to the control panel. That does in turn raise an issue with attempting to refresh such a thing though, since at the server end it won't exist anymore.

Named reports are persisted so reloading in the browser should always work.