Detailed Change Log: Compact Research Overview
Detailed Change Log: Compact Research Overview
Date: 2026-11-16 Repository: YanWin/YanWin.github.io High-level entry: website-change-overview.md
Request
Implement the approved compact research overview, with Job Market Paper first, Publications second, and Work in Progress last. Keep every paper’s Abstract, Journal/PDF, and Cite controls in a consistent position. Leave the changes local; do not push.
Context Map
Files Modified
| File | Purpose | Change |
|---|---|---|
_data/publication_sections.yml | Research categories | Set the three requested categories and their shared order |
_includes/research-list.html | Shared research listing | Render nonempty categories and paper entries on both listing pages |
_includes/publication-card.html | Paper entry markup | Show title, authors, venue/year, and one action row; retain expandable abstracts and citations |
_pages/about.md | Homepage | Use the compact shared listing below the Research heading |
_pages/publications.html | Research archive | Use the same listing, order, and Research title |
_sass/layout/_publication_cards.scss | Research styling | Replace large cards with compact rows, small category headings, and left-aligned actions below metadata |
_sass/layout/_home_sections.scss | Homepage spacing | Reduce space above the research overview and its heading |
_publications/marginal-consumption-reaction-uncertainty.md | Job market paper metadata | Classify the uncertainty paper as the job market paper and update its venue, citation, and page text |
_publications/local-methods-for-large-transfers.md | Unpublished paper metadata | Group the transfer paper under Work in Progress while retaining its Working paper label; correct the citation’s missing HTML entity terminator |
_pages/cv.md, _data/cv.json | CV research content | Keep the job market paper visible and its classification consistent |
docs/website-change-overview.md | Change index | Add this update |
Risks
- Changing paper statuses can remove papers from the CV’s old status-specific loops. The CV now uses the same category definitions.
- Markdown can interpret indented generated HTML as code. The CV research list uses an HTML wrapper to keep its headings and lists intact.
- Actions must remain below the metadata when long titles or author lists wrap.
Task Steps
- Inspect the current templates, paper metadata, and repository instructions.
- Implement the approved grouping and compact layout in shared templates.
- Synchronize dependent CV labels and grouping.
- Build the site and inspect desktop/mobile layouts and expandable controls.
- Record validation and leave the changes uncommitted and unpushed.
Implementation Plan
Use one category definition and one research-list include for the homepage and archive. Retain the existing publication panel JavaScript. Put the actions in their own full-width flex row with left alignment. Preserve the paper titles, authors, abstracts, summaries in source metadata, document URLs, and permalinks.
Progress Updates
- Replaced the large card presentation with compact text rows and category headings.
- Kept the short summaries in source metadata while removing them from the default overview.
- Verified that the installed Windows Ruby bundle lacks Jekyll dependencies. Used the existing
jekyll-site:latestDocker image to build the actual site instead. - The first build completed successfully. Browser checks confirmed all four abstract controls expand/collapse and the citation control remains functional.
- Desktop and narrow-screen inspection confirmed that every action row is below its paper’s metadata and aligned with its title.
- Corrected the CV wrapper after inspecting the generated HTML.
Final Implementation Results
- The order is Job Market Paper, Publications, then Work in Progress on the homepage, research archive, and main CV.
- The uncertainty paper is the job market paper; the two journal articles remain Publications; the transfer paper appears under Work in Progress.
- Full titles, authors, journal/year or draft metadata, and consistent action rows remain visible.
- Full abstracts and citations remain available through the existing expandable controls.
- No JavaScript changes or JavaScript bundle rebuild were required.
Verification Notes
- Built with the existing Docker image using
bundle exec jekyll build --destination /usr/src/app/local/research-preview --config _config.yml,_config_docker.ymland networking disabled. - Served the generated files on a temporary loopback-only HTTP server for browser inspection.
- Checked the desktop research overview and a 390-pixel mobile layout; the mobile page has no horizontal overflow, including with an abstract expanded.
- Checked all four abstract buttons and their
aria-expandedstates, plus the job market paper’s citation control. - The final Jekyll build passed after the CV wrapper and citation correction.
- At the browser’s default 1280-by-720 viewport, all four collapsed paper entries are fully visible together after navigating to Research.
- The research archive renders all four papers in the requested order with consistently positioned action rows and no duplicate element IDs.
- The main CV renders all three research headings and all four papers, without generated HTML appearing as code.
- The structured CV JSON parses successfully, and
git diff --checkpassed. - Saved desktop and mobile screenshots in
local/research-overview-desktop.jpgandlocal/research-overview-mobile.jpg. The temporary preview server was stopped after verification.
Closure
Changes remain local for review. Nothing has been committed or pushed. The pre-existing .serena/project.yml modification is outside this change set. Preview files and screenshots are stored in the ignored local/ directory.