bcgov / bcgov/entity

Edit UI: Remove browser pop up from displaying when Folio Number is updated on Company info page

Open
#31,768 1 comment 0 reactions 0 assignees View on GitHub
Entities Team UX Assurance
Dominant language
JavaScript
Stars
23
Forks
62
Avg merge
24m
Merged PRs (30d)
1

Description

#### Description:
After the user edits folio number, they should be able to select a breadcrumb or navigate away from the page without seeing this pop up because it indicates they have unsaved changes when they don’t. The changes have been saved immediately.

There isn't anything on the pop up explicitly stating they have unsaved changes, but we use this pattern elsewhere when user is leaving a page with unsaved changes by navigating away.

#### Current State:

Safari DEV
Screenshot 2025-12-19 at 10.08.50 AM.png

Safari TEST
Screenshot 2025-12-19 at 10.28.52 AM.png

Chrome Test
Screenshot 2025-12-19 at 10.30.17 AM.png

#### To Do
- Do not display the pop up when the user tries to navigate away after updating folio number on the company info page.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the Company info page and trace the folio number update flow, then reproduce navigating away after the value is saved in Safari and Chrome. Identify the navigation guard or unsaved-changes prompt involved; done means leaving the page after updating the folio number no longer displays the pop-up.

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
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.