hackforla / hackforla/tdm-calculator

Bug: Browser Back button returns user to Projects tab instead of Deleted Projects tab

Open
#3,286 0 comments 0 reactions 0 assignees View on GitHub
bug deck: staging level: medium p-feature: My Projects priority: SHOULD HAVE role: front-end size: 2pt
Dominant language
JavaScript
Stars
68
Forks
47
Avg merge
3d 9h
Merged PRs (30d)
25

Description

#### Describe the bug
When a user opens a Deleted TDM Plan from the Deleted TDM Plam tab and then clicks the browser Back button, they are returned to the default TDM Plan tab instead of the Deleted TDM Plan tab they came from.

Note: The screenshots below are from when the page was called My Projects, and now its called My TDM Plans

#### Steps to Reproduce
1. Go to My TDM Plans
2. Open the Deleted TDM Plan tab.
3. Open any deleted TDM Plan (draft or snapshot)
4. Click the browser Back button.

#### Actual Result
- User is redirected to the default TDM Plan tab.

Go to TDM Plan

Image

Got to Deleted TDM Plans

Image

Open any deleted TDM Plan

Image

View once you have clicked on Back button

Image

#### Expected Result
- User should return to the Deleted TDM Plans tab.

#### Device Configuration
- Device: Desktop / Laptop
- OS version: Windows 11
- Browser: Chrome
- Browser version:

#### Action Items
- [ ] Fix bug.
- [ ] Review with development lead.
- [ ] Review with product, development, and research teams. Update if needed based on feedback.
- [ ] Once finalized, add a slide to the staging deck (see resources)
- [ ] Get Stakeholder sign-off via the stakeholder meeting slide deck.

### Resources/Instructions

#### Staging and Release decks
- [Staging Deck](https://docs.google.com/presentation/d/1crZ3IxqA4hAu3qzD7ns93Ieuqjwh6wyEtuX_46cP-fg/)
- [Staging slide, 3286](https://docs.google.com/presentation/d/1crZ3IxqA4hAu3qzD7ns93Ieuqjwh6wyEtuX_46cP-fg/edit?slide=id.g3eb8ff4ade6_15_0#slide=id.g3eb8ff4ade6_15_0)
- Release Deck
- [2025-MM-DD Release deck, slide ISSUE NUMBER]

Contributor guide

Open the contributing guide

Research direction

Reproduce the navigation flow in the My TDM Plans interface, starting from the Deleted TDM Plans tab and opening a deleted draft or snapshot. Trace the route and tab state used by the browser Back action; done means Back returns to the Deleted TDM Plans tab, with a regression test covering the flow if the existing frontend test structure supports it.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.