Skip to content

Fit the empty Toolkits grid to the viewport - #1897

Open
baggiiiie wants to merge 1 commit into
UsefulSoftwareCo:mainfrom
baggiiiie:fix/toolkit-scrolling
Open

Fit the empty Toolkits grid to the viewport#1897
baggiiiie wants to merge 1 commit into
UsefulSoftwareCo:mainfrom
baggiiiie:fix/toolkit-scrolling

Conversation

@baggiiiie

Copy link
Copy Markdown
Contributor

Summary

in the cloud hosted version of web UI, Toolkits tab has Personal and Workspace two sections, and the page is scrollable when there's no Toolkits content, see below screen recording. changes in this PR prevent empty Toolkits page from scrolling past its visible add cards,

before

toolkits-empty-grid-before-fix.mp4

after

toolkits-empty-grid-after-fix.mp4

Linked issue

no issue open yet since it's a straightforward fix, will open one if it's preferred

Verification

  • bun run format:check
  • bun run lint
  • bun run typecheck
  • bun run test
  • e2e — name the scenario, and link the recording or trace: e2e/runs/selfhost/toolkits-empty-grid-fits-the-viewport-without-scrolling/

Checklist

  • Added a changeset (bun run changeset), or this change needs none.
  • Added or updated tests for the new behaviour.
  • No secrets, credentials, or private data in the diff.

Each ToolkitSection shelf reserved a fixed ~3-row min-height, so the
cloud grid's Workspace + Personal stack overflowed the viewport and
scrolled even with zero toolkits (and padded short shelves with dead
space). Size sections to content instead; the skeleton matches, and a
new selfhost scenario pins the empty grid to its scroll boundary.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant