Skip to content
This repository was archived by the owner on Mar 6, 2025. It is now read-only.

Conversation

jesselang
Copy link
Contributor

@jesselang jesselang commented Oct 15, 2022

If a username is set, charm now pre-populates the input field with it in the "set username" section. Resolves #16.

I tried to incorporate some of the feedback given in #17 (comment) but I'm new to bubble tea.

If a username is set, charm now pre-populates the input field with it
in the "set username" section. Resolves charmbracelet#16
@jesselang jesselang marked this pull request as ready for review October 15, 2022 03:17
@jesselang
Copy link
Contributor Author

I'm open to addressing the remaining bits in #17 (comment) regarding moving the lookup into Init, but I think I'll need some guidance on what that should look like given how little I know about bubble tea at the moment. I am planning to play with bubble tea in another project "soon", but any guidance in the meantime would be great. Thanks!

@bashbunni
Copy link
Contributor

Thank you so much for the contribution! I removed the parameter for setting a placeholder as it wasn't really necessary. It now defaults to divagurl2000 if the username isn't set, otherwise it uses the username as a placeholder.

@bashbunni bashbunni merged commit 52294b4 into charmbracelet:main Jun 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pre-populate username
3 participants