forked from HumanSignal/label-studio
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: DIA-989: LSF hotkeys being stuck when LSF is destroyed (HumanSig…
…nal#5790) Whenever you enter Labeling Interface (Quick View, Label Stream, Labeling Settings), hotkeys assigned to labels and choices are not being unbound when you leave the given page. This sometimes causes an inability to input certain characters in other places of the app. ### PR fulfills these requirements - [x] Commit message(s) and PR title follows the format `[fix|feat|ci|chore|doc]: TICKET-ID: Short description of change made` ex. `fix: DEV-XXXX: Removed inconsistent code usage causing intermittent errors` - [ ] Tests for the changes have been added/updated (for bug fixes/features) - [ ] Docs have been added/updated (for bug fixes/features) - [x] Best efforts were made to ensure docs/code are concise and coherent (checked for spelling/grammatical errors, commented out code, debug logs etc.) - [x] Self-reviewed and ran all changes on a local instance (for bug fixes/features) #### Change has impacts in these area(s) _(check all that apply)_ - [ ] Product design - [ ] Backend (Database) - [ ] Backend (API) - [x] Frontend #### What is the new behavior? Auto-assigned hotkeys are now correctly unbound when leaving a page (LSF destroyed) #### Does this change affect performance? No #### Does this change affect security? No ### Does this PR introduce a breaking change? _(check only one)_ - [ ] Yes, and covered entirely by feature flag(s) - [ ] Yes, and covered partially by feature flag(s) - [x] No - [ ] Not sure (briefly explain the situation below) ### What level of testing was included in the change? _(check all that apply)_ - [ ] e2e - [ ] integration - [ ] unit ### Which logical domain(s) does this change affect? Frontend, Global --------- Co-authored-by: robot-ci-heartex <[email protected]> Co-authored-by: nicholasrq <[email protected]> Co-authored-by: Brandon Martel <[email protected]>
- Loading branch information
1 parent
1c27032
commit cd05a4e
Showing
13 changed files
with
31 additions
and
21 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"message": "Revert #5824", | ||
"commit": "c3ef6015499d27319533be5701ad23f105645ed0", | ||
"date": "2024-05-08T13:08:10.000Z", | ||
"branch": "fb-optic-720/viewsstore-foreach" | ||
"message": "Merge branch 'develop' into fb-dia-989/hotkeys-stuck", | ||
"commit": "cb6e68bc71dc0063679c60ac7d0ced52c1efd53a", | ||
"date": "2024-05-08T20:42:38.000Z", | ||
"branch": "fb-dia-989/hotkeys-stuck" | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"message": "Revert #5824", | ||
"commit": "c3ef6015499d27319533be5701ad23f105645ed0", | ||
"date": "2024-05-08T13:08:10.000Z", | ||
"branch": "fb-optic-720/viewsstore-foreach" | ||
"message": "Merge branch 'develop' into fb-dia-989/hotkeys-stuck", | ||
"commit": "cb6e68bc71dc0063679c60ac7d0ced52c1efd53a", | ||
"date": "2024-05-08T20:42:38.000Z", | ||
"branch": "fb-dia-989/hotkeys-stuck" | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"message": "Revert #5824", | ||
"commit": "c3ef6015499d27319533be5701ad23f105645ed0", | ||
"date": "2024-05-08T13:08:10.000Z", | ||
"branch": "fb-optic-720/viewsstore-foreach" | ||
"message": "Merge branch 'develop' into fb-dia-989/hotkeys-stuck", | ||
"commit": "cb6e68bc71dc0063679c60ac7d0ced52c1efd53a", | ||
"date": "2024-05-08T20:42:38.000Z", | ||
"branch": "fb-dia-989/hotkeys-stuck" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters