Skip to content

Conversation

@lz405
Copy link
Contributor

@lz405 lz405 commented Jan 28, 2026

Summary of the changes

Refactor ic-select code #666
Update ic-select and ic-menu to follow the combobox pattern #3757

Checklist

General

  • Changes to docs package checked and committed.
  • All acceptance criteria reviewed and met.

Testing

  • Relevant unit tests and visual regression tests added.
  • Visual testing against Figma component specification completed.
  • Playground stories in React Storybook up to date, with any prop changes and additions addressed.
  • Compare performance of modified components against develop using Performance addon in React Storybook.

Accessibility

  • Accessibility Insights FastPass performed.
  • A11y unit test added and yields no issues.
  • A11y plug-in on Storybook yields no issues.
  • Manual screen reader testing performed using NVDA and VoiceOver.
  • Manual keyboard testing for keyboard controls and logical focus order.
  • Correct roles used and ARIA attributes used correctly where required.
  • Logical heading structure is maintained, and the HTML elements used for headings can be changed to fit within the wider page structure.

Resize/zoom behaviour

  • Page can be zoomed to 400% with no loss of content.
  • Screen magnifier used with no issues.
  • Text resized to 200% with no loss of content.
  • Text spacing increased as per the WCAG 1.4.12 success criterion with no loss of content.

System modes

  • Browser setting 'prefers reduced motion' tested. No animations or motion visible whilst this setting is on.
  • Windows High Contrast mode tested with no loss of content.
  • System light and dark mode tested with no loss of content.
  • Browser support tested (Chrome, Safari, Firefox and Edge).

Testing content extremes

  • Min/max content examples tested with no loss of content or overflow.
  • All prop combinations work without issue.
  • Tested for FOUC (Flash of Unstyled Content) in both SSR (Server-Side Rendering) and SSG (Static Site Generation) settings.
  • Controlled and uncontrolled input components tested.
  • Props/slots can be updated after initial render.

@github-actions
Copy link
Contributor

} from "@stencil/core";

import {
getInputDescribedByText,
Copy link
Contributor

Choose a reason for hiding this comment

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

your PR is now failing test coverage for utils/helpers - I think because you've removed the usage of some helper functions in ic-select, so they're not being tested in select's jest tests. Are there helper functions that are not getting used now, and can be deleted? If not you might need to write tests for them

@github-actions
Copy link
Contributor

@lz405 lz405 force-pushed the 666-refactor-branch branch 2 times, most recently from 685fd85 to acecb8f Compare January 29, 2026 15:29
lz405 added 5 commits January 29, 2026 15:33
…low combobox pattern

refactor ic-select to simplify code and follow the combobox pattern

re #666
update cypress tests for ic-select

test #666
update visual regression tests

test #666
update docs for ic-select

docs #666
@lz405 lz405 force-pushed the 666-refactor-branch branch from acecb8f to 562a741 Compare January 29, 2026 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants