[feat(security)] : implement emergency quick-exit and disguised safe-view mode#166
Open
hrshjswniii wants to merge 2 commits into
Open
[feat(security)] : implement emergency quick-exit and disguised safe-view mode#166hrshjswniii wants to merge 2 commits into
hrshjswniii wants to merge 2 commits into
Conversation
…erver-Enforced Access Control
👷 Deploy request for safevoiceforwomen pending review.Visit the deploys page to approve it
|
Owner
U have changes of pr #165 in your current pr and pr #165 is ready to merge so either remove changes of that pr or commit required changes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Program
GSSoC'26🏷️ PR Type
Type of PR (check one):
🔗 Related Issue
fixes issue #158
📝 Rationale / Motivation
display: noneandaria-hidden="true", ensuring keyboard focus and screen readers are completely locked out of the hidden session.✨ Description of Changes
Summarize changes with details:
src/components/DisguiseView.tsx(New): A highly realistic, functional-looking Mock Productivity Dashboard ("TaskFlow Portal") with a clock, task checklist, calendar date selector, weather forecasting, notepad editor, and innocent exit links.src/components/Navbar.tsxrefactored: Integrated quick triggers (EyeOfffor disguise,LogOutfor quick exit) in the desktop navbar, mobile header, and mobile dropdown menus.src/App.tsxrefactored: Wrapped the main router insideSafetyProviderand toggled AppContent occlusion when disguised.src/context/SafetyContext.tsx(New): Controls safety state, hooks up global keydown listeners (EscapeorAlt + Shift + D), and executes the history-replacing quick exit.🧪 Testing Instructions
Step-by-step guide to test this PR:
npm installand start the server./share-storyand write a test story.Escapeor click the "Disguise" button in the Navbar.Escapeagain or click the disguised settings logo/support portal link.google.com.npm run build) successfully.👀 Impact Assessment