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

Svelte: Paper cuts for 5.5 release#62997

Merged
vovakulikov merged 11 commits into
mainfrom
vk/paper-cuts-june-release
May 31, 2024
Merged

Svelte: Paper cuts for 5.5 release#62997
vovakulikov merged 11 commits into
mainfrom
vk/paper-cuts-june-release

Conversation

@vovakulikov

@vovakulikov vovakulikov commented May 31, 2024

Copy link
Copy Markdown
Contributor

Closes https://linear.app/sourcegraph/issue/SRCH-78/svelte-improve-repository-revision-picker-ui

Just a package of small fixes in different places (group them in one PR to avoid having a lot of super small PRs before the release. These fixes include

Add Search files quick actions for collapsed file sidebar state

Screenshot 2024-05-31 at 15 34 12

Updates for tabs appearance

Screenshot 2024-05-31 at 15 34 36

Update fuzzy finder appearance (most of the styles that we have in the react version and fixes for Safari)

Screenshot 2024-05-31 at 15 35 42

  • Add keyboard support for tabs
  • Fixes opt-in/out tooltips delays
  • Add close-on escape feature to fuzzy finder and popover components
  • Fix sidebar filters panel shadow problem
  • Add shortcuts to repo revision popover tabs and history and references tabs

Test plan

  • Manual testing of all changes listed above

@vovakulikov vovakulikov requested a review from a team May 31, 2024 11:56
@vovakulikov vovakulikov self-assigned this May 31, 2024
@cla-bot cla-bot Bot added the cla-signed label May 31, 2024
@vovakulikov vovakulikov force-pushed the vk/paper-cuts-june-release branch from 4e6b6ff to e494dff Compare May 31, 2024 11:57

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

👍🏻 Would be nice to have before/after screenshots.

Comment thread client/web-sveltekit/src/lib/Popover.svelte
Comment on lines +69 to +77
registerHotkey({
keys: { key: 'Esc' },
ignoreInputFields: false,
handler: event => {
event.preventDefault()
fuzzyFinderState.update(state => ({ ...state, open: false }))
return false
},
})

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.

We should already get this behavior for free via the <dialog> component. At least it works for me in Firefox.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Didn't work in my 15.6 Safari for some reason, I'll remove it if it's not needed as soon as we setup our browser list configuration

@vovakulikov vovakulikov merged commit 85136df into main May 31, 2024
@vovakulikov vovakulikov deleted the vk/paper-cuts-june-release branch May 31, 2024 22:40
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