summaryrefslogtreecommitdiffstats
path: root/fatcat_scholar/templates/search_macros.html
Commit message (Collapse)AuthorAgeFilesLines
* web: fix pagination numbering lower-boundBryan Newbold2020-11-181-1/+1
| | | | | | | | | Offset/limit are zero-indexed in code, with lower bound inclusive and upper bound exclusive. But we should display as one-indexed, with lower and upper bounds exclusive. Eg, first three hits are "1 to 3" (not "0 to 3") and next three are "4 to 6" (not "3 to 6"). Thanks to @milotype for catching this.
* pluralize result and 'additional' strings (for i18n)Bryan Newbold2020-11-051-1/+3
| | | | Thanks to Mito Ivir on weblate for the recommendation.
* integrate goatcounter JS (analytics)Bryan Newbold2020-10-221-3/+5
|
* update frontend/backend config valuesBryan Newbold2020-10-221-1/+1
|
* html: several small tweaks and accessibility improvementsBryan Newbold2020-10-201-23/+25
|
* html: add <a> rel tags where appropriateBryan Newbold2020-10-201-5/+5
|
* accessibility: style tweaks for constractBryan Newbold2020-10-141-1/+1
| | | | | | | | | Includes swapping the <head> CSS block to follow the CSS file link, so that file-local styles have precedence. Not sure I like all these changes, for example the link color and blue box colors. Blue "Show XYZ additional hits" message should probably be larger font for readability, not contrast.
* web: improve translation taggingBryan Newbold2020-10-141-11/+17
|
* html: structure more semanticBryan Newbold2020-10-141-1/+1
|
* serp: entire header links to page for SIM page hitsBryan Newbold2020-10-141-1/+1
| | | | | | This was cleverly splitting the "Page NNN" part to be a page-level link, and the rest of the title as the issue-level, but this is too complex (and not visible to user).
* web: add some img alt tagsBryan Newbold2020-10-141-2/+2
|
* web: rel=noopener for outlinksBryan Newbold2020-10-141-13/+13
| | | | | | | | | | Via Lighthouse. Apparently destination pages can reach-back to the opening window via JS API. Weird! Note that instead of noreferrer, we have a meta tag to have off-domain (off-origin) links only include the origin name (eg, hostname) instead of full URL with query paths. So we don't forward user queries to non-archive.org domains.
* web: mark more strings for translationBryan Newbold2020-10-051-4/+4
|
* 'more versions' dropdown tableBryan Newbold2020-08-061-0/+82
|
* small HTML simplificationsBryan Newbold2020-08-061-6/+6
|
* squish collapse button in with tagsBryan Newbold2020-08-061-8/+7
|
* add debug mode flag (to control json tag/link)Bryan Newbold2020-08-061-4/+6
|
* slightly more padding in SERP box at max screen sizeBryan Newbold2020-08-061-1/+1
|
* basic placeholder thumbnail imageBryan Newbold2020-08-061-3/+9
|
* sort tags, and show JSTOR as a color tagBryan Newbold2020-08-061-1/+3
|
* show language code as a tagBryan Newbold2020-08-061-1/+6
|
* fix typo in SERP page macroBryan Newbold2020-08-061-1/+1
|
* fix display of papers missing fulltextBryan Newbold2020-08-061-1/+1
| | | | | | I think the bug happened now that we do not serialize the pydantic structures with empty values. A better solution might be to deserialize search hits into pydantic objects before rendering.
* hide overflow link domain text (for mobile SERPs)Bryan Newbold2020-07-211-1/+1
|
* differentiate SERP card size from other card divsBryan Newbold2020-07-211-1/+1
|
* display Szczepanski as an OA quality labelBryan Newbold2020-07-211-1/+1
|
* fix SIM highlight HTML escapesBryan Newbold2020-06-291-3/+7
| | | | Thanks to Merlijn for finding the broken examples in QA.
* update stage and withdrawn display; tweak other result stylesBryan Newbold2020-06-291-10/+12
|
* remove confusing unlock logo from OA tagBryan Newbold2020-06-291-1/+1
|
* alt/hover text for json tag linkBryan Newbold2020-06-291-1/+1
|
* remove 'metadata' tag/link now that title goes to fatcat landingBryan Newbold2020-06-291-5/+0
|
* un-collapse only to same issue, not uncollapse-all-hitsBryan Newbold2020-06-291-1/+1
| | | | | This is user expecation, and was a lingering TODO with initial implementation.
* search titles link to fatcat.wiki landing pagesBryan Newbold2020-06-291-13/+1
| | | | Not entirely settled on this decision, but trying it for now.
* fixes to pagination displayBryan Newbold2020-06-291-1/+5
|
* remove old COVID19 thumbnail hackBryan Newbold2020-06-291-1/+0
|
* more label/tag tweaksBryan Newbold2020-06-041-1/+8
|
* less scary unknown release_type displayBryan Newbold2020-06-041-1/+1
|
* fix fatcat container linksBryan Newbold2020-06-041-2/+2
|
* iterate on tag label displayBryan Newbold2020-06-041-4/+15
|
* collapse pages by SIM issueBryan Newbold2020-06-041-14/+25
|
* partially resolve HTML form/hidden weirdnessBryan Newbold2020-06-031-3/+6
|
* basic paginationBryan Newbold2020-06-031-0/+14
| | | | Not well tested
* tweak thumbnail vertical alignmentBryan Newbold2020-06-031-1/+1
|
* add additional fatcat metadata tagBryan Newbold2020-06-031-5/+11
|
* most links in new tab (target=_blank)Bryan Newbold2020-06-031-12/+12
|
* fix typo in indexed document linksBryan Newbold2020-05-211-1/+1
|
* better translation marking; add some basic de and zhBryan Newbold2020-05-211-5/+5
| | | | Current translations are just from Google Translate
* mobile CSS/style changes, and other small UI tweaksBryan Newbold2020-05-211-3/+3
|
* search query improvementsBryan Newbold2020-05-211-1/+23
| | | | | | - wire up most of the filters and sort order - query sticks around in search box - crude error message (needs work)
* add a helper tag for search index documentBryan Newbold2020-05-201-1/+5
|