Skip to content

Conversation

@geotrev
Copy link
Contributor

@geotrev geotrev commented Apr 2, 2024

Description

  • Carrying down the work from container-combobox, updating Option to no longer accept objects for the value prop.
  • Updates any peripheral components which used to process objects, to now only accept strings.
  • Updates migration guide.

Checklist

  • 👌 design updates will be Garden Designer approved (add the designer as a reviewer)
  • 🌐 demo is up-to-date (npm start)
  • ⬅️ renders as expected with reversed (RTL) direction
  • 🤘 renders as expected with Bedrock CSS (?bedrock)
  • 💂‍♂️ includes new unit tests. Maintain existing coverage (always >= 96%)
  • ♿ tested for WCAG 2.1 AA accessibility compliance
  • 📝 tested in Chrome, Firefox, Safari, and Edge

@coveralls
Copy link

coveralls commented Apr 2, 2024

Coverage Status

coverage: 96.077% (+0.005%) from 96.072%
when pulling 05a4493 on george/container-combobox-v2
into c578897 on next.

@geotrev geotrev marked this pull request as ready for review April 3, 2024 14:24
@geotrev geotrev requested a review from a team as a code owner April 3, 2024 14:24
*/
export const toString = (option: IOption) =>
typeof option.value === 'string' ? option.value : JSON.stringify(option.value);
export const toString = (option: IOption) => option.value;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this utility still used anywhere? It doesn't seem like much of a utility anymore 😉

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Won't you want to stroll down memory lane in six months? 😛

@geotrev geotrev merged commit c26a7bf into next Apr 3, 2024
@geotrev geotrev deleted the george/container-combobox-v2 branch April 3, 2024 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

5 participants