Ft/updates#1
Merged
codehakase merged 10 commits intomainfrom Feb 3, 2026
Merged
Conversation
- Add debugLog/debugError utilities to lib/utils.ts - Replace console.log with debugLog in useScreenshot.ts listener setup - Replace console.log with debugLog in useEditor.ts listener setup - Update PRD to mark Repo Audit Findings as complete
Add history tracking for all annotation operations: - Track add/remove/transform operations on canvas objects - Save state to history after drawing, deleting, and modifying - Implement undo (Cmd+Z) and redo (Cmd+Shift+Z) keyboard shortcuts - Add undo/redo buttons to editor toolbar - Limit history to 50 entries to prevent memory issues - Properly serialize/deserialize fabric objects for restoration
The redact/blur tool now uses Fabric.js Pixelate filter to actually pixelate the underlying image region instead of drawing a solid dark rectangle. This provides true content redaction while maintaining visual context of the redacted area. Changes: - Add createBlurRegion helper that extracts image region and applies Pixelate filter with configurable block size - Convert blur rectangle to pixelated image on mouse up - Store blurRegionData metadata for proper undo/redo serialization - Add Image type handling in recreateObject for history restoration - Update tool settings text from "redact" to "pixelate"
Enable Fabric.js enableRetinaScaling for sharp rendering on high-DPI displays. Previously the canvas was blurry on MacBook Retina screens because enableRetinaScaling was disabled without manual DPR handling. Changes: - Enable enableRetinaScaling: true in Fabric canvas initialization - Add diagnostic logging with DPR, screen dimensions, and retina detection - Explicitly pass cssOnly: false to setDimensions calls for clarity - Zoom state preserved via hasCalculatedInitialZoomRef to prevent jumps
Apply rounded corners (rx/ry) to background rectangle so the entire canvas area has rounded corners in preview. Add canvas-level clip path during export to produce PNG output with transparent corners when borderRadius > 0, ensuring visual consistency between preview and exported image.
- Add release.yml for tagged version releases (v*) - Add tip.yml for nightly builds from main branch
codehakase
added a commit
that referenced
this pull request
Feb 3, 2026
codehakase
added a commit
that referenced
this pull request
Feb 3, 2026
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.
Summary
This PR applies some updates from a weekend sprint. The following were added: