Closed Bug 426247 Opened 16 years ago Closed 13 years ago

Navigating back to a an aggregated results page should reload with the last selected tab shown

Categories

(Socorro :: Webapp, task, P2)

x86
macOS

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bent.mozilla, Assigned: espressive)

Details

Currently when you have multiple reports for the same signature you are presented with a tabbed view - graph, table, reports. If you select the reports tab, then click a report, then click back you will get the graphs tab again. I'd really love it to remember which tab you were looking at.
Could do this via server-side scripting.  We can set a default sort so possibly detect something in a user cookie and override the default if it's different?

Caching presents a challenge here, though, so cookie/default override would probably have to be done in JS when tablesorter() is called on the selector.
Couldn't we just do this by setting/checking location.hash? Shouldn't have to worry about the non-javascript case, because that probably already works, since there are no tabs then, just anchors.
Target Milestone: --- → 0.7
Assignee: nobody → ted.mielczarek
Target Milestone: 0.7 → ---
The updated UI plugin supports this -- the problem originates at the link click, where it does not update the anchor at the end of the current location like it should.  Unfortunately the UI plugin site is down so I can't update it at the moment.
Assignee: ted.mielczarek → nobody
Priority: -- → P2
We can surely handle this with a cookie?
pet
Assignee: nobody → sneethling
Target Milestone: --- → 2.4
Status: NEW → ASSIGNED
Commit pushed to https://github.com/mozilla/socorro

https://github.com/mozilla/socorro/commit/27162c0c920715f78ee3693cfa0c65d4a988f43f
Merge pull request #190 from ossreleasefeed/426247-retain-tab-state

Ensure that tabs keep state between page navigation, fixes bug 426247
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Component: Socorro → General
Product: Webtools → Socorro
Component: General → Webapp
Target Milestone: 2.4 → 2.3.5
You need to log in before you can comment on or make changes to this bug.