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

Add prompt to create or locate existing vault when the app starts #26

Closed
fmaclen opened this issue Aug 13, 2022 · 0 comments
Closed

Add prompt to create or locate existing vault when the app starts #26

fmaclen opened this issue Aug 13, 2022 · 0 comments
Labels
Electron Involves Electron's code

Comments

@fmaclen
Copy link
Owner

fmaclen commented Aug 13, 2022

  • If a vault path is not stored in the app's settings a prompt will open when the app is opened.
  • The prompt should have 3 options:
    • Create new vault
      • Should open a save dialog window.
      • Once the user sets the path we create a copy of a blank vault at that location.
      • The server starts with that vault set.
    • Open existing vault
      • Maps to the existing behavior that triggers openVault()
    • Dismiss
      • Closes the prompt and keeps the app running in the background in an idle state.
@fmaclen fmaclen added Electron Involves Electron's code 1.0 labels Aug 13, 2022
fmaclen added a commit that referenced this issue Aug 16, 2022
fmaclen added a commit that referenced this issue Aug 17, 2022
fmaclen added a commit that referenced this issue Aug 17, 2022
fmaclen added a commit that referenced this issue Aug 17, 2022
fmaclen added a commit that referenced this issue Aug 17, 2022
fmaclen added a commit that referenced this issue Aug 17, 2022
fmaclen added a commit that referenced this issue Aug 17, 2022
* Add dialog prompts on app startup

* #26 - Generate Canutin.base.vault in resources folder

* #26 - Update vaultPath when restarting the server

* #26 - Update tests

* #26 - Update generate script for Windows

* #26 - Minor cleanup

* #26 - Rename vault functions

* #26 - Add tests

* #26 - Add test assertions

* #26 - Add another assertion
@fmaclen fmaclen closed this as completed Aug 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Electron Involves Electron's code
Projects
None yet
Development

No branches or pull requests

1 participant