Skip to content

iOS sheet: system bars, corner pins, red throughout - #5

Merged
artifact-agent merged 5 commits into
mainfrom
ios-sheet-toolbar
Nov 29, 2026
Merged

artifact-agent merged 5 commits into
mainfrom
ios-sheet-toolbar

Conversation

@artifact-agent

Copy link
Copy Markdown
Contributor

The iOS sheet's edit screen uses the system's bars, red throughout, and corner-anchored number pins, from Nicholas's review on the iPhone Duo.

Changes

  • Close (the system close button) and Send (a paper plane) sit in the navigation bar; Comment, pen, box, redact and Undo sit in the bottom bar. On iPhone Duo the system puts both down the right side. The bars hide while the keyboard is up.
  • The screenshot fills the space the bars leave free, less 12 pt, keeping its aspect and centred, instead of 90% of the width.
  • A closed comment shows only its number, in a pin whose bottom-left corner sits on its point; the right or top corner takes its place when an edge of the screenshot is in the way (BubbleLayout.pin). The confirmation summary uses the same pins.
  • The open comment has a "Comment N" field and, down its top-right, a ⋯ menu with Delete comment above a checkmark that closes it. One comment is open at a time.
  • Apple Pencil draws with the pen while Comment is selected, and with the selected tool otherwise (CanvasTouches). The pen shows the Apple Pencil symbol on iPad, when the system prefers Pencil-only drawing, and after the first Pencil touch.
  • One colour, system red (#ff3b30), for ink, pins, Send, the selected tool, links and menus, through both the SwiftUI tint and the overlay window's UIKit tint.
  • The demo app is universal and gains an edges sample with one pin per anchored corner.

Verified

  • swift test in apple/FeedbackKit: 46 tests pass, including new ones for each pin corner and for the screenshot filling a space beside a side bar.
  • Screenshots of the demo on the iPhone Duo and iPad simulators show the bars, pins, open comment and colour.
  • The same FeedbackKit, copied into Quicksilver for iOS (arfct/alchemy feedbackkit-toolbar), builds for device and installed on the Duo.

Not verified

  • The ⋯ menu's Delete comment was not opened.
  • No Apple Pencil touch was made; the simulator can't produce one.
  • The keyboard's return key stays system blue: iOS draws the keyboard out of process and ignores both tints and the app's accent colour.
  • On a narrow iPad window, the window controls cover Close; a full-screen window was not checked.

After merge

Nothing

Artifact Agent added 5 commits November 28, 2026 20:54
…omments

Close and Send move to the navigation bar and the tools to the bottom bar,
so iPhone Duo puts them down the right side. A collapsed comment shows only
its number; the open one has a Comment N field, a menu with Delete comment
and Done. Apple Pencil draws with the pen while Comment is selected. The
demo app is universal so the iPad path can be checked.
A pin's bottom-left corner sits on its point, or the right or top corner when
an edge of the screenshot is in the way. The edit screen's screenshot fills
the space the system bars leave, less 12 pt, instead of 90% of the width.
The demo gains an edges sample with one pin per corner.
Pins, Send, the selected tool, the checkmark, links and menus use system red
(#ff3b30), the ink colour, through both the SwiftUI tint and the overlay
window's UIKit tint.
@artifact-agent
artifact-agent merged commit e578ac9 into main Nov 29, 2026
2 checks passed
@artifact-agent
artifact-agent deleted the ios-sheet-toolbar branch November 29, 2026 05:17
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