Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

Task details not showing in UI #3459

Merged
merged 1 commit into from
Jan 26, 2023
Merged

Task details not showing in UI #3459

merged 1 commit into from
Jan 26, 2023

Conversation

ceisen1
Copy link
Contributor

@ceisen1 ceisen1 commented Jan 23, 2023

Pull Request type

  • Bugfix
  • Feature
  • Refactoring (no functional changes, no api changes)
  • Build related changes (Please run ./gradlew generateLock saveLock to refresh dependencies)
  • WHOSUSING.md
  • Other (please describe):

NOTE: Please remember to run ./gradlew spotlessApply to fix any format violations.

Changes in this PR

Event.path is deprecated in chrome as of the last update https://chromestatus.com/feature/5726124632965120. This is causing a bug when clicking on a task in the UI. This is also see in safari: #3330. Updating to use composedPath() instead per guidance.

This is compatible with all browsers:
https://developer.mozilla.org/en-US/docs/Web/API/Event/composedPath

See the error we are seeing in the Chrome UI below

Screen Shot 2023-01-20 at 5 56 09 PM

Describe the new behavior from this PR, and why it's needed
Issue #
#3330

Event.path is deprecated in chrome as of the last update https://chromestatus.com/feature/5726124632965120. This is causing a bug when clicking on a task in the UI. This is also see in safari: Netflix#3330. Updating to use composedPath() instead per guidance.

This is compatible with all browsers:
https://developer.mozilla.org/en-US/docs/Web/API/Event/composedPath
@peterlau
Copy link
Collaborator

peterlau commented Jan 26, 2023

Thanks for the PR.

For reference, Conductor UI has been moved to a separate repo here: https://github.com/Netflix/conductor-ui which already incorporates this fix. The UI directory on this repo is on code freeze.

However given the impact of this breakage I think it is sensible to merge your PR.

@peterlau peterlau merged commit eba3fc3 into Netflix:main Jan 26, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants