Expand library to 645 resources; add faceted filters, PWA, and build tooling - #6
Merged
Merged
Conversation
…tooling
Content
- Add ~150 curated open-access resources across all topics
- Add two new topics: Energy & Just Transition, Mental Health & Wellbeing
(19 topics total), with matching connection-map colors
- Library grows from 492 to 645 deduplicated resources
Frontend features
- Access-level and publication-decade filters, with live counts on topic pills
- Removable active-filter chips and a "clear all" control
- URL-synced state so any search/filter view is shareable and bookmarkable
- Relevance ("Best Match") sort and in-result search highlighting
- Export the filtered list as BibTeX, CSV, or JSON
- "Surprise me" random resource, back-to-top button
- Recently-viewed resources on detail pages (localStorage)
Tech / infrastructure
- Progressive Web App: manifest, SVG icon, and a service worker
(cache-first shell, network-first data) for offline use
- SEO: JSON-LD structured data (per-resource on detail pages),
Open Graph/Twitter tags, canonical links
- generate_assets.py produces sitemap.xml, feed.json (JSON Feed),
opensearch.xml, data/stats.json, and data/search-index.json;
wired into build.py
- Makefile, pyproject.toml, and a pytest data-integrity suite
- CI now builds the pipeline, checks for generated-file drift, and runs tests
- Ignore Python caches
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PLMinixJbfpTGktNZtEsF7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
A large content + features + tooling update. Grows the library from 492 to 645 deduplicated resources, adds a set of new front-end features, and modernises the build/publish pipeline (PWA, SEO, generated assets, tests, CI).
Type of Change
Checklist for Adding Resources
Resources Added/Modified
~150 new curated open-access resources across all topics, plus two new topics (19 total). A representative sample:
Additional Notes
New front-end features
Tech / infrastructure
generate_assets.pybuildssitemap.xml,feed.json,opensearch.xml,data/stats.json,data/search-index.json(wired intobuild.py)Makefile,pyproject.toml, and apytestdata-integrity suite (24 tests)The Python pipeline is idempotent (verified) and uses only the standard library. All tests pass locally; both pages were smoke-tested headlessly with zero page errors.
🤖 Generated with Claude Code
https://claude.ai/code/session_01PLMinixJbfpTGktNZtEsF7
Generated by Claude Code