FN-5779: restore Star on GitHub header button

Restore the Settings header GitHub star CTA while removing its configurability.

- keep the Star on GitHub link in Settings header with refreshed split-pill styling and alignment
- reintroduce GitHub star count fetching/caching and click-tracking helpers used by the header control
- update Settings modal header-action test expectations to include the GitHub star link
- revise the changeset note to reflect removing only the showGitHubStarButton setting/toggle

Files changed:
 .changeset/FN-5777-removal.md                      |   4 +-
 packages/dashboard/app/components/SettingsModal.css     |  51 ++++++++-
 packages/dashboard/app/components/SettingsModal.tsx     | 118 ++++++++++++++++++++-
 packages/dashboard/app/components/__tests__/SettingsModal.test.tsx    |   4 +-
 4 files changed, 170 insertions(+), 7 deletions(-)

Fusion-Task-Id: FN-5779

Fusion-Task-Lineage: f485a062-6110-4a79-b42d-70710e3ce5da
This commit is contained in:
gsxdsm
2026-05-31 09:43:38 -07:00
parent 793da2c749
commit b6b902485e
4 changed files with 170 additions and 7 deletions

View File

@@ -2,6 +2,6 @@
"@runfusion/fusion": patch
---
Removed the Settings modal "Star on GitHub" header button and deleted its `showGitHubStarButton` setting.
Removed the `showGitHubStarButton` setting and its Project General toggle from Settings.
This simplifies the Settings surface by removing a promotional control and all of its related client-side logic/styles (including star-count fetch/cache behavior).
The Settings header "Star on GitHub" button remains available (always shown) while the dedicated visibility setting is no longer configurable.