Skip to content

UI: business layer - common filings check has changes flows #31654

Closed

Description

@kialj876
  • handle checking has changes flows (save, cancel, submit should check for changes and display the relevant modal)
    • unsaved changes modal on cancel
    • no changes made on submit (scroll + validation message?)
    • no changes made on save (maybe we just let the user save anyways?)
    • has open sub form - i.e. adding party (scroll to 'Done' and validate open sub form?)

Activity

  1. changed the title [-]UI: business layer - common filings check has changes[/-] [+]UI: business layer - common filings check has changes flows[/+] on Dec 11, 2025
  2. deetz99 commented on Dec 17, 2025

    @deetz99
    Collaborator

    Also unsaved changes on window 'beforeunload' event

  3. cameron-eyds commented on Jan 7, 2026

    @cameron-eyds
    Contributor
  4. self-assigned this
    on Jan 20, 2026
  5. deetz99 commented on Jan 26, 2026

    @deetz99
    Collaborator

    TODO: Clear 'update at least one receiver to submit' text in bottom buttons if there is an active alert/message and the user adds a new receiver.

  6. deetz99 commented on Jan 26, 2026

    @deetz99
    Collaborator

    Session timeout link: https://business-people-dev--pr-368-vvo2whkz.web.app/en-CA/manage-receivers/{IDENTIFIER}/amendReceiver

    Notes:

    • when the users session times out, if there are no changes, a draft will not be saved
    • when the users session times out, if there are changes, a draft will be saved
    • currently the timeout functionality removes the draft url query string so logging back in it will not automatically load the draft as it should, but the draft should still be created and resumable via the business dashboard
  7. J-Baese commented on Feb 3, 2026

    @J-Baese
    Collaborator

    good to roll

  8. chdivyareddy commented on Feb 6, 2026

    @chdivyareddy
    Collaborator

    Verified in TEST!

    Unsaved changes modal on Cancel:

    image.png

    When there are no changes made:

    image.png

    When user clicks on submit without any changes:

    image.png

    When the user leave site without saving the changes:

    image.png

    When the user session times out, the draft saved automatically and can be resumable via business dashboard:

    image.png

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions