Closed
Bug 864251
Opened 12 years ago
Closed 12 years ago
Link to update history from about:support
Categories
(Toolkit :: General, defect)
Toolkit
General
Tracking
()
RESOLVED
FIXED
mozilla24
People
(Reporter: darktrojan, Assigned: darktrojan)
References
Details
Attachments
(1 file, 1 obsolete file)
2.12 KB,
patch
|
adw
:
review+
|
Details | Diff | Splinter Review |
It might be useful to have the date of the most recent update and a link to the update history window in about:support.
![]() |
||
Comment 1•12 years ago
|
||
All of the code that would need to be added to accomplish this would be in Firefox code and not app update so moving to the correct product and component.
Component: Application Update → Untriaged
Product: Toolkit → Firefox
![]() |
||
Comment 2•12 years ago
|
||
Correct Product anyway
Comment 3•12 years ago
|
||
Geoff, was there a specific reason you filed this? Like, when and to whom would it be useful?
about:support/Troubleshoot.jsm lives in toolkit, so moving back there.
Component: Untriaged → General
Product: Firefox → Toolkit
Assignee | ||
Comment 4•12 years ago
|
||
No particular reason, it's just too hard to get to IMO.
Firefox button > Preferences > Advanced > Update > Show Update History
vs
about:support > Show Update History
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → geoff
Status: NEW → ASSIGNED
Assignee | ||
Comment 6•12 years ago
|
||
Adds a 'Show Update History' button to the version row. I was going to add "last updated 3 days ago" style text but I don't think it's worth it.
Attachment #753195 -
Flags: review?(adw)
Comment 7•12 years ago
|
||
Comment on attachment 753195 [details] [diff] [review]
v1
Review of attachment 753195 [details] [diff] [review]:
-----------------------------------------------------------------
Thanks for the patch. If you click "Copy text to clipboard" you'll see that "Show Update History" is included in the copy, but it shouldn't be. That's not so easy to fix: Serializer.prototype._serializeTable assumes that you want to copy everything in a table row. You could modify _serializeTable to call _serializeElement. Then you could put class="no-copy" on the button and it wouldn't be copied.
But you could avoid the problem altogether by making Show Update History its own row in the table and adding no-copy to the tr, which _serializeTable currently recognizes. I think that might look better anyway.
::: toolkit/content/aboutSupport.js
@@ +505,5 @@
> }
>
> +function showUpdates() {
> + var prompter = Components.classes["@mozilla.org/updates/update-prompt;1"]
> + .createInstance(Components.interfaces.nsIUpdatePrompt);
Please use Cc instead of Components.classes and Ci instead of Components.interfaces.
Attachment #753195 -
Flags: review?(adw) → review-
Assignee | ||
Comment 8•12 years ago
|
||
> If you click "Copy text to clipboard" you'll see that
> "Show Update History" is included in the copy, but it shouldn't be.
I knew there was something else I was going to check!
Attachment #753195 -
Attachment is obsolete: true
Attachment #753556 -
Flags: review?(adw)
Comment 9•12 years ago
|
||
Comment on attachment 753556 [details] [diff] [review]
v2
Review of attachment 753556 [details] [diff] [review]:
-----------------------------------------------------------------
::: toolkit/content/aboutSupport.js
@@ +504,4 @@
> new nsLocalFile(profileDir).reveal();
> }
>
> +function showUpdates() {
Please name this function showUpdateHistory.
::: toolkit/content/aboutSupport.xhtml
@@ +85,5 @@
> + <th class="column">
> + &aboutSupport.appBasicsUpdateHistory;
> + </th>
> +
> + <td id="version-box">
I think you accidentally left this ID here, right? The td that contains the version string has this ID already.
::: toolkit/locales/en-US/chrome/global/aboutSupport.dtd
@@ +21,5 @@
> <!ENTITY aboutSupport.appBasicsName "Name">
> <!ENTITY aboutSupport.appBasicsVersion "Version">
>
> +<!ENTITY aboutSupport.appBasicsUpdateHistory "Update History">
> +<!ENTITY aboutSupport.appBasicsShowUpdateHistory "Show Update History">
Please add a "LOCALIZATION NOTE" that "Update" in both of these strings is a noun and not a verb.
Attachment #753556 -
Flags: review?(adw) → review+
Assignee | ||
Comment 10•12 years ago
|
||
Comment 11•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla24
You need to log in
before you can comment on or make changes to this bug.
Description
•