-
Notifications
You must be signed in to change notification settings - Fork 8
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
Add/uptake label providers in nimble-components #1328
Merged
Merged
Conversation
This file contains 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
msmithNI
commented
Jun 26, 2023
msmithNI
commented
Jun 26, 2023
packages/nimble-components/src/label-provider/core/label-tokens.ts
Outdated
Show resolved
Hide resolved
msmithNI
commented
Jun 26, 2023
jattasNI
reviewed
Jun 27, 2023
packages/nimble-components/src/label-provider/core/tests/label-provider-core.stories.ts
Outdated
Show resolved
Hide resolved
jattasNI
reviewed
Jun 28, 2023
packages/nimble-components/src/label-provider/base/label-provider-stories-utils.ts
Outdated
Show resolved
Hide resolved
rajsite
requested changes
Jun 28, 2023
packages/nimble-components/src/label-provider/base/label-provider-stories-utils.ts
Outdated
Show resolved
Hide resolved
packages/nimble-components/src/label-provider/base/label-user-stories-utils.ts
Outdated
Show resolved
Hide resolved
packages/nimble-components/src/label-provider/base/label-name-utils.ts
Outdated
Show resolved
Hide resolved
jattasNI
reviewed
Jun 28, 2023
rajsite
reviewed
Jun 30, 2023
packages/nimble-components/src/label-provider/core/label-tokens.ts
Outdated
Show resolved
Hide resolved
packages/nimble-components/src/label-provider/core/label-tokens.ts
Outdated
Show resolved
Hide resolved
jattasNI
approved these changes
Jun 30, 2023
rajsite
approved these changes
Jul 12, 2023
1 task
msmithNI
added a commit
that referenced
this pull request
Jul 25, 2023
# Pull Request ## π€¨ Rationale Follow-up tech debt from adding the label providers (#1090). The banner's close button text can now be controlled by the `popupDismiss` label on `nimble-label-provider-core`, so the `dismissButtonLabel` property on `nimble-banner` is no longer needed. We decided to remove the property in [PR discussion on #1328](#1328 (comment)). ## π©βπ» Implementation Remove property and update tests. ## π§ͺ Testing Updated autotests / Storybook. ## β Checklist - [x] I have updated the project documentation to reflect my changes or determined no changes are needed.
1 task
rajsite
pushed a commit
that referenced
this pull request
Sep 6, 2023
# Pull Request ## π€¨ Rationale Issue Link : #1288 Currently, `rich-text-editor` has `title` and `text content` for formatting buttons (Bold, Italics, Bulleted List, Numbered List) and this needs to be localized from the client side. ## π©βπ» Implementation Reference PR for implementation: #1328 This PR creates label DesignTokens in `nimble-rich-text-editor` Note: Angular Integration will be taken up once after [this ](#1450 completion. ## π§ͺ Testing - Verified that each label appears in the expected spots in the DOM for the affected components. Note that the current labels are mostly not user-visible. Future format button additions will introduce new visible label tokens. - Added autotests - For label providers: verify token naming, and that label provider attribute updates result in token updates - Updated [Storybook](https://60e89457a987cf003efc0a5b-ohnshtynly.chromatic.com/) - Rich Text Editor has a new "Localizable labels" row in their Storybook controls/API section - Under `Tokens/Label Providers` is a new `Rich Text Editor Label Provider`. ## β Checklist <!--- Review the list and put an x in the boxes that apply or ~~strike through~~ around items that don't (along with an explanation). --> - [x] I have updated the project documentation to reflect my changes or determined no changes are needed. --------- Co-authored-by: Aagash Raaj <[email protected]>
1 task
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.
Pull Request
π€¨ Rationale
Partially addresses #1090 (Angular/Blazor changes will be in subsequent PRs)
π©βπ» Implementation
See the HLD for the implementation plan for the label providers.
This PR creates the LabelProvider classes in nimble-components, and creates/uptakes label DesignTokens in
nimble-banner
,nimble-number-field
, andnimble-table
π§ͺ Testing
β Checklist