Skip to content

fix: now when user is protected and session is not active then full s…#9610

Open
ZAKIURREHMAN wants to merge 2 commits into
TriliumNext:mainfrom
ZAKIURREHMAN:full/screen-password
Open

fix: now when user is protected and session is not active then full s…#9610
ZAKIURREHMAN wants to merge 2 commits into
TriliumNext:mainfrom
ZAKIURREHMAN:full/screen-password

Conversation

@ZAKIURREHMAN
Copy link
Copy Markdown
Contributor

@ZAKIURREHMAN ZAKIURREHMAN commented Apr 29, 2026

now when user is protected and session is not active then full screen ui show for enter the password to unprotect. #9573

…creen ui show for enter the password to unprotect
@dosubot dosubot Bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Apr 29, 2026
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request introduces a ProtectedSessionLockScreen component to both desktop and mobile layouts, which serves to lock the application when the root note is protected and no active protected session is available. The ProtectedSession widget was also updated to support an autoFocus property for better user experience. Review feedback suggests improving the robustness of the state updates by ensuring boolean consistency and adding error handling for the asynchronous root note fetch.

Comment thread apps/client/src/widgets/ProtectedSessionLockScreen.tsx Outdated
Comment thread apps/client/src/widgets/ProtectedSessionLockScreen.tsx Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant