Merged
Conversation
- Add light/dark mode toggle button to dashboard sidebar - Add sun icon for light mode, moon icon for dark mode - Add settings button to sidebar - Fix editor viewport: use 100dvh for dynamic viewport height - Add CSS to ensure main takes full viewport height The theme toggle now appears in the dashboard sidebar with sun/moon icons
Add comprehensive security headers to resolve Shannon assessment findings: - HSTS: Strict-Transport-Security with max-age=31536000; includeSubDomains; preload - CSP: Content-Security-Policy with SvelteKit-compatible directives - CORS: Restrict Access-Control-Allow-Origin from wildcard to locanote.pages.dev - security.txt: Add vulnerability disclosure at /.well-known/security.txt Fixes: - CWE-319: Missing HSTS (SSL stripping prevention) - CWE-693: Missing CSP (XSS mitigation) - CWE-942: CORS wildcard policy (information disclosure) - CWE-1059: Missing security.txt (vulnerability reporting) Additional: - Add verify-security-fixes.sh script for post-deployment validation - Update CLOUDFLARE_DEPLOYMENT.md with security configuration docs - Add SECURITY_FIXES_APPLIED.md with complete remediation details Risk Level: LOW-MEDIUM → LOW Refs: Shannon Security Assessment 2026-03-02
Fix/light dark mode viewport
- Fix title sync for shared notes: fetch actual title from Yjs instead of hardcoded 'Shared Note' - Add modern CSS with container queries and viewport units (svh/dvh) - Implement responsive breakpoints: 640px, 768px, 1024px, 1280px - Add mobile header with sidebar toggle for note editor - Improve touch targets to 48px minimum (2026 standard) - Add enhanced sync status indicator with peer visualization - Remove unrelated files (install.sh, temp Python scripts)
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.
No description provided.