Skip to content

Extension manager: more custom views (4/n)#1550

Merged
cyanzhong merged 1 commit into
mainfrom
develop
Jul 15, 2026
Merged

Extension manager: more custom views (4/n)#1550
cyanzhong merged 1 commit into
mainfrom
develop

Conversation

@cyanzhong

Copy link
Copy Markdown
Contributor

No consumers right now, will be used in upcoming PRs.

@cyanzhong cyanzhong changed the title Extension manager: more custom views (4/n) Extension manager: more custom views (4/n) Jul 15, 2026
@cyanzhong
cyanzhong requested a review from Copilot July 15, 2026 15:09

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds several reusable SharedUI components intended to support upcoming “extension manager” UI work, including table wrappers for SwiftUI/AppKit interoperability and a couple of standalone SwiftUI views.

Changes:

  • Introduces TableRowWrapper (AppKit) for drawing an inset hairline separator in table rows.
  • Introduces TableCellWrapper (AppKit) for hosting arbitrary SwiftUI content inside NSTableCellView.
  • Adds two SwiftUI components: LabeledProgressView and PillButton.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
MarkEditMac/Modules/Sources/SharedUI/TableRowWrapper.swift New NSTableRowView subclass that lays out an inset divider/hairline separator.
MarkEditMac/Modules/Sources/SharedUI/TableCellWrapper.swift New NSTableCellView subclass embedding an NSHostingView with horizontal (and current vertical) insets.
MarkEditMac/Modules/Sources/SharedUI/LabeledProgressView.swift New SwiftUI progress indicator with a title and a reduce-motion-aware fade-in.
MarkEditMac/Modules/Sources/SharedUI/Buttons/PillButton.swift New SwiftUI “pill” button supporting prominent vs bordered styles.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread MarkEditMac/Modules/Sources/SharedUI/TableRowWrapper.swift
Comment thread MarkEditMac/Modules/Sources/SharedUI/TableCellWrapper.swift
@cyanzhong
cyanzhong merged commit c3e1d23 into main Jul 15, 2026
1 check passed
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.

2 participants