Skip to content

feat: sync web, Space and Admin UI with the Propel design system - #10038

Merged
sriramveeraghanta merged 338 commits into
previewfrom
chore-design-system-sync
Nov 2, 2026
Merged

sriramveeraghanta merged 338 commits into
previewfrom
chore-design-system-sync

Conversation

@anmolsinghbhatia

@anmolsinghbhatia anmolsinghbhatia commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Description

Brings the Community Edition UI in line with the current design system across web, Space and Admin. Screens are rebuilt on published @makeplane/propel primitives and @plane/blocks composites, and use the shared type, colour and spacing tokens.

Design system and shared pieces

  • Propel 0.7.3 → 0.9.7, Base UI 1.6 → 1.8, Tailwind 4.2.4; lucide-react removed in favour of Propel icons.
  • New @plane/blocks composites: work item property chips and a single-line properties row with a "+N" overflow menu, entity detail sections, activity, comment box, progress bars, type-to-confirm dialog, votes and voters modal, empty-state illustrations.
  • cn keeps Propel border and outline widths (border-sm etc.) that tailwind-merge used to drop. This is why many property chips rendered without borders before.

Web

  • Layouts: list, board, table, calendar and timeline. This covers outlined property chips, board columns as panels, table borders and column icons, list rows on one line with a "+N" properties menu, and the quick-add rows.
  • Display and filter dropdowns are now nested menus everywhere: work items, views, cycles, modules, projects, pages and intake.
  • Work item detail and peek: an inline property bar under the title, grouped sidebar sections, All / Activity / Comments tabs, the comment box, sub-work item progress, the description's loading and retry states, and an archived banner.
  • Projects, cycles, modules, pages (with version history in its own pane), views (count, locked and live badges), notifications, home, onboarding, settings (searchable tables, docs links on headings, row menus), auth, and the 403 / 404 / error screens.

Space and Admin

  • Space: read-only outlined property pills, a votes control with a voter list, a restyled peek and comment thread, and new navbar and filters.
  • Admin: the sidebar, header breadcrumbs, settings forms (Save is enabled only when there are unsaved changes) and the workspace screens.

i18n

  • Hard-coded strings are replaced with keys in all 22 locales. The new strings are machine-translated and need a native-speaker pass.

Behaviour changes worth noting (intentional)

  • Public Space boards show all work item properties, assignees included.
  • Order by has an ascending/descending choice.
  • The table layout has a sticky column picker.
  • Activity has All / Activity / Comments tabs, and the chosen tab is remembered.
  • Search was added to the API tokens and label settings pages.
  • Webhooks can be deleted from a row menu in the list.
  • Leaving a workspace means typing its name, and the type-to-confirm inputs ignore surrounding spaces.
  • Module progress no longer counts cancelled items.
  • "Due today" is shown in yellow, and overdue dates in red.
  • The cycle list no longer shows a progress ring.
  • Project cards show the project lead instead of the description.
  • "Contact sales" opens the sales page instead of an email.

Also merges the latest preview, including the Tiptap/Hocuspocus v3 upgrade. The editor bubble menu keeps the Propel toolbar on top of the v3 menu setup.

Type of Change

  • Feature (non-breaking change which adds functionality)
  • Improvement (change that would cause existing functionality to not work as expected)
  • Code refactoring

Screenshots and Media (if applicable)

To be added.

Test Scenarios

  • tsc --noEmit passes for web, Space, Admin, and the @plane/blocks and @plane/editor packages.
  • @plane/blocks vitest: 378 tests pass. @plane/editor vitest: 12 tests pass.
  • The i18n sync check passes for all 22 locales. oxfmt is clean. oxlint shows no new warnings compared with the base.
  • Checked manually in the browser: list, board and table layouts, including the "+N" menu, chip borders and focus rings; work item detail and peek; sub-work item progress; page version history; the view header and filter row; home; Space boards, votes and the voter list; the editor bubble menu after the Tiptap v3 merge.
  • Not checked in the browser: the Admin dashboard forms, editing a page (needs the live collaboration server), and dark mode.

🤖 Generated with Claude Code

@anmolsinghbhatia anmolsinghbhatia self-assigned this Oct 16, 2026
@coderabbitai

coderabbitai Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

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: 417a8dd1-4790-4351-950e-38493f959c8c
📥 Commits

Reviewing files that changed from the base of the PR and between d3110d1 and 85392ba.

⛔ Files ignored due to path filters: 1
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing: 106
  • apps/admin/components/authentication/authentication-method-card.tsx
  • apps/admin/components/common/controller-input.tsx
  • apps/admin/components/common/controller-switch.tsx
  • apps/admin/components/common/header/index.tsx
  • apps/admin/hooks/use-sidebar-menu/core.ts
  • apps/admin/hooks/use-sidebar-menu/types.ts
  • apps/admin/package.json
  • apps/space/components/issues/issue-layouts/kanban/headers/group-by-card.tsx
  • apps/space/components/issues/issue-layouts/kanban/headers/sub-group-by-card.tsx
  • apps/space/components/issues/issue-layouts/list/headers/group-by-card.tsx
  • apps/space/components/issues/issue-layouts/properties/all-properties.tsx
  • apps/space/components/issues/issue-layouts/properties/cycle.tsx
  • apps/space/components/issues/issue-layouts/properties/due-date.tsx
  • apps/space/components/issues/issue-layouts/properties/labels.tsx
  • apps/space/components/issues/issue-layouts/properties/member.tsx
  • apps/space/components/issues/issue-layouts/properties/modules.tsx
  • apps/space/components/issues/issue-layouts/properties/priority.tsx
  • apps/space/components/issues/issue-layouts/properties/read-only-property.tsx
  • apps/space/components/issues/issue-layouts/properties/state.tsx
  • apps/space/components/issues/navbar/layout-selection.tsx
  • apps/space/components/issues/navbar/theme.tsx
  • apps/space/package.json
  • apps/web/app/(all)/[workspaceSlug]/(projects)/profile/[userId]/activity/page.tsx
  • apps/web/app/(all)/[workspaceSlug]/(projects)/profile/[userId]/navbar.tsx
  • apps/web/components/active-cycles/workspace-active-cycles-upgrade.tsx
  • apps/web/components/analytics/trend-piece.tsx
  • apps/web/components/api-token/modal/form.tsx
  • apps/web/components/common/access-field.tsx
  • apps/web/components/common/pro-icon.tsx
  • apps/web/components/core/activity.tsx
  • apps/web/components/core/theme/theme-switch.tsx
  • apps/web/components/editor/lite-text/toolbar.tsx
  • apps/web/components/global/timezone-select.tsx
  • apps/web/components/issues/header.tsx
  • apps/web/components/issues/issue-detail-widgets/sub-issues/issues-list/list-group.tsx
  • apps/web/components/issues/issue-layouts/filters/header/layout-selection.tsx
  • apps/web/components/issues/issue-layouts/kanban/headers/group-by-card.tsx
  • apps/web/components/issues/issue-layouts/kanban/headers/sub-group-by-card.tsx
  • apps/web/components/issues/issue-layouts/list/headers/group-by-card.tsx
  • apps/web/components/labels/label-block/label-item-block.tsx
  • apps/web/components/onboarding/steps/role/root.tsx
  • apps/web/components/pages/editor/ai/ask-pi-menu.tsx
  • apps/web/components/pages/editor/toolbar/color-dropdown.tsx
  • apps/web/components/pages/header/syncing-badge.tsx
  • apps/web/components/pages/list/tab-navigation.tsx
  • apps/web/components/pages/modals/page-form.tsx
  • apps/web/components/pages/navigation-pane/root.tsx
  • apps/web/components/power-k/config/creation/command.ts
  • apps/web/components/power-k/config/preferences-commands.ts
  • apps/web/components/power-k/ui/pages/context-based/cycle/commands.ts
  • apps/web/components/power-k/ui/pages/context-based/module/commands.tsx
  • apps/web/components/power-k/ui/pages/context-based/page/commands.ts
  • apps/web/components/power-k/ui/pages/context-based/work-item/commands.ts
  • apps/web/components/power-k/ui/pages/context-based/work-item/estimates-menu.tsx
  • apps/web/components/profile/activity/activity-list.tsx
  • apps/web/components/profile/activity/download-button.tsx
  • apps/web/components/profile/overview/activity.tsx
  • apps/web/components/profile/overview/stats.tsx
  • apps/web/components/profile/overview/workload.tsx
  • apps/web/components/profile/sidebar.tsx
  • apps/web/components/profile/start-of-week-preference.tsx
  • apps/web/components/project/settings/member-columns.tsx
  • apps/web/components/readonly/member.tsx
  • apps/web/components/settings/boxed-control-item.tsx
  • apps/web/components/settings/control-item.tsx
  • apps/web/components/settings/mobile/nav.tsx
  • apps/web/components/settings/profile/content/pages/preferences/language-and-timezone-list.tsx
  • apps/web/components/settings/profile/content/root.tsx
  • apps/web/components/settings/profile/modal.tsx
  • apps/web/components/settings/profile/sidebar/item-categories.tsx
  • apps/web/components/settings/project/sidebar/item-icon.tsx
  • apps/web/components/settings/sidebar/item.tsx
  • apps/web/components/settings/workspace/sidebar/item-icon.tsx
  • apps/web/components/workspace-notifications/sidebar/root.tsx
  • apps/web/components/workspace/billing/comparison/feature-detail.tsx
  • apps/web/components/workspace/sidebar/favorites/favorite-items/common/favorite-item-icon.tsx
  • apps/web/helpers/views.helper.ts
  • apps/web/package.json
  • packages/blocks/src/common/common-a11y.test.tsx
  • packages/blocks/src/common/favorite-star.tsx
  • packages/blocks/src/pill-button/helper.tsx
  • packages/blocks/src/pill-button/pill-button.test.tsx
  • packages/blocks/src/pill-button/pill-button.tsx
  • packages/blocks/src/property-select/member-select.test.tsx
  • packages/blocks/src/property-select/member-select.tsx
  • packages/blocks/src/property-select/project-select.test.tsx
  • packages/blocks/src/property-select/project-select.tsx
  • packages/blocks/src/select/select-content.tsx
  • packages/blocks/src/select/select.constants.ts
  • packages/blocks/src/select/select.test.tsx
  • packages/blocks/src/select/trigger-chrome.tsx
  • packages/blocks/src/select/types.ts
  • packages/blocks/src/select/virtual-list-body.tsx
  • packages/editor/package.json
  • packages/editor/src/components/menus/bubble-menu/color-selector.tsx
  • packages/editor/src/extensions/callout/color-selector.tsx
  • packages/editor/src/extensions/side-menu.ts
  • packages/editor/src/extensions/slash-commands/command-items-list.tsx
  • packages/editor/src/plugins/ai-handle.ts
  • packages/editor/src/plugins/drag-handle.ts
  • packages/editor/src/plugins/handle-icon.ts
  • packages/editor/src/styles/editor.css
  • packages/tailwind-config/index.css
  • packages/utils/package.json
  • packages/utils/src/get-icon-for-link.ts
  • pnpm-workspace.yaml
💤 Files with no reviewable changes: 5
  • apps/space/package.json
  • packages/utils/package.json
  • apps/web/package.json
  • apps/admin/package.json
  • packages/editor/package.json

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.

Walkthrough

The pull request adopts Propel components and icons across shared packages and applications. It updates issue properties, forms, navigation, profile layouts, and editor handle cleanup. It also changes scrollbar and task-list styles and updates package versions and dependencies.

Changes: Propel UI migration

Layer / File(s) Summary
Shared control primitives
packages/blocks/src/pill-button/*, packages/blocks/src/select/*, packages/blocks/src/property-select/*, pnpm-workspace.yaml
Pill and select triggers now use Propel components and size mappings. New tests cover button semantics, focus behavior, and property-select content. The workspace catalog updates Base UI and Propel versions.
Issue property presentation
apps/space/components/issues/issue-layouts/properties/*, apps/space/components/issues/issue-layouts/{kanban,list}/headers/*, apps/web/components/issues/*
Issue properties use ReadOnlyProperty for labels, values, counts, and empty states. Issue group headers and sub-issue lists use Propel fallback icons.
Editor icons and cleanup
packages/editor/src/plugins/*, packages/editor/src/extensions/*, packages/editor/src/styles/editor.css
Editor handles mount Propel icons through React roots and unmount them during destruction. Side-menu views retain destroy callbacks. Task-list checkbox focus and size styles change.
Application forms and navigation
apps/admin/components/*, apps/space/components/issues/navbar/*, apps/web/components/{api-token,core,global,issues,pages,settings,workspace-notifications}/*
Admin inputs, issue controls, selectors, and tabs use Propel fields, buttons, or tabs. Selection handlers filter null, unsupported, and already-active values where described.
Profile pages and settings
apps/web/app/(all)/[workspaceSlug]/(projects)/profile/*, apps/web/components/profile/*, apps/web/components/settings/profile/*
Profile activity, overview, workload, and sidebar layouts change. Profile settings add responsive navigation and use Propel selectors for language, timezone, and start-of-week preferences.
Application icon and type migration
apps/admin/*, apps/space/*, apps/web/*, packages/utils/*, packages/tailwind-config/index.css, pnpm-workspace.yaml
Application icon references and icon prop types move from Lucide to Propel. App and package manifests remove lucide-react; scrollbar rules now use Propel utilities.

Estimated code review effort: 4 (Complex) | ~60 minutes

Change: Refactor

Merge Risk: Minimal · previous review 85392

No confirmed issue remains that should block merging after normal checks.

Pre-merge checks: Passed 3 · Failed 1

Failed Failed checks: 1 warning

Check name Status Explanation Resolution
Description check Warning The pull request has no description. It omits the required change summary, change type, test scenarios, and any applicable screenshots or references. Add a pull request description using the repository template. Describe the design system synchronization, select the applicable change type, document the test scenarios that were run, and add screenshots or references when applicable.
Passed Passed checks: 3 passed
Check name Status Explanation
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.
Title check Passed The title clearly summarizes the main change: synchronizing the Web, Space, and Admin interfaces with the Propel design system. It is concise and related to the broad changeset.
Finishing Touches
Generate docstrings
  • Commit to this branch
  • Create a new PR
Fix failing CI checks
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@github-actions

github-actions Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

React Doctor found 24 new issues in 22 files · 1 error & 23 warnings · score 58 / 100 (Critical) · 182 fixed · vs preview

Errors

23 warnings

app/(all)/(dashboard)/authentication/gitea/form.tsx

  • ⚠️ L170 Duplicated JSX structure duplicate-jsx-subtree

app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/views/(detail)/[viewId]/header.tsx

  • ⚠️ L48 React function has high control-flow complexity no-high-complexity-react-function

app/(all)/[workspaceSlug]/(projects)/workspace-views/header.tsx

  • ⚠️ L36 React function has high control-flow complexity no-high-complexity-react-function

components/account/auth-forms/reset-password.tsx

  • ⚠️ L44 React function has high control-flow complexity no-high-complexity-react-function

components/auth-screens/workspace/not-a-member.tsx

  • ⚠️ L16 Duplicated JSX structure duplicate-jsx-subtree

components/issues/issue-detail-widgets/sub-issues/issues-list/properties.tsx

  • ⚠️ L45 React function has high control-flow complexity no-high-complexity-react-function

components/issues/issue-detail/issue-activity/filter-root.tsx

  • ⚠️ L26 Array lookup inside a loop js-set-map-lookups

components/issues/issue-detail/issue-activity/root.tsx

  • ⚠️ L88 Array lookup inside a loop js-set-map-lookups
  • ⚠️ L98 Array lookup inside a loop js-set-map-lookups

components/issues/issue-detail/parent-select.tsx

  • ⚠️ L44 React function has high control-flow complexity no-high-complexity-react-function

components/issues/issue-detail/sidebar-sections.tsx

  • ⚠️ L57 React function has high control-flow complexity no-high-complexity-react-function

components/issues/issue-layouts/kanban/swimlanes.tsx

  • ⚠️ L92 Array lookup inside a loop js-set-map-lookups
  • ⚠️ L187 Array lookup inside a loop js-set-map-lookups

components/issues/issue-layouts/properties/all-properties.tsx

  • ⚠️ L35 React function has high control-flow complexity no-high-complexity-react-function

components/modules/analytics-sidebar/progress-summary.tsx

  • ⚠️ L91 Array lookup inside a loop js-set-map-lookups

components/modules/analytics-sidebar/root.tsx

  • ⚠️ L131 React function has high control-flow complexity no-high-complexity-react-function

components/rich-filters/view-controls.tsx

  • ⚠️ L34 React function has high control-flow complexity no-high-complexity-react-function

components/settings/profile/sidebar/item-categories.tsx

  • ⚠️ L63 Control missing accessible label control-has-associated-label

components/workspace/sidebar/favorites/favorite-folder.tsx

  • ⚠️ L22 flushSync skips View Transitions no-flush-sync

components/workspace/sidebar/favorites/favorite-items/root.tsx

  • ⚠️ L20 flushSync skips View Transitions no-flush-sync

components/workspace/sidebar/projects-list-item.tsx

  • ⚠️ L16 flushSync skips View Transitions no-flush-sync

src/extensions/custom-image/components/toolbar/full-screen/modal.tsx

  • ⚠️ L34 Large component is hard to read and change no-giant-component

src/extensions/custom-image/components/uploader.tsx

  • ⚠️ L213 Click handler missing keyboard handler click-events-have-key-events

Reviewed by React Doctor for commit 51a386f. See inline comments for fixes.

@anmolsinghbhatia
anmolsinghbhatia marked this pull request as ready for review October 16, 2026 14:03
Copilot AI balanced review requested due to automatic review settings October 16, 2026 14:03

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@anmolsinghbhatia
anmolsinghbhatia marked this pull request as draft October 16, 2026 14:25

@codingwolf-at codingwolf-at left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Five majors on behaviour this restyle introduced or copied into new call sites: module list % vs sidebar, leave-project navigating before the API, English type-to-confirm unlock phrases, webhook row-menu errors swallowed, and Space still forking property chips instead of the new blocks row.

The list ring counted cancelled work items as done, so it disagreed with the
module sidebar, which now measures completed / (total - cancelled). Use the
same rule on the list.
The row menu's toggle discarded the rejected update, so the badge stayed as it
was with no feedback. Catch it and show the existing "Webhook not updated" toast.
…them

Delete project, leave project and delete workspace no longer require typing an
English passphrase ("delete my project", "Leave Project", "delete my
workspace"); typing the project or workspace name unlocks the action, as
leave-workspace already did. Titles, descriptions, labels and toasts in these
dialogs now go through t(), with new keys in every locale.

Leaving a project also navigates to the projects list only after the API call
succeeds, so a failed leave keeps the dialog open instead of moving the user
away while they are still a member.
anmolsinghbhatia and others added 3 commits November 2, 2026 13:26
WorkItemPropertiesList renders property entries in row order inside a wrapping
container, the no-budget counterpart to PropertiesOverflowRow without its
observers. WorkItemPropertyCountChip is the outlined sub-work item, attachment
and link count chip: a button with onClick, or a display-only span without.
…erties list

Space's IssueProperties now builds the same keyed property entries as the web
app and renders them with WorkItemPropertiesList, instead of a copied tree of
per-property wrappers. Count chips use the shared WorkItemPropertyCountChip;
web's board fallback and count chips use the same pieces. Chip order, gating
and appearance are unchanged.
…n-system-sync

# Conflicts:
#	apps/web/components/settings/profile/content/pages/general/form.tsx
@@ -16,8 +16,8 @@ export function NotAWorkspaceMember() {
<div className="grid h-full place-items-center p-4">

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

React Doctor · react-doctor/duplicate-jsx-subtree (warning)

2 copies of this 10-node JSX tree appear across 2 files, repeating about 29 lines. Composition path: NotAWorkspaceMember > DefaultLayout > div.

Fix → Consider extracting a shared component if these trees represent the same UI concept. Keep them separate when the resemblance is incidental or the variants are likely to evolve independently.

Docs


const filters: TActivityFilterOption[] = Object.entries(ACTIVITY_FILTER_TYPE_OPTIONS).map(([key, value]) => {
const filterEntries = Object.entries(ACTIVITY_FILTER_TYPE_OPTIONS).filter(
([key]) => !filterKeys || filterKeys.includes(key as TActivityFilters)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

React Doctor · react-doctor/js-set-map-lookups (warning)

This scales poorly because array.includes() inside a loop scans the whole list every time. Use a Set for constant-time lookups.

Fix → Use a Set or Map when you check for the same items over and over. Array.includes/find scans the whole list each time

Docs

// Filters chosen in the filter menu, narrowed to the active tab. Falls back to the whole tab when
// none of the chosen filters belong to it, so a tab never renders empty because of another tab's choice.
const chosenTabFilters = activeTabFilters.filter((filter) =>
(selectedFilters ?? defaultActivityFilters).includes(filter)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

React Doctor · react-doctor/js-set-map-lookups (warning)

This scales poorly because array.includes() inside a loop scans the whole list every time. Use a Set for constant-time lookups.

Fix → Use a Set or Map when you check for the same items over and over. Array.includes/find scans the whole list each time

Docs

? effectiveFilters.filter((f) => f !== filter)
: [...effectiveFilters, filter];
if (nextTabFilters.length === 0) return; // Ensure at least one filter is applied
const otherFilters = (selectedFilters ?? defaultActivityFilters).filter((f) => !activeTabFilters.includes(f));

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

React Doctor · react-doctor/js-set-map-lookups (warning)

This scales poorly because array.includes() inside a loop scans the whole list every time. Use a Set for constant-time lookups.

Fix → Use a Set or Map when you check for the same items over and over. Array.includes/find scans the whole list each time

Docs

* Work item properties shared by the detail page sidebar and the peek overview: grouped into
* collapsible "Details" and "Project structure" sections, followed by created/updated metadata.
*/
export const IssueDetailSidebarSections = observer(function IssueDetailSidebarSections(props: Props) {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

React Doctor · react-doctor/no-high-complexity-react-function (warning)

IssueDetailSidebarSections has cyclomatic complexity 17, cognitive complexity 14, and maximum nesting depth 1, so its React logic is hard to understand and change. Extract independent branches into components or hooks.

Fix → Extract independent render branches and state logic into focused components or hooks until the control flow is easy to follow.

Docs

@@ -19,6 +19,7 @@ import { attachInstruction } from "@atlaskit/pragmatic-drag-and-drop-hitbox/tree
import { orderBy } from "lodash-es";
import { useParams } from "next/navigation";
import { createRoot } from "react-dom/client";
import { flushSync } from "react-dom";

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

React Doctor · react-doctor/no-flush-sync (warning)

flushSync forces an immediate update, which skips View Transitions and concurrent rendering.

Fix → flushSync forces an immediate update that skips View Transitions and concurrent rendering. Use startTransition for updates that are not urgent.

Docs

@@ -17,6 +17,7 @@ import { setCustomNativeDragPreview } from "@atlaskit/pragmatic-drag-and-drop/el
import { attachInstruction } from "@atlaskit/pragmatic-drag-and-drop-hitbox/tree-item";
import { observer } from "mobx-react";
import { createRoot } from "react-dom/client";
import { flushSync } from "react-dom";

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

React Doctor · react-doctor/no-flush-sync (warning)

flushSync forces an immediate update, which skips View Transitions and concurrent rendering.

Fix → flushSync forces an immediate update that skips View Transitions and concurrent rendering. Use startTransition for updates that are not urgent.

Docs

@@ -13,10 +13,12 @@ import { attachInstruction, extractInstruction } from "@atlaskit/pragmatic-drag-
import { observer } from "mobx-react";
import { useParams, useRouter } from "next/navigation";
import { createRoot } from "react-dom/client";
import { flushSync } from "react-dom";

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

React Doctor · react-doctor/no-flush-sync (warning)

flushSync forces an immediate update, which skips View Transitions and concurrent rendering.

Fix → flushSync forces an immediate update that skips View Transitions and concurrent rendering. Use startTransition for updates that are not urgent.

Docs

(node: HTMLElement | null) => {
if (triggerNode.current && triggerNode.current !== node) observerRef.current?.unobserve(triggerNode.current);
triggerNode.current = node;
if (node) getObserver()?.observe(node);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

React Doctor · react-doctor/effect-needs-cleanup (error)

observe creates a subscription in a function that outlives the render, with no cleanup path. Store the handle and release it, or move this into a useEffect that returns cleanup, so it does not leak after unmount.

Fix → Return a cleanup function that stops the subscription or timer: return () => target.removeEventListener(name, handler) for listeners, return () => clearInterval(id) or clearTimeout(id) for timers, return () => observer.disconnect() for observers, return () => socket.close() for connections, or return unsubscribe if the subscribe call already gave you one.

Docs

@@ -26,7 +32,17 @@ type Props = {
};

function ImageFullScreenModalWithoutPortal(props: Props) {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

React Doctor · react-doctor/no-giant-component (warning)

Component "ImageFullScreenModalWithoutPortal" is over 300 lines long, which is hard to read & change. Split it into a few smaller components.

Fix → Pull each section into its own component so the parent is easier to read, test, and change.

Docs

@sriramveeraghanta
sriramveeraghanta merged commit efa46d2 into preview Nov 2, 2026
15 checks passed
@sriramveeraghanta
sriramveeraghanta deleted the chore-design-system-sync branch November 2, 2026 18:47
szymczag added a commit to szymczag/hangar that referenced this pull request Nov 24, 2026
Converge pages, the web editor wrappers and stickies with upstream
makeplane/plane v1.5.0 (efa46d2, bc65a78;
makeplane#10038, makeplane#10178): the pages list, its
header, filters, search and order menus, the page editor header, toolbar
and navigation pane (outline, info, assets, version history), the create,
delete and export dialogs, the lite, rich and sticky editor wrappers and
toolbars, the user mention card, the stickies page, modal and widget, and
the page, page list and stickies routes. Every file upstream changed went
through a three-way merge (base v1.4.3): 77 taken, 10 merged (2 with
conflicts), 1 added (the version history panel's new home), 3 removed
(the editor title, the content limit banner and the old version history
panel, none changed by Hangar). The page and sticky hooks and the page
store take upstream's toast and emoji picker types.

The pages and project view list filter panels now use upstream's
FiltersDropdown with its created date and created by menu rows, so the
4c shim on the view list header and mobile header goes. Cycles, modules
and intake keep FiltersDropdownLegacy until their phase.

Kept from Hangar:
- The PDF export stays on the live server (export-page-modal takes
  upstream's Propel dialog and selects; the fetch to /pdf-export/ with
  the same formats, page sizes and "No images" option is Hangar's). No
  @react-pdf, no components/editor/pdf.
- The editor wrappers keep Hangar's nullable editor refs, and no file
  adds innerHTML or dangerouslySetInnerHTML; the page icon picker is
  @plane/blocks' picker, which reads the same-origin emoji data set at
  start-up.
- Mentions: only the card's avatar and popover change; ids and the
  profile link are unchanged.

Fixed while here: the lite toolbar's attach button looked up "attach",
which is "common.attach"; the commit hook's warnings in the touched
files (shadowed ids, hoisted helpers, promise chains as try/await, stable
loader keys, the sticky's colour picked once instead of every render so
its debounced save is not rebuilt each render).

Nine i18n keys come from upstream in all locales (the formatting toolbar
label, the content limit banner, and the version history panel's
strings).
nettnikl pushed a commit to nettnikl/hangar that referenced this pull request Dec 1, 2026
Converge the web shell with upstream makeplane/plane v1.5.0 (b2ccc73,
makeplane#9802; efa46d2, makeplane#10038; bc65a78,
makeplane#10178; ab294cd, makeplane#10258; 85c65cb,
makeplane#9824) by a three-way merge per file, base v1.4.3, for the
root, layout, sidebar, top navigation and app rail: 61 files, 32 taken as
upstream's because Hangar had not changed them, 27 merged, one added. The
diff of these paths against v1.5.0 falls from 4619 lines in 66 files to 634
in 25.

Upstream's root/layout split is taken. root.tsx renders the document and
an Outlet, and every route nests under the pathless app/layout.tsx, which
holds AppProvider, the shell and the MaintenanceBar above main. The
trailing-slash middleware stays on the root route; provider.tsx and
entry.client.tsx keep Hangar's versions (both toasts, i18n awaited after
the Trusted Types policies and emoji data URLs).

Kept over upstream: the Hangar mark and logo, the Hangar help entries
behind showExternalLinks (no contact sales, forum or what's new), the star
link to the Hangar repository behind showExternalLinks, no upgrade badges,
the capacity entries and the duplicate-project action, and the responsive
workspace identity in the top navigation on Propel's Tooltip and
WorkspaceAvatar.

Web depends on @base-ui/react directly; the web sink inventory records
Base UI's PrehydrationScript, a stub in the browser build. Seven i18n keys
the shell uses come with upstream's translations. power-k, dropdowns and
components/{common,core} follow in phase 1b; the other screens keep
@plane/ui and the 1.4 toast.

The visual suite gains stories for the workspace switcher and the command
palette.

The lint warnings the commit hook flags in five merged files are fixed:
the tab preferences memo, two drag-and-drop shadowings in the
favourites, the command search's hook dependencies and its field
wrapper's role, and two deliberate single-dependency effects in the
resizable sidebar are annotated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants