Add searchable/filterable publications archive - #32
Open
acmiyaguchi wants to merge 1 commit into
Open
Conversation
Implements issue #22: a Svelte web component (<pub-search>) that provides fuzzy text search via Fuse.js, year/venue dropdown filters, and expandable abstracts for the publications page. Architecture: - ui/ directory with Vite + Svelte builds to assets/js/pub-search.js - Hugo partial emits publication data as JSON for the component - Static publication list preserved as no-JS fallback - Dockerfile updated with Node.js for the build pipeline - 15 Playwright e2e tests covering search, filters, and edge cases
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
dsgt-arc | 63064df | Commit Preview URL Branch Preview URL |
Apr 17 2026, 07:32 AM |
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.
Summary
Closes #22. Adds a client-side search and filter UI to the publications page using a Svelte web component + Fuse.js.
<pub-search>web component built with Vite + Svelte, compiled to a single JS bundlenpm run buildruns automatically before HugoArchitecture
Hugo emits publication metadata as a JSON blob. The web component reads it, builds a Fuse.js index, and renders the interactive UI. The built JS (
assets/js/pub-search.js) is gitignored — Hugo's asset pipeline handles minify + fingerprint at build time.Test plan
cd ui && npm install && npm run buildgeneratesassets/js/pub-search.jsdocker compose up --buildserves the page with interactive search