Skip to content
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

feat: Add default node storage location preference #690

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

Conversation

kalidatony
Copy link

  • Introduced new storage preferences section in app settings
  • Added ability to set and change default node storage location
  • Implemented storage location selection with free space information
  • Updated translations and preload interfaces to support new feature

- Introduced new storage preferences section in app settings
- Added ability to set and change default node storage location
- Implemented storage location selection with free space information
- Updated translations and preload interfaces to support new feature
@kalidatony kalidatony closed this Feb 27, 2025
Copy link

netlify bot commented Feb 27, 2025

Deploy Preview for nndesign ready!

Name Link
🔨 Latest commit acae7db
🔍 Latest deploy log https://app.netlify.com/sites/nndesign/deploys/67c30faebfb53b0008a08e9e
😎 Deploy Preview https://deploy-preview-690--nndesign.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@kalidatony kalidatony deleted the storage-loc branch February 27, 2025 19:10
@kalidatony kalidatony restored the storage-loc branch February 27, 2025 19:11
@kalidatony kalidatony reopened this Feb 27, 2025
@jgresham
Copy link
Member

hey @kalidatony thanks!

Just took a quick look at the diffs. It looks like the first part of this is done, UI and saving the setting. Second part would be using this as the default storage path instead of the previous default (I believe its something like electron.appStorage).

Not a must, but we could do a permissions check on the directory path that the user chooses to make sure they have write permissions.

If you don't mind, see if installing biomejs in cursor/vscode, the tool we use for formatting, to see if that prevents things like single quote to double quote diffs.

- Implemented write permission validation when selecting storage location
- Added error handling and user notification for permission denied scenarios
- Updated files to support custom default storage location with fallback
- Added new translations for permission-related error messages
@kalidatony
Copy link
Author

@jgresham I have added the changes, Please check

@jgresham
Copy link
Member

jgresham commented Mar 1, 2025

@jgresham I have added the changes, Please check

excellent. I will test it out across different machines/OSs over the next few days

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.

2 participants