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 #63

Merged
merged 8 commits into from
Aug 3, 2024
Merged

Dev #63

merged 8 commits into from
Aug 3, 2024

Conversation

RedAtman
Copy link
Owner

@RedAtman RedAtman commented Aug 3, 2024

No description provided.

Improve the clarity of package installation paths by adding alternative locations for each OS. This ensures users can more easily locate the correct directory for installing packages.
Adds a script to simplify deploying the plugin locally for development purposes.  This script creates a Sublime Text package and moves it to the appropriate location in the user's Sublime Text Packages directory.
Refactored the note listing and synchronization process to enhance user experience.

- Simplified the quick panel display for notes, providing a cleaner interface.
- Improved note synchronization by handling first-sync scenarios and incorporating a callback mechanism for post-sync actions.
- Introduced a "sync_note_number" setting to control the number of notes fetched during synchronization, enhancing efficiency.

This change streamlines the note management process, providing a more intuitive and efficient workflow for users.
This commit introduces optimistic locking for the global storage, which is used to store state information such as the last sync time. This change aims to improve the robustness of the plugin by preventing race conditions that might occur in multi-threaded environments, particularly when syncing notes.

The optimistic locking mechanism ensures that updates to the global storage are performed in a safe and atomic manner, mitigating potential conflicts that could arise from concurrent modifications.

This enhancement enhances the reliability and stability of the Simplenote plugin.
The .env file should not be included in the Sublime package. This change ensures that sensitive information is not accidentally distributed to users.
Disables default log handlers to allow for more granular control over logging output. This change facilitates tailored logging configurations and reduces potential redundancy.
The `sync_once` function now handles the first sync more effectively, eliminating the need for `first_sync` flags and streamlining the code.

This simplifies the logic for both `sync` and `SimplenoteSyncCommand` and reduces the overall complexity.
Renamed the `sync_every` setting to `sync_interval` for clarity and consistency. This improves the readability and understanding of the plugin's settings.
@RedAtman RedAtman merged commit bd485d9 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