Repository navigation
[GIT-349] chore: flatten web hooks and store out of core/ - #9882
Conversation
Move apps/web/core/{hooks,store} to apps/web/ and add transitional
@/hooks/* and @/store/* path overrides.
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. Important Review skippedWe couldn't safely recover the incremental review. No full review was started, and the last reviewed checkpoint was preserved. Retry later, or explicitly request a full review by commenting 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 (215)
Included review availability: Your plan provides up to 10 included reviews per hour; 6 remain after this review. 📝 WalkthroughWalkthroughThe web TypeScript configuration adds path aliases for hooks and store modules. ChangesWeb TypeScript path aliases
Priority: ⬇️ Low Estimated code review effort: 1 (Trivial) | ~5 minutes Change: Refactor Merge Risk: ⚪ Minimal · up to The moved modules resolve through the configured aliases across the web sources. No actionable merge risk was identified. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
Linked to Plane Work Item(s) References
This comment was auto-generated by Plane |
|
React Doctor found no new issues. 🎉 Reviewed by React Doctor for commit |
0f49956 to
a5ecc34
Compare
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
Second of four stacked PRs to flatten
apps/web/core/into the app root.hooks/andstore/fromapps/web/core/toapps/web/@/hooks/*and@/store/*(keep@/*→./core/*)No behavior change — path layout / alias cleanup.
Stack: targets PR #9881 (
chore/git-350-…). After that merges, rebase this branch ontopreviewwith--committer-date-is-author-dateand retarget the PR base topreview.Type of Change
Screenshots and Media (if applicable)
Test Scenarios
pnpm turbo run check:types --filter=webis greenapps/web/hooksandapps/web/storeexist at the app rootapps/web/core/References
Summary by CodeRabbit