Skip to content

TIG-207: implement info icon that shows important links#516

Merged
angelina-ji merged 4 commits intomasterfrom
info_box_button
Apr 1, 2026
Merged

TIG-207: implement info icon that shows important links#516
angelina-ji merged 4 commits intomasterfrom
info_box_button

Conversation

@niyathikukkapalli
Copy link
Copy Markdown
Contributor

No description provided.

@linear
Copy link
Copy Markdown

linear bot commented Apr 1, 2026

Copy link
Copy Markdown

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

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: 4a4a7c2956

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

reqLabel,
popoverInstance,
{
hideDelayMs: 0,
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Restore a nonzero hover hide delay for requirement popovers

Using hideDelayMs: 0 causes bindManualHoverPopover to run the hide check immediately on trigger mouseleave, so when the pointer crosses the trigger→popover gap and relatedTarget is null, the popover is hidden before users can reach interactive content. This regresses existing behavior for sub-requirement popovers (notably the Find Satisfying Courses button) and can also affect the new header-link popovers; a small delay is needed to make hover-to-popover transitions reliable.

Useful? React with 👍 / 👎.

Comment on lines +452 to +456
className="fa fa-info-circle info-icon"
data-bs-toggle="popover"
data-bs-html="true"
data-bs-content={popoverContent}
style={{ marginLeft: '5px', cursor: 'pointer' }}
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Prevent info-icon clicks from bubbling to tree toggle handler

The new info icon is rendered inside .tree-view_item, but it is not treated as an interactive target by the row click handler (makeNodesClickable only excludes links/buttons/inputs), so clicking the icon also toggles expand/collapse of the requirement node. On pointer-driven use, this makes the icon interaction unexpectedly mutate tree state instead of acting as an isolated info affordance.

Useful? React with 👍 / 👎.

@angelina-ji angelina-ji merged commit 262ee46 into master Apr 1, 2026
1 check passed
@angelina-ji angelina-ji deleted the info_box_button branch April 1, 2026 20:57
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.

2 participants