-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[GSoC'24] Dependent on #8007, UI, Working Conflict Detector and Shortcuts adjusted according to different Scopes, with the addition of Local Storage #8186
Conversation
…e level shortcut registeration
…registerShortcuts to accept more than one shortcuts
…t the mousetrap to how the code was before with nessessary changes.
…between the existing shortcuts is resolved
…ntrol as the keyboard registers it as control key
Since we have not names the scopes as control side bar, instead as controls, so I don't think anyone would think this is the control side bar, just the controls available in that workspace. |
Paste shape and copy shape should be probably in the same scope (objects sidebar). |
Single shape workspace and review controls should not conflict to each other at all. So, why do you expect conflict here? |
Yes they shouldn't but you see that there are multiple switch draw modes, all of those are currently in their corresponding workspace controls, and the create issue is in the review workspace, currently, not in the controls of the review workspace. The problem is that if I move the switch draw modes to workspaces instead of controls, we can't have multiple draw modes. You're right about that single shape workspace and review controls will not conflict, but moving the draw mode to workspace will cause issues in between workspaces, as there are three draw modes if we remove the tag annotation one, single shape, standard and standard 3d. |
I am not really understand your idea. Any shortcuts from these spaces:
Will not conflict to each other as they are never rendered simultaneously. |
Wait, yes you are right, I think I explained incorrectly before. I'll update the scopes to workspace and from review to review controls. |
https://cvat-workspace.slack.com/archives/D073TSP1MJL/p1723739068418349 |
There is an issue with customization of Switch draw shortcut. Shift + N was initially used to remove selected shape and re-draw it from scratch. And it is being handled like this: Hovewer in case of any customization this logic will not work. Probably we need to refactor by splitting into two different shortcuts. Please, notice, that redraw is only possible in standard and standard 3d. |
I'll check |
Okay, just one minute I'll update. |
Quality Gate passedIssues Measures |
Great job! |
…d Shortcuts adjusted according to different Scopes, with the addition of Local Storage (cvat-ai#8186)
Motivation and context
How has this been tested?
Checklist
develop
branch(cvat-canvas,
cvat-core,
cvat-data and
cvat-ui)
License
Feel free to contact the maintainers if that's a concern.
Summary by CodeRabbit
New Features
Improvements
Style
Documentation