-
Notifications
You must be signed in to change notification settings - Fork 60
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
feature: update workspace name #63
Conversation
33998e3
to
11ebfec
Compare
Implements first version of settings page with workspace name update
11ebfec
to
2cc5f52
Compare
🐮 👦🏼 |
trailing: true, | ||
}) | ||
|
||
// TODO: i18n |
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.
Really?
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.
it adds little friction and adding i18n later is a massive pita
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.
But this is an app for people who are prompting in English. Why would it need to be translated into other languages?
Adding i18n is always a pita. Less now than later but still maintaining translations is a burden that we might avoid in this app. My 2 cents
|
||
// TODO: i18n | ||
return ( | ||
<div className='flex flex-col gap-4 max-w-[50%]'> |
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.
A simple form like this is easier with normal forms + revalidatePath. You could remove a lot of the code done here
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.
No necessary to debounce because you don't manage input value. You let uncontrolled and on form submit action goes to the server like a plain old rails app
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.
let's talk offline
Implements first version of settings page with workspace name update