@dxos/plugin-pipeline 0.8.4-main.7996785055 → 0.8.4-main.bcb3aa67d6

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.
Files changed (51) hide show
  1. package/dist/lib/browser/index.mjs +42 -34
  2. package/dist/lib/browser/index.mjs.map +4 -4
  3. package/dist/lib/browser/meta.json +1 -1
  4. package/dist/types/src/PipelinePlugin.d.ts.map +1 -1
  5. package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -0
  6. package/dist/types/src/capabilities/index.d.ts +3 -2
  7. package/dist/types/src/capabilities/index.d.ts.map +1 -1
  8. package/dist/types/src/capabilities/react-surface.d.ts.map +1 -0
  9. package/dist/types/src/components/PipelineComponent/PipelineComponent.stories.d.ts +21 -21
  10. package/dist/types/src/components/PipelineComponent/PipelineComponent.stories.d.ts.map +1 -1
  11. package/dist/types/src/containers/PipelineContainer/PipelineContainer.d.ts +2 -2
  12. package/dist/types/src/containers/PipelineContainer/PipelineContainer.d.ts.map +1 -1
  13. package/dist/types/src/containers/PipelineContainer/PipelineContainer.stories.d.ts +29 -29
  14. package/dist/types/src/containers/PipelineContainer/PipelineContainer.stories.d.ts.map +1 -1
  15. package/dist/types/src/containers/PipelineObjectSettings/PipelineObjectSettings.d.ts.map +1 -1
  16. package/dist/types/src/hooks/usePipelineBoardModel.d.ts.map +1 -1
  17. package/dist/types/src/translations.d.ts +22 -22
  18. package/dist/types/src/translations.d.ts.map +1 -1
  19. package/dist/types/tsconfig.tsbuildinfo +1 -1
  20. package/package.json +49 -41
  21. package/src/PipelinePlugin.tsx +3 -2
  22. package/src/capabilities/{app-graph-builder/app-graph-builder.ts → app-graph-builder.ts} +10 -19
  23. package/src/capabilities/index.ts +4 -2
  24. package/src/capabilities/{react-surface/react-surface.tsx → react-surface.tsx} +2 -2
  25. package/src/components/PipelineComponent/PipelineColumn.tsx +3 -3
  26. package/src/components/PipelineComponent/PipelineComponent.stories.tsx +1 -1
  27. package/src/components/PipelineComponent/PipelineComponent.tsx +3 -3
  28. package/src/containers/PipelineContainer/PipelineContainer.tsx +6 -6
  29. package/src/containers/PipelineObjectSettings/PipelineObjectSettings.tsx +8 -9
  30. package/src/hooks/usePipelineBoardModel.ts +1 -1
  31. package/src/translations.ts +22 -22
  32. package/dist/lib/browser/PipelineContainer-LY2P4JPA.mjs +0 -345
  33. package/dist/lib/browser/PipelineContainer-LY2P4JPA.mjs.map +0 -7
  34. package/dist/lib/browser/PipelineObjectSettings-QFMIKJH5.mjs +0 -220
  35. package/dist/lib/browser/PipelineObjectSettings-QFMIKJH5.mjs.map +0 -7
  36. package/dist/lib/browser/app-graph-builder-QQKBLYFD.mjs +0 -56
  37. package/dist/lib/browser/app-graph-builder-QQKBLYFD.mjs.map +0 -7
  38. package/dist/lib/browser/chunk-3A235GUD.mjs +0 -21
  39. package/dist/lib/browser/chunk-3A235GUD.mjs.map +0 -7
  40. package/dist/lib/browser/react-surface-QVPKOGEI.mjs +0 -61
  41. package/dist/lib/browser/react-surface-QVPKOGEI.mjs.map +0 -7
  42. package/dist/types/src/capabilities/app-graph-builder/app-graph-builder.d.ts.map +0 -1
  43. package/dist/types/src/capabilities/app-graph-builder/index.d.ts +0 -3
  44. package/dist/types/src/capabilities/app-graph-builder/index.d.ts.map +0 -1
  45. package/dist/types/src/capabilities/react-surface/index.d.ts +0 -3
  46. package/dist/types/src/capabilities/react-surface/index.d.ts.map +0 -1
  47. package/dist/types/src/capabilities/react-surface/react-surface.d.ts.map +0 -1
  48. package/src/capabilities/app-graph-builder/index.ts +0 -7
  49. package/src/capabilities/react-surface/index.ts +0 -7
  50. /package/dist/types/src/capabilities/{app-graph-builder/app-graph-builder.d.ts → app-graph-builder.d.ts} +0 -0
  51. /package/dist/types/src/capabilities/{react-surface/react-surface.d.ts → react-surface.d.ts} +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dxos/plugin-pipeline",
3
- "version": "0.8.4-main.7996785055",
3
+ "version": "0.8.4-main.bcb3aa67d6",
4
4
  "description": "Pipeline plugin for Composer",
5
5
  "homepage": "https://dxos.org",
6
6
  "bugs": "https://github.com/dxos/dxos/issues",
@@ -12,6 +12,14 @@
12
12
  "author": "DXOS.org",
13
13
  "sideEffects": true,
14
14
  "type": "module",
15
+ "imports": {
16
+ "#capabilities": "./src/capabilities/index.ts",
17
+ "#components": "./src/components/index.ts",
18
+ "#containers": "./src/containers/index.ts",
19
+ "#hooks": "./src/hooks/index.ts",
20
+ "#meta": "./src/meta.ts",
21
+ "#types": "./src/types/index.ts"
22
+ },
15
23
  "exports": {
16
24
  ".": {
17
25
  "source": "./src/index.ts",
@@ -41,34 +49,34 @@
41
49
  "@radix-ui/react-context": "1.1.1",
42
50
  "@radix-ui/react-slot": "1.1.2",
43
51
  "effect": "3.20.0",
44
- "@dxos/app-framework": "0.8.4-main.7996785055",
45
- "@dxos/app-toolkit": "0.8.4-main.7996785055",
46
- "@dxos/assistant-toolkit": "0.8.4-main.7996785055",
47
- "@dxos/async": "0.8.4-main.7996785055",
48
- "@dxos/devtools": "0.8.4-main.7996785055",
49
- "@dxos/echo": "0.8.4-main.7996785055",
50
- "@dxos/functions": "0.8.4-main.7996785055",
51
- "@dxos/log": "0.8.4-main.7996785055",
52
- "@dxos/echo-query": "0.8.4-main.7996785055",
53
- "@dxos/plugin-client": "0.8.4-main.7996785055",
54
- "@dxos/echo-atom": "0.8.4-main.7996785055",
55
- "@dxos/operation": "0.8.4-main.7996785055",
56
- "@dxos/plugin-deck": "0.8.4-main.7996785055",
57
- "@dxos/plugin-graph": "0.8.4-main.7996785055",
58
- "@dxos/plugin-inbox": "0.8.4-main.7996785055",
59
- "@dxos/plugin-markdown": "0.8.4-main.7996785055",
60
- "@dxos/plugin-space": "0.8.4-main.7996785055",
61
- "@dxos/react-ui-attention": "0.8.4-main.7996785055",
62
- "@dxos/react-client": "0.8.4-main.7996785055",
63
- "@dxos/react-ui-components": "0.8.4-main.7996785055",
64
- "@dxos/react-ui-form": "0.8.4-main.7996785055",
65
- "@dxos/react-ui-list": "0.8.4-main.7996785055",
66
- "@dxos/react-ui-menu": "0.8.4-main.7996785055",
67
- "@dxos/react-ui-mosaic": "0.8.4-main.7996785055",
68
- "@dxos/react-ui-stack": "0.8.4-main.7996785055",
69
- "@dxos/schema": "0.8.4-main.7996785055",
70
- "@dxos/util": "0.8.4-main.7996785055",
71
- "@dxos/types": "0.8.4-main.7996785055"
52
+ "@dxos/app-framework": "0.8.4-main.bcb3aa67d6",
53
+ "@dxos/app-toolkit": "0.8.4-main.bcb3aa67d6",
54
+ "@dxos/assistant-toolkit": "0.8.4-main.bcb3aa67d6",
55
+ "@dxos/devtools": "0.8.4-main.bcb3aa67d6",
56
+ "@dxos/echo": "0.8.4-main.bcb3aa67d6",
57
+ "@dxos/async": "0.8.4-main.bcb3aa67d6",
58
+ "@dxos/echo-atom": "0.8.4-main.bcb3aa67d6",
59
+ "@dxos/echo-query": "0.8.4-main.bcb3aa67d6",
60
+ "@dxos/log": "0.8.4-main.bcb3aa67d6",
61
+ "@dxos/functions": "0.8.4-main.bcb3aa67d6",
62
+ "@dxos/operation": "0.8.4-main.bcb3aa67d6",
63
+ "@dxos/plugin-client": "0.8.4-main.bcb3aa67d6",
64
+ "@dxos/plugin-graph": "0.8.4-main.bcb3aa67d6",
65
+ "@dxos/plugin-inbox": "0.8.4-main.bcb3aa67d6",
66
+ "@dxos/plugin-space": "0.8.4-main.bcb3aa67d6",
67
+ "@dxos/plugin-deck": "0.8.4-main.bcb3aa67d6",
68
+ "@dxos/react-client": "0.8.4-main.bcb3aa67d6",
69
+ "@dxos/plugin-markdown": "0.8.4-main.bcb3aa67d6",
70
+ "@dxos/react-ui-attention": "0.8.4-main.bcb3aa67d6",
71
+ "@dxos/react-ui-form": "0.8.4-main.bcb3aa67d6",
72
+ "@dxos/react-ui-components": "0.8.4-main.bcb3aa67d6",
73
+ "@dxos/react-ui-list": "0.8.4-main.bcb3aa67d6",
74
+ "@dxos/react-ui-menu": "0.8.4-main.bcb3aa67d6",
75
+ "@dxos/react-ui-mosaic": "0.8.4-main.bcb3aa67d6",
76
+ "@dxos/react-ui-stack": "0.8.4-main.bcb3aa67d6",
77
+ "@dxos/schema": "0.8.4-main.bcb3aa67d6",
78
+ "@dxos/util": "0.8.4-main.bcb3aa67d6",
79
+ "@dxos/types": "0.8.4-main.bcb3aa67d6"
72
80
  },
73
81
  "devDependencies": {
74
82
  "@effect-atom/atom-react": "^0.5.0",
@@ -77,24 +85,24 @@
77
85
  "react": "~19.2.3",
78
86
  "react-dom": "~19.2.3",
79
87
  "vite": "^7.1.11",
80
- "@dxos/echo-db": "0.8.4-main.7996785055",
81
- "@dxos/plugin-attention": "0.8.4-main.7996785055",
82
- "@dxos/plugin-preview": "0.8.4-main.7996785055",
83
- "@dxos/plugin-theme": "0.8.4-main.7996785055",
84
- "@dxos/plugin-testing": "0.8.4-main.7996785055",
85
- "@dxos/react-ui": "0.8.4-main.7996785055",
86
- "@dxos/random": "0.8.4-main.7996785055",
87
- "@dxos/storybook-utils": "0.8.4-main.7996785055",
88
- "@dxos/plugin-inbox": "0.8.4-main.7996785055",
89
- "@dxos/ui-theme": "0.8.4-main.7996785055"
88
+ "@dxos/echo-db": "0.8.4-main.bcb3aa67d6",
89
+ "@dxos/plugin-attention": "0.8.4-main.bcb3aa67d6",
90
+ "@dxos/plugin-inbox": "0.8.4-main.bcb3aa67d6",
91
+ "@dxos/plugin-preview": "0.8.4-main.bcb3aa67d6",
92
+ "@dxos/plugin-testing": "0.8.4-main.bcb3aa67d6",
93
+ "@dxos/random": "0.8.4-main.bcb3aa67d6",
94
+ "@dxos/storybook-utils": "0.8.4-main.bcb3aa67d6",
95
+ "@dxos/plugin-theme": "0.8.4-main.bcb3aa67d6",
96
+ "@dxos/ui-theme": "0.8.4-main.bcb3aa67d6",
97
+ "@dxos/react-ui": "0.8.4-main.bcb3aa67d6"
90
98
  },
91
99
  "peerDependencies": {
92
100
  "@effect-atom/atom-react": "^0.5.0",
93
101
  "effect": "3.20.0",
94
102
  "react": "~19.2.3",
95
103
  "react-dom": "~19.2.3",
96
- "@dxos/react-ui": "0.8.4-main.7996785055",
97
- "@dxos/ui-theme": "0.8.4-main.7996785055"
104
+ "@dxos/react-ui": "0.8.4-main.bcb3aa67d6",
105
+ "@dxos/ui-theme": "0.8.4-main.bcb3aa67d6"
98
106
  },
99
107
  "publishConfig": {
100
108
  "access": "public"
@@ -13,10 +13,11 @@ import { type CreateObject } from '@dxos/plugin-space/types';
13
13
  import { SpaceOperation } from '@dxos/plugin-space/operations';
14
14
  import { Pipeline } from '@dxos/types';
15
15
 
16
- import { AppGraphBuilder, ReactSurface } from './capabilities';
17
- import { meta } from './meta';
16
+ import { meta } from '#meta';
18
17
  import { translations } from './translations';
19
18
 
19
+ import { AppGraphBuilder, ReactSurface } from '#capabilities';
20
+
20
21
  export const PipelinePlugin = Plugin.define(meta).pipe(
21
22
  AppPlugin.addAppGraphModule({ activate: AppGraphBuilder }),
22
23
  AppPlugin.addMetadataModule({
@@ -5,12 +5,11 @@
5
5
  import * as Effect from 'effect/Effect';
6
6
 
7
7
  import { Capability } from '@dxos/app-framework';
8
- import { AppCapabilities } from '@dxos/app-toolkit';
9
- import { PLANK_COMPANION_TYPE } from '@dxos/plugin-deck/types';
8
+ import { AppCapabilities, AppNode } from '@dxos/app-toolkit';
10
9
  import { GraphBuilder } from '@dxos/plugin-graph';
11
10
  import { Pipeline } from '@dxos/types';
12
11
 
13
- import { meta } from '../../meta';
12
+ import { meta } from '#meta';
14
13
 
15
14
  export default Capability.makeModule(
16
15
  Effect.fnUntraced(function* () {
@@ -20,26 +19,18 @@ export default Capability.makeModule(
20
19
  type: Pipeline.Pipeline,
21
20
  connector: () =>
22
21
  Effect.succeed([
23
- {
22
+ AppNode.makeCompanion({
24
23
  id: 'invocations',
25
- type: PLANK_COMPANION_TYPE,
24
+ label: ['pipeline-invocations.label', { ns: meta.id }],
25
+ icon: 'ph--clock-countdown--regular',
26
26
  data: 'invocations',
27
- properties: {
28
- label: ['pipeline invocations label', { ns: meta.id }],
29
- icon: 'ph--clock-countdown--regular',
30
- disposition: 'hidden',
31
- },
32
- },
33
- {
27
+ }),
28
+ AppNode.makeCompanion({
34
29
  id: 'automation',
35
- type: PLANK_COMPANION_TYPE,
30
+ label: ['pipeline-automation.label', { ns: meta.id }],
31
+ icon: 'ph--lightning--regular',
36
32
  data: 'automation',
37
- properties: {
38
- label: ['pipeline automation label', { ns: meta.id }],
39
- icon: 'ph--lightning--regular',
40
- disposition: 'hidden',
41
- },
42
- },
33
+ }),
43
34
  ]),
44
35
  }),
45
36
  ]);
@@ -2,5 +2,7 @@
2
2
  // Copyright 2025 DXOS.org
3
3
  //
4
4
 
5
- export * from './app-graph-builder';
6
- export * from './react-surface';
5
+ import { Capability } from '@dxos/app-framework';
6
+
7
+ export const AppGraphBuilder = Capability.lazy('AppGraphBuilder', () => import('./app-graph-builder'));
8
+ export const ReactSurface = Capability.lazy('ReactSurface', () => import('./react-surface'));
@@ -12,8 +12,8 @@ import { Obj } from '@dxos/echo';
12
12
  import { Panel } from '@dxos/react-ui';
13
13
  import { Pipeline } from '@dxos/types';
14
14
 
15
- import { PipelineContainer, PipelineObjectSettings } from '../../containers';
16
- import { meta } from '../../meta';
15
+ import { PipelineContainer, PipelineObjectSettings } from '#containers';
16
+ import { meta } from '#meta';
17
17
 
18
18
  export default Capability.makeModule(() =>
19
19
  Effect.succeed(
@@ -8,8 +8,8 @@ import * as Option from 'effect/Option';
8
8
  import type * as Schema from 'effect/Schema';
9
9
  import React, { forwardRef, useMemo, useRef, useState } from 'react';
10
10
 
11
+ import { resolveSchemaWithRegistry } from '@dxos/app-toolkit/query';
11
12
  import { Annotation, JsonSchema, Obj, Query, Type } from '@dxos/echo';
12
- import { resolveSchemaWithRegistry } from '@dxos/plugin-space';
13
13
  import { Filter, getSpace, useObject } from '@dxos/react-client/echo';
14
14
  import { Panel, Toolbar, useAsyncEffect, useTranslation } from '@dxos/react-ui';
15
15
  import { Card } from '@dxos/react-ui';
@@ -17,7 +17,7 @@ import { Board, Focus, Mosaic, type MosaicTileProps } from '@dxos/react-ui-mosai
17
17
  import { ProjectionModel, createEchoChangeCallback } from '@dxos/schema';
18
18
  import { type Pipeline } from '@dxos/types';
19
19
 
20
- import { meta } from '../../meta';
20
+ import { meta } from '#meta';
21
21
 
22
22
  import { type ItemProps, usePipeline } from './PipelineComponent';
23
23
  import { Menu } from '@dxos/react-ui-menu';
@@ -92,7 +92,7 @@ export const PipelineColumn = ({ data: column, location, classNames, debug }: Pi
92
92
  <Panel.Toolbar asChild>
93
93
  <Board.Column.Header
94
94
  classNames='_opacity-10'
95
- label={column.name || t('untitled view title')}
95
+ label={column.name || t('untitled-view.title')}
96
96
  dragHandleRef={dragHandleRef}
97
97
  />
98
98
  </Panel.Toolbar>
@@ -20,7 +20,7 @@ import { createObjectFactory } from '@dxos/schema/testing';
20
20
  import { withRegistry } from '@dxos/storybook-utils';
21
21
  import { Person, Pipeline } from '@dxos/types';
22
22
 
23
- import { usePipelineBoardModel } from '../../hooks';
23
+ import { usePipelineBoardModel } from '#hooks';
24
24
  import { translations } from '../../translations';
25
25
 
26
26
  import { type ItemProps, PipelineComponent } from './PipelineComponent';
@@ -14,7 +14,7 @@ import { type ProjectionModel } from '@dxos/schema';
14
14
  import { type Pipeline } from '@dxos/types';
15
15
  import { composable, composableProps, slottable } from '@dxos/ui-theme';
16
16
 
17
- import { meta } from '../../meta';
17
+ import { meta } from '#meta';
18
18
 
19
19
  import { PipelineColumn } from './PipelineColumn';
20
20
 
@@ -66,7 +66,7 @@ const PipelineContent = slottable<HTMLDivElement, PipelineContentProps>(
66
66
  const Comp = asChild ? Slot : 'div';
67
67
  return (
68
68
  <Board.Root model={model}>
69
- <Comp {...composableProps(props, { role: 'none' })} ref={forwardedRef}>
69
+ <Comp {...composableProps(props)} ref={forwardedRef}>
70
70
  {children}
71
71
  </Comp>
72
72
  </Board.Root>
@@ -117,7 +117,7 @@ export const PipelineToolbar = composable<HTMLDivElement, ToolbarRootProps>(({ c
117
117
 
118
118
  return (
119
119
  <Toolbar.Root {...composableProps(props)} ref={forwardedRef}>
120
- <Toolbar.IconButton icon='ph--plus--regular' iconOnly label={t('add column label')} onClick={onAddColumn} />
120
+ <Toolbar.IconButton icon='ph--plus--regular' iconOnly label={t('add-column.label')} onClick={onAddColumn} />
121
121
  </Toolbar.Root>
122
122
  );
123
123
  });
@@ -11,22 +11,22 @@ import { Surface } from '@dxos/app-framework/ui';
11
11
  import {
12
12
  OBJECT_ACTIONS_CONTRIBUTION_ID,
13
13
  OBJECT_ACTIONS_CONTRIBUTION_PRIORITY,
14
- type SurfaceComponentProps,
14
+ type ObjectSurfaceProps,
15
15
  useObjectMenuItems,
16
16
  } from '@dxos/app-toolkit/ui';
17
- import { companionSegment } from '@dxos/app-toolkit';
17
+ import { linkedSegment } from '@dxos/react-ui-attention';
18
18
  import { DeckOperation } from '@dxos/plugin-deck/operations';
19
19
  import { Panel } from '@dxos/react-ui';
20
20
  import { useAttention } from '@dxos/react-ui-attention';
21
21
  import { useMenu } from '@dxos/react-ui-menu';
22
22
  import { type Pipeline } from '@dxos/types';
23
23
 
24
- import { type ItemProps, PipelineComponent } from '../../components';
25
- import { usePipelineBoardModel } from '../../hooks';
24
+ import { type ItemProps, PipelineComponent } from '#components';
25
+ import { usePipelineBoardModel } from '#hooks';
26
26
 
27
27
  const PIPELINE_ITEM = 'PipelineItem';
28
28
 
29
- export type PipelineContainerProps = SurfaceComponentProps<Pipeline.Pipeline>;
29
+ export type PipelineContainerProps = ObjectSurfaceProps<Pipeline.Pipeline>;
30
30
 
31
31
  export const PipelineContainer = ({ role, subject: pipeline, attendableId }: PipelineContainerProps) => {
32
32
  const registry = useCapability(Capabilities.AtomRegistry);
@@ -37,7 +37,7 @@ export const PipelineContainer = ({ role, subject: pipeline, attendableId }: Pip
37
37
  const handleColumnAdd = useCallback(
38
38
  () =>
39
39
  invokePromise(DeckOperation.ChangeCompanion, {
40
- companion: companionSegment('settings'),
40
+ companion: linkedSegment('settings'),
41
41
  }),
42
42
  [invokePromise],
43
43
  );
@@ -5,10 +5,10 @@
5
5
  import * as Schema from 'effect/Schema';
6
6
  import React, { useCallback, useMemo, useRef, useState } from 'react';
7
7
 
8
+ import { resolveSchemaWithRegistry } from '@dxos/app-toolkit/query';
8
9
  import { DXN, Filter, JsonSchema, Obj, Query, type QueryAST, Ref, Tag } from '@dxos/echo';
9
10
  import { type JsonPath, type Mutable } from '@dxos/echo/internal';
10
- import { useTypeOptions } from '@dxos/plugin-space';
11
- import { resolveSchemaWithRegistry } from '@dxos/plugin-space';
11
+ import { useTypeOptions } from '@dxos/app-toolkit/ui';
12
12
  import { getSpace, useObject, useQuery } from '@dxos/react-client/echo';
13
13
  import { IconButton, type ThemedClassName, useAsyncEffect, useTranslation } from '@dxos/react-ui';
14
14
  import { Form, ViewEditor } from '@dxos/react-ui-form';
@@ -18,14 +18,13 @@ import { Pipeline } from '@dxos/types';
18
18
  import { mx, osTranslations, subtleHover } from '@dxos/ui-theme';
19
19
  import { arrayMove } from '@dxos/util';
20
20
 
21
- import { meta } from '../../meta';
21
+ import { meta } from '#meta';
22
22
 
23
23
  const listGrid = 'grid grid-cols-[min-content_1fr_min-content_min-content_min-content]';
24
24
  const listItemGrid = 'grid grid-cols-subgrid col-span-5';
25
25
 
26
26
  const ColumnFormSchema = Pipeline.Column.pipe(Schema.mutable, Schema.pick('name'));
27
27
 
28
- // TODO(burdon): Standardize Object/Plugin settings.
29
28
  export type PipelineObjectSettingsProps = ThemedClassName<{
30
29
  pipeline: Pipeline.Pipeline;
31
30
  }>;
@@ -162,7 +161,7 @@ export const PipelineObjectSettings = ({ classNames, pipeline }: PipelineObjectS
162
161
 
163
162
  return (
164
163
  <div role='none' className={mx('py-form-padding overflow-y-auto', classNames)}>
165
- <h2 className='text-sm text-description py-1'>{t('views label')}</h2>
164
+ <h2 className='text-sm text-description py-1'>{t('views.label')}</h2>
166
165
 
167
166
  <List.Root<Pipeline.Column>
168
167
  items={columns}
@@ -183,10 +182,10 @@ export const PipelineObjectSettings = ({ classNames, pipeline }: PipelineObjectS
183
182
  <div role='none' className={mx(subtleHover, listItemGrid, 'rounded-xs cursor-pointer min-h-10')}>
184
183
  <List.ItemDragHandle />
185
184
  <List.ItemTitle onClick={() => handleToggleField(column)}>
186
- {column.name || t('untitled view title')}
185
+ {column.name || t('untitled-view.title')}
187
186
  </List.ItemTitle>
188
187
  <List.ItemDeleteButton
189
- label={t('delete view label')}
188
+ label={t('delete-view.label')}
190
189
  autoHide={false}
191
190
  onClick={() => handleDelete(column)}
192
191
  data-testid='view.delete'
@@ -194,7 +193,7 @@ export const PipelineObjectSettings = ({ classNames, pipeline }: PipelineObjectS
194
193
  <IconButton
195
194
  iconOnly
196
195
  variant='ghost'
197
- label={t('toggle expand label', { ns: osTranslations })}
196
+ label={t('toggle-expand.label', { ns: osTranslations })}
198
197
  icon={
199
198
  expandedId === column.view.dxn.toString()
200
199
  ? 'ph--caret-down--regular'
@@ -236,7 +235,7 @@ export const PipelineObjectSettings = ({ classNames, pipeline }: PipelineObjectS
236
235
  </List.Root>
237
236
 
238
237
  <div role='none' className='my-form-padding'>
239
- <IconButton icon='ph--plus--regular' label={t('add view label')} onClick={handleAdd} classNames='w-full' />
238
+ <IconButton icon='ph--plus--regular' label={t('add-view.label')} onClick={handleAdd} classNames='w-full' />
240
239
  </div>
241
240
  </div>
242
241
  );
@@ -6,9 +6,9 @@ import { Atom, type Registry } from '@effect-atom/atom-react';
6
6
  import * as Schema from 'effect/Schema';
7
7
  import { useMemo } from 'react';
8
8
 
9
+ import { getQueryTarget } from '@dxos/app-toolkit/query';
9
10
  import { Obj, Query } from '@dxos/echo';
10
11
  import { AtomObj, AtomQuery } from '@dxos/echo-atom';
11
- import { getQueryTarget } from '@dxos/plugin-space';
12
12
  import { getSpace, isSpace } from '@dxos/react-client/echo';
13
13
  import { type BoardModel } from '@dxos/react-ui-mosaic';
14
14
  import { Pipeline } from '@dxos/types';
@@ -4,35 +4,35 @@ import { Pipeline } from '@dxos/types';
4
4
  // Copyright 2023 DXOS.org
5
5
  //
6
6
 
7
- import { meta } from './meta';
7
+ import { meta } from '#meta';
8
8
 
9
9
  export const translations = [
10
10
  {
11
11
  'en-US': {
12
12
  [Pipeline.Pipeline.typename]: {
13
- 'typename label': 'Pipeline',
14
- 'typename label_zero': 'Pipelines',
15
- 'typename label_one': 'Pipeline',
16
- 'typename label_other': 'Pipelines',
17
- 'object name placeholder': 'New pipeline',
18
- 'add object label': 'Add pipeline',
19
- 'rename object label': 'Rename pipeline',
20
- 'delete object label': 'Delete pipeline',
21
- 'object deleted label': 'Pipeline deleted',
13
+ 'typename.label': 'Pipeline',
14
+ 'typename.label_zero': 'Pipelines',
15
+ 'typename.label_one': 'Pipeline',
16
+ 'typename.label_other': 'Pipelines',
17
+ 'object-name.placeholder': 'New pipeline',
18
+ 'add-object.label': 'Add pipeline',
19
+ 'rename-object.label': 'Rename pipeline',
20
+ 'delete-object.label': 'Delete pipeline',
21
+ 'object-deleted.label': 'Pipeline deleted',
22
22
  },
23
23
  [meta.id]: {
24
- 'plugin name': 'Pipelines',
25
- 'add column label': 'Add column',
26
- 'add card label': 'Add object',
27
- 'untitled view title': 'New view',
28
- 'enumerating tab label': 'List',
29
- 'editing tab label': 'Edit',
30
- 'views label': 'Views',
31
- 'pipeline invocations label': 'Invocations',
32
- 'pipeline automation label': 'Automations',
33
- 'toggle expand label': 'Toggle expand',
34
- 'delete view label': 'Delete view',
35
- 'add view label': 'Add view',
24
+ 'plugin.name': 'Pipelines',
25
+ 'add-column.label': 'Add column',
26
+ 'add-card.label': 'Add object',
27
+ 'untitled-view.title': 'New view',
28
+ 'enumerating-tab.label': 'List',
29
+ 'editing-tab.label': 'Edit',
30
+ 'views.label': 'Views',
31
+ 'pipeline-invocations.label': 'Invocations',
32
+ 'pipeline-automation.label': 'Automations',
33
+ 'toggle-expand.label': 'Toggle expand',
34
+ 'delete-view.label': 'Delete view',
35
+ 'add-view.label': 'Add view',
36
36
  },
37
37
  },
38
38
  },