jan
jan copied to clipboard
feat: [BE] allow users to change Jan Data Folder
Epic: Files & Links https://github.com/orgs/janhq/projects/5/views/16?pane=issue&itemId=49509878 Related design ticket: https://github.com/janhq/jan/issues/1010 Related FE task: #1618
Goal
Allow users to change the app data folder in settings
Design
Full design flow: https://www.figma.com/file/ytn1nRZ17FUmJHTlhmZB9f/Jan-App?type=design&node-id=2270-285004&mode=design&t=bQyiFG80Dcr1XlBm-4
User flow
- Go to
Settings / Advanced Settings
- See
Jan Data Folder
- Users can:
- Show Jan Data Folder in Finder.
- Relocate Jan Data Folder by clicking on the edit button.
- Users need to confirm if they want to relocate Jan App Folder request.
- Users can see the progress of relocating Jan App Folder.
- The app will restart upon completion.
Error scenarios
- Folder is not available / does not have enough space
- A more generic error for other disrupting cases
Maybe need wait until @urmauur submit the PR for the UI before this ticket can be tested @louis-jan
@Van-QA , please help to verify this ticket. Thank you!
@namchuai another case with the Move Jan Data app, we need to check whether the destination folder is empty or not, before moving :x: The fix should include a popup to warn users that the selected folder is not empty. @urmauur
Attached is the Figma provided by Ashley for future reference: https://www.figma.com/file/ytn1nRZ17FUmJHTlhmZB9f/Jan-App?type=design&node-id=3947-233072&mode=design&t=DY03nXp82uhdD081-0
Completely tested on Jan v0.4.5-224