Skip to content

[pull] main from TryGhost:main - #1434

Merged
pull[bot] merged 10 commits into
code:mainfrom
TryGhost:main
Aug 21, 2026
Merged

pull[bot] merged 10 commits into
code:mainfrom
TryGhost:main

Conversation

@pull

@pull pull Bot commented Aug 21, 2026 •

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

weylandswart and others added 10 commits August 21, 2026 11:30
The search field in the callout card's emoji picker is now aligned with Shade's input. Clicking outside the picker now closes it, using the same useClickOutside hook as the other popovers in the editor.
no ref

Deletion-only prune of Shade code with no consumers anywhere in the repo.
no ref

The React user menu signed out with a bare `fetch` that skipped the framework fetch layer's credentials/headers/retry/typed-error handling, and a failure only logged to the console.
no ref

Three full-page screens (tag detail, member detail, automations editor) each rolled their own guards with divergent discard dialogs. One admin hook now owns this.
no ref

This is a cleanup of Admin API request handling. The theme editor and Labs YAML editor needed text or binary responses, so they bypassed `admin-x-framework` with bare `fetch` calls and repeated URL construction, credentials, error handling, and cache invalidation.

This change moves those requests onto the shared fetch layer.
no ref
- Consolidates React Router imports and route-handle types
- Centralizes analytics timezone lookup
- Fixes infinite-query headers being silently dropped
- Removes the obsolete Members force-upgrade exemption
- Adds focused unit and acceptance coverage

Small mechanical leftovers from the navigation and data-layer convergence.
ref https://linear.app/ghost/issue/PLA-137

We desire to stop hand-maintaining style rules in `eslint-plugin-ghost` and move formatting to a dedicated tool
with close-to-default settings, converging with the wider ecosystem and with what code agents emit by default. 

This PR does the one-time reformat and switches enforcement on.
ref https://linear.app/ghost/issue/PLA-137

Follow-up to #30184: lists the reformat squash commit (`5ad154310f`) in
`.git-blame-ignore-revs` so blame can attribute reformatted lines to
their earlier authors. GitHub's blame view uses the file automatically;
`pnpm setup` now configures the repository-local `blame.ignoreRevsFile`
setting for local `git blame`. Existing checkouts can rerun `pnpm setup`
or use the documented one-time `git config --local blame.ignoreRevsFile
.git-blame-ignore-revs` command.

Verified locally: with the config set, `git blame` on sampled
reformatted files attributes zero lines to the reformat commit.
no ref

This change should have no user impact.

This is mostly a types-only change, but there were a few spots where we
had to make "real" code changes.
@pull pull Bot locked and limited conversation to collaborators Aug 21, 2026
@pull pull Bot added the ⤵️ pull label Aug 21, 2026
@pull
pull Bot merged commit 9a22123 into code:main Aug 21, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants