You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(prompts): don't show the fold hover on Plan & usage while the pointer is on its link #1382
On Prompts › Tracked, the "Plan & usage" bar folds and unfolds the usage cards. It also holds a link to the plan page. While the pointer is on that link, the bar still shows its hover background and the Show button underlines, so it looks as if a click will fold the cards. In fact the link only opens its page.
The two classes are in _usage-cards.tsx: the bar's hover:bg-muted/50 and the button's group-hover:underline (around lines 276 and 317 at the time of writing).
Proposed behavior
While the pointer is on the link, the bar shows no hover background and Show/Hide isn't underlined. Hovering anywhere else on the bar works as today.
Suggested approach
Add has-[a:hover]:bg-transparent to the bar and group-has-[a:hover]:no-underline to the Show/Hide button. Check both light and dark themes.
Run yarn format && yarn lint && yarn typecheck && yarn test from web/ before opening the PR. See CONTRIBUTING.md.
Activity
fix(prompts): don't show the fold hover on Plan & usage while the poi…