Skip to content

v3.18.2 — Confirm Before Deleting a Note

Choose a tag to compare

@lfariabr lfariabr released this 04 Oct 19:17
· 103 commits to master since this release
9f6f9b3

v3.18.2 — Confirm Before Deleting a Note

Release date: 2026-10-05
Type: UX safety fix (private area)
PR: #298 · Issue: #297 · follows v3.18.1

What's New

  • Delete asks first — tapping Delete on a note opens a dialog naming the note, with Cancel and Delete note. One mis-tap on mobile no longer removes a note.
  • Failure stays visible — if the delete fails, the dialog stays open and an error toast appears, so you can retry.
  • No accidental dismiss mid-delete — buttons disable and show Deleting... while the request is in flight.

Files Changed

File Change
frontend/src/app/notes/page.tsx Confirmation dialog, pendingDelete state, confirmDelete
frontend/src/__tests__/app/NotesPage.test.tsx Confirm, cancel and failure tests

Tests

  • npx tsc --noEmit → ✅
  • npx jest (frontend) → ✅ 24 suites, 177 passed, 5 skipped
  • PR #298 checks → ✅ Backend Tests, Frontend Tests, Build Verification, GitGuardian
  • master pipeline → ✅ Frontend & Backend Tests, Build & Push Docker Images, Deploy to Production. SEO Audit Gate (informational) hit fetch errors while the deploy was restarting the site; every audited route returned 200 right after.

Before / After

Surface Before After
Tap Delete Note deleted immediately Confirmation dialog naming the note
Delete fails Silent (warning in logs) Dialog stays open + error toast

TL;DR Changelog

feat(notes): confirm before deleting a note (closes #297)