Repository navigation
Release 0.2.39: AI Mode search reads the top 20 and suggests where to start - #533
Merged
Merged
Conversation
…20 and lists up to 10 picks (#532) * AI Mode search: say natural language in the Home placeholder (#531) * Discover: the AI overview reads the top 20 matches, not only the page's 10 (#531) * AI overview: list up to ten picks with their titles, then where to start (#531) * CHANGELOG: AI overview reads the top 20, lists up to ten picks (#531) * AI overview: tolerate non-string hit fields, no id-as-title on a pick, no NaN limit (#531) * AI overview: picks list keeps list semantics, names each chip by id and title (#531) role=list and aria-label on the ordered list (Safari drops list semantics under list-style none), an accessible name of id and title on each chip, and a visually hidden separator between a title and its reason. The panel and the follow-up message share the Top picks label. Source-order test added. * AI overview: follow-up message breaks glued web addresses and pipes, keeps the suggestion (#531) A scheme glued to a word (see2https://...) is now broken, since the widget links any https?:// run with no word boundary, and | becomes a space so no line turns into a table row. When the lead-in and the suggestion do not fit, the lead-in is cut at a sentence (at least SEED_MIN_LEAD_IN_CHARS) to keep the suggestion whole; only a suggestion too long for that is dropped. Tests for each path; the 2000-character bound holds throughout. * AI overview: rows follow the ranking, odd search rows never drop the panel (#531) The request walks the hits in ranking order and reads a hit that has a card as the card, so a card with an unusable id no longer falls behind lower hits. A hit or card that is not an object is skipped, and a title, description or modality that is not text reads as empty. The parser lists a repeated pick once, caps distinct picks at ten, and reads a null suggestion as none. * Docs: ADR 0032 amendment and CHANGELOG for the round-1 review fixes (#531) * ci: rerun the Pages preview after a catalog API error during the build * AI overview seed: neutralise adjacent text segments as one run, no image marker before a dataset link (#531) Round-2 review: a web address split across two text segments, or a '!' right before [id](...), still reached the widget as a link or an image. Tests added for both.
2 of 3 tasks
Deploying nemar-website with
|
| Latest commit: |
83d6572
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://ec5a266c.nemar-website.pages.dev |
| Branch Preview URL: | https://staging.nemar-website.pages.dev |
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.
Promotes
stagingtomainfor 0.2.39 (Prepare release has set the version).What reaches production
Order
This release needs OSA 0.8.21 in production (OpenScience-Collective/osa#754): an older OSA refuses 20 rows with a 422 and the panel stays hidden. It merges only once
https://api.osc.earth/osa/healthreports 0.8.21.No widget pin change: OSA 0.8.21 changes no widget code.
Testing
https://nemar.org/version.jsonreports 0.2.39, and an AI Mode search on nemar.org/discover shows the new overview.