Skip to content

Sidebar: show Links and GitHub stars for app projects - #238

Merged
velixio merged 1 commit into
mainfrom
fix/app-sidebar-links-stars
Dec 1, 2026
Merged

velixio merged 1 commit into
mainfrom
fix/app-sidebar-links-stars

Conversation

@velixio

@velixio velixio commented Dec 1, 2026

Copy link
Copy Markdown
Owner

With an app project selected, the sidebar hid Links (and Pixel, under Links) and GitHub stars: APP_NAV_SUFFIXES, the allow-list for app projects, never included them. Links has no project-kind restriction in the backend, and GitHub stars is organization-wide (pixel projects already show it). Adds both to the list, plus a test. Web unit tests 1995/1995, typecheck clean.

@coderabbitai

coderabbitai Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The app navigation suffix allowlist now includes /links. A sidebar navigation test checks that app projects show /links and /github-stars.

Changes: App navigation

Layer / File(s) Summary
Allow /links in app navigation
web/src/components/Sidebar.tsx, web/src/components/sidebar-navigation.test.tsx
APP_NAV_SUFFIXES now includes /links. The test checks that app project navigation contains /links and /github-stars.

Possibly related PRs

  • velixio/supermetry#126: Establishes the organisation-scoped GitHub stars feature that this change includes in app project navigation.
Merge Risk: Minimal · up to d399f

App projects now show Links in the sidebar alongside GitHub stars. The Links list request does not depend on project kind, so the new entry should work, and no merge-blocking issue remains.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the main change: Links and GitHub stars now appear in the sidebar for app projects. It matches the single-line allow-list change in Sidebar.tsx (APP_NAV_SUFFIXES gains '/links') and th…
Description check Passed The description explains the problem (Links, Pixel under Links, and GitHub stars hidden for app projects), the cause (APP_NAV_SUFFIXES omits them), and the fix (both added, plus a test). It gives test…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the main change: Links and GitHub stars now appear in the sidebar for app projects. It matches the single-line allow-list change in Sidebar.tsx (APP_NAV_SUFFIXES gains '/links') and the added test. It is concise and specific.

Full details: Description check

Explanation

The description explains the problem (Links, Pixel under Links, and GitHub stars hidden for app projects), the cause (APP_NAV_SUFFIXES omits them), and the fix (both added, plus a test). It gives test results (web unit tests 1995/1995, typecheck clean). It does not follow the template: the 'What and why' section lacks an issue link, the 'How it was tested' section lacks specific commands (for example, the vitest run for sidebar-navigation.test.tsx), the Screenshots section is missing for this UI change (add before and after images, or state why none apply), and the Checklist is absent (tests added, docs updated where behaviour changed, no secrets or visitor data in the diff). The description is mostly complete, so the check passes.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between e76c304 and d399fb5.

Files selected for processing: 2

  • web/src/components/Sidebar.tsx
  • web/src/components/sidebar-navigation.test.tsx

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@velixio
velixio merged commit 3130183 into main Dec 1, 2026
22 checks passed
@velixio
velixio deleted the fix/app-sidebar-links-stars branch December 1, 2026 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant