Skip to content

[GIT-352] chore: point web @/* at app root and remove core/ - #9884

Merged
sriramveeraghanta merged 1 commit into
previewfrom
chore/git-352-flatten-web-finalize-alias
Sep 29, 2026
Merged

sriramveeraghanta merged 1 commit into
previewfrom
chore/git-352-flatten-web-finalize-alias

Conversation

@prateekshourya29

@prateekshourya29 prateekshourya29 commented Sep 25, 2026 •

Copy link
Copy Markdown
Member

Description

Final of four stacked PRs to flatten apps/web/core/ into the app root.

  • Set @/* → ./* in apps/web/tsconfig.json
  • Drop transitional per-folder overrides and redundant @/app/*, @/helpers/*, @/styles/* entries
  • Remove empty apps/web/core/

No behavior change — path alias cleanup. Matches admin/space.

Stack: targets GIT-351 branch. After lower PRs merge, rebase onto preview with --committer-date-is-author-date and retarget base to preview.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • Feature (non-breaking change which adds functionality)
  • Improvement (change that would cause existing functionality to not work as expected)
  • Code refactoring
  • Performance improvements
  • Documentation update

Screenshots and Media (if applicable)

Test Scenarios

  1. pnpm turbo run check:types --filter=web is green
  2. apps/web/core is gone
  3. @/* resolves to the app root

References

  • GIT-352
  • Parent: GIT-348
  • Depends on: GIT-351

Summary by CodeRabbit

  • Chores
    • Updated TypeScript path resolution for the @/ alias.

Finalize the flatten: @/* → ./* , drop transitional path overrides
and redundant @/app|helpers|styles entries, remove empty core/,
and update Claude.md store path note.
@coderabbitai

coderabbitai Bot commented Sep 25, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

Important

Review skipped

Review was skipped as selected files did not have any reviewable changes.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: 612ecddb-c7d3-453f-89c3-e40fe8458418

📥 Commits

Reviewing files that changed from the base of the PR and between 6b7e51a and 77baec5.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: 0464a9ef-a7b7-4cdd-8f80-a4f4583876f5

📥 Commits

Reviewing files that changed from the base of the PR and between 4de11fe and 6b7e51a.

📒 Files selected for processing (1)
  • apps/web/tsconfig.json

Included review availability: Your plan provides up to 10 included reviews per hour; 7 remain after this review.


📝 Walkthrough

Walkthrough

The web TypeScript configuration changes the @/* path mapping from ./core/* to ./* and removes the specific path aliases.

Changes

Web TypeScript Path Alias

Layer / File(s) Summary
Update the path mapping
apps/web/tsconfig.json
The @/* path mapping now targets ./*. The separate aliases for layouts, lib, services, hooks, store, components, app, helpers, and styles are removed.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Refactor

Merge Risk: ⚪ Minimal · up to 6b7e5

The alias change preserves the targets of current imports, so no material merge risk is identified.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the TypeScript alias change and removal of the obsolete core directory.
Description check ✅ Passed The description includes all required sections, explains the alias cleanup, lists the change types, documents test scenarios, and provides references. The selected Improvement type conflicts slightly …
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@makeplane

makeplane Bot commented Sep 25, 2026

Copy link
Copy Markdown

@prateekshourya29
prateekshourya29 force-pushed the chore/git-352-flatten-web-finalize-alias branch from 6b7e51a to e8adf7a Compare September 25, 2026 11:51
@prateekshourya29
prateekshourya29 force-pushed the chore/git-351-flatten-web-components branch from 4de11fe to bcf7a46 Compare September 25, 2026 11:51
@prateekshourya29
prateekshourya29 force-pushed the chore/git-352-flatten-web-finalize-alias branch from e8adf7a to da5cd04 Compare September 28, 2026 14:57
@prateekshourya29
prateekshourya29 force-pushed the chore/git-351-flatten-web-components branch from bcf7a46 to 681d45f Compare September 28, 2026 14:57
Base automatically changed from chore/git-351-flatten-web-components to preview September 28, 2026 15:01
@prateekshourya29
prateekshourya29 force-pushed the chore/git-352-flatten-web-finalize-alias branch from da5cd04 to 77baec5 Compare September 28, 2026 15:02
@sriramveeraghanta
sriramveeraghanta merged commit e53e2b6 into preview Sep 29, 2026
14 checks passed
@sriramveeraghanta
sriramveeraghanta deleted the chore/git-352-flatten-web-finalize-alias branch September 29, 2026 09:13
vladdaneliuc pushed a commit to breakpointit/plane that referenced this pull request Oct 5, 2026
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]>
nettnikl pushed a commit to nettnikl/hangar that referenced this pull request Dec 1, 2026
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.
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.

2 participants