Skip to content

[GIT-349] chore: flatten web hooks and store out of core/ - #9882

Merged
sriramveeraghanta merged 1 commit into
previewfrom
chore/git-349-flatten-web-hooks-store
Sep 28, 2026
Merged

sriramveeraghanta merged 1 commit into
previewfrom
chore/git-349-flatten-web-hooks-store

Conversation

@prateekshourya29

@prateekshourya29 prateekshourya29 commented Sep 25, 2026 •

Copy link
Copy Markdown
Member

Description

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

  • Move hooks/ and store/ from apps/web/core/ to apps/web/
  • Add transitional path overrides @/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 onto preview with --committer-date-is-author-date and retarget the PR 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/hooks and apps/web/store exist at the app root
  3. Those folders are gone from apps/web/core/

References

Summary by CodeRabbit

  • Chores
    • Added shorter import paths for hooks and store modules.

Move apps/web/core/{hooks,store} to apps/web/ and add transitional
@/hooks/* and @/store/* path overrides.
@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

We 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 @coderabbitai full review.

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: 62b4be7c-80af-45ae-ad89-4ab6780fc1df

📥 Commits

Reviewing files that changed from the base of the PR and between 206b1a0 and 0f49956.

📒 Files selected for processing (215)
  • apps/web/hooks/context/use-issue-modal.tsx
  • apps/web/hooks/editor/index.ts
  • apps/web/hooks/editor/use-editor-config.ts
  • apps/web/hooks/editor/use-editor-mention.tsx
  • apps/web/hooks/editor/use-extended-editor-config.ts
  • apps/web/hooks/oauth/core.tsx
  • apps/web/hooks/oauth/extended.tsx
  • apps/web/hooks/oauth/index.ts
  • apps/web/hooks/pages/index.ts
  • apps/web/hooks/pages/use-extended-editor-extensions.ts
  • apps/web/hooks/pages/use-pages-pane-extensions.ts
  • apps/web/hooks/rich-filters/use-filters-operator-configs.ts
  • apps/web/hooks/store/estimates/index.ts
  • apps/web/hooks/store/estimates/use-estimate-point.ts
  • apps/web/hooks/store/estimates/use-estimate.ts
  • apps/web/hooks/store/estimates/use-project-estimate.ts
  • apps/web/hooks/store/index.ts
  • apps/web/hooks/store/notifications/index.ts
  • apps/web/hooks/store/notifications/use-notification.ts
  • apps/web/hooks/store/notifications/use-workspace-notifications.ts
  • apps/web/hooks/store/use-analytics.ts
  • apps/web/hooks/store/use-app-theme.ts
  • apps/web/hooks/store/use-calendar-view.ts
  • apps/web/hooks/store/use-command-palette.ts
  • apps/web/hooks/store/use-cycle-filter.ts
  • apps/web/hooks/store/use-cycle.ts
  • apps/web/hooks/store/use-dashboard.ts
  • apps/web/hooks/store/use-editor-asset.ts
  • apps/web/hooks/store/use-favorite.ts
  • apps/web/hooks/store/use-global-view.ts
  • apps/web/hooks/store/use-home.ts
  • apps/web/hooks/store/use-inbox-issues.ts
  • apps/web/hooks/store/use-instance.ts
  • apps/web/hooks/store/use-issue-detail.ts
  • apps/web/hooks/store/use-issues.ts
  • apps/web/hooks/store/use-kanban-view.ts
  • apps/web/hooks/store/use-label.ts
  • apps/web/hooks/store/use-member.ts
  • apps/web/hooks/store/use-module-filter.ts
  • apps/web/hooks/store/use-module.ts
  • apps/web/hooks/store/use-multiple-select-store.ts
  • apps/web/hooks/store/use-page-store.ts
  • apps/web/hooks/store/use-page.ts
  • apps/web/hooks/store/use-power-k.ts
  • apps/web/hooks/store/use-project-filter.ts
  • apps/web/hooks/store/use-project-inbox.ts
  • apps/web/hooks/store/use-project-publish.ts
  • apps/web/hooks/store/use-project-state.ts
  • apps/web/hooks/store/use-project-view.ts
  • apps/web/hooks/store/use-project.ts
  • apps/web/hooks/store/use-router-params.ts
  • apps/web/hooks/store/use-webhook.ts
  • apps/web/hooks/store/use-workspace.ts
  • apps/web/hooks/store/user/index.ts
  • apps/web/hooks/store/user/user-permissions.ts
  • apps/web/hooks/store/user/user-user-profile.ts
  • apps/web/hooks/store/user/user-user-settings.ts
  • apps/web/hooks/store/user/user-user.ts
  • apps/web/hooks/store/work-item-filters/use-work-item-filter-instance.ts
  • apps/web/hooks/store/work-item-filters/use-work-item-filters.ts
  • apps/web/hooks/store/workspace-draft/index.ts
  • apps/web/hooks/store/workspace-draft/use-workspace-draft-issue-filters.ts
  • apps/web/hooks/store/workspace-draft/use-workspace-draft-issue.ts
  • apps/web/hooks/use-additional-editor-mention.tsx
  • apps/web/hooks/use-additional-favorite-item-details.tsx
  • apps/web/hooks/use-app-router.tsx
  • apps/web/hooks/use-auto-save.tsx
  • apps/web/hooks/use-auto-scroller.tsx
  • apps/web/hooks/use-bulk-operation-status.ts
  • apps/web/hooks/use-collaborative-page-actions.tsx
  • apps/web/hooks/use-current-time.tsx
  • apps/web/hooks/use-debounce.tsx
  • apps/web/hooks/use-debounced-duplicate-issues.tsx
  • apps/web/hooks/use-editor-flagging.ts
  • apps/web/hooks/use-expandable-search.ts
  • apps/web/hooks/use-extended-sidebar-overview-outside-click.tsx
  • apps/web/hooks/use-favorite-item-details.tsx
  • apps/web/hooks/use-file-size.ts
  • apps/web/hooks/use-group-dragndrop.ts
  • apps/web/hooks/use-integration-popup.tsx
  • apps/web/hooks/use-intersection-observer.ts
  • apps/web/hooks/use-issue-layout-store.ts
  • apps/web/hooks/use-issue-peek-overview-redirection.tsx
  • apps/web/hooks/use-issue-properties.tsx
  • apps/web/hooks/use-issues-actions.tsx
  • apps/web/hooks/use-keypress.tsx
  • apps/web/hooks/use-local-storage.tsx
  • apps/web/hooks/use-multiple-select.ts
  • apps/web/hooks/use-navigation-preferences.ts
  • apps/web/hooks/use-notification-preview.tsx
  • apps/web/hooks/use-online-status.ts
  • apps/web/hooks/use-page-fallback.ts
  • apps/web/hooks/use-page-filters.ts
  • apps/web/hooks/use-page-flag.ts
  • apps/web/hooks/use-page-operations.ts
  • apps/web/hooks/use-parse-editor-content.ts
  • apps/web/hooks/use-peek-overview-outside-click.tsx
  • apps/web/hooks/use-platform-os.tsx
  • apps/web/hooks/use-project-issue-properties.ts
  • apps/web/hooks/use-query-params.ts
  • apps/web/hooks/use-realtime-page-events.tsx
  • apps/web/hooks/use-reload-confirmation.tsx
  • apps/web/hooks/use-stickies.tsx
  • apps/web/hooks/use-table-keyboard-navigation.tsx
  • apps/web/hooks/use-timeline-chart.ts
  • apps/web/hooks/use-timer.tsx
  • apps/web/hooks/use-timezone-converter.tsx
  • apps/web/hooks/use-timezone.tsx
  • apps/web/hooks/use-window-size.tsx
  • apps/web/hooks/use-workspace-invitation.tsx
  • apps/web/hooks/use-workspace-issue-properties-extended.tsx
  • apps/web/hooks/use-workspace-issue-properties.ts
  • apps/web/hooks/use-workspace-paths.ts
  • apps/web/hooks/work-item-filters/use-work-item-filters-config.tsx
  • apps/web/store/analytics.store.ts
  • apps/web/store/base-command-palette.store.ts
  • apps/web/store/base-power-k.store.ts
  • apps/web/store/cycle.store.ts
  • apps/web/store/cycle_filter.store.ts
  • apps/web/store/dashboard.store.ts
  • apps/web/store/editor/asset.store.ts
  • apps/web/store/estimates/estimate-point.ts
  • apps/web/store/estimates/estimate.ts
  • apps/web/store/estimates/project-estimate.store.ts
  • apps/web/store/favorite.store.ts
  • apps/web/store/global-view.store.ts
  • apps/web/store/inbox/inbox-issue.store.ts
  • apps/web/store/inbox/project-inbox.store.ts
  • apps/web/store/instance.store.ts
  • apps/web/store/issue/archived/filter.store.ts
  • apps/web/store/issue/archived/index.ts
  • apps/web/store/issue/archived/issue.store.ts
  • apps/web/store/issue/cycle/filter.store.ts
  • apps/web/store/issue/cycle/index.ts
  • apps/web/store/issue/cycle/issue.store.ts
  • apps/web/store/issue/helpers/base-issues-utils.ts
  • apps/web/store/issue/helpers/base-issues.store.ts
  • apps/web/store/issue/helpers/issue-filter-helper.store.ts
  • apps/web/store/issue/issue-details/activity.store.ts
  • apps/web/store/issue/issue-details/attachment.store.ts
  • apps/web/store/issue/issue-details/comment.store.ts
  • apps/web/store/issue/issue-details/comment_reaction.store.ts
  • apps/web/store/issue/issue-details/issue.store.ts
  • apps/web/store/issue/issue-details/link.store.ts
  • apps/web/store/issue/issue-details/reaction.store.ts
  • apps/web/store/issue/issue-details/relation.store.ts
  • apps/web/store/issue/issue-details/root.store.ts
  • apps/web/store/issue/issue-details/sub_issues.store.ts
  • apps/web/store/issue/issue-details/sub_issues_filter.store.ts
  • apps/web/store/issue/issue-details/subscription.store.ts
  • apps/web/store/issue/issue.store.ts
  • apps/web/store/issue/issue_calendar_view.store.ts
  • apps/web/store/issue/issue_gantt_view.store.ts
  • apps/web/store/issue/issue_kanban_view.store.ts
  • apps/web/store/issue/module/filter.store.ts
  • apps/web/store/issue/module/index.ts
  • apps/web/store/issue/module/issue.store.ts
  • apps/web/store/issue/profile/filter.store.ts
  • apps/web/store/issue/profile/index.ts
  • apps/web/store/issue/profile/issue.store.ts
  • apps/web/store/issue/project-views/filter.store.ts
  • apps/web/store/issue/project-views/index.ts
  • apps/web/store/issue/project-views/issue.store.ts
  • apps/web/store/issue/project/filter.store.ts
  • apps/web/store/issue/project/index.ts
  • apps/web/store/issue/project/issue.store.ts
  • apps/web/store/issue/root.store.ts
  • apps/web/store/issue/workspace-draft/filter.store.ts
  • apps/web/store/issue/workspace-draft/index.ts
  • apps/web/store/issue/workspace-draft/issue.store.ts
  • apps/web/store/issue/workspace/filter.store.ts
  • apps/web/store/issue/workspace/index.ts
  • apps/web/store/issue/workspace/issue.store.ts
  • apps/web/store/label.store.ts
  • apps/web/store/member/index.ts
  • apps/web/store/member/project/base-project-member.store.ts
  • apps/web/store/member/project/project-member-filters.store.ts
  • apps/web/store/member/utils.ts
  • apps/web/store/member/workspace/workspace-member-filters.store.ts
  • apps/web/store/member/workspace/workspace-member.store.ts
  • apps/web/store/module.store.ts
  • apps/web/store/module_filter.store.ts
  • apps/web/store/multiple_select.store.ts
  • apps/web/store/notifications/notification.ts
  • apps/web/store/notifications/workspace-notifications.store.ts
  • apps/web/store/pages/base-page.ts
  • apps/web/store/pages/extended-base-page.ts
  • apps/web/store/pages/page-editor-info.ts
  • apps/web/store/pages/project-page.store.ts
  • apps/web/store/pages/project-page.ts
  • apps/web/store/project-view.store.ts
  • apps/web/store/project/index.ts
  • apps/web/store/project/project-publish.store.ts
  • apps/web/store/project/project.store.ts
  • apps/web/store/project/project_filter.store.ts
  • apps/web/store/root.store.ts
  • apps/web/store/router.store.ts
  • apps/web/store/state.store.ts
  • apps/web/store/sticky/sticky.store.ts
  • apps/web/store/theme.store.ts
  • apps/web/store/timeline/base-timeline.store.ts
  • apps/web/store/timeline/issues-timeline.store.ts
  • apps/web/store/timeline/modules-timeline.store.ts
  • apps/web/store/timeline/timeline.store.ts
  • apps/web/store/user/account.store.ts
  • apps/web/store/user/base-permissions.store.ts
  • apps/web/store/user/index.ts
  • apps/web/store/user/profile.store.ts
  • apps/web/store/user/settings.store.ts
  • apps/web/store/workspace/api-token.store.ts
  • apps/web/store/workspace/home.ts
  • apps/web/store/workspace/index.ts
  • apps/web/store/workspace/link.store.ts
  • apps/web/store/workspace/webhook.store.ts
  • apps/web/tsconfig.json

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


📝 Walkthrough

Walkthrough

The web TypeScript configuration adds path aliases for hooks and store modules.

Changes

Web TypeScript path aliases

Layer / File(s) Summary
Configure module aliases
apps/web/tsconfig.json
Adds @/hooks/* and @/store/* aliases for the local hooks and store directories.

Priority: ⬇️ Low

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

Change: Refactor

Merge Risk: ⚪ Minimal · up to 0f499

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)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the main change: flattening the web hooks and store directories out of core/.
Description check ✅ Passed The description is complete. It explains the directory moves, path alias changes, expected behavior, stacked PR context, change types, test scenarios, and references.
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

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

@makeplane

makeplane Bot commented Sep 25, 2026

Copy link
Copy Markdown

@github-actions

github-actions Bot commented Sep 25, 2026 •

Copy link
Copy Markdown

React Doctor found no new issues. 🎉

Reviewed by React Doctor for commit a5ecc34.

@prateekshourya29 prateekshourya29 self-assigned this Sep 25, 2026
Base automatically changed from chore/git-350-flatten-web-layouts-lib-services to preview September 25, 2026 11:42
@prateekshourya29
prateekshourya29 force-pushed the chore/git-349-flatten-web-hooks-store branch from 0f49956 to a5ecc34 Compare September 25, 2026 11:51
@sriramveeraghanta
sriramveeraghanta merged commit 4a40b96 into preview Sep 28, 2026
14 checks passed
@sriramveeraghanta
sriramveeraghanta deleted the chore/git-349-flatten-web-hooks-store branch September 28, 2026 14:54
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