qwikifiers / qwik-ui

Qwik's Headless and styled component library
https://qwikui.com
MIT License
639 stars 144 forks source link

feat: Convert from `all-contributors` to a dedicated docs page driven by the Github API #981

Closed cwoolum closed 1 month ago

cwoolum commented 1 month ago

What is it?

Why is it needed?

Closes #980

This replaces all-contributors in the Github repo with a dynamic version loaded from the Github API. I added a cache of 10 minutes for a balance of fairly up to date while not getting throttled by Github. If this still is an issue, we can add a Github token and use authenticated requests. In my testing though, it took a fair amount of traffic to get throttled.

The UX takes theming into account and uses the user selected accent values.

Screenshot 2024-10-03 064626

Screenshot 2024-10-03 064614

Checklist:

changeset-bot[bot] commented 1 month ago

⚠️ No Changeset found

Latest commit: d09f3026f50246ef601dc9fdd58ef0420c5d5424

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

pkg-pr-new[bot] commented 1 month ago

Open in Stackblitz

pnpm add https://pkg.pr.new/qwikifiers/qwik-ui@981
pnpm add https://pkg.pr.new/qwikifiers/qwik-ui/@qwik-ui/headless@981
pnpm add https://pkg.pr.new/qwikifiers/qwik-ui/@qwik-ui/styled@981
pnpm add https://pkg.pr.new/qwikifiers/qwik-ui/@qwik-ui/utils@981

commit: c48a13b