Conversation
| { | ||
| type: "dropdown", | ||
| options: [ | ||
| { title: "1 minute", value: 1000 * 60 * 1 }, |
There was a problem hiding this comment.
Add an Immediately option in which we don't store the password at all.
There was a problem hiding this comment.
If we don't store the password, then when a note is unlocked, it won't be able to be edited and will throw the vault locked error
index.mjs:20 2026-02-25T09:09:46.953Z | ERROR | [notesnook-web]: Error: ERR_VAULT_LOCKED
at Vault.<anonymous> (vault.js:229:23)
at Generator.next (<anonymous>)
at fulfilled (http://localhost:3000/@fs/home/zulfi/code/notesnook/notesnook/packages/core/dist/esm/api/vault.js:22:58) {} [62ms]
985077e to
c17975d
Compare
|
Cloudflare Pages Preview https://f83defcc.notesnook-app.pages.dev Commit: 7550fc7 |
|
Desktop Previews Commit: 7550fc7 |
ayesha004tanveer-netizen
left a comment
There was a problem hiding this comment.
Bug Title:
No notification when vault auto-locks
Description:
When you lock the vault manually, the app shows a notification saying “Vault locked.” But if the vault locks automatically using the timer, no notification appears.
Steps to Reproduce:
- Open the app.
- Lock the vault manually → see the “Vault locked” notification.
- Go to settings and enable auto-lock (set timer to 1 minute).
- Wait for 1 minute and see what happens.
Expected Result:
A notification should appear when the vault locks automatically, just like the manual lock.
Actual Result:
No notification appears when the vault auto-locks.
Reference Screenshot attached:
There was a problem hiding this comment.
screen-capture.88.webm
Bug Title:
Vault locks immediately after selecting auto-lock time
Description:
When I select an auto-lock time (like 5 or 10 minutes), the vault locks right away. After unlocking, it locks again after the selected time, which is correct. But it should not lock immediately when I choose the time.
Steps to Reproduce:
- Go to vault settings.
- Select an auto-lock time (5 or 10 minutes).
- See that the vault locks immediately.
- Unlock the vault and wait, the vault locks again after the selected time.
Expected Result:
The vault should lock only after the selected time passes.
Actual Result:
The vault locks immediately on selecting the option
Bug Video is attached:
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com>
3f4efe7 to
1f7a64a
Compare
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com>
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com>
efcc312 to
8a83a1a
Compare
Signed-off-by: 01zulfi 85733202+01zulfi@users.noreply.github.com