feat(web): external-link icon on the Community nav button (BUNYIP-341) #347
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/BUNYIP-341-community-external-icon"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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, dimmedexternal-linkglyph flush-right on that row.How
The nav render loop already computes an
externalflag (item.href == "/community") that setstarget/rel. The new glyph is gated on that same flag, so it only ever renders on the Community row.ml-autopushes it to the right edge;h-3.5 w-3.5 opacity-60keeps it a subtle hint rather than a second primary icon.Purely presentational, no route/logic change.
external-linkis already in the icon registry (views/ui.rs), so no new asset.Verify
cargo check,cargo fmt --check, andcargo clippyall clean forbunyip-web. Visually: with a member session andBUNYIP_COMMUNITY_URLset, the Community row now shows the outbound-arrow glyph on its right edge; all other rows are unchanged.