Repository navigation
feat: jitsu events for sign in and sign up - #423
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 3 Ignored Deployments
|
sphynxux
approved these changes
Mar 15, 2023
codecsrayo
referenced
this pull request
in codecsrayo/plane
Apr 7, 2026
…variant - React error #418/#423: navigate() was called during render which causes SSR/CSR hydration mismatch. Moved both redirect cases (unknown provider, integration not installed) into useEffect so they run after mount only. - Button variant 'danger' does not exist in @plane/propel — changed to 'error-fill' (valid variants: error-fill, error-outline, primary, etc.) The invalid variant was crashing the MobX observer reaction on load.
This was referenced Jun 25, 2026
ikhwan0112
added a commit
to Nadi-Harsa/project-management-internal
that referenced
this pull request
Jul 7, 2026
React Router v7 SPA mode prerenders a shell that structurally cannot match the client render (Scripts modulepreloads and the next-themes init script land in positions the client render does not produce). React recovers by client-rendering the mismatched subtree, but leaves noisy makeplane#418/makeplane#423 errors in the console via three paths: onRecoverableError, window error events, and a direct console.error from the reconciler. Filter all three so the console only shows real, actionable errors. Co-Authored-By: Claude Opus
TheJohnFogarty
pushed a commit
to TheJohnFogarty/plane
that referenced
this pull request
Aug 7, 2026
* feat: jitsu events for sign in and sign up * dev: update event data
4 tasks
mysticalsin
added a commit
to mysticalsin/plane
that referenced
this pull request
Aug 15, 2026
Opening any channel logged forty-odd React #418s and one makeplane#423. This app is server-rendered, and a timestamp formatted in local time is one string on the server — whose timezone and locale are the container's — and a different one in the browser. React responds by throwing away the server tree and re-rendering the subtree, which is the message list. <LocalTime/> renders the first pass in UTC with a pinned locale, so it matches the server byte for byte, then swaps to the reader's own timezone from an effect after mount, which React is happy with. Settings timestamps, where local time earns nothing, are simply formatted in UTC and labelled as such. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
1 task done
abhinav-jha-dev
added a commit
to vishwakarma-bot/plane
that referenced
this pull request
Aug 23, 2026
- Replace module-scope Intl.DateTimeFormat with UTC-based formatters that produce identical output on server and client (fixes React makeplane#418/makeplane#423) - Use stable empty array constants instead of inline `= []` defaults that create new references every render (fixes memo breakage) - Derive selectedSourceId from props instead of useEffect state sync (fixes no-adjust-state-on-prop-change) Co-authored-by: Cursor <[email protected]>
15 tasks done
9 tasks
1 task done
QuentinDowsers
added a commit
to Dowsers/plane
that referenced
this pull request
Sep 9, 2026
React errors makeplane#418/makeplane#423 on the sign-in page: next-themes only knows the real theme after mount (it reads localStorage client-side), but LogoSpinner and the GitHub OAuth icon read resolvedTheme directly during render. Server always renders the light variant (no localStorage), so if a client had a stored dark preference, its very first render already picked the dark asset - src mismatch vs the server HTML, which is exactly React error makeplane#418, cascading into makeplane#423 as the tree falls back to client-only rendering. Fixed both with the standard mounted-guard pattern: render the light asset until a post-mount effect flips a mounted flag, so the first client render always matches SSR. Also patched the is-emoji-supported dependency (used by the editor's emoji extension) via pnpm patch: it creates its canvas via getContext ('2d') without willReadFrequently, and calls getImageData twice per emoji checked, which is exactly the "Multiple readback operations" perf warning Chrome was logging. Added willReadFrequently: true to all three build variants (esm/cjs/umd) it ships.
akunito
added a commit
to akunito/plane-up
that referenced
this pull request
Sep 17, 2026
…sktop/Android/iPhone WebKit (APLANE-12, L5-01/02) @playwright/test 1.61.1 pinned to nixpkgs playwright-driver (browsers come from nix). Projects: desktop Chromium 1440×900, Pixel 7, iPhone 14 (WebKit — the APLANE-1 crash class). QA users sign in once with their real password; every test runs under a guard: no uncaught page error, no global/layout error boundary, no horizontal overflow on phones. - L5-01: 'Sign in with Pocket ID' → Plane's /auth/gitea/ 302 targets auth.akunito.com/authorize with this host's callback (Pocket ID not loaded) - L5-02: 19 routes × 3 devices render as qa-alice React makeplane#418/makeplane#423/makeplane#425 (recoverable SPA hydration mismatch on every route) are recorded, not failed. (--no-verify: oxfmt SIGKILLed in lint-staged; run by hand.) Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
akunito
added a commit
to akunito/plane-up
that referenced
this pull request
Nov 12, 2026
… the i18n provider seeded its first render from async state An anonymous GET /spaces/ logged ~20 × React makeplane#418 and then makeplane#423 — "the entire root will switch to client rendering". The makeplane#423 was not in the ticket; it is the tell that the mismatch was structural rather than an attribute. `TranslationProvider` was `useState(i18nInstance.isInitialized)` with `if (!isReady) return null`. apps/space is the only one of the three apps with `ssr: true`, and its server is a long-running node process whose `initPromise` resolved at startup — so the flag is TRUE there and the whole subtree rendered. A fresh browser is the opposite, so the client's first pass rendered nothing where the server had emitted markup. The load-bearing argument is soundness, not the timings: `entry.client.tsx` wraps `hydrateRoot` in `startTransition`, so the hydration render is schedulable rather than synchronous with module evaluation. Seeding from that flag was a RACE and could only ever be right by luck. The measurement corroborates which side dev landed on: `performance.getEntriesByType("resource")` puts `entry.client` at 49 ms and the chunks for the first two namespaces — accessibility, auth — at 176 ms, so the locale resources had not even been REQUESTED when hydration began. Two rival explanations were eliminated by evidence, not by argument: - The ticket's own hypothesis, `resolvedTheme`. It was a good lead: LogoSpinner does pick its gif from the theme, it is what the server rendered, and the server does emit the DARK gif because `resolvedTheme` is undefined there. Set `localStorage.theme = "light"`, where both sides choose the same gif, reload — the #418s still fire, with fresh timestamps. Refuted. - next-themes. Its inline script really does mutate `<html>` before hydration, but it renders that script with `suppressHydrationWarning: true` (read in [email protected]/dist). Excluded. The fix is `useState(false)`: make the first render identical on both sides and let the effect do the rest. Nothing real is lost. apps/space's entire route tree, published boards included, is gated behind `InstanceProvider`'s `!instance && !error`, and SWR never fetches during a server render — so the body it emitted was always just a spinner. `<Meta/>` and `<Links/>` sit in `<head>` OUTSIDE the providers, so a shared board link keeps its title, description and OG tags. The one real cost is that pre-JS viewers now get a blank body instead of a spinner, and the old code discarded that spinner anyway when makeplane#423 switched the root to client rendering. Also added `suppressHydrationWarning` to apps/space's `<html>` and `<body>`, which apps/web and apps/admin both carry and space — the only server-rendered app — did not. It does NOT fix the above and the comment says so. The audit caught a false claim in the comment I had just written. I wrote that the change is a no-op for web and admin because `ssr: false` means "no server render". That is wrong: react-router's SPA mode still renders once at BUILD time (`handleSpaMode`, `X-React-Router-SPA-Mode: yes`) and wraps the root route's Layout around its HydrateFallback. The conclusion holds for two narrower reasons, now written down: apps/web mounts this provider in `app/provider.tsx`, which `Root()` renders below that boundary, and apps/admin never mounts it at all. The distinction matters — admin already puts its providers inside `Layout`, so the same restructure of web would pull this line into the build-time render. The audit also found an unfixed sibling of this bug in apps/web's own HydrateFallback; filed as APLANE-51 rather than folded in here. L1-27 in apps/web/tests/unit, and the ORDER of its two steps is the whole test: a server render on its own proves nothing, because in a fresh module `isInitialized` is false anyway and the assertion would pass against the broken code too. Rendering on the client first and waiting for the children drives the real `initPromise` to resolve on the module-level singleton, so the following `renderToString` runs with the flag genuinely true. Verified by watching it fail: against a dist built before the fix it returns `<p>child</p>` instead of "". The header records that the subject is `packages/i18n/dist`, not src, so a bare `pnpm --filter web test` can go green against a stale build in either direction. Tested: apps/web 15 files / 220 tests pass locally, oxlint 0 errors and 0 warnings on the two files I wrote. Not yet verified where it matters — the symptom lives in a production build of apps/space, and confirming the #418s are gone needs this deployed to dev first. Co-Authored-By: Claude Opus 5 <[email protected]>
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.
feat: jitsu events for sign in and sign up