opral / inlang-message-ui-components

Issue tracker for UI components
0 stars 0 forks source link

settings component should have ability to rename the project #76

Open samuelstroschein opened 5 months ago

samuelstroschein commented 5 months ago

Context

FINK-55 requires the user the ability to rename a project [without opening the filesystem, manually rename the file, etc.]

Proposal

Add the possibility to rename a project.

Flow

  1. User sees field to rename a project

CleanShot 2024-06-13 at 07.02.36@2x.png

  1. Upon clicking on "rename", a dialog pops up that warns about unintended side effects.

CleanShot 2024-06-13 at 07.07.05@2x.png

Additional information

How to do this without having access to the project API in the component?


  onProjectNameChange={(name) => project.rename(name)}
>
NilsJacobsen commented 5 months ago

Good point, I also talked to Niklas about that.

Challenges:

Gonna see what we can do.