Commit graph

2 commits

Author SHA1 Message Date
David 1a3f294b31 F5: renameSuffix runs as a single transaction
The 5 sequential UPDATEs could half-rename the database if a renamed
title collided with an existing one (UNIQUE constraint) mid-way. They
now go through db.batch(), which rolls back on error. SettingsView
shows a translated error (new import.suffixRenameFailed key, EN/FR/DA)
instead of the raw constraint message. Test seeds a colliding title and
asserts the rename fails with nothing renamed.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-09 15:23:31 +02:00
David 352a3d5e88 Initial commit
Some checks are pending
CI / Lint & Format (push) Waiting to run
CI / Build (push) Waiting to run
CI / Tests (${{ matrix.browser }}) (chromium) (push) Waiting to run
CI / Tests (${{ matrix.browser }}) (firefox) (push) Waiting to run
2026-06-18 13:06:57 +02:00