feat: add bookmark widget #2553
Annotations
16 errors and 1 warning
format
@homarr/definitions#format: command (/home/runner/work/homarr/homarr/packages/definitions) /home/runner/setup-pnpm/node_modules/.bin/pnpm run format --cache --cache-location node_modules/.cache/.prettiercache exited (1)
|
format
@homarr/translation#format: command (/home/runner/work/homarr/homarr/packages/translation) /home/runner/setup-pnpm/node_modules/.bin/pnpm run format --cache --cache-location node_modules/.cache/.prettiercache exited (1)
|
format
@homarr/widgets#format: command (/home/runner/work/homarr/homarr/packages/widgets) /home/runner/setup-pnpm/node_modules/.bin/pnpm run format --cache --cache-location node_modules/.cache/.prettiercache exited (1)
|
format
Process completed with exit code 1.
|
packages/integrations/test/home-assistant.spec.ts > Home Assistant integration > Test connection should work:
packages/integrations/test/home-assistant.spec.ts#L26
AssertionError: promise rejected "Error: Checking integration connection fa… { …(3) }" instead of resolving
❯ packages/integrations/test/home-assistant.spec.ts:26:28
Caused by: Caused by: Error: Checking integration connection failed
❯ throwErrorByStatusCode packages/integrations/src/base/integration.ts:102:13
❯ HomeAssistantIntegration.handleTestConnectionResponseAsync packages/integrations/src/base/integration.ts:77:7
❯ HomeAssistantIntegration.testConnectionAsync packages/integrations/src/homeassistant/homeassistant-integration.ts:61:5
❯ actAsync packages/integrations/test/home-assistant.spec.ts:23:34
❯ packages/integrations/test/home-assistant.spec.ts:26:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { flattenResult: { key: 'unauthorized', message: undefined }, key: 'unauthorized', detailMessage: undefined, flatten: 'Function<flatten>' }
|
packages/widgets/src/test/translation.spec.ts > Widget properties with description should have matching translations > should have matching translations for items option description of bookmarks widget:
packages/widgets/src/test/translation.spec.ts#L16
Error: Option items not found in translation
❯ packages/widgets/src/test/translation.spec.ts:16:19
|
packages/widgets/src/test/translation.spec.ts > Widget properties should have matching name translations > should have matching translations for items option name of bookmarks widget:
packages/widgets/src/test/translation.spec.ts#L34
Error: Option items not found in translation
❯ packages/widgets/src/test/translation.spec.ts:34:17
|
test
Process completed with exit code 1.
|
typecheck
Type 'string | number | boolean | string[] | never[] | OptionLocation | undefined' is not assignable to type 'ReactNode'.
|
typecheck
Type '{ type: "orderedObjectList"; defaultValue: never[]; itemComponent: ((item: BookmarkItem) => React.ReactNode) | null; }' is not assignable to type 'WidgetOptionDefinition'.
|
typecheck
@homarr/cron-jobs#typecheck: command (/home/runner/work/homarr/homarr/packages/cron-jobs) /home/runner/setup-pnpm/node_modules/.bin/pnpm run typecheck exited (2)
|
typecheck
Process completed with exit code 2.
|
lint:
packages/widgets/src/_inputs/widget-ordered-object-list-input.tsx#L3
'property' is defined but never used. Allowed unused args must match /^_/u
|
lint:
packages/widgets/src/_inputs/widget-ordered-object-list-input.tsx#L3
'kind' is defined but never used. Allowed unused args must match /^_/u
|
lint
@homarr/widgets#lint: command (/home/runner/work/homarr/homarr/packages/widgets) /home/runner/setup-pnpm/node_modules/.bin/pnpm run lint --cache --cache-location node_modules/.cache/.eslintcache exited (1)
|
lint
Process completed with exit code 1.
|
lint:
packages/widgets/src/options.ts#L8
All imports in the declaration are only used as types. Use `import type`
|