Skip to content

Grid view in the new media screen#25561

Open
crazytonyli wants to merge 6 commits into
trunkfrom
task/media-v2-grid
Open

Grid view in the new media screen#25561
crazytonyli wants to merge 6 commits into
trunkfrom
task/media-v2-grid

Conversation

@crazytonyli
Copy link
Copy Markdown
Contributor

@crazytonyli crazytonyli commented May 14, 2026

Description

Similar to the existing Media screen, the grid view is 4 columns in compact width and 5 in regular, supports the same aspect-ratio / square toggle as V1 (sharing the UserDefaults key, so the preference carries over between the two screens), and renders per-kind cells for image, video, audio, and document.

Analytics for filter, search, and the grid toggle are routed through MediaTrackerAdapter to Tracks under new WPAnalyticsStat cases that mirror V1's event names.

Aspect Ratio Mode Grid Mode
Simulator.Screen.Recording.-.iPhone.17.-.2026-06-05.at.21.40.49.mov

@dangermattic
Copy link
Copy Markdown
Collaborator

dangermattic commented May 14, 2026

2 Warnings
⚠️ Modules/Package.swift was changed without updating its corresponding Package.resolved.

If the change includes adding, removing, or editing a dependency please resolve the Swift packages as appropriate to your project setup (e.g. in Xcode or by running swift package resolve).

If the change to the Package.swift did not modify dependencies, ignoring this warning should be safe, but we recommend double checking and running the package resolution just in case.
.

⚠️ This PR is larger than 500 lines of changes. Please consider splitting it into smaller PRs for easier and faster reviews.
1 Message
📖 This PR is still a Draft: some checks will be skipped.

Generated by 🚫 Danger

@crazytonyli crazytonyli force-pushed the task/media-v2-grid branch from c106304 to 512afad Compare May 14, 2026 06:33
@wpmobilebot
Copy link
Copy Markdown
Contributor

wpmobilebot commented May 14, 2026

🤖 Build Failure Analysis

This build has failures. Claude has analyzed them - check the build annotations for details.

@crazytonyli crazytonyli force-pushed the task/media-v2-grid branch 2 times, most recently from 883a054 to 18ef295 Compare May 17, 2026 22:43
@wpmobilebot
Copy link
Copy Markdown
Contributor

wpmobilebot commented May 17, 2026

App Icon📲 You can test the changes from this Pull Request in WordPress by scanning the QR code below to install the corresponding build.
App NameWordPress
ConfigurationRelease-Alpha
Build Number32436
VersionPR #25561
Bundle IDorg.wordpress.alpha
Commitcbfa85e
Installation URL3umel5p784a4o
Automatticians: You can use our internal self-serve MC tool to give yourself access to those builds if needed.

@wpmobilebot
Copy link
Copy Markdown
Contributor

wpmobilebot commented May 17, 2026

App Icon📲 You can test the changes from this Pull Request in Jetpack by scanning the QR code below to install the corresponding build.
App NameJetpack
ConfigurationRelease-Alpha
Build Number32436
VersionPR #25561
Bundle IDcom.jetpack.alpha
Commitcbfa85e
Installation URL1ldhl1kh4euoo
Automatticians: You can use our internal self-serve MC tool to give yourself access to those builds if needed.

Base automatically changed from task/media-v2-foundation to trunk June 4, 2026 21:24
@crazytonyli crazytonyli force-pushed the task/media-v2-grid branch from 18ef295 to cbfa85e Compare June 5, 2026 09:32
@crazytonyli crazytonyli requested a review from jkmassel June 5, 2026 09:44
@crazytonyli crazytonyli added this to the 27.0 milestone Jun 5, 2026
@crazytonyli crazytonyli marked this pull request as ready for review June 5, 2026 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants