-
Notifications
You must be signed in to change notification settings - Fork 841
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example interacting with tabs using lipgloss #181
Conversation
Wow! A great example that gives an excellent idea of how to work with tabs (which the @sspaink another idea for an example to this project (which is great challenging, I think) is tabs with different
|
Thanks for the kind words! I spent some time working on this project using bubbletea that does use the tabs with different list items: https://github.com/sspaink/telegraf-companion the code can be found here: https://github.com/sspaink/telegraf-companion/blob/main/ui/sampleconfig_ui/plugin_page.go essentially managing a slice of |
Thanks @sspaink for the answer and the code example.
That would be just super awesome and kind of magic! 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cc/ @meowgorithm
Hey, everyone. And, @sspaink, thank you the PR. We’ve been a little backed up this month, but we’ll get to this one. In terms of the tabs-of-lists example, why don’t we do this:
|
Hey! Thank you for this PR, I cleaned up the example a tiny bit and made it the content also surrounded by a border. tabexample.mov |
09d48ce
to
e5ddeb4
Compare
e5ddeb4
to
da0bce3
Compare
* refactor: remove cursor logic from textinput * chore: Add Deprecated Fields to avoid breaking changes * fix: Ctrl+A and typing moves to end bug
The lipgloss project has a cool example showing tabs but are static, took me a moment to figure out how to make them interactive so thought maybe someone else would benefit from an example as well. Partially addresses the issue asking for more examples with lipgloss integration: #88 also added a gif example similar to: #158