-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Update dotfiles layout in user preferences #10136
Conversation
<input | ||
type="text" | ||
value={dotfileRepo} | ||
className="w-96 h-9" |
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.
thought: It's painful to see the custom height here, but does the job for now.
Add a repository URL that includes dotfiles. Gitpod will clone and install your dotfiles for | ||
every new workspace. | ||
Add a repository URL that includes dotfiles. Gitpod will | ||
<br /> |
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.
thought: Another hack around the needs to resolve #7639, see relevant comment in #7639 (comment).
placeholder="e.g. https://github.com/username/dotfiles" | ||
onChange={(e) => setDotfileRepo(e.target.value)} | ||
/> | ||
<button className="secondary ml-2" onClick={() => actuallySetDotfileRepo(dotfileRepo)}> |
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.
thought: Using the secondary class here, as this does not need to be a primary action across all preferences, see relevant comment in #7639 (comment).
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.
Nice 👍 This should resolve the confusion around whether the button applies to just the dotfiles repo or the whole page.
Thanks for taking a look, @andrew-farries! 🙌 |
Praise: Brilliant! Thanks for updating @andrew-farries / @gtsiolis ! 🚀 |
thanks for fixing this! 🙌 |
Description
In the spirit of minimum viable changes and shipping, this will update the dotfiles layout in user preferences. 🛹
Cc @filiptronicek @sagor999 @andreafalzetti @loujaybee because #7639
Related Issue(s)
Fixes #7639
How to test
Go to /preferences and notice the improved usability of the dotfiles section along the rest of the preferences options.
Screenshots
Release Notes