Skip to content

Update App Store Screenshots - #227

Merged
pascalpp merged 9 commits into
pascal/219-grouped-rulers-windowfrom
pascal/224-grouping-app-store-screenshots
Jun 16, 2026
Merged

pascalpp merged 9 commits into
pascal/219-grouped-rulers-windowfrom
pascal/224-grouping-app-store-screenshots

Conversation

@pascalpp

@pascalpp pascalpp commented Jun 16, 2026 •

Copy link
Copy Markdown
Owner

Closes #226

Refactor grouped ruler path calculations and enhance drawing logic

  • Consolidated the L-shaped border path logic into a reusable function for improved clarity and maintainability.
  • Updated the drawing methods in GroupedRulerContentView to utilize the new path function, enhancing performance and readability.
  • Introduced a background drawing toggle in RuleView, allowing for more flexible rendering of the horizontal and vertical rulers.
  • Adjusted offset calculations in HorizontalRule and VerticalRule to ensure consistent ruler rendering.

Enhance mouse tick management in ResizeHandleView

  • Added conditional compilation to suspend and resume mouse tick updates during resizing, improving UI responsiveness.
  • Updated appDelegate access to be conditional, ensuring compatibility with snapshot generation.

Update AppStoreScreenshotPreview.swift

Update AppStoreScreenshotPreview.swift

Update AppStoreScreenshotPreview.swift

Update RulerCoreTests.swift

update store screenshots

update test snapshots

pascalpp added 8 commits June 16, 2026 00:56
- Consolidated the L-shaped border path logic into a reusable function for improved clarity and maintainability.
- Updated the drawing methods in GroupedRulerContentView to utilize the new path function, enhancing performance and readability.
- Introduced a background drawing toggle in RuleView, allowing for more flexible rendering of the horizontal and vertical rulers.
- Adjusted offset calculations in HorizontalRule and VerticalRule to ensure consistent ruler rendering.
- Added conditional compilation to suspend and resume mouse tick updates during resizing, improving UI responsiveness.
- Updated appDelegate access to be conditional, ensuring compatibility with snapshot generation.

pascalpp commented Jun 16, 2026 •

Copy link
Copy Markdown
Owner Author

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

@pascalpp pascalpp changed the title Refactor grouped ruler path calculations and enhance drawing logic Update App Store Screenshots Jun 16, 2026
@pascalpp
pascalpp marked this pull request as ready for review June 16, 2026 14:07
@pascalpp
pascalpp merged commit f1b0f33 into pascal/219-grouped-rulers-window Jun 16, 2026
pascalpp added a commit that referenced this pull request Jun 17, 2026
* Add grouped ruler functionality and UI enhancements

- Introduced GroupedRulerController to manage grouped ruler windows.
- Implemented logic to toggle between grouped and separate ruler modes.
- Enhanced ruler drawing to support zero ticks and improved mouse tick handling.
- Added localized string for "Grouped Rulers" window title.
- Updated UI components to reflect new grouped ruler features, including border views and visibility handling for unit labels and ticks.

* Implement ruler visibility management and UI updates

- Introduced RulerVisibility struct to manage the visibility state of horizontal and vertical rulers.
- Updated ruler display logic to utilize the new visibility management, allowing for toggling and grouping of rulers.
- Enhanced GroupedRulerWindow to reflect visibility changes in the UI, including dynamic updates to border views and unit labels.
- Refactored ResizeHandleView to accommodate orientation-specific adjustments for ruler handles.

* Refactor ResizeHandleView for improved placement logic

- Adjusted y and x coordinate calculations for resize handles to account for horizontal and vertical offsets, background padding, and handle lengths.
- Simplified control flow by consolidating placement logic for both top/bottom and left/right orientations, enhancing clarity and maintainability.

* Enhance mouse tick management and UI responsiveness

- Introduced functionality to suppress and unsuppress mouse tick drawing based on user interactions, improving UI responsiveness during ruler resizing and hovering.
- Updated mouse event handling in RulerController and ResizeHandleView to manage mouse tick visibility dynamically.
- Added tracking area for corner interactions in GroupedRulerContentView to enhance user experience.
- Implemented snapshot tests for grouped ruler window layout to ensure visual consistency.

* Add grouped ruler layout tests and snapshot generation

- Implemented multiple tests for the GroupedRulerLayout, ensuring correct frame calculations and layout behavior for different zero corners.
- Added a test for the GroupedRulerContentView to verify layout and hit testing functionality.
- Enhanced the GroupedRulerController to manage mouse tick visibility based on the active ruler legs.
- Introduced a new snapshot image for the grouped ruler window layout to support visual regression testing.
- Updated the snapshot generation script to include the GroupedRulerWindow in the compilation process.

* Address grouped ruler frame persistence feedback

* Simplify flip hotkey bezels

* Address grouped single-leg review feedback

* Assert grouped window shrinks to visible leg

* Update App Store Screenshots (#227)

* Refactor grouped ruler path calculations and enhance drawing logic

- Consolidated the L-shaped border path logic into a reusable function for improved clarity and maintainability.
- Updated the drawing methods in GroupedRulerContentView to utilize the new path function, enhancing performance and readability.
- Introduced a background drawing toggle in RuleView, allowing for more flexible rendering of the horizontal and vertical rulers.
- Adjusted offset calculations in HorizontalRule and VerticalRule to ensure consistent ruler rendering.

* Enhance mouse tick management in ResizeHandleView

- Added conditional compilation to suspend and resume mouse tick updates during resizing, improving UI responsiveness.
- Updated appDelegate access to be conditional, ensuring compatibility with snapshot generation.

* Update AppStoreScreenshotPreview.swift

* Update AppStoreScreenshotPreview.swift

* Update AppStoreScreenshotPreview.swift

* Update RulerCoreTests.swift

* update store screenshots

* update test snapshots

* Update HorizontalRule.swift

* Update project.pbxproj

* Update AppStoreScreenshotPreview.swift

* Update 03-groups.png

* Address grouped ruler review feedback

* Stabilize color panel UI test
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.

1 participant