For component `switch` and `switch item`, update to v1.6.0
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 54/100
Research direction
Start by locating the Switch and Switch item Flutter components and their tests, then check how design tokens are defined and consumed; this update requires design tokens v2.10. Add the optional Helper link behavior and apply the cursor token renames and deprecations described in the issue. Update both components’ specifications and token documentation, and verify the Helper link is hidden by default, works independently of the Description, and the shared cursor sizing behaves as specified.
Written by the indexing model from the issue text.
Description
Prerequisites
- I have searched the backlog for duplicate or closed issues.
Description
Verbatims of @TonyAntonyHello below :
Our two Switch components have been updated. Version 1.6.0 is now available:
- Switch | EA v1.6.0
- Switch item | EA v1.6.0
[!CAUTION]
Version 2.10 of the design tokens is required for the development of this update.
Release notes:
This update focuses on simplifying the design token architecture of the shared .Switch.indicator component, introducing an optional Helper link for the Switch item, and improving documentation and Figma library organization.
Component updates:
- Added a new boolean property Helper link to the Switch item, allowing an optional link to be displayed below the component.
- The Helper link is hidden by default and can be displayed independently of the Description.
Design token updates:
Merged the Cursor width and height tokens in the shared .Switch.indicator component, reducing token redundancy and simplifying size management across both components.
The following tokens have been renamed:
ouds-control-switch-size-width-cursor-selected→ouds-control-switch-size-cursor-selectedouds-control-switch-size-width-cursor-unselected→ouds-control-switch-size-cursor-unselected
The following tokens have been deprecated:
ouds-control-switch-size-height-cursor-selectedouds-control-switch-size-height-cursor-unselected
The shared size tokens are now used for both the width and height of the Cursor in its non-Pressed states. The existing token values and Pressed-specific width tokens remain unchanged.
Documentation updates:
- Updated the Overviews and Component Specifications for both components to reflect the latest changes.
- Updated the Token Repository documentation to reflect the renamed and deprecated tokens.
- Added Helper link usage and accessibility guidelines for the Switch item.
- Updated the Rich text guidelines to clarify the use of hyperlinks.
Figma library organization:
The Switch and Switch item components are now organized into two separate sections in Figma, rather than grouped together in a single component family.
Each component now has its own version number, allowing them to be maintained and updated independently while continuing to share the same underlying .Switch.indicator component.
Here is the Figma file.
- Dominant language
- Dart
- Stars
- 13
- Forks
- 6
- Avg merge
- 7h 41m
- Merged PRs (30d)
- 7
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Orange-OpenSource/ouds-flutter
-
💠 component 📱 demo app 🔍 triage 🧰 library
Difficulty 3/5 1-2 days Newbie friendliness 55/100
Orange-OpenSource/ouds-flutter#1097 ·
Maintainers usually reply within 1 day
-
💠 component 📱 demo app 🔍 triage 🧰 library
Difficulty 3/5 1-2 days Newbie friendliness 52/100
Orange-OpenSource/ouds-flutter#1096 ·
Maintainers usually reply within 1 day
-
For component `bullet list`, update to v1.2.0Possibly taken @nouha06 claimed this 5 days ago. Open💠 component 📱 demo app 🔍 triage 🧰 library
Orange-OpenSource/ouds-flutter#1094 · 2 assignees ·
Maintainers usually reply within 1 day
-
For `app bar` component, update to version 1.1Possibly taken @nouha06 claimed this 6 days ago. Open💠 component 🔍 triage 🧰 library
Orange-OpenSource/ouds-flutter#1093 · 2 assignees ·
Maintainers usually reply within 1 day
-
📖 documentation
Difficulty 3/5 Half a day Newbie friendliness 48/100
Orange-OpenSource/ouds-flutter#1090 · 1 comment ·
Maintainers usually reply within 1 day
All issues in Orange-OpenSource/ouds-flutter
Similar issues
-
lang-java needs-triage package:jni package:jni_flutter package:jnigen
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 2 days
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
finamp-app/finamp#1920 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 1/5 Under an hour Newbie friendliness 83/100
Maintainers usually reply within 1 day
-
package:skills
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day