Skip to content

Show a loading indicator while a theme activates - #25993

Merged
crazytonyli merged 4 commits into
trunkfrom
bugfix/theme-activation-loading-indicator
Sep 22, 2026
Merged

crazytonyli merged 4 commits into
trunkfrom
bugfix/theme-activation-loading-indicator

Conversation

@crazytonyli

@crazytonyli crazytonyli commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Description

Fixes (kinda) https://linear.app/a8c/issue/CMM-2366. The "Manage site" action only dismisses the theme view controller, which I think is unnecessary. So, I removed it in this PR.

The PR fixes another issue: On the theme browser, tap the "..." button on a theme, tap "Activate", and wait. Nothing changes on screen until the "Theme Activated" alert shows up. Activating from the theme preview screen has the same problem, because the spinner replacing the "Activate" bar button is white on a white navigation bar.

The grid cell now replaces its "..." button with a spinner while the theme is being activated, and the preview bar button spinner uses the default color.

theme-activation.MP4

Activating from the theme grid gave no feedback because the spinner was
only attached to the preview screen's Activate bar button, which does
not exist in that flow.

The browser now tracks the activating theme and the grid cell replaces
its "..." button with a spinner while the request runs. The state lives
in the view controller so it survives cell reuse and reloads, and a
second activation is ignored while one is in flight.
The spinner replacing the Activate bar button was forced to white, which
is invisible on the preview's light navigation bar. Use the default
color instead.
It only popped the theme browser, which the back button already does.
@crazytonyli
crazytonyli requested a review from jkmassel September 4, 2026 02:20
@crazytonyli crazytonyli added this to the 27.3 milestone Sep 4, 2026
@crazytonyli
crazytonyli marked this pull request as ready for review September 4, 2026 02:20
@wpmobilebot

Copy link
Copy Markdown
Contributor
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 Number34375
VersionPR #25993
Bundle IDorg.wordpress.alpha
Commit9075e20
Installation URL0thrqe5lqgs1g
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
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 Number34375
VersionPR #25993
Bundle IDcom.jetpack.alpha
Commit9075e20
Installation URL0bonuahjqlc68
Automatticians: You can use our internal self-serve MC tool to give yourself access to those builds if needed.

@wpmobilebot wpmobilebot modified the milestones: 27.3, 27.4 Sep 20, 2026
@wpmobilebot

Copy link
Copy Markdown
Contributor

Version 27.3 has now entered code-freeze, so the milestone of this PR has been updated to 27.4.

@crazytonyli
crazytonyli added this pull request to the merge queue Sep 22, 2026
Merged via the queue into trunk with commit 585af45 Sep 22, 2026
32 checks passed
@crazytonyli
crazytonyli deleted the bugfix/theme-activation-loading-indicator branch September 22, 2026 21:29
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