Repository navigation
fix(action-center): say "1 signal" in the history drawer - #1091
Merged
Merged
Conversation
The History drawer's "Consolidated from {count} signals" line read
"1 signals" for an action opened by a single signal. Make it an ICU
plural and cover both counts with a render test against en.json.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Collaborator
Author
|
@gkhngyk Small fix, ready for review: the History drawer said "Consolidated from 1 signals" for a single-signal action. |
7 of 12 tasks
7 of 12 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The Action Center History drawer read "Consolidated from 1 signals" for an action opened by a single signal.
actionCenter.historyPage.drawer.triggeredByis now an ICU plural, written like the other count messages inen.json:The key has one user (
history-drawer.tsx), anden.jsonis the only locale. A new render test (history-drawer.test.tsx) draws the drawer with the realen.jsonand checks 1 → "1 signal" and 3 → "3 signals"; it fails against the old message.Out of scope, for a separate PR: the drawer's and table's "Affected" badges (
historyPage.affected.*, e.g. "1 signals") and "Time to Close" (drawer.days, "1 days") have the same issue.Related issue
None.
Type of change
feat— New featurefix— Bug fixchore— Maintenance / dependenciesdocs— Documentation onlyrefactor— Code change that neither fixes a bug nor adds a featuretest— Adding or updating testsHow to test
cd web && yarn test src/components/action-center/history-drawer.test.tsxChecked in the browser in light and dark themes and at 1024px. Text-only change, no layout change.
Checklist
feature/,fix/,chore/,docs/) — see CONTRIBUTING.mdyarn lintpasses (run fromweb/)yarn typecheckpasses (run fromweb/)yarn format:checkpasses (run fromweb/)Also passing:
yarn test(720/720) andyarn build.🤖 Generated with Claude Code