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

Dev #65

Merged
merged 7 commits into from
Aug 3, 2024
Merged

Dev #65

merged 7 commits into from
Aug 3, 2024

Conversation

RedAtman
Copy link
Owner

@RedAtman RedAtman commented Aug 3, 2024

No description provided.

Improve readability and maintainability by using an enum for the quick panel placeholders, making it easier to manage and expand the list of placeholders in the future.
Replace `OperationManager` with a more flexible `Operator` class to handle note operations. This improves code organization and allows for more granular control over operations.
Ensure that values stored in the GlobalStorage are of the correct type during optimistic updates. This prevents potential data corruption and ensures data integrity.
Moves GUI-related functions from `lib.gui` into `lib.core` to improve organization and coherence. This change streamlines the codebase and enhances the clarity of responsibilities.
The notes directory can contain files that are not associated with any active notes, leading to potential issues. This commit resolves this by introducing a mechanism that identifies and removes orphaned file paths. The removal process now occurs in a background thread, triggered during the first sync after a new note is created or an existing note is updated. This ensures a cleaner and more efficient management of the notes directory.
Removed several unnecessary debugging statements from the code, including logging calls and commented-out code. This improves the code's readability and focus.
Simplify the deleted note check in the `show_quick_panel` function by directly using the `deleted` flag without comparing it to `True`. This improves readability and avoids redundant logic.
@RedAtman RedAtman merged commit 8a6da6a into master Aug 3, 2024
1 check passed
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.

1 participant