Skip to content

Commit 4b9ab5e

Browse files
committed
Reconcile the new Settings pages with the merged surface and menu contracts
1 parent 78131f4 commit 4b9ab5e

10 files changed

Lines changed: 7 additions & 6 deletions

File tree

‎apps/sim/platform/app/(shell)/_components/search/search-results.tsx‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import type { SearchResultsData } from '@/platform/app/(shell)/_components/searc
66
import styles from '@/platform/app/(shell)/_components/search/search.module.css'
77
import { SourceRow } from '@/platform/app/(shell)/_components/search/source-row'
88
import {
9-
Button,
109
DateRangePicker,
1110
EmptyState,
1211
FailureNotice,

‎apps/sim/platform/app/(shell)/people/_components/directory/directory.tsx‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use client'
22

3-
import { useMemo, useState } from 'react'
3+
import { useMemo } from 'react'
44
import { useRouter } from 'next/navigation'
55
import styles from '@/platform/app/(shell)/people/_components/directory/directory.module.css'
66
import { PeopleStatus } from '@/platform/app/(shell)/people/_components/people-page/people-status'
@@ -9,7 +9,6 @@ import {
99
DataTable,
1010
EmptyState,
1111
FailureNotice,
12-
InlineNotice,
1312
PersonRow,
1413
RecipientTag,
1514
SearchableSelect,

‎apps/sim/platform/app/(shell)/people/_components/org-chart/org-chart.tsx‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import {
1111
FailureNotice,
1212
Icon,
1313
IconButton,
14-
InlineNotice,
1514
SearchableSelect,
1615
} from '@/platform/design-system/components'
1716
import type { PlatformOrganization } from '@/platform/lib/data/organization-model'

‎apps/sim/platform/app/(shell)/people/_components/person/person.tsx‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import {
1010
Button,
1111
EmptyState,
1212
FailureNotice,
13-
InlineNotice,
1413
PropertyList,
1514
} from '@/platform/design-system/components'
1615
import type { PropertyItem } from '@/platform/design-system/components/property-list/property-list'

‎apps/sim/platform/app/(shell)/search/_components/search-surface/search-surface.tsx‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import {
88
Button,
99
EmptyState,
1010
FailureNotice,
11-
InlineNotice,
1211
RecentItems,
1312
SegmentedControl,
1413
} from '@/platform/design-system/components'

‎apps/sim/platform/app/(shell)/settings/_components/sections/connected-accounts/group-people.tsx‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ export function GroupPeople({ people, nextCursor, editable, onChange }: GroupPeo
6363
>
6464
{editable && (
6565
<ActionMenu
66+
icon='I108'
6667
label={`${person.email} actions`}
6768
actions={[
6869
{

‎apps/sim/platform/app/(shell)/settings/_components/sections/connected-accounts/group-providers.tsx‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ export function GroupProviders({
168168
</Button>
169169
)}
170170
<ActionMenu
171+
icon='I108'
171172
label={`${item.name} actions`}
172173
actions={[
173174
{

‎apps/sim/platform/app/(shell)/settings/_components/sections/integrations/sources-view.tsx‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,7 @@ export function SourcesView({ initial, subpath }: SourcesViewProps) {
201201
</Button>
202202
)}
203203
<ActionMenu
204+
icon='I108'
204205
label={`${source.name} source actions`}
205206
actions={[
206207
{
@@ -230,6 +231,7 @@ export function SourcesView({ initial, subpath }: SourcesViewProps) {
230231
Configure
231232
</Button>
232233
<ActionMenu
234+
icon='I108'
233235
label='Generic Secrets source actions'
234236
actions={[
235237
{

‎apps/sim/platform/app/(shell)/settings/_components/sections/search-slack/slack-connections.tsx‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ export function SlackConnections({
138138
</Button>
139139
{prospective ? (
140140
<ActionMenu
141+
icon='I108'
141142
label={`${botName(bot)} actions`}
142143
tooltip={false}
143144
actions={[

‎apps/sim/platform/fixtures/settings/surface.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ export function settingsSurface(scenario: Scenario, plan: PreviewPlan): Platform
2727
const surface: Omit<PlatformOrganization, 'settingsSections'> = {
2828
organization: { ...organization, id: 'sim', slug: 'sim', logo: null },
2929
legacyOrigin: '',
30+
platformOrgUi: true,
3031
viewer: {
3132
role: 'owner',
3233
isAdmin: true,

0 commit comments

Comments
 (0)