Skip to content

Abac rls updates#418

Closed
ShashiSubramanya wants to merge 29 commits into
26.2.0.clfrom
abac_rls_updates
Closed

Abac rls updates#418
ShashiSubramanya wants to merge 29 commits into
26.2.0.clfrom
abac_rls_updates

Conversation

@ShashiSubramanya

Copy link
Copy Markdown
Collaborator

No description provided.

ShashiSubramanya and others added 29 commits January 7, 2026 07:18
26.2 doc link publication
Initial reorganization begun - simplified the intro be shorter and more direct
More rearrangement to put things closer to where they are relevant
moved RLS Rule examples into one section and added an intro, placed TS_WILDCARD_ALL in this intro
Continued simplification and reordering
Closer to finished, need to add the RESET and empty array mechanisms
Added requests and responses on teh variable update APIs
@vercel

vercel Bot commented Feb 28, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
developer-docs Ready Ready Preview, Comment Feb 28, 2026 5:05am

Request Review

ruchI9897 added a commit that referenced this pull request Jul 17, 2026
Without matching wrapRootElement in both files, the SSR tree (no
FloatingAssistantProvider wrapper) differed from the client tree
(with wrapper), causing React hydration errors #418/#423 that broke
all doc pages on deployment.

FloatingAssistantProvider is now SSR-safe: all state initializes with
static defaults; sessionStorage/browser APIs are only read in useEffect.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
ruchI9897 added a commit that referenced this pull request Jul 17, 2026
wrapRootElement in gatsby-browser.js was the root cause of hydration
errors #418/#423. Gatsby SSRs every page without the wrapper but the
client added it, creating a tree structure mismatch.

New approach: onClientEntry creates a separate div appended to body
and mounts FloatingAssistantProvider + FloatingAssistant via
ReactDOM.createRoot — completely outside Gatsby's tree. Gatsby never
sees or hydrates this subtree, so there is no server/client mismatch.

Document/index.tsx no longer uses useFloatingAssistant context —
it fires the existing 'spotter-code-ask' CustomEvent instead, which
the standalone FloatingAssistant already listens for.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.

3 participants