Repository navigation
Let readers select, move, resize, and remove placed signatures in Select mode - #112
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
After placing a signature, clicking it in normal Select mode did nothing — moving, resizing, or deleting it only worked if someone switched to Highlight mode (#105).
Change
.stampEditor) clickable in Select mode (outside Edit mode) viaenableSignatureEditinginsrc/signatures.tsandsrc/styles.css.Ctrl+Z/⌘Z, or remove it withDelete/Backspaceor the floating trash button.Escapeimmediately returns to normal reading and text selection, and moving/resizing/removing marks the document as having unsaved changes..editToolbarinheriting.annotationEditorLayer's100pxfont size (which shifted the trash icon out of its button), hid pdf.js's unused Alt Text button on stamp editors, and gave the delete button an accessibleRemove signaturelabel.scripts/smoke-test.mjscovering selecting, moving, resizing, undoing, deleting via keyboard and toolbar button, and pressingEscape.Issue or approval
Closes #105.
How I checked it
darwin):npm run build(tsc --noEmit && vite build) and the fullnode scripts/smoke-test.mjssuite pass, including the new signature select/move/resize/undo/remove test and all existing signing tests.Implemented with Gemini 4 Neon in T3 Code.