Skip to content

Feat/allow renaming project path #15

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

Open
wants to merge 16 commits into
base: main
Choose a base branch
from
Open

Feat/allow renaming project path #15

wants to merge 16 commits into from

Conversation

Kitenite
Copy link

Description

Closes: onlook-dev#1425

  1. Added the popup while the user is trying to change the path from the settings.
  2. Shows popup to confirm path change.
  3. Copies the folder and the content inside to the updated address while keeping the original copy.
  4. After the confirmation shows toast message for the path update.
  5. Popup and toast are supported in all four languages.

Related Issues

Type of Change

  • Bug fix
  • New feature
  • Documentation update
  • Release
  • Refactor
  • Other (please describe):

Testing

Screenshots (if applicable)

flip-buttons-screenshot

after-path-update

Additional Notes


Important

Adds feature to rename project paths with confirmation dialog, toast notifications, and localization support.

  • Behavior:
    • Adds moveFolder() in index.ts to copy project folder to a new path.
    • Implements MOVE_PROJECT_FOLDER channel in code.ts to handle folder move requests.
    • Displays confirmation dialog and toast notification in Project/index.tsx for path updates.
  • UI Components:
    • Adds AlertDialog for path update confirmation in Project/index.tsx.
    • Uses toast for success/error notifications in Project/index.tsx.
  • Localization:
    • Updates translation files (en, ja, ko, zh) to support new dialog and toast messages.
  • Misc:
    • Adds MOVE_PROJECT_FOLDER to MainChannels in ipc.ts.

This description was created by Ellipsis for 43e2c44. It will automatically update as commits are pushed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[feat] Allow renaming project path that would move the project folder
2 participants