OpenCut icon indicating copy to clipboard operation
OpenCut copied to clipboard

[FEATURE] Rename project from Editor

Open chrissshan opened this issue 1 year ago • 6 comments

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 enter kb entry

Reference img: Image

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.
Image

Anything else?

No response

chrissshan avatar Jul 22 '25 06:07 chrissshan

Can I work on it?

ayush18pop avatar Jul 22 '25 07:07 ayush18pop

Submitted a PR, please check

ayush18pop avatar Jul 22 '25 08:07 ayush18pop

Submitted a PR, please check

doing the changes recommended by coderabbit in a new PR

ayush18pop avatar Jul 22 '25 08:07 ayush18pop

@ayush18pop UI feedback from initial tests on #419

  1. 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.
  1. 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

chrissshan avatar Jul 22 '25 08:07 chrissshan

@ayush18pop UI feedback from initial tests on #419

  1. 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.
  1. 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

ayush18pop avatar Jul 22 '25 08:07 ayush18pop

Please review the latest PR, hmu if there are any more changes to it thanks!

ayush18pop avatar Jul 22 '25 10:07 ayush18pop