Skip to content
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

Restore auto-highlight feature #1072

Merged
merged 4 commits into from
Nov 28, 2023

Conversation

miles-grant-ibigroup
Copy link
Collaborator

Description:
Some previous work broke the auto highlight behavior. We can fix this by moving the auto-highlight responsibility to React from Redux, which allows us to do so even when the array order doesn't match the display order.

PR Checklist:

  • Does the code follow accessibility standards (WCAG 2.1 AA Compliant)?
  • Are all languages supported (Internationalization/Localization)?
  • Are appropriate Typescript types implemented?

Copy link
Member

@AdrianaCeric AdrianaCeric left a comment

Choose a reason for hiding this comment

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

Looks good!

Copy link
Collaborator

@binh-dam-ibigroup binh-dam-ibigroup left a comment

Choose a reason for hiding this comment

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

Seems to work!

lib/components/narrative/narrative-itineraries.js Outdated Show resolved Hide resolved
lib/components/narrative/narrative-itineraries.js Outdated Show resolved Hide resolved
Co-authored-by: binh-dam-ibigroup <[email protected]>
@miles-grant-ibigroup miles-grant-ibigroup force-pushed the repair-first-itin-auto-highlight branch from 8cbecbb to f116101 Compare November 28, 2023 15:00
@miles-grant-ibigroup miles-grant-ibigroup merged commit c02ac29 into dev Nov 28, 2023
9 checks passed
@miles-grant-ibigroup miles-grant-ibigroup deleted the repair-first-itin-auto-highlight branch November 28, 2023 15:07
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