@dxos/plugin-registry 0.9.1-main.c7dcc2e112 → 0.10.0
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/dist/lib/neutral/RegistryPlugin.node.mjs +10 -10
- package/dist/lib/neutral/RegistryPlugin.node.mjs.map +3 -3
- package/dist/lib/neutral/meta.json +1 -1
- package/dist/lib/neutral/translations.mjs +5 -5
- package/dist/lib/neutral/translations.mjs.map +1 -1
- package/dist/types/src/capabilities/app-graph-builder.d.ts +1 -2
- package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -1
- package/dist/types/src/capabilities/react-surface.d.ts +1 -1
- package/dist/types/src/capabilities/settings.d.ts +1 -10
- package/dist/types/src/capabilities/settings.d.ts.map +1 -1
- package/dist/types/src/commands/registry/publish-package.d.ts +1 -1
- package/dist/types/src/commands/registry/publish.d.ts +2 -2
- package/dist/types/src/commands/registry/unpublish.d.ts +2 -2
- package/dist/types/src/components/PluginDetail/PluginDetail.stories.d.ts +6 -5
- package/dist/types/src/components/PluginDetail/PluginDetail.stories.d.ts.map +1 -1
- package/dist/types/src/components/PluginFailureBadge/PluginFailureBadge.d.ts +1 -3
- package/dist/types/src/components/PluginFailureBadge/PluginFailureBadge.d.ts.map +1 -1
- package/dist/types/src/components/PluginList/PluginItem.d.ts.map +1 -1
- package/dist/types/src/components/PluginList/PluginList.d.ts.map +1 -1
- package/dist/types/src/components/PluginList/PluginList.stories.d.ts +5 -5
- package/dist/types/src/components/RegistrySettings/RegistrySettings.d.ts +5 -1
- package/dist/types/src/components/RegistrySettings/RegistrySettings.d.ts.map +1 -1
- package/dist/types/src/components/RegistrySettings/RegistrySettings.stories.d.ts +78 -0
- package/dist/types/src/components/RegistrySettings/RegistrySettings.stories.d.ts.map +1 -0
- package/dist/types/src/containers/PublicRegistryArticle/index.d.ts +1 -1
- package/dist/types/src/containers/PublicRegistryArticle/index.d.ts.map +1 -1
- package/dist/types/src/containers/RegistryArticle/index.d.ts +1 -1
- package/dist/types/src/containers/RegistryArticle/index.d.ts.map +1 -1
- package/dist/types/src/meta.d.ts +4 -0
- package/dist/types/src/meta.d.ts.map +1 -1
- package/dist/types/src/translations.d.ts +5 -5
- package/dist/types/src/translations.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +39 -39
- package/src/capabilities/app-graph-builder.ts +3 -2
- package/src/commands/registry/publish-package.ts +5 -5
- package/src/commands/registry/publish.ts +5 -5
- package/src/commands/registry/records.ts +1 -1
- package/src/commands/registry/unpublish.ts +6 -6
- package/src/commands/registry/util.ts +1 -1
- package/src/components/PluginDetail/PluginDetail.stories.tsx +31 -17
- package/src/components/PluginFailureBadge/PluginFailureBadge.tsx +20 -23
- package/src/components/PluginList/PluginItem.tsx +11 -8
- package/src/components/PluginList/PluginList.tsx +18 -13
- package/src/components/RegistrySettings/RegistrySettings.stories.tsx +45 -0
- package/src/components/RegistrySettings/RegistrySettings.tsx +43 -32
- package/src/containers/PublicRegistryArticle/index.ts +1 -1
- package/src/containers/RegistryArticle/index.ts +1 -1
- package/src/containers/RegistrySettingsContainer/RegistrySettingsContainer.tsx +1 -1
- package/src/translations.ts +5 -5
|
@@ -6,7 +6,7 @@ import { useAtomValue } from '@effect-atom/atom-react';
|
|
|
6
6
|
import * as Effect from 'effect/Effect';
|
|
7
7
|
import React, { useCallback } from 'react';
|
|
8
8
|
|
|
9
|
-
import {
|
|
9
|
+
import { usePluginManager, useSettingsState } from '@dxos/app-framework/ui';
|
|
10
10
|
import { type AppCapabilities } from '@dxos/app-toolkit';
|
|
11
11
|
import { EffectEx } from '@dxos/effect';
|
|
12
12
|
|
package/src/translations.ts
CHANGED
|
@@ -34,9 +34,9 @@ export const translations = [
|
|
|
34
34
|
'registry.loading.label': 'Loading registry plugins…',
|
|
35
35
|
'registry.error.label': 'Failed to load registry plugins: {{message}}',
|
|
36
36
|
'registry.empty.label': 'No registry plugins available.',
|
|
37
|
-
'dev-plugin.section.title': 'Dev
|
|
37
|
+
'dev-plugin.section.title': 'Dev Server',
|
|
38
38
|
'dev-plugin.description':
|
|
39
|
-
'Load a plugin from a local Vite dev server (the `composerPlugin` defaults to port 3967). Composer
|
|
39
|
+
'Load a plugin from a local Vite dev server (the `composerPlugin` defaults to port 3967). Composer re-attaches it on every reload, surviving HMR — useful when iterating on a community plugin against a live registry version.',
|
|
40
40
|
'dev-plugin.url.label': 'Manifest URL',
|
|
41
41
|
'dev-plugin.url.description':
|
|
42
42
|
'Defaults to the local dev server. Edit if your dev server runs on a different port.',
|
|
@@ -59,11 +59,11 @@ export const translations = [
|
|
|
59
59
|
'installed.label': 'installed',
|
|
60
60
|
'install-version.label': 'Install version',
|
|
61
61
|
'failure-badge.label': 'Plugin failure details',
|
|
62
|
-
'failure-title.label': 'Plugin {{phase}} failed
|
|
62
|
+
'failure-title.label': 'Plugin {{phase}} failed ({{reason}})',
|
|
63
63
|
'failure-phase-load.label': 'load',
|
|
64
64
|
'failure-phase-activation.label': 'activation',
|
|
65
|
-
'failure-reason-timeout.label': '
|
|
66
|
-
'failure-reason-error.label': '
|
|
65
|
+
'failure-reason-timeout.label': 'Timed out',
|
|
66
|
+
'failure-reason-error.label': 'Error',
|
|
67
67
|
'dependencies.label': 'Dependencies',
|
|
68
68
|
'dependents.label': 'Required by',
|
|
69
69
|
'spec.label': 'Specification',
|