Skip to content

Conversation

PeterCardenas
Copy link
Contributor

Showing information for GitHub is nice, but it shouldn't block the popup from showing up. This PR immediately shows the information from git (which is often cached) while updating the popup with the information from GitHub once we load it.

I'm not too sure if we want a loading indicator of some sort here. It would be nice, just not sure what it should look like.

@nenahp
Copy link

nenahp commented Sep 30, 2025

win width should also be updated.

@PeterCardenas
Copy link
Contributor Author

@nenahp yup just noticed that and fixed it

@lewis6991
Copy link
Owner

Would it be better to show placeholder information whilst gh info is loaded? Then once it is loaded, only update the exact line in the buffer instead of a complete redraw.

@PeterCardenas
Copy link
Contributor Author

PeterCardenas commented Sep 30, 2025

i could change it to only update the exact line yea, though i still will need to do the win width/height calculation. a consideration is that some lines won't have a associate github pr. wondering if it's ok to show (loading...) and then remove the placeholder or replace it if it does have one

@lewis6991
Copy link
Owner

Ok leave as is for now.

@lewis6991 lewis6991 merged commit a434c8c into lewis6991:main Sep 30, 2025
7 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.

3 participants