Skip to content

fix: load About page contributors dynamically from GitHub - #840

Closed
richardkeep wants to merge 2 commits into
dev-null-sh:productionfrom
richardkeep:feat/dynamic-about-contributors
Closed

richardkeep wants to merge 2 commits into
dev-null-sh:productionfrom
richardkeep:feat/dynamic-about-contributors

Conversation

@richardkeep

Copy link
Copy Markdown
Contributor

Replace the hardcoded contributor list with GitHub contributor data cached for one hour across visitors.

Fetch all pages, exclude bots, and sort contributors by commit count.

Refresh the cache on the first visit after expiry. Show an unavailable message if GitHub cannot be reached.

image

@jubianchi

Copy link
Copy Markdown
Contributor

@richardkeep this may be a dup of #488

@richardkeep

Copy link
Copy Markdown
Contributor Author

@jubianchi Very true. I am closing mine

@camilleislasse

Copy link
Copy Markdown
Contributor

@richardkeep you didn’t write that PR for nothing, I took two things from it: the config('services.github.repository') and the collect() + Fluent accessors 🙏

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.

3 participants