From 3235bf173a32ad7b236bca0d74008b83ce92741f Mon Sep 17 00:00:00 2001 From: Casey Greene Date: Wed, 29 Jan 2025 09:50:06 -0700 Subject: [PATCH] LWT Update Fixes (#139) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * refactor auto-cite to plugin architecture, add orcid plugin (#70) - complete overhaul of auto-cite architecture - move auto-cite and related files to dedicated `scripts` folder - add `__pycache__` to gitignore - improve logging clarity - make plugin architecture. plugins take list data from one yaml file at a time, and return a list of sources. - make config.yaml for plugin order and input files. you can now split up input sources into separate files. example: you have `2019-papers.yaml` `2020-papers.yaml` `2021-papers.yaml` that get processed by the normal `sources` plugin, and `current-orcid.yaml` `alumni-orcid.yaml` that get processed by the `orcid` plugin - orcid plugin copies over any metadata to each source it returns, which can be used for filtering. example: `- orcid: 09182-12398-912837-129387 page: alex-lee` will return a bunch of papers for that orcid, and each paper will have the field `page` set to `alex-lee`. then that field can be used as a filter in the list component * close a few small issues (#74) - fix tooltip bug on safari? - make the components that look up their info by id more robust by moving variable assignments closer to their use location to avoid variable scoping issues - filter blank sections and remove unnecessary `break` option in section component - add ability for list component to read numerical filter values in addition to just strings - add ability for portrait and post excerpts to look up team member and blog post by id instead of filling out params manually - add generic two column component - update documentation for the above * rename scripts folder to auto-cite, update readme auto-cite docs link * revert autocite plugin order * remove orcid input and plugin run * move auto-cite config to main config, fix tooltip (#79) - set tooltip display to none after it fades out to avoid potential layout issues - move auto-cite configuration from its own separate config file to the main site config, to be less confusing - make citations component get the location of the auto-cite output citations from the config file, rather than being hard-coded to "citations.yaml" * Create CITATION.cff (#91) * update pull request template to include warning about forks and gh-actions * Remove specified body font size for accessibility * Accessibility, bug, performance, and misc fixes (#103) - take site-wide google search on 404 page and make it into reusable component (see #2) - remove gallery from readme (since we'll be want to update it somewhat regularly) and move to wiki - set `img` alt attributes as appropriate - refactor sections to be only one html element - load font awesome async for performance - add spots for extra details in footer, and add ad for template - move some basic items in head to meta - turn logo-text config option into simple boolean - fix small blog post excerpt bug - defer load all scripts - move from popper.js to tippy.js for tooltips - add accessible label to search box - make tags component accept list or comma-separated values more robustly - fix two col component bug where it can't accept markdown - add html doctype and lang to prevent warnings and various issues - remove bash scripts that no-one should probably be using, and are documented in the wiki anyway - various css tweaks - add aria labels to anchors - fix anchor move-to-parent bug - on team page, replace dead link to non-existent join page with just some job positing filler details (see #86 for discussion) - test each page with lighthouse (in chrome dev tools), mobile and desktop * Tag fixes (#106) - add webrick for ruby 3.0.0+ support - add example tags to tools - remove flex sass mixin - misc css fixes - make use of flex gap where appropriate - 0.9rem for certain sans texts - fix search box button color to make visible - add active color to tags - dedup and add tooltip to tags when fetched from github - refactor search script, rename "query" to (CSS) "selector" for less confusion, update url from search box and clear buttons - add clear search link to search info component - add util script file, including func to normalize strings for comparisons, and debounce func * add subtitle option, tooltip tweaks * Update .gitignore * add flip behavior to button and feature * rename name/headline to title, add subtitle to card, misc fixes * fix card tags logic * add boolean support to list filters * fix blank tooltips * minor tweaks * misc css and js fixes (#109) - simplify css to replace margin with flex gap where possible/appropriate. more simple and robust against direction changes, wrapping, new elements/rows/cols. - fix regression with feature component when flipped and on small screen - change "smart" behavior of `search-info`. show/hide based on whether anything searched, not whether anything filtered. more intuitive/expected and simpler. (there can be searches that don't filter anything because every item matches). * make portrait name text smaller * update font awesome version to 6 * update font awesome to v6 * add clearer note to auto-generated citations file * fix generated warning note in citations file * Update pull_request_template.md * tweak manubot log level (#113) - increase manubot log level to "warning" to show message when an invalid identifier type is used - force manubot logging to gray color - rearrange `try` blocks around manubot call for a bit better distinction between errors - make trueHide/trueShow util funcs just be locally `