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

Desktop: Drawing: Fix "insert drawing" button is not disabled in read-only notes (Upgrade Freehand Drawing to v2.14.0) #11613

Conversation

personalizedrefrigerator
Copy link
Collaborator

@personalizedrefrigerator personalizedrefrigerator commented Jan 9, 2025

Summary

This pull request upgrades the built-in Freehand Drawing plugin to v2.14.0. In addition to upgrading js-draw, this fixes an issue where the "insert drawing" button was enabled even in read-only notes.

Note

Currently, this targets release-3.2.

Testing plan

  1. Run yarn build in packages/app-desktop.
  2. Start the desktop app.
  3. Open a note in the trash folder.
  4. Verify that the "insert drawing" button is disabled.
  5. Open a note in an editable folder.
  6. Verify that the "insert drawing" button is not disabled and can be used to insert a drawing.

Fixes an issue where the "insert drawing" button was enabled even in
read-only notes.
@personalizedrefrigerator personalizedrefrigerator added bug It's a bug draw JS-Draw related issues labels Jan 9, 2025
@personalizedrefrigerator personalizedrefrigerator changed the title Desktop: Upgrade Freehand Drawing to v2.14.0 Desktop: Drawing: Fix "insert drawing" button is not disabled in read-only notes (Upgrade Freehand Drawing to v2.14.0) Jan 9, 2025
@personalizedrefrigerator personalizedrefrigerator changed the base branch from dev to release-3.2 January 9, 2025 09:29
@laurent22 laurent22 merged commit 652812a into laurent22:release-3.2 Jan 9, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug It's a bug draw JS-Draw related issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants