Hide design system link when project has no styleguide #23

Merged
arne merged 1 commit from hide-design-link into main 2026-04-06 16:27:38 +02:00
Owner

The project detail page always showed the "design system" link in the header,
even for projects with no styleguide directory. Clicking it returned a 404.

The link is now gated on HasDesign, which is true when the project's source
can resolve its styleguide directory. Projects without one no longer show a
broken link.

The project detail page always showed the "design system" link in the header, even for projects with no styleguide directory. Clicking it returned a 404. The link is now gated on HasDesign, which is true when the project's source can resolve its styleguide directory. Projects without one no longer show a broken link.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
arne force-pushed hide-design-link from d9cca09acc to 0eaa243f74 2026-04-06 16:27:35 +02:00 Compare
arne merged commit 5791d129c8 into main 2026-04-06 16:27:38 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
arne/orbit!23
No description provided.