@shipfox/client-triggers 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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@shipfox/client-triggers",
3
3
  "license": "MIT",
4
- "version": "22.0.0",
4
+ "version": "22.0.2",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/ShipfoxHQ/shipfox.git",
@@ -28,11 +28,11 @@
28
28
  "@swc/helpers": "^0.5.17",
29
29
  "@shipfox/api-triggers-dto": "9.0.2",
30
30
  "@shipfox/client-api": "6.0.1",
31
- "@shipfox/client-projects": "22.0.0",
32
- "@shipfox/client-shell": "22.0.0",
33
- "@shipfox/client-ui": "22.0.0",
34
- "@shipfox/integration-icons": "0.3.5",
35
- "@shipfox/react-ui": "2.1.0"
31
+ "@shipfox/client-projects": "22.0.2",
32
+ "@shipfox/client-shell": "22.0.2",
33
+ "@shipfox/client-ui": "22.0.2",
34
+ "@shipfox/integration-icons": "0.3.6",
35
+ "@shipfox/react-ui": "2.1.1"
36
36
  },
37
37
  "peerDependencies": {
38
38
  "@tanstack/react-query": "^5.101.0",
@@ -0,0 +1,7 @@
1
+ import eventsSettingsRoute from './events-settings.js';
2
+
3
+ describe('events settings route', () => {
4
+ test('uses the content frame', () => {
5
+ expect(eventsSettingsRoute.options.staticData.frame).toBe('content');
6
+ });
7
+ });
@@ -1,4 +1,5 @@
1
1
  import {defineRoute, useActiveWorkspace} from '@shipfox/client-shell/runtime';
2
+ import {Header} from '@shipfox/react-ui/typography';
2
3
  import {getRouteApi} from '@tanstack/react-router';
3
4
  import type {TriggerEventFilters} from '#core/trigger-event.js';
4
5
  import {EventsPage} from '#pages/events-page.js';
@@ -15,7 +16,7 @@ function validateSearch(search: Record<string, unknown>): TriggerEventsSearch {
15
16
  }
16
17
 
17
18
  export default defineRoute({
18
- staticData: {frame: 'data'},
19
+ staticData: {frame: 'content'},
19
20
  validateSearch,
20
21
  component: () => {
21
22
  const workspace = useActiveWorkspace();
@@ -25,12 +26,15 @@ export default defineRoute({
25
26
  void navigate({search: {...search, ...patch}, replace: true});
26
27
  };
27
28
  return (
28
- <EventsPage
29
- workspaceId={workspace.id}
30
- workspaceSlug={workspace.slug}
31
- filters={search}
32
- onFiltersChange={onFiltersChange}
33
- />
29
+ <div className="flex min-w-0 flex-col gap-section">
30
+ <Header variant="h1">Events</Header>
31
+ <EventsPage
32
+ workspaceId={workspace.id}
33
+ workspaceSlug={workspace.slug}
34
+ filters={search}
35
+ onFiltersChange={onFiltersChange}
36
+ />
37
+ </div>
34
38
  );
35
39
  },
36
40
  });