Skip to content

Conversation

@eamodio
Copy link
Member

@eamodio eamodio commented May 27, 2024

Adds hovers to the Graph. This is still a work-in-progress and should probably be moved into the graph component itself.

See GLVSC-524

"https-proxy-agent": "5.0.1",
"iconv-lite": "0.6.3",
"lit": "3.1.3",
"marked": "12.0.2",
Copy link
Member

Choose a reason for hiding this comment

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

yarn.lock is not updated

Copy link
Member Author

Choose a reason for hiding this comment

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

That was on purpose to avoid conflicts. I think that is something we should do generally, because it just causes issues when merging. Though it is needed for the ultimate merge so it adds another merge step.

Copy link
Contributor

Choose a reason for hiding this comment

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

Isn't it a good thing that it causes conflicts (i.e. wouldn't we want to catch/fix these conflicts ahead of time, rather than on merge?) or am I missing something?

@eamodio eamodio force-pushed the feature/graph-hovers branch from b41456a to 640d080 Compare May 31, 2024 23:45
@sergeibbb sergeibbb changed the title Adds hovers to the Graph (wip) Adds hovers to the Graph (wip) [GLVSC-524] Jun 10, 2024
@sergeibbb sergeibbb changed the title Adds hovers to the Graph (wip) [GLVSC-524] Adds hovers to the Graph (wip) Jun 11, 2024
@eamodio eamodio force-pushed the feature/graph-hovers branch from 640d080 to 854ab02 Compare June 15, 2024 00:14
@eamodio
Copy link
Member Author

eamodio commented Jun 15, 2024

Hovers are cached (in both the webview and in the exthost -- except for WIP as it needs to be able to update with changes). We also re-use the stats if the "Changes" column is loaded, though we aren't invalidating the hover caches if that changes.

I've also move the hover to be below the row (and offset from the mouse so you can more easily move up/down and mouse wheel scroll, but if the hover inverts right now all bets are off, so maybe @d13 can look more into that.

@eamodio eamodio marked this pull request as ready for review June 15, 2024 05:03
@eamodio eamodio requested a review from axosoft-ramint June 15, 2024 05:03
@eamodio eamodio self-assigned this Jun 15, 2024
@eamodio eamodio added this to the 15.2 milestone Jun 15, 2024
Copy link
Contributor

@axosoft-ramint axosoft-ramint left a comment

Choose a reason for hiding this comment

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

LGTM - definitely still some funkiness with scrolling, but it's still a better experience than current.

Once this dependency PR is merged, I will bump the graph component version here and add the new property we need to suppress the graph's internal tooltips, and then we can merge.

@axosoft-ramint axosoft-ramint merged commit a4e1365 into main Jun 18, 2024
@axosoft-ramint axosoft-ramint deleted the feature/graph-hovers branch June 18, 2024 17:16
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.

4 participants