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

Svelte: some unrelated cleanups#63757

Merged
camdencheek merged 1 commit into
mainfrom
cc/remove-separator
Jul 17, 2024
Merged

Svelte: some unrelated cleanups#63757
camdencheek merged 1 commit into
mainfrom
cc/remove-separator

Conversation

@camdencheek

Copy link
Copy Markdown
Member

Just a couple of things I noticed while working on unrelated tasks.

  1. Removes the unused Separator component, which has been replaced by the Panel API
  2. Makes the sourcegraph mark a proper icon so it can be used via the Icon component like all our other icons.

Test plan

Visually checked the logo in the top right, and that it lines up when the sidebar menu is opened.

@cla-bot cla-bot Bot added the cla-signed label Jul 10, 2024
@camdencheek camdencheek force-pushed the cc/remove-separator branch 2 times, most recently from d03c437 to c3a9932 Compare July 10, 2024 16:57
Comment on lines 84 to 82

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Instead of trying to make the width correct so the heights match, just set the height to the icon height.

I tried to handle this semantically by exporting the icon size from Icon.module.scss, but was having trouble getting Vite to generate the types correctly (even though it actually did work). I think this is clear enough for now.

@camdencheek camdencheek requested a review from a team July 10, 2024 16:57
@camdencheek camdencheek force-pushed the cc/remove-separator branch from c3a9932 to ede06dc Compare July 10, 2024 16:58
@camdencheek camdencheek enabled auto-merge (squash) July 10, 2024 18:02
@camdencheek camdencheek force-pushed the cc/remove-separator branch from 198e232 to a27394b Compare July 11, 2024 07:25
@camdencheek

Copy link
Copy Markdown
Member Author

@fkling any ideas why the "copy path with y" test would be failing on this PR? Seems totally unrelated, but it also seems to be failing consistently.

@fkling

fkling commented Jul 11, 2024

Copy link
Copy Markdown
Contributor

@camdencheek "copy path with y" test? I see that something times out but I don't see what... does it happen locally too?

@camdencheek camdencheek force-pushed the cc/remove-separator branch 2 times, most recently from eee4f1a to 6399caa Compare July 15, 2024 21:15
@camdencheek camdencheek force-pushed the cc/remove-separator branch from 6399caa to fbb83c9 Compare July 17, 2024 02:29
@camdencheek camdencheek merged commit 670ec99 into main Jul 17, 2024
@camdencheek camdencheek deleted the cc/remove-separator branch July 17, 2024 02:41
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.

2 participants