Skip to content

Conversation

@mchisolm0
Copy link
Contributor

Summary

Add a suggestion/completion system for labels. Built on top of #719 to close #716.

How did you test this change?

I built the extension locally and started it in the terminal. I opened an issue, began typing a label, ctrl + n and ctrl + p for next/previous, and clicked enter or tab to accept.

Images/Videos

CleanShot.2025-12-27.at.03.02.15.mp4

Copy link
Owner

@dlvhdr dlvhdr left a comment

Choose a reason for hiding this comment

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

Hey! So this is pretty awesome and definitely super useful. Thanks for working on it.
I think in terms of usability it's very nice. I think the code needs some cleanup, mainly for readability, nothing major.
I've also left some design comments etc.
Otherwise, great work!

Copy link
Owner

@dlvhdr dlvhdr left a comment

Choose a reason for hiding this comment

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

Looks and behaves really great! Thx for putting so much effort into it!


func (m *Model) UpdateProgramContext(ctx *context.ProgramContext) {
m.ctx = ctx
m.inputHelp.Styles = ctx.Styles.Help.BubbleStyles
Copy link
Owner

Choose a reason for hiding this comment

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

I think you also need to update the styles for the autocomplete here? not sure why, but the help text isn't using the faint style

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Great catch! I added it to issueview.go since that is where m.ac is. I originally did a check for m.ac != nil before updating the context, but I think since it is in issueview.go, m.ac will always be defined. Am I thinking about that right?

Copy link
Owner

Choose a reason for hiding this comment

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

yeah that works great!

Copy link
Owner

@dlvhdr dlvhdr left a comment

Choose a reason for hiding this comment

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

Looks and behaves really great! Thx for putting so much effort into it!

@dlvhdr
Copy link
Owner

dlvhdr commented Jan 5, 2026

Looks great @mchisolm0! I'm good with merging this. We can do another pass once bubbletea v2 is released and convert it to a cleaner popup.

@dlvhdr dlvhdr marked this pull request as ready for review January 5, 2026 18:47
dlvhdr
dlvhdr previously approved these changes Jan 5, 2026
@dlvhdr dlvhdr merged commit 5e60acb into dlvhdr:main Jan 5, 2026
3 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.

Auto complete labels

2 participants