For component `switch` and `switch item`, update to v1.6.0
Maintainers usually reply within 3 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
Research direction
Start by locating the Switch and Switch item implementations, their component specifications and overviews, and the shared .Switch.indicator design tokens. Review the v1.6.0 changes and the requirement for design tokens v2.10; update the helper link behavior, token names and documentation. Done means both components and their documentation reflect the release notes, with the renamed tokens used and deprecated tokens addressed.
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
- Kotlin
- Stars
- 28
- Forks
- 6
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 38
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-android
-
💠 component 📱 demo app 🔍 triage 🧰 library
Difficulty 3/5 1-2 days Newbie friendliness 55/100
Orange-OpenSource/ouds-android#1765 ·
Maintainers usually reply within 3 days
-
💠 component 📱 demo app 🔍 triage 🧰 library
Difficulty 4/5 3-5 days Newbie friendliness 55/100
Orange-OpenSource/ouds-android#1763 ·
Maintainers usually reply within 3 days
-
For component `bullet list`, update to v1.2.0Possibly taken @paulinea claimed this 5 days ago. Open💠 component 📱 demo app 🔍 triage 🧰 library
Orange-OpenSource/ouds-android#1759 · 2 assignees ·
Maintainers usually reply within 3 days
-
For `theme` objects, update settings / tuningPossibly taken @paulinea claimed this 16 days ago. Open⚠️ on hold 🧰 library
Orange-OpenSource/ouds-android#1744 · 1 comment · 1 assignee ·
Maintainers usually reply within 3 days
-
[Component] Create component - `Close Button`Possibly taken @paulinea claimed this 26 days ago. Open⚠️ on hold 💠 component 📖 documentation 📱 demo app 🔍 triage 🧰 library
Orange-OpenSource/ouds-android#1732 · 1 comment · 2 assignees ·
Maintainers usually reply within 3 days
All issues in Orange-OpenSource/ouds-android
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
valkey-io/valkey-glide#7975 ·
Maintainers usually reply within 2 days
-
enhancement ready-for-human
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
chrisbanes/haze#1998 · 1 comment ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
thtbee/nectarlink#912 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
Maintainers usually reply within 1 day
-
bug triage needed
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
oppia/oppia-android#6599 · 1 comment ·
Maintainers usually reply within 2 days