Skip to content

feat: confirmation prompt for deleting selected notes#1100

Merged
adil192 merged 3 commits into
saber-notes:mainfrom
ZebraVogel94349:deletion
Apr 10, 2026
Merged

feat: confirmation prompt for deleting selected notes#1100
adil192 merged 3 commits into
saber-notes:mainfrom
ZebraVogel94349:deletion

Conversation

@ZebraVogel94349

Copy link
Copy Markdown
Contributor

This adds a confirmation prompt for deleting selected notes, so you cannot accidentally delete notes by miss clicking if you want to export or move them. The prompt works exactly like the one for deleting folders.

@ZebraVogel94349

Copy link
Copy Markdown
Contributor Author

I've updated this pull request to pass all tests and to make it possible to merge without conflicts again.

@codecov

codecov Bot commented Apr 10, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 51 lines in your changes missing coverage. Please review.
✅ Project coverage is 51.79%. Comparing base (3ddbfe6) to head (c43fd33).
⚠️ Report is 4 commits behind head on main.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
lib/components/home/delete_note_button.dart 0.00% 45 Missing ⚠️
lib/pages/home/browse.dart 0.00% 3 Missing ⚠️
lib/pages/home/recent_notes.dart 0.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1100      +/-   ##
==========================================
- Coverage   51.93%   51.79%   -0.15%     
==========================================
  Files         130      131       +1     
  Lines        9387     9413      +26     
==========================================
  Hits         4875     4875              
- Misses       4512     4538      +26     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@adil192 adil192 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works well, thank you

@adil192 adil192 merged commit c43fd33 into saber-notes:main Apr 10, 2026
2 checks passed
@ZebraVogel94349 ZebraVogel94349 deleted the deletion branch April 10, 2026 16:51
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.

2 participants