Skip to content

Name Password manager in the line that says which saved logins were deleted - #2173

Merged
davidmckayv merged 1 commit into
mainfrom
copy/purge-success-line
Nov 25, 2026
Merged

davidmckayv merged 1 commit into
mainfrom
copy/purge-success-line

Conversation

@jpr5

@jpr5 jpr5 commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

The line shown after the purge now says "of people Password manager is off for" instead of "of people it's off for", so it names the switch the same way the confirm dialog does.

Why: a reviewer on #2166 suggested this wording, since "it" in that line had nothing to refer to.

Red (test expects the new words, code unchanged): bun test app/tests/purge-saved-logins.test.tsx

Expected to contain: "Deleted 12 saved logins of people Password manager is off for"
Received: "Deleted 12 saved logins of people it's off for, and 3 of people no longer in the organization."
(fail) an admin is asked first with the real counts, then the purge runs and both counts are shown [81.17ms]
 8 pass
 1 fail

Green (same test, after the change):

 9 pass
 0 fail
Ran 9 tests across 1 file. [1.54s]

Format check, lint and the app typecheck pass.

🤖 Generated with Claude Code

@davidmckayv
davidmckayv merged commit 225794b into main Nov 25, 2026
23 checks passed
@davidmckayv
davidmckayv deleted the copy/purge-success-line branch November 25, 2026 04:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants