#40 · Auto-generate "Recent commits to this page" footer from GitLab API
+90 pts on merge
Claim on GitLab
Submit a merge request that closes this issue to earn points on merge — bounties stack on the standard
+40 merge_pr award. New to the repo? See the
Contributing guide,
and Local Development & SSO
to run the app locally (
cp .dev.vars.example .dev.vars && pnpm dev, after rebasing on main) and fully test your change before opening the MR.
Description
Context
Wiki shows lastUpdated date but not who/why. Add a small "Recent changes" widget under each page that lists the last 5 commits to that file.
Acceptance criteria
- [ ] Footer component fetches
GET /repository/commits?path=<file>from GitLab API server-side at build time - [ ] Renders author, date, commit message (first line)
- [ ] Caches in build memory — no per-page API call at runtime
- [ ] Falls back gracefully if API unavailable (no commits shown, no error)
Technical hints
- Add to
apps/wiki/src/components/Footer.astroor newRecentCommits.astro - Astro build runs once per deploy — cost is bounded
- Use
GITLAB_API_TOKENbuild-time env var
--- *Submit a merge request that says Closes #<this issue iid> in the description. On merge to main, the GitLab webhook will auto-award your bounty + the standard merge_pr (40 pts) to your scoreboard account. Email on commit must match your Authentik email.*
Relevant files
No relevant files linked yet.
Hints
No hints yet.
Activity
No points have been awarded for this bounty yet.
Comments
Sign in to join the discussion.
No comments yet. Be the first to weigh in.