You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 18bcb2b
Browse filesBrowse the repository at this point in the historyBrowse files
refactor(emcn): finish the cn migration by dropping clsx
apps/sim still imported clsx directly in 8 files, so the repo carried two
class-name paths — one that resolves Tailwind conflicts and one that does not.
Converts them all to `cn` and removes the dependency.
clsx joins; cn merges. The two differ only where a call emits conflicting
classes, so every call site was checked rather than assumed. Of 19 sites with
2+ class tokens, 6 could conflict:
- 4 already resolve the same way, because cn keeps the class CSS source order
was picking anyway (cursor-grab/pointer, opacity-0/100, text-secondary/tertiary)
- 2 are mutually exclusive ternaries in output-panel; only one branch ships
The seventh is a latent bug rather than a merge difference: workflow-item's
overlay sets `pointer-events-none` in its base and `pointer-events-auto` when
the context menu is open, but Tailwind emits `pointer-events-none` last, so it
always won — that button has never been clickable while the menu is open, only
visible. Left rendering as-is with a comment; enabling it is a real fix but not
a rendering-neutral one.
Verified all four runtime branches of that call still yield
`pointer-events-none`, and the built stylesheet is byte-identical.
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/editor/components/connection-blocks/components/field-item/field-item.tsx
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/editor/components/connection-blocks/connection-blocks.tsx
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/terminal/components/output-panel/output-panel.tsx
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/terminal/components/toggle-button/toggle-button.tsx
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/w/components/sidebar/components/workflow-list/components/workflow-item/workflow-item.tsx
0 commit comments