Skip to content

Optimize scroll performance, security headers, rate limiting, and accessibility - #125

Merged
amrabed merged 6 commits into
mainfrom
consolidate-prs-aug-2026
Aug 23, 2026
Merged

Optimize scroll performance, security headers, rate limiting, and accessibility#125
amrabed merged 6 commits into
mainfrom
consolidate-prs-aug-2026

Conversation

@amrabed

@amrabed amrabed commented Aug 23, 2026

Copy link
Copy Markdown
Owner

Summary

Consolidates the following open pull requests into a single unified PR:

Verification

  • 134/134 unit tests pass via pnpm test.

google-labs-jules Bot and others added 6 commits August 23, 2026 06:41
…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.
@vercel

vercel Bot commented Aug 23, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
amrabed-github-io Ready Ready Preview Aug 23, 2026 10:42am

@amrabed
amrabed merged commit c08c43e into main Aug 23, 2026
6 checks passed
@amrabed
amrabed deleted the consolidate-prs-aug-2026 branch August 23, 2026 10:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant