Optimize scroll performance, security headers, rate limiting, and accessibility - #125
Merged
Conversation
…to firebase.json This change enhances the defense-in-depth posture of the application by: 1. Setting X-XSS-Protection to '1; mode=block' to prevent reflected cross-site scripting in legacy browsers. 2. Setting Cross-Origin-Opener-Policy to 'same-origin' to isolate the browsing context from potential cross-origin document-referencing leaks and attacks (e.g., Spectre, XS-Leaks). Also documents this enhancement in .jules/sentinel.md journal.
Adds a visually hidden screen reader text `(opens in a new tab)` to the target="_blank" anchor link in the header Banner component. This ensures compliance with WCAG accessibility standards for screen-reader users without affecting the visual layout. Also includes unit tests verifying the presence of this visually hidden instruction.
Optimize high-frequency scroll listeners in the codebase to prevent redundant React state updates on every scroll frame. By introducing closure-scoped tracker variables within the respective `useEffect` bounds, we only invoke state setters when crossing visibility/position thresholds, transforming render dispatch from O(N) to O(1). Additionally, the header scroll listener is configured with passive: true to avoid blocking main thread scrolling.
Bumps the npm_and_yarn group with 1 update in the / directory: [postcss](https://github.com/postcss/postcss). Updates `postcss` from 8.5.15 to 8.5.23 - [Release notes](https://github.com/postcss/postcss/releases) - [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md) - [Commits](postcss/postcss@8.5.15...8.5.23) Updates `nanoid` from 3.3.14 to 3.3.18 - [Release notes](https://github.com/ai/nanoid/releases) - [Changelog](https://github.com/ai/nanoid/blob/3.3.18/CHANGELOG.md) - [Commits](ai/nanoid@3.3.14...3.3.18) --- updated-dependencies: - dependency-name: postcss dependency-version: 8.5.23 dependency-type: direct:development dependency-group: npm_and_yarn - dependency-name: nanoid dependency-version: 3.3.18 dependency-type: indirect dependency-group: npm_and_yarn ... Signed-off-by: dependabot[bot] <support@github.com>
Added visually hidden screen reader text to external markdown links in chat message bubbles so screen reader users are notified when a link opens in a new tab.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
Summary
Consolidates the following open pull requests into a single unified PR:
Verification
pnpm test.