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

RESOLVED FIXED in 2.3.5

Status

Socorro
Webapp
P2
normal
RESOLVED FIXED
10 years ago
2 years ago

People

(Reporter: Ben Turner (not reading bugmail, use the needinfo flag!), Assigned: espressive)

Tracking

Trunk
2.3.5
x86
Mac OS X

Firefox Tracking Flags

(Not tracked)

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.
This is using jQuery UI tabs plugin:
http://docs.jquery.com/UI/Tabs#Does_UI_Tabs_support_back_button_and_bookmarking_of_tabs.3F

Doesn't sound too promising.
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
(Assignee)

Comment 5

6 years ago
We can surely handle this with a cookie?
(Assignee)

Comment 6

6 years ago
pet
Assignee: nobody → sneethling
Target Milestone: --- → 2.4
(Assignee)

Comment 7

6 years ago
https://github.com/mozilla/socorro/pull/190
(Assignee)

Updated

6 years ago
Status: NEW → ASSIGNED

Comment 8

6 years ago
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

Updated

6 years ago
Status: ASSIGNED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Component: Socorro → General
Product: Webtools → Socorro

Updated

6 years ago
Component: General → Webapp
(Assignee)

Updated

6 years ago
Target Milestone: 2.4 → 2.3.5
You need to log in before you can comment on or make changes to this bug.