Skip to content

fix: render load more as a compact text link - #152

Closed
fredrikbernholm wants to merge 1 commit into
mainfrom
fix/load-more-link
Closed

fredrikbernholm wants to merge 1 commit into
mainfrom
fix/load-more-link

Conversation

@fredrikbernholm

Copy link
Copy Markdown
Contributor

Why

Load more currently renders as a large primary button stretched across the table. Its button surface and full-row focus outline give a pagination action too much visual weight.

What

  • Use the shared cosmoz-button link variant, with transparent background and an underline on hover.
  • Center the control at its natural width so keyboard focus surrounds the label.
  • Add a browser story checking its transparent surface, compact width in a column layout, and activation through the real inner button.

All 101 unit/browser tests, TypeScript/build, lint, and formatting checks pass. Keyboard focus was checked with native browser Tab input in light and dark modes. Existing pagination callbacks, hidden state, and loading indicators are preserved.

Blast radius

Queue consumers. Shared Load more controls adopt the link presentation; no pagination API or data changes. This needs a package release and frontend dependency update before it appears in Cosmoz. No frontend patch is added.

@changeset-bot

changeset-bot Bot commented Oct 19, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 4d57f4d

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@neovici/cosmoz-queue Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://Neovici.github.io/cosmoz-queue/pr/pr-152/

Built to branch gh-pages at 2026-10-19 07:05 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

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