Skip to content

Conversation

@kean
Copy link
Contributor

@kean kean commented Oct 23, 2025

What?

Closes CMM-862: Add a trailing bar button with more options.

Why?

We need a way to use all media picker sources available in the app: Files, Free GIFs and Images, Apple Intelligence, and more.

How?

The app provides the implementation for the media pickers. This PR adds a protocol for the app to inject the available pickers.

Note: I added CMM-890 to refactor the existing didRequestMediaFromSiteMediaLibrary by implementing is a MediaPickerAction with a predefined ID.

Testing Instructions

There is currently nothing to test. You can see how it looks in the BlockInserterView SwiftUI protocol. It will be available for testing once we build GBK and integrate the updated version in the app.

Screenshots or screencast

Screenshot 2025-10-23 at 2 53 06 PM Screenshot 2025-10-23 at 2 53 08 PM

@kean kean marked this pull request as ready for review October 23, 2025 19:48
@kean kean requested a review from dcalhoun October 23, 2025 19:48
Copy link
Member

@dcalhoun dcalhoun left a comment

Choose a reason for hiding this comment

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

Code looks sound to me. I did not perform any testing at this time.

@kean kean merged commit c74e97c into trunk Oct 27, 2025
11 checks passed
@kean kean deleted the task/add-media-source-protocol branch October 27, 2025 18:01
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.

3 participants