cyclestreets / cyclestreets/cyclescape

Pressing back button to threads page doesn't remember the dynamic tab

Open
#697 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PLpgSQL
Stars
34
Forks
15
PR merge metrics
No merged PRs in 30d

Description

The tabs on /threads are unreliably memorised when pressing the back button back to this page.

E.g. click the second tab (Administrative discussions), click on any thread link, then press back. On some browsers, the first tab is instead shown.

I think this just need a cookie set + read if present.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the tab-selection and back-button steps on /threads, especially with the second tab selected, then inspect the tab state handling there. Done means returning from a thread consistently restores the previously selected tab across the affected browsers.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.