@shipfox/client-integrations 22.0.0 → 22.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +1 -1
- package/CHANGELOG.md +20 -0
- package/dist/components/installed-integrations-section.d.ts.map +1 -1
- package/dist/components/installed-integrations-section.js +5 -12
- package/dist/components/installed-integrations-section.js.map +1 -1
- package/dist/components/integration-gallery-for-workspace.d.ts.map +1 -1
- package/dist/components/integration-gallery-for-workspace.js +5 -12
- package/dist/components/integration-gallery-for-workspace.js.map +1 -1
- package/dist/routes/integrations-settings.d.ts +1 -2
- package/dist/routes/integrations-settings.d.ts.map +1 -1
- package/dist/routes/integrations-settings.js +12 -1
- package/dist/routes/integrations-settings.js.map +1 -1
- package/dist/tsconfig.test.tsbuildinfo +1 -1
- package/package.json +6 -6
- package/src/components/installed-integrations-section.tsx +0 -3
- package/src/components/integration-gallery-for-workspace.tsx +0 -3
- package/src/components/integration-gallery.test.tsx +6 -2
- package/src/routes/integrations-settings.tsx +7 -1
- package/tsconfig.build.tsbuildinfo +1 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shipfox/client-integrations",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "22.0.
|
|
4
|
+
"version": "22.0.2",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+https://github.com/ShipfoxHQ/shipfox.git",
|
|
@@ -36,11 +36,11 @@
|
|
|
36
36
|
"@shipfox/api-integration-sentry-dto": "12.2.0",
|
|
37
37
|
"@shipfox/api-integration-webhook-dto": "12.2.0",
|
|
38
38
|
"@shipfox/client-api": "6.0.1",
|
|
39
|
-
"@shipfox/client-auth": "22.0.
|
|
40
|
-
"@shipfox/client-shell": "22.0.
|
|
41
|
-
"@shipfox/client-ui": "22.0.
|
|
42
|
-
"@shipfox/
|
|
43
|
-
"@shipfox/
|
|
39
|
+
"@shipfox/client-auth": "22.0.2",
|
|
40
|
+
"@shipfox/client-shell": "22.0.2",
|
|
41
|
+
"@shipfox/client-ui": "22.0.2",
|
|
42
|
+
"@shipfox/react-ui": "2.1.1",
|
|
43
|
+
"@shipfox/integration-icons": "0.3.6"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
46
|
"@tanstack/react-query": "^5.101.0",
|
|
@@ -49,9 +49,6 @@ export function InstalledIntegrationsSection({
|
|
|
49
49
|
<section className="flex flex-col gap-group" aria-label="Installed integrations">
|
|
50
50
|
<div className="flex flex-col gap-tight">
|
|
51
51
|
<Header variant="h3">Installed integrations</Header>
|
|
52
|
-
<Text size="sm" className="text-foreground-neutral-muted">
|
|
53
|
-
Provider accounts installed in this workspace.
|
|
54
|
-
</Text>
|
|
55
52
|
</div>
|
|
56
53
|
|
|
57
54
|
{isPending ? <InstalledSkeleton label="Loading integrations" /> : null}
|
|
@@ -148,9 +148,6 @@ export function IntegrationGalleryForWorkspace({
|
|
|
148
148
|
<section className="flex flex-col gap-group" aria-label="Available integrations">
|
|
149
149
|
<div className="flex flex-col gap-tight">
|
|
150
150
|
<Header variant="h3">Available integrations</Header>
|
|
151
|
-
<Text size="sm" className="text-foreground-neutral-muted">
|
|
152
|
-
Providers available to install in this workspace.
|
|
153
|
-
</Text>
|
|
154
151
|
</div>
|
|
155
152
|
|
|
156
153
|
{workspaceSlug ? (
|
|
@@ -244,7 +244,9 @@ describe('IntegrationGallery — installed section', () => {
|
|
|
244
244
|
|
|
245
245
|
expect(await screen.findByText('acme-one')).toBeVisible();
|
|
246
246
|
expect(screen.getByText('acme-two')).toBeVisible();
|
|
247
|
-
expect(
|
|
247
|
+
expect(
|
|
248
|
+
screen.queryByText('Provider accounts installed in this workspace.'),
|
|
249
|
+
).not.toBeInTheDocument();
|
|
248
250
|
});
|
|
249
251
|
|
|
250
252
|
test('sorts stably by provider name then created_at regardless of input order', async () => {
|
|
@@ -592,7 +594,9 @@ describe('IntegrationGallery: available section', () => {
|
|
|
592
594
|
expect(await screen.findByRole('link', {name: 'Install GitHub'})).toBeVisible();
|
|
593
595
|
expect(screen.getByRole('link', {name: 'Install Sentry'})).toBeVisible();
|
|
594
596
|
expect(screen.getByRole('button', {name: 'Add Webhook'})).toBeVisible();
|
|
595
|
-
expect(
|
|
597
|
+
expect(
|
|
598
|
+
screen.queryByText('Providers available to install in this workspace.'),
|
|
599
|
+
).not.toBeInTheDocument();
|
|
596
600
|
});
|
|
597
601
|
|
|
598
602
|
test('exposes each available tile as a single link with no nested button', async () => {
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
import {defineRoute} from '@shipfox/client-shell/runtime';
|
|
2
|
+
import {Header} from '@shipfox/react-ui/typography';
|
|
2
3
|
import {IntegrationGallery} from '#index.js';
|
|
3
4
|
|
|
4
5
|
export default defineRoute({
|
|
5
6
|
staticData: {frame: 'content'},
|
|
6
|
-
component:
|
|
7
|
+
component: () => (
|
|
8
|
+
<div className="flex min-w-0 flex-col gap-section">
|
|
9
|
+
<Header variant="h1">Integrations</Header>
|
|
10
|
+
<IntegrationGallery />
|
|
11
|
+
</div>
|
|
12
|
+
),
|
|
7
13
|
});
|