Skip to content

fix bugs#106

Merged
jobelix-dev merged 8 commits into
mainfrom
dev
Apr 23, 2026
Merged

fix bugs#106
jobelix-dev merged 8 commits into
mainfrom
dev

Conversation

@jobelix-dev

Copy link
Copy Markdown
Owner

No description provided.

@vercel

vercel Bot commented Mar 19, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
landing-page Ready Ready Preview, Comment Apr 23, 2026 9:48pm

jobelix-dev and others added 4 commits April 23, 2026 23:09
The token route switched from checking User-Agent for Electron to requiring
the X-Client-Type: desktop header. Tests were checking the old User-Agent
pattern, causing them to hit the 403 gate before auth was ever evaluated.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Next.js 16 deprecated the middleware file convention in favor of proxy.
Also skips updateSupabaseSession() when no sb- session cookie is present,
which eliminates the flood of fetch failed errors when the local Supabase
dev server isn't running.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
stableKey() was using textContent() of the entire section wrapper, which
includes the filled textarea value. After filling, the text changes so the
key changes, the deduplication Set misses it, and the handler runs again
indefinitely (observed: passes 9–13+ on the same field).

Fix: read the label element text first. Labels are stable before and after
filling, so the same section always produces the same key.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@jobelix-dev jobelix-dev merged commit 9b817e1 into main Apr 23, 2026
5 checks passed
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