Skip to content

feat(ui): add GitHub link to header help menu#19

Merged
blimmer merged 5 commits into
mainfrom
fix/header-github-link
May 6, 2026
Merged

feat(ui): add GitHub link to header help menu#19
blimmer merged 5 commits into
mainfrom
fix/header-github-link

Conversation

@blimmer
Copy link
Copy Markdown
Contributor

@blimmer blimmer commented May 6, 2026

Summary

Adds a "View on GitHub" item to the plan UI's header help (?) dropdown, between the existing Documentation and Get Help in Slack entries. Gives users an obvious path to file issues, browse source, and star the project. Closes #18.

Review focus

  • Where the GitHub URL lives. Added GITHUB_REPO_URL to packages/shared/src/links.ts next to DOCS_URL / SLACK_COMMUNITY_URL so the plan app stays the consumer and the constant stays shared.
  • Test placement. packages/ui has no React component test rig today (only a pure-function utils.test.ts under bun:test). Rather than stand up jsdom + RTL there for one menu item, the new test lives in packages/plan/src/App.test.tsx where vitest browser mode is already wired. It clicks the help trigger and asserts all three items resolve to the imported link constants — anchored on headerTestIds rather than label text. Open to feedback if you'd rather see the rig added to packages/ui instead.
  • Item order. Docs → GitHub → Slack, matching the issue's suggested ordering.

Commits

  • d515fea — feat(ui): add GitHub link to header help menu

Adds a third item to the plan UI's help dropdown linking to the project
repo, alongside the existing Documentation and Get Help in Slack items.

Closes #18
Drops the `chromatic` label requirement from the job-level `if:` and removes
`labeled` from the event types. The workflow-level `paths:` filter (tsx/css
under packages/plan and packages/ui) is sufficient gating; the label was
redundant ceremony for an OSS repo where credit usage is not the bottleneck.
The closed-event guard is preserved so we still only republish baselines on
merge-to-main.
@blimmer blimmer marked this pull request as ready for review May 6, 2026 16:51
timeout-minutes: 10
# Run if PR has 'chromatic' label AND either:
# 1. PR is open (opened, synchronize, labeled events), OR
# 2. PR was just merged to main (closed event with merged=true)
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't need to be as conservative with runs since chromatic is free for OSS (IIRC)

The DemoFlow and FullDemo stories exist to drive the homepage demo
recorder; their play() functions burn ~30-50s of Chromatic wall time
even though both have disableSnapshot. Move them into App.demo.stories.tsx
and skip *.demo.stories.* from the Storybook glob when SKIP_DEMO_STORIES
is set, which the chromatic workflow now does. Local Storybook and
record-demo keep loading them.
@blimmer blimmer merged commit c36289b into main May 6, 2026
14 checks passed
@blimmer blimmer deleted the fix/header-github-link branch May 6, 2026 17:28
blimmer added a commit that referenced this pull request May 8, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.3.0](v0.2.0...v0.3.0)
(2026-05-08)


### ⚠ BREAKING CHANGES

* rename Claude plugin to planbridge@contextbridge; refresh plugins on
update ([#52](#52))

### Features

* add automatic release changelog with release-please
([#21](#21))
([45a1bf1](45a1bf1))
* rename Claude plugin to planbridge@contextbridge; refresh plugins on
update ([#52](#52))
([2794ae6](2794ae6))
* **ui:** add GitHub link to header help menu
([#19](#19))
([c36289b](c36289b))


### Bug Fixes

* emit plan review analytics from shared runner
([#48](#48))
([5c769ff](5c769ff))
* **plan:** pre-scan src for transitive deps to stop vitest reload flake
([3b3cc0c](3b3cc0c)),
closes [#12](#12)
* **plan:** stop vitest reload flake from lazy zod optimization
([#15](#15))
([3b3cc0c](3b3cc0c))
* refresh Claude marketplace cache during install
([#62](#62))
([58be09a](58be09a))
* resolve contextbridge via PATH for post-update refresh
([#64](#64))
([f658af4](f658af4))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: contextbridge-pr-automation[bot] <259134118+contextbridge-pr-automation[bot]@users.noreply.github.com>
Co-authored-by: Ben Limmer <ben@benlimmer.com>
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.

Add GitHub link to header help (?) menu

2 participants