Skip to content

Commit cdccb5b

Browse files
committed
improvement(platform): retain latest integration spacing alignment
1 parent 1666511 commit cdccb5b

7 files changed

Lines changed: 10 additions & 17 deletions

File tree

‎apps/sim/platform/app/(shell)/_components/resource-directory/resource-directory.module.css‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
flex: 1;
3030
display: grid;
3131
min-inline-size: 0;
32-
gap: var(--ui-stack-gap);
32+
gap: var(--ui-heading-gap);
3333
overflow-wrap: anywhere;
3434
}
3535
.copy p {

‎apps/sim/platform/app/(shell)/integrations/_components/integration-center/integration-center.module.css‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,11 @@
44
min-inline-size: 0;
55
gap: var(--ui-product-section-gap);
66
}
7-
.navigation {
8-
margin-inline: calc(-1 * var(--ui-row-inset));
9-
}
107
.toolbar,
118
.empty {
129
display: grid;
1310
min-inline-size: 0;
14-
gap: var(--ui-section-gap);
11+
gap: var(--ui-content-gap);
1512
}
1613
.empty {
1714
gap: var(--ui-stack-gap);

‎apps/sim/platform/app/(shell)/integrations/_components/integration-center/integration-center.tsx‎

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -133,13 +133,11 @@ export function IntegrationCenter({
133133
return (
134134
<div className={styles.center}>
135135
<div className={styles.toolbar}>
136-
<div className={styles.navigation}>
137-
<DestinationTabs
138-
label='Integration categories'
139-
destinations={destinations}
140-
currentHref={currentHref}
141-
/>
142-
</div>
136+
<DestinationTabs
137+
label='Integration categories'
138+
destinations={destinations}
139+
currentHref={currentHref}
140+
/>
143141
<IntegrationControls
144142
leading={
145143
<SearchField

‎apps/sim/platform/app/(shell)/integrations/_components/resource-list/resource-list.module.css‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.group {
22
display: grid;
33
min-inline-size: 0;
4-
gap: var(--ui-section-gap);
4+
gap: var(--ui-widget-content-gap);
55
}
66
.rows {
77
display: grid;

‎apps/sim/platform/design-system/components/activity-row/activity-row.module.css‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@
5050
align-items: center;
5151
flex: none;
5252
gap: var(--ui-action-gap);
53-
padding-inline-end: var(--ui-row-inset);
5453
}
5554
.body {
5655
display: flex;

‎apps/sim/platform/design-system/components/destination-tabs/destination-tabs.module.css‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
.lane {
55
display: flex;
66
align-items: center;
7-
gap: var(--spacing-8);
8-
min-height: var(--spacing-app-touch-target);
7+
gap: var(--ui-list-gap);
98
inline-size: max-content;
109
}

‎apps/sim/platform/docs/integration-center.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
| MCPs | Shared and Personal sections for custom servers. Connection details belong to the server, not a fabricated provider catalog. |
1212
| Credentials | Shared and Personal sections for named credentials and secrets. Show access in the list and ownership in the detail or editor, without exposing a secret in a list. |
1313

14-
Keep the heading, description, reading column and major gaps aligned with Home. DestinationTabs and the compact control bar follow the Platform Workspaces anatomy in Paper. Search sits at the start of the control bar; destination-specific sorting, filtering and create actions sit at the end. Category and access choices use ChoiceMenu, the exact Home period owner with a compact quiet trigger. Select/SelectField belong to the editor's form fields, not this toolbar. Tabs and the control bar use the same 12px section gap as Home’s wordmark and composer. Categories and ownership sections live in the content, not as another nested tab system. Empty results sit at the normal section-title edge immediately below the controls.
14+
Keep the heading, description, reading column and major gaps aligned with Home. DestinationTabs and the compact control bar follow the Platform Workspaces anatomy in Paper. Search sits at the start of the control bar; destination-specific sorting, filtering and create actions sit at the end. Category and access choices use ChoiceMenu, the exact Home period owner with a compact quiet trigger. Select/SelectField belong to the editor's form fields, not this toolbar. The title-to-description gap is 3px, matching Home. Measure 24px from the description to the tab surfaces, 12px from tabs to the control bar, and 24px from that bar to the first group heading. The tab lane has no extra vertical padding. Group headings sit 16px above their first row, matching Home Email and attention. Tabs and sibling rows use the sidebar’s 2px list gap; leading marks and copy use the shared 8px gap. Keep the tab surfaces inside the reading-column text edge, as Home does with Build/Search. The quiet search, trailing toolbar controls and list hover surfaces retain the shared 8px outer inset on both sides. Categories and ownership sections live in the content, not as another nested tab system. Empty results sit at the normal section-title edge immediately below the controls.
1515

1616
The route entry stays thin. `integrations/_components/integration-center/` owns the frame and destination composition. `resource-list/` and `resource-editor/` own the feature's list content and editor fields. Reuse EMCN DestinationTabs, SearchField, ActivityRow, Avatar, Button, Menu, Modal and Field owners. Base UI supplies complex behavior inside EMCN; product code supplies data and callbacks. Leading marks align with the first line, trailing people and actions center against the whole row, and lists use the same shared rhythm as Home email and notification rows. App rows end with two profile photos and a passive +N count before their navigation chevron. Individual photos reveal names on hover; the count opens nothing. Details use a natural-language usage line below the description. Skills use the slash glyph; credential keys share the central key geometry. Reconnection stays an account action, without an extra list status.
1717

0 commit comments

Comments
 (0)