Skip to content
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

Pre-populate username #185

Merged
merged 2 commits into from
Jun 28, 2023

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
Member

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
17 of 18 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.

Pre-populate username
3 participants