Repository navigation
[GIT-352] chore: point web @/* at app root and remove core/ - #9884
Conversation
Finalize the flatten: @/* → ./* , drop transitional path overrides and redundant @/app|helpers|styles entries, remove empty core/, and update Claude.md store path note.
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. Important Review skippedReview was skipped as selected files did not have any reviewable changes. ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 10 included reviews per hour; 7 remain after this review. 📝 WalkthroughWalkthroughThe web TypeScript configuration changes the ChangesWeb TypeScript Path Alias
Priority: ⬇️ Low Estimated code review effort: 1 (Trivial) | ~3 minutes Change: Refactor Merge Risk: ⚪ Minimal · up to The alias change preserves the targets of current imports, so no material merge risk is identified. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Linked to Plane Work Item(s) References This comment was auto-generated by Plane |
6b7e51a to
e8adf7a
Compare
4de11fe to
bcf7a46
Compare
e8adf7a to
da5cd04
Compare
bcf7a46 to
681d45f
Compare
da5cd04 to
77baec5
Compare
Brings in 48 upstream commits, including a security fix that lands directly in the Entra OAuth path: INFRA-779 (makeplane#9709) hardens validate_next_path against authority-relative redirects (//evil.com and tab/CR/LF-obfuscated variants that browsers strip before parsing). Our Microsoft callback calls that helper in 11 places, so the fork carried that open redirect until now. Also picks up Django 5.2.15->5.2.17, DRF 3.17.1->3.17.2, PyJWT 2.13.0->2.15.1, the 2026-10-01 advisory pin bumps, and a fix scoping project-join membership to the invited project. Adaptations required by upstream refactors: - Upstream flattened apps/web/core/* into apps/web/* (makeplane#9881-makeplane#9884, 1513 renames). Git followed the rename for every file we had modified; the one file we added, hooks/oauth/microsoft.tsx, needed placing by hand at the new path. Content is byte-identical to before the merge. - Upstream replaced @plane/ui and @plane/propel with @makeplane/propel and @plane/blocks (makeplane#9802). Our three admin pages moved from @/providers/toast to @plane/blocks/toast, the TOAST_TYPE enum became string literals, and AnchorButton dropped its nativeButton prop. UI changes: - Remove the sign-in/sign-up toggle from the auth header. Entra SSO is the only enabled method, so both routes run the identical flow and the link only bounced users between two identical screens. - Stop rendering AuthFooter ("Join 10,000+ teams building with Plane" plus the Zerodha/Sony/Dolby/Accenture logos). Only the call site is touched, so upstream edits to footer.tsx still merge cleanly. Verified: pnpm check 56/56, pnpm build 15/15, all Entra feature markers intact (provider, views, routes, config, secret masking, Caddyfile 429 fix, onboarding skip, source-code link, i18n), and the ID-token security suite passes 14/14 against PyJWT 2.15.1 (forged signature, alg=none, wrong audience/issuer/tenant, expired, missing claim and nonce mismatch all still rejected). Co-Authored-By: Claude Opus 5 <[email protected]>
Converge the web app layout with upstream makeplane/plane v1.5.0 (888b086, makeplane#9881; 4a40b96, makeplane#9882; bdebb44, makeplane#9883; e53e2b6, makeplane#9884). Every file under apps/web/core/{components,hooks,layouts,lib,services,store} moves up to apps/web/ with git mv, Hangar's own modules included. 1684 of the 1686 moves are byte-identical; the other two take upstream's only import change from makeplane#9881: the timeline hook and the gantt sidebar import each other through @/ instead of a relative path. Upstream's unrelated lint and behaviour edits in those commits are not taken. @/* now points at ./* and the redundant @/app, @/helpers and @/styles paths go, as in makeplane#9884. @/plane-web/* -> ./ce/* stays (listed first so first-match resolvers prefer it), because Hangar keeps the ce overlay upstream removed. Contract tests, the branding allowlist, the community billing test, the bundle-sinks owner test and the trial-merge area test follow the new paths. The third-party script and collapsible nesting contracts scan the web root instead of deriving it from core/, and the external links contract scans the six moved directories. FORK.md ledger rows that named apps/web/core/ paths now name the flattened ones, with row 143 for the move; two docs that list paths follow, their tables reformatted.
Description
Final of four stacked PRs to flatten
apps/web/core/into the app root.@/*→./*inapps/web/tsconfig.json@/app/*,@/helpers/*,@/styles/*entriesapps/web/core/No behavior change — path alias cleanup. Matches admin/space.
Stack: targets GIT-351 branch. After lower PRs merge, rebase onto
previewwith--committer-date-is-author-dateand retarget base topreview.Type of Change
Screenshots and Media (if applicable)
Test Scenarios
pnpm turbo run check:types --filter=webis greenapps/web/coreis gone@/*resolves to the app rootReferences
Summary by CodeRabbit
@/alias.