-
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
Added automatic saving for settings and persistent storage for image filter settings #9032
Merged
Merged
Changes from 11 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
190eb74
added auto saving + gamma correction filter
klakhov d46e079
use debounce
klakhov 911b0ed
Merge branch 'develop' into kl/refactor-settings
klakhov 1685b5c
updated tests and implementation
klakhov ff8da9b
added changelog
klakhov 43fac28
Merge branch 'develop' into kl/refactor-settings
klakhov a5bcf27
removed a command
klakhov 920b035
Merge branch 'develop' into kl/refactor-settings
klakhov 64f86ae
applied comments
klakhov ce1c454
applied comments to tests
klakhov 2582dcd
Merge branch 'develop' into kl/refactor-settings
klakhov 41f2e0d
refactored some functions
klakhov 7d217f0
Merge branch 'develop' into kl/refactor-settings
klakhov 7c8f77b
Merge branch 'develop' into kl/refactor-settings
klakhov File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
### Changed | ||
|
||
- Client settings are now saved automatically | ||
(<https://github.com/cvat-ai/cvat/pull/9032>) | ||
|
||
### Added | ||
- Gamma filter settings are now automatically saved and restored upon reload | ||
(<https://github.com/cvat-ai/cvat/pull/9032>) |
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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I understand that you just copypasted the code, but the current implementation looks mind blowing. So, if you have ideas how it can be refactored, you are welcome
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I refactored parts related to the player, workspace, and image filter settings restoration—now the code looks cleaner.
As for the part that is handling shortcuts, where we currently have four nested loops—yes, it definitely needs refactoring. Ideally, conflictDetector should find all conflicts without requiring additional iterations. However, tackling this now feels a bit overwhelming. I'll work on it in a separate PR.
For now, let's focus on merging this customer request.