[FEATURE] Rename project from Editor
Problem
New projects are created with default "New project" name. This is fine, but the user will surely want to rename their project once they get started working on it.
Solution
Make the project name in the editor header an editable input.
- When the user clicks the project name, make it an active text input with the entire contents selected
- User can confirm with
enterkb entry
Reference img:
Alternative
Alternative interactions within the Editor header-based interaction
- Instead of Enter, there can be a confirmation button to the right of the text input
Alternatives to the header
- Project name should be editable in the project properties panel. This is not preferred since the primary place a user is thinking of the project name is in the header, since this is where it is most prominently displayed.
Anything else?
No response
Can I work on it?
Submitted a PR, please check
Submitted a PR, please check
doing the changes recommended by coderabbit in a new PR
@ayush18pop UI feedback from initial tests on #419
- Input styling doesn't seem standard.
- I'm new to this project, so I'm not sure what the normal UI patterns are for inputs, but this input is different than the "Search media" search text input... so probably making those re-use the same component, or at least look similar would be good.
- Long project names get cut-off awkwardly
- Width of the project name seems arbitrary. Probably could set a wider width
- If text is truncated on display, add an ellipsis
...to the end to indicate some of the project name has been cut off
@ayush18pop UI feedback from initial tests on #419
- Input styling doesn't seem standard.
- I'm new to this project, so I'm not sure what the normal UI patterns are for inputs, but this input is different than the "Search media" search text input... so probably making those re-use the same component, or at least look similar would be good.
- Long project names get cut-off awkwardly
- Width of the project name seems arbitrary. Probably could set a wider width
- If text is truncated on display, add an ellipsis
...to the end to indicate some of the project name has been cut off
Got it, working on the changes I think the long project name problem isn't handled in the PropertiesPanel also, need to fix it there too, I'll do changes there too
Please review the latest PR, hmu if there are any more changes to it thanks!