Skip to content

Add descriptions of general vault options #82

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 3 commits into
base: main
Choose a base branch
from

Conversation

thatrobotdev
Copy link

Adds descriptions of general vault options, allowing people to read about options not shown in the screenshot (After successful unlock options) and learn how to rename a vault.

Adds descriptions of general vault options, allowing people to read about options not shown in the screenshot (After successful unlock options) and learn how to rename a vault.
@CLAassistant
Copy link

CLAassistant commented May 1, 2025

CLA assistant check
All committers have signed the CLA.

Copy link

coderabbitai bot commented May 1, 2025

Walkthrough

The documentation for vault options in the desktop application has been expanded to provide more detailed descriptions of several general vault settings. The updates include explanations for the editable vault name field, an automatic lock feature based on inactivity duration, and an option to unlock the vault automatically when the application starts. Additionally, a new subsection describes the possible actions that can occur after a successful vault unlock, such as doing nothing, revealing the mounted drive in the file manager, or prompting the user to select an action. These changes enhance the clarity and completeness of the vault options section without modifying any existing content or altering the control flow.

Suggested reviewers

  • infeo

📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 801d537 and e1c2ed9.

📒 Files selected for processing (1)
  • source/desktop/vault-management.rst (1 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
  • source/desktop/vault-management.rst

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (2)
source/desktop/vault-management.rst (2)

51-53: Replace ambiguous placeholder and clarify UI text

The placeholder __ minutes can be easily mistaken for RST syntax. Consider using a clearer placeholder (e.g., <n>) and/or wrapping the entire option label in inline literals or a Sphinx UI role (such as :guilabel:) to distinguish it from markup:

Example diff:

- **Lock when idle for __ minutes**: The vault will be locked automatically after the specified time of inactivity.
+ **Lock when idle for <n> minutes**: The vault will be locked automatically after the specified time of inactivity.

Or, using a role:

- **Lock when idle for __ minutes**: The vault will be locked automatically …
+ :guilabel:`Lock when idle for <n> minutes`: The vault will be locked automatically …

54-57: Append colon to 'After successful unlock' and call out screenshot gap

For consistency with the other top-level bullets (which all terminate with a colon), add a colon here. Additionally, since this section isn’t visible in the existing screenshot (vault-options-general.png), consider adding a brief note above the list—or updating the image—to indicate that these “After successful unlock” options are explained below but not shown in the screenshot.

Example diff:

- - **After successful unlock**
+ - **After successful unlock**:
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 90f9a4b and 4a88c6a.

📒 Files selected for processing (1)
  • source/desktop/vault-management.rst (1 hunks)

Uses backticks in UI labels for clarity, uses a dash separator instead of a colon to match other sections.
@@ -48,6 +48,14 @@ You can select this option if the vault is unlocked as soon as Cryptomator start
.. image:: ../img/desktop/vault-options-general.png
:alt: General vault options

- ``Vault Name`` - The name of the vault. *You can edit this field to rename the vault.*
- ``Lock when idle for <n> minutes`` - The vault will be locked automatically after the specified time of inactivity.
- ``Unlock vault when starting Cryptomator`` - On startup, Cryptomator will automatically unlock the vault if it is not already unlocked.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This description is misleading.

  1. the vault is unlocked on app start, not during the OS startup.
  2. a vault can only be unlocked, if Cryptomator is running. Hence, it cannot be already unlocked.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed! Thank you for pointing that out.

Fixes the incorrect description of Cryptomator's behavior for `Unlock vault when starting Cryptomator`. As pointed out by @infeo:

1. The vault is unlocked on app start, not during the OS startup.
2. A vault can only be unlocked if Cryptomator is running. Hence, it cannot be already unlocked.
@thatrobotdev thatrobotdev requested a review from infeo May 4, 2025 04:30
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.

3 participants