mattheliu opened a new pull request, #9439: URL: https://github.com/apache/opendal/pull/9439
# Which issue does this PR close? Closes #9438. # Rationale for this change Agreed in #9380: a page that credits everyone who has contributed to OpenDAL (commits, reviews, issues and discussions) without ranking anyone. # What changes are included in this PR? - `website/scripts/contributors/`: `pnpm contributors` reads commits (with co-authors), reviews on merged PRs, issues and discussions from the GitHub GraphQL API into `website/.cache/contributors/`. It credits each commit to the first release tag that contains it, and downloads the avatars, so the pages make no third-party requests. Later runs fetch only what changed. Without a token it builds from the cache, and a failed fetch never fails the build. - `website/plugins/contributors-plugin.js` adds `/community/contributors` and `/community/contributors/<login>/` from that data. Without data, the landing page is still built and says so. - `website/src/components/contributors/` holds the two pages. The text renders on the server. The card (a canvas), the ring, the wall and the lists are plain DOM code, mounted in `useEffect` and cleaned up on navigation. The styles use the site's `--odl-*` tokens and are scoped under `.odl-contributors`. - The website workflows get a fetch step that uses the workflow token, and a daily `actions/cache` entry for the data. - A sidebar link, a line on the Community page, a README section, and tests. Notes for review: - **What counts.** Reviews: the latest review from each reviewer on a merged PR, including comment-only reviews but not reviews of your own PR. Issues: every opened issue except duplicates, invalid and spam. Discussions: ones started, plus accepted answers in other people's discussions. - **Removal.** Anyone can be left out through `exclude` in `config.mjs`; everyone else's numbers stay the same. The page asks people to open an issue for this. - **Contrast.** `--odl-fg-subtle` and the breadcrumb grey are a step darker inside these pages, so small text meets WCAG AA. - **Build.** Locally the build took 22s without the data and 30–34s with all 683 contributor pages. The pages don't go into the search index. - **CI cost.** A run with an empty cache makes about 200 GraphQL requests; daily runs after that make a few. - **Size.** About 3.6k lines, mostly client code (the card renderer is about 600). I'm happy to split it, for example landing page first, if that's easier to review. # Are there any user-facing changes? Yes: a new Contributors page under Community, linked from the Community sidebar and the Community page. Nothing else changes. # Breaking changes # AI Usage Statement - Harness: Claude Code (desktop app) - Model: Claude Opus 5.5 (claude-opus-5-5) - Effort: xhigh - Role: Wrote most of the code, tests and text under my direction, porting my standalone prototype (linked in #9438) into a Docusaurus plugin. I reviewed the changes. Checks run locally (macOS, Node 22.23; `website/.node-version` asks for 24.17): - `pnpm test`: 11 tests pass (3 existing, 8 new). - `pnpm build`: passes, both with and without the contributor data. - `typos`: passes. - In a browser: both pages at desktop and mobile widths, in light and dark themes, with the keyboard, and moving between cards without a page reload. - Not run locally: `hawkeye`. The new files carry the same license header as the existing ones. 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
