feat(web): external-link icon on the Community nav button (BUNYIP-341) #347

Merged
longjacksonle merged 1 commit from feat/BUNYIP-341-community-external-icon into main 2026-07-07 02:54:23 +02:00

What

BUNYIP-341: add an external-link icon to the Community sidebar button so it visibly reads as "opens externally" before the user clicks.

The Community entry (BUNYIP-329) launches the team Let's Chat instance in a new tab (target=_blank), but its sidebar row looked identical to the in-app links (Dashboard, Applications, ...). This appends a small, dimmed external-link glyph flush-right on that row.

How

The nav render loop already computes an external flag (item.href == "/community") that sets target/rel. The new glyph is gated on that same flag, so it only ever renders on the Community row. ml-auto pushes it to the right edge; h-3.5 w-3.5 opacity-60 keeps it a subtle hint rather than a second primary icon.

Purely presentational, no route/logic change. external-link is already in the icon registry (views/ui.rs), so no new asset.

Verify

cargo check, cargo fmt --check, and cargo clippy all clean for bunyip-web. Visually: with a member session and BUNYIP_COMMUNITY_URL set, the Community row now shows the outbound-arrow glyph on its right edge; all other rows are unchanged.

## What BUNYIP-341: add an external-link icon to the Community sidebar button so it visibly reads as "opens externally" before the user clicks. The Community entry (BUNYIP-329) launches the team Let's Chat instance in a new tab (`target=_blank`), but its sidebar row looked identical to the in-app links (Dashboard, Applications, ...). This appends a small, dimmed `external-link` glyph flush-right on that row. ## How The nav render loop already computes an `external` flag (`item.href == "/community"`) that sets `target`/`rel`. The new glyph is gated on that same flag, so it only ever renders on the Community row. `ml-auto` pushes it to the right edge; `h-3.5 w-3.5 opacity-60` keeps it a subtle hint rather than a second primary icon. Purely presentational, no route/logic change. `external-link` is already in the icon registry (`views/ui.rs`), so no new asset. ## Verify `cargo check`, `cargo fmt --check`, and `cargo clippy` all clean for `bunyip-web`. Visually: with a member session and `BUNYIP_COMMUNITY_URL` set, the Community row now shows the outbound-arrow glyph on its right edge; all other rows are unchanged.
feat(web): mark the Community nav link with an external-link icon (BUNYIP-341)
All checks were successful
E2E / Playwright against deployment (pull_request) Successful in 23s
Check / fmt + clippy + build + tests (pull_request) Successful in 9m18s
Create release / Create release from merged PR (pull_request) Has been skipped
880bf249cf
The Community entry opens the Let's Chat instance in a new tab (target=_blank), but the sidebar row looked identical to the in-app links, giving no signal that it leaves Bunyip. Append a small, dimmed external-link glyph flush-right on the external row so the "opens externally" affordance is visible before the click. Purely presentational: the glyph is gated on the same `external` flag that already sets target/rel, so it only ever renders on the Community row.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
longjacksonle deleted branch feat/BUNYIP-341-community-external-icon 2026-07-07 02:54:23 +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
psa-systems/bunyip!347
No description provided.