Skip to content

[pull] main from TryGhost:main#921

Merged
pull[bot] merged 6 commits intocode:mainfrom
TryGhost:main
Feb 17, 2026
Merged

[pull] main from TryGhost:main#921
pull[bot] merged 6 commits intocode:mainfrom
TryGhost:main

Conversation

@pull
Copy link

@pull pull bot commented Feb 17, 2026

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 : )

kevinansfield and others added 6 commits February 17, 2026 07:44
no issue

- Removed dead Ember analytics components (`Posts::Analytics`, `Posts::OldAnalytics`, `Posts::PostActivityFeed`, `Posts::LinksTable`, `Posts::FeedbackEventsChart`, `MemberAttribution::SourceAttributionTable/Chart`)
- Removed the orphaned Ember route, controller, and template for `posts/analytics` (the route was already removed from the router in favor of the React `posts-x` route)
- Removed ~3,750 lines of dead CSS (`gh-links-list`, `gh-post-analytics-box/item/resource/split/mentions`,
`gh-post-activity-feed`, `gh-feedback-events`, `feature-trafficAnalytics` styles)
- Removed associated unit and integration tests for deleted components
no issue

- Removed the `audienceFeedback` labs flag that was already in the `GA_FEATURES` list
- Audience feedback functionality (newsletter feedback, feedback events, feedback API endpoint) is now unconditionally enabled
ref https://linear.app/ghost/issue/BER-3275

The banner that highlights an active theme with errors was missing in
the React sidebar.

- added hook for reading errors from active theme
- added missing banner and errors/warnings list modal

Note: The modal duplicates some UI from `admin-x-settings` but we don't
yet have any patterns for sharing components across apps or the Shade /
Admin-X-Design-System boundary

---

To test this PR, upload and activate the zip for an old Casper version
(https://github.com/TryGhost/Casper/releases/tag/v4.4.0) - that will
show errors in the theme upload modal and when activated show the
sidebar banner. The sidebar banner can be clicked to show the list of
theme errors, this is a duplicate of the theme upload modal's list but
re-implemented with Shade components.

---------

Co-authored-by: Weyland Swart <weyland.swart@gmail.com>
Co-authored-by: Peter Zimon <zimo@ghost.org>
no refs.

- Left a comment in code which shows theme errors for all sites
ref https://linear.app/ghost/issue/BER-3286/

- Admin's nav has been fully migrated from Ember to React so we no longer need related code and styles on the Ember side
ref
https://linear.app/ghost/issue/DES-1284/tab-alignment-is-off-in-settings-safari
ref
https://linear.app/ghost/issue/DES-1285/toggle-alignment-is-off-in-analytics-setting

- Added align prop to the Toggle component with `flex-start` being the default
- Used center alignment for toggles in Analytics settings as it makes the alignment more balanced
- Fixed tab border alignment in Safari by replacing border-b with a
    pseudo-element and using relative positioning on tab buttons  

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> **Low Risk**
> Purely presentational CSS/className changes and a small new `Toggle`
prop; low risk aside from potential minor layout regressions in other
toggle/tab usages.
> 
> **Overview**
> Fixes alignment issues in admin settings by updating the design system
`Toggle` to support an `align` prop (defaulting to `start`) that
controls flex alignment and conditional label offsets.
> 
> Updates the analytics settings toggles to use `align='center'` and
move vertical padding to `containerClasses`, keeping switch and label
text aligned.
> 
> Adjusts the design system tabs styling to avoid Safari border
misalignment by switching the tab-list divider to a pseudo-element
(`after`) and making tab triggers `relative`/layered; also removes an
unnecessary wrapper around each `TabButton`.
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
93dbd15. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
@pull pull bot locked and limited conversation to collaborators Feb 17, 2026
@pull pull bot added the ⤵️ pull label Feb 17, 2026
@pull pull bot merged commit 04540d3 into code:main Feb 17, 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

Comments