-
Notifications
You must be signed in to change notification settings - Fork 16
fix(status-bar): use static toggle button text instead of dynamic expand/collapse text #2012
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -117,9 +117,19 @@ export class SiStatusBarComponent implements OnDestroy, OnChanges { | |
| * blink pulse generator for synchronized blinking with other components | ||
| */ | ||
| readonly blinkPulse = input<Observable<boolean>>(); | ||
| /** | ||
| * Text for the navbar expand/collapse toggle button. Required for a11y. | ||
| * | ||
| * @defaultValue | ||
| * ``` | ||
| * t(() => $localize`:@@SI_STATUS_BAR.TOGGLE:Toggle`) | ||
| * ``` | ||
| */ | ||
| readonly toggleButtonText = input(t(() => $localize`:@@SI_STATUS_BAR.TOGGLE:Toggle`)); | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The introduction of According to the repository style guide (line 232), breaking changes must be documented in the PR description with a References
|
||
| /** | ||
| * Text for the navbar expand button. Required for a11y | ||
| * | ||
| * @deprecated Use {@link toggleButtonText} instead. | ||
| * @defaultValue | ||
| * ``` | ||
| * t(() => $localize`:@@SI_STATUS_BAR.EXPAND:Expand`) | ||
|
|
@@ -129,6 +139,7 @@ export class SiStatusBarComponent implements OnDestroy, OnChanges { | |
| /** | ||
| * Text for the navbar collapse button. Required for a11y | ||
| * | ||
| * @deprecated Use {@link toggleButtonText} instead. | ||
| * @defaultValue | ||
| * ``` | ||
| * t(() => $localize`:@@SI_STATUS_BAR.COLLAPSE:Collapse`) | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The documentation refers to a "navbar", but this component is the
SiStatusBarComponent. Please update this to "status bar" to ensure accuracy and clarity.References