Repository navigation
Conversation
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
|
Thanks for this. Before a bug fix is taken further, the bug is reproduced on current main, and here it did not appear. We ran the web app from current main (a35fd81) in a desktop browser with a mouse, starred a Codex model from its provider tab, then opened Favorites with an empty search and moved the pointer away. The row's star was hidden at rest, as you describe. Hovering it showed a filled yellow star with the tooltip "Remove from favorites", and clicking it removed the model from Favorites. This is how the picker was designed when it was rebuilt in #28057. Every row on the Favorites tab is a favorite by definition, so the star is shown only on hover to keep that list quiet. The code says so next to the flag this change removes. The star that appears on hover is the filled "favorited" star, not the hollow "add" star, and its tooltip and accessible label both say it removes the favorite. Nothing in the flow behaves incorrectly. Showing the star at rest is a reasonable preference, but it changes an intentional design rather than fixing a bug. If you'd like to argue for it, please open an Ideas discussion so the maintainers can weigh it as a design decision. Closing this pull request. If it still happens for you, please open an issue with the exact steps, what you see, and the version and platform you are on; a fix is picked up from there. |
Problem
On the Favorites tab, every row is already a favorite, but the star stayed hidden until hover. Hovering painted a star, which looked like the chance to favorite that row. The tooltip was the only sign that the click removes the favorite.
The other provider tabs already show a filled star for a favorite, and React Native does too (
star.fill, labeled "Remove from favorites"). The web Favorites tab was the exception.Expected: a Favorites row shows a filled star at rest, and activating it removes the favorite.
Change
Drop the web-only
favoriteStarOnHoverflag. A favorite keeps a filled star visible, on the Favorites tab and on the other provider tabs. Hover still says "Remove from favorites". A model that is not a favorite still shows its star only on hover.The React Native row is unchanged. It already showed a filled star for a favorite, and this makes the web picker follow that rule.
Scope and approval
A very small, focused fix for an obvious visual bug. One visibility rule on one control in the web model picker. It adds no workflow and does not change what favoriting does, so it qualifies without a prior issue.
Verification
Checked in a worktree dev server (
vp run dev, web on port 6493) with Replay (dev) models starred, then opened the Favorites tab.Before, the rows show no star. Hover paints a star, and the tooltip says "Remove from favorites":
before-hover.mp4
After, every Favorites row shows a filled star at rest. Hover keeps that star and the same remove tooltip:
after-hover.mp4
vp run check:changedpassed on this branch against currentmain: format, lint, knip, typecheck of the two affected packages, React compiler, and the changed-file tests. No UI test was added. This is a visual bug, and the captures are the proof.Not checked:
scenarios:prove, the native mobile client, and a standalone Electron window. Desktop and the mobile shell share this web picker. The React Native model row was read and left as it is.Made by Claude Opus 5.5 in T3 Code (Antigravity harness).