Skip to content

fix(search): filters follow the active index for the assistant, Reviews only uses the review type, and the phone tab switch sticks (prod) - #1732

Merged
sickerine merged 4 commits into
prodfrom
fix/index-aware-filters-prod
Dec 4, 2026
Merged

sickerine merged 4 commits into
prodfrom
fix/index-aware-filters-prod

Conversation

@sickerine

Copy link
Copy Markdown
Collaborator

Brings #1731 to prod on its own: the same three commits, cherry-picked onto prod with no conflicts.

  • The assistant is offered only the filters the active index serves, and is refused one it can't serve with a reason.
  • Reviews only uses the index's review type instead of extra words in the query.
  • On a phone, the Search/Filters switch sticks under the top bar on every page.

convex/assistant/ changes, so prod's Convex is pushed after the app is live. No schema or data change; saved community sources keep their approved query.

Checks on this branch: npx tsc --noEmit, npm run check:ui-rules, vitest on the assistant tools, the source query and bucket filters (74 passed). The iPhone check is on #1731.

It used to add (review OR synthesis OR "meta-analysis") to the query, so on
"school feeding" 84% of what it kept were ordinary articles that mention
the word (110,811 of 132,564), and it missed 368 typed reviews. Both
indexes serve OpenAlex's review type. It now works on a search by meaning
too. Saved community sources keep the query they were approved with.
…index serves

UNSERVED_FILTERS names each unserved filter's setting too. Each reply's
tools are built for the active index: a setting it can't serve (study
design on our index) is left out of their arguments and descriptions, and
a call that asks for it anyway is refused with why, instead of the search
dropping it while the assistant reports success. The filter chips hide it
as the sidebar does.
…he top bar on every page

On the home page a swipe scrolls the page itself (its content is short), and
the switch slid under the sticky top bars, behind the sign-in card. It now
sticks under them, and a tab's content is its own layer, so nothing in it
draws over the switch. Checked in Safari on an iPhone simulator, before and
after the keyboard.
@coderabbitai

coderabbitai Bot commented Dec 4, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 5b9ff138-6a7c-4ddc-baba-8d07fc7b7dc9

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 4, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-04T04:47:05.705258Z 3dad37f PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 3dad37f0d9

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread convex/assistant/tools.ts Resolved
… be taken off on our index

The update tool keeps the setting's name, and a change to null or nothing
isn't refused: only asking for an unserved filter is.
@sickerine
sickerine merged commit 48c3419 into prod Dec 4, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant