Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Svelte: linkify and wrap dir entries#62862

Merged
camdencheek merged 8 commits into
mainfrom
cc/popover-followups
May 22, 2024
Merged

Svelte: linkify and wrap dir entries#62862
camdencheek merged 8 commits into
mainfrom
cc/popover-followups

Conversation

@camdencheek

@camdencheek camdencheek commented May 22, 2024

Copy link
Copy Markdown
Member

This makes each dir entry in the file popover header a link, and allows wrapping so the full path is always visible. Uses the same wrapping logic as the file header so the slashes work right. Additionally, it linkifies the commit message to point to the same page as the OID link

Fixes SRCH-125, SRCH-126, SRCH-127, and SRCH-98

Test plan

screenshot-2024-05-22_12-09-05.mp4

@cla-bot cla-bot Bot added the cla-signed label May 22, 2024
@camdencheek camdencheek requested a review from taiyab May 22, 2024 16:03

@taiyab taiyab 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.

Sweet, we can just condense the gap between the slashes and dir names slightly and we're good to go!

@taiyab taiyab requested a review from a team May 22, 2024 17:40
Comment thread client/web-sveltekit/src/lib/repo/filePopover/FilePopover.svelte Outdated
Comment thread client/web-sveltekit/src/lib/repo/filePopover/FilePopover.svelte
@camdencheek camdencheek enabled auto-merge (squash) May 22, 2024 18:10
@camdencheek camdencheek merged commit c95e4ed into main May 22, 2024
@camdencheek camdencheek deleted the cc/popover-followups branch May 22, 2024 18:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants