Skip to content

[No QA] Docs updates for E/A#94899 Odometer tab-switch discard changes FAQ - #94959

Closed
MelvinBot wants to merge 1 commit into
mainfrom
melvin-docs-odometer-discard-modal
Closed

[No QA] Docs updates for E/A#94899 Odometer tab-switch discard changes FAQ#94959
MelvinBot wants to merge 1 commit into
mainfrom
melvin-docs-odometer-discard-modal

Conversation

@MelvinBot

Copy link
Copy Markdown
Contributor

Docs update for E/A#94899

PR #94899 adds a Discard changes? confirmation modal that appears when a user switches away from the Odometer tab in the Distance request flow with unsaved readings or images.

The Distance Expenses help article already documents the Odometer flow in detail (entering readings, attaching images, save-for-later), so this PR adds a single FAQ entry describing the new confirmation behavior.

What changed

  • Added a new FAQ entry — "What happens if I switch tabs with unsaved odometer readings?" — to Distance-Expenses.md, explaining:
    • Switching tabs with unsaved odometer readings/images shows a Discard changes? confirmation.
    • Discard changes clears entries and switches tabs; Cancel keeps you on the Odometer tab.
    • With no readings/images entered, tab switching happens immediately with no confirmation.

All UI labels (Discard changes?, Discard changes, Cancel, Odometer, GPS, Map, Manual) were verified against the source code: src/languages/en.ts (discardChangesConfirmation) and the tab definitions in the PR.

@Julesssss, please review the files changed and confirm they reflect the current behavior. Then mark this PR Ready for review.

Co-authored-by: Jules <Julesssss@users.noreply.github.com>
@MelvinBot MelvinBot added the HelpDot Apply this label if the issue relates to ExpensifyHelp label Jun 30, 2026
@github-actions github-actions Bot changed the title Docs updates for E/A#94899 Odometer tab-switch discard changes FAQ [No QA] Docs updates for E/A#94899 Odometer tab-switch discard changes FAQ Jun 30, 2026
@OSBotify

Copy link
Copy Markdown
Contributor

A preview of your ExpensifyHelp changes have been deployed to https://d1e22965.helpdot.pages.dev ⚡️

Updated articles:

@Julesssss

Copy link
Copy Markdown
Contributor

Definitely not necessary

@Julesssss Julesssss closed this Jun 30, 2026
@Julesssss
Julesssss deleted the melvin-docs-odometer-discard-modal branch June 30, 2026 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

HelpDot Apply this label if the issue relates to ExpensifyHelp

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants