Commit 0cf5314
committed
improvement(emcn): consolidate chip chrome, enforce ChipModalField, paint real chrome in loading fallbacks
- Move chip chrome single-source to chip/chip-chrome.ts (surface, typography, and new content tokens); delete chip-input/chip-field-chrome.ts
- Rework Chip variants: implicit default replaces ghost, filled reserved for chip fields/triggers and removed from Chip's public API; add ChipChevron
- Migrate every labeled modal body field to ChipModalField across knowledge, settings, tables, files, deploy, sidebar, and ee modals
- Replace skeleton loading.tsx files with ResourceChromeFallback that paints the page's real header, actions, search/filter/sort chips, and column headers
- Rename resource-options-bar to resource-options; simplify resource.tsx and resource-header
- Delete legacy Breadcrumb, Callout, and FormField components
- Add shared connector-config-fields (knowledge) and ee InfoNote; add useTagUsageQuery; make useInlineRename save async with isSaving
- Update AGENTS.md/CLAUDE.md and emcn/styling rules (with .cursor/.agents mirrors)1 parent 2577135 commit 0cf5314
145 files changed
Lines changed: 3134 additions & 4210 deletions
File tree
- .agents/skills/emcn-design-review
- .claude
- commands
- rules
- .cursor
- commands
- rules
- apps/sim
- app
- (auth)/login
- (landing)
- components/landing-preview/components/landing-preview-tables
- integrations/components
- playground
- workspace/[workspaceId]
- components
- connect-oauth-modal
- credential-detail/components
- inline-rename-input
- message-actions
- resource
- components
- resource-chrome-fallback
- resource-header
- resource-options-bar
- resource-options
- files
- components
- delete-confirm-modal
- file-viewer
- home/components/suggested-actions
- integrations
- components
- connect-service-account-modal
- showcase-with-explore
- connected/[credentialId]
- knowledge
- [id]
- [documentId]
- components
- delete-chunk-modal
- document-tags-modal
- components
- add-connector-modal
- add-documents-modal
- base-tags-modal
- connector-config-fields
- connectors-section
- edit-connector-modal
- rename-document-modal
- components
- create-base-modal
- delete-knowledge-base-modal
- edit-knowledge-base-modal
- logs
- components
- dashboard
- logs-toolbar/components/notifications
- scheduled-tasks
- components/create-schedule-modal
- settings/components
- api-keys
- components/create-api-key-modal
- billing
- byok
- copilot
- credential-sets
- custom-tools
- general
- inbox/components
- inbox-enable-toggle
- inbox-settings-tab
- mcp
- components
- form-field
- mcp-server-form-modal
- recently-deleted
- secrets/components/secrets-manager
- team-management/components
- no-organization-view
- organization-member-lists
- remove-member-dialog
- transfer-ownership-dialog
- teammates
- workflow-mcp-servers
- components/create-workflow-mcp-server-modal
- skills
- components
- skill-import
- skill-modal
- tables
- [tableId]
- components
- new-column-dropdown
- row-modal
- table-grid
- components/import-csv-dialog
- upgrade
- w
- [workflowId]/components/panel
- components
- deploy/components/deploy-modal
- components
- chat
- general
- components
- editor/components/sub-block/components
- grouped-checkbox-list
- tool-input/components/custom-tool-modal
- components/sidebar/components
- help-modal
- settings-sidebar
- workflow-list/components/delete-modal
- workspace-header
- components
- create-workspace-modal
- invite-modal
- components/emcn
- components
- breadcrumb
- callout
- chip-date-picker
- chip-input
- chip-modal
- chip-select
- chip-switch
- chip-textarea
- chip
- form-field
- toast
- ee
- access-control/components
- components
- data-drains/components
- data-retention/components
- sso/components
- hooks
- queries/kb
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
| 77 | + | |
77 | 78 | | |
78 | 79 | | |
79 | 80 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
35 | | - | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| 74 | + | |
| 75 | + | |
74 | 76 | | |
75 | 77 | | |
76 | 78 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | | - | |
| 32 | + | |
| 33 | + | |
34 | 34 | | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
| 38 | + | |
37 | 39 | | |
38 | 40 | | |
39 | 41 | | |
| 42 | + | |
| 43 | + | |
40 | 44 | | |
41 | 45 | | |
42 | | - | |
43 | | - | |
| 46 | + | |
| 47 | + | |
44 | 48 | | |
45 | 49 | | |
46 | 50 | | |
47 | 51 | | |
48 | 52 | | |
49 | 53 | | |
50 | 54 | | |
51 | | - | |
| 55 | + | |
52 | 56 | | |
53 | 57 | | |
54 | 58 | | |
| |||
64 | 68 | | |
65 | 69 | | |
66 | 70 | | |
67 | | - | |
| 71 | + | |
| 72 | + | |
68 | 73 | | |
69 | 74 | | |
70 | 75 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
34 | | - | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| |||
0 commit comments