Closed
Bug 1146767
Opened 11 years ago
Closed 11 years ago
update relative dates without refreshing the page
Categories
(bugzilla.mozilla.org :: User Interface, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: glob, Assigned: glob)
Details
Attachments
(1 file)
|
12.46 KB,
patch
|
dylan
:
review+
|
Details | Diff | Splinter Review |
the relative dates on show-bug are only accurate at the time the bug was first loaded.
they should update over time without needing to refresh the page.
this requires mirroring the logic in the Time::Duration module in javascript.
- move _sql_to_time into BugModal::Util
- almost line-for-line port Time::Duration to javascript
- update relative times every 60 seconds
Attachment #8587212 -
Flags: review?(dylan)
Comment 2•11 years ago
|
||
Comment on attachment 8587212 [details] [diff] [review]
1146767_1.patch
Review of attachment 8587212 [details] [diff] [review]:
-----------------------------------------------------------------
r=dylan
This change is somewhat subtle and almost devious if you're used to having to hit refresh to update the timestamps.
Attachment #8587212 -
Flags: review?(dylan) → review+
To ssh://gitolite3@git.mozilla.org/webtools/bmo/bugzilla.git
6116f2f..e5131c8 master -> master
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•7 years ago
|
Component: User Interface: Modal → User Interface
You need to log in
before you can comment on or make changes to this bug.
Description
•