Skip to content

feat(hub): add sidebar feedback link - #27

Merged
lukasoppermann merged 3 commits into
mainfrom
lukasoppermann-hub-feedback-link
Oct 19, 2026
Merged

lukasoppermann merged 3 commits into
mainfrom
lukasoppermann-hub-feedback-link

Conversation

@lukasoppermann

@lukasoppermann lukasoppermann commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Why

Hub users need a clear way to share feedback without leaving their current workspace.

What changes

Adds a Feedback link to the shared sidebar footer for all signed-in users. It uses a custom speech-bubble icon with a heart, opens the feedback destination in a new tab, and remains available when the sidebar is collapsed.

Hub sidebar showing the Feedback link

Co-authored-by: Copilot App <[email protected]>

Copilot-Session: 6fbf160c-eede-4e16-adc5-29526ef4b5ee
@lukasoppermann
lukasoppermann requested review from a team and nshki as code owners October 19, 2026 10:57
Copilot AI max review requested due to automatic review settings October 19, 2026 10:57

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

The updated navigation test skips internal links missing their in-app navigation attribute, weakening existing regression coverage.

1 open issue
What changed in this PR

Adds Feedback to Hub’s shared sidebar so signed-in users can share feedback without replacing their current workspace.

Changes:

  • Adds a heart-in-speech-bubble icon and collapsed-sidebar tooltip.
  • Supports external links opening safely in a new tab.
  • Updates translated page data, fixtures, and navigation tests.
File Description
hub/​test/​views/​hub_administration_navigation_test.rb Checks Feedback availability without Hub administration.
hub/​config/​locales/​gallery.en.yml Adds the Feedback label.
hub/​app/​views/​shared/​_hub_administration_navigation.json.props Emits the translated label.
hub/​app/​javascript/​storybook/​fixtures/​authenticated-header.ts Updates shared story data.
hub/​app/​javascript/​pages/​repositories-show-page/​index.test.tsx Updates repository-page test data.
hub/​app/​javascript/​pages/​prototypes-show-page/​index.test.tsx Updates prototype-page test data.
hub/​app/​javascript/​pages/​new-prototype-page/​index.test.tsx Updates creation-page test data.
hub/​app/​javascript/​features/​repository-navigation/​index.test.tsx Checks Feedback placement and external-link attributes.
hub/​app/​javascript/​components/​workspace-navigation/​types.ts Requires the Feedback label.
hub/​app/​javascript/​components/​workspace-navigation/​index.tsx Renders Feedback and its collapsed tooltip.
hub/​app/​javascript/​components/​repository-navigation-item/​index.tsx Adds external-link support.

Review effort: Max

Comment thread hub/app/javascript/features/repository-navigation/index.test.tsx Outdated
Co-authored-by: Copilot App <[email protected]>

Copilot-Session: 6fbf160c-eede-4e16-adc5-29526ef4b5ee

@nshki nshki left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Approving with a couple minor comments. Thanks, @lukasoppermann!

Comment thread hub/app/javascript/components/workspace-navigation/index.tsx Outdated
Comment thread hub/app/javascript/features/repository-navigation/index.test.tsx
Co-authored-by: Copilot App <[email protected]>

Copilot-Session: 6fbf160c-eede-4e16-adc5-29526ef4b5ee
@lukasoppermann
lukasoppermann merged commit 2944cc5 into main Oct 19, 2026
30 checks passed
@lukasoppermann
lukasoppermann deleted the lukasoppermann-hub-feedback-link branch October 19, 2026 17:11
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.

3 participants