Enum custom field UI #4112
main.yml
on: pull_request
Matrix: check-types / Test
Matrix: lint / Test
Matrix: playwright-test / Test
Matrix: unit-test / Test
Annotations
12 errors, 5 warnings, and 1 notice
check-types / Test (18, ubuntu-latest):
src/features/import/utils/problems/predictProblems.spec.ts#L19
Type '{ id: number; title: string; slug: string; description: string | null; type: CUSTOM_FIELD_TYPE; organization: Pick<ZetkinOrganization, "id" | "title">; enum_choices?: EnumChoice[] | undefined; }' is not assignable to type 'ZetkinCustomField'.
|
check-types / Test (18, ubuntu-latest):
src/features/import/utils/problems/predictProblems.ts#L15
Property '[CUSTOM_FIELD_TYPE.ENUM_TEXT]' is missing in type '{ date: (value: string) => boolean; json: () => true; text: () => true; url: (value: string) => boolean; }' but required in type 'Record<CUSTOM_FIELD_TYPE, (value: string) => boolean>'.
|
check-types / Test (18, ubuntu-latest):
src/features/profile/components/PersonDetailsCard.stories.tsx#L26
Property 'enum_choices' is missing in type '{ description: null; id: number; organization: ZetkinOrganization; slug: string; title: string; type: CUSTOM_FIELD_TYPE.DATE; }' but required in type 'ZetkinCustomField'.
|
check-types / Test (18, ubuntu-latest):
src/features/profile/components/PersonDetailsCard.stories.tsx#L34
Property 'enum_choices' is missing in type '{ description: null; id: number; organization: ZetkinOrganization; slug: string; title: string; type: CUSTOM_FIELD_TYPE.URL; }' but required in type 'ZetkinCustomField'.
|
check-types / Test (18, ubuntu-latest):
src/features/profile/components/PersonDetailsCard.stories.tsx#L42
Property 'enum_choices' is missing in type '{ description: null; id: number; organization: ZetkinOrganization; slug: string; title: string; type: CUSTOM_FIELD_TYPE.URL; }' but required in type 'ZetkinCustomField'.
|
check-types / Test (18, ubuntu-latest)
Process completed with exit code 2.
|
lint / Test (18, ubuntu-latest):
src/features/profile/components/EditPersonDialog/EditPersonFields.tsx#L10
'NativeSelect' is defined but never used
|
lint / Test (18, ubuntu-latest):
src/features/profile/components/EditPersonDialog/EditPersonFields.tsx#L233
Props should be sorted alphabetically
|
lint / Test (18, ubuntu-latest):
src/features/profile/components/EditPersonDialog/EditPersonFields.tsx#L236
Props should be sorted alphabetically
|
lint / Test (18, ubuntu-latest)
Process completed with exit code 1.
|
playwright-test / Test (18, ubuntu-latest)
Error: Command failed: next build
Failed to compile.
./src/features/profile/components/EditPersonDialog/EditPersonFields.tsx
10:3 Error: 'NativeSelect' is defined but never used. @typescript-eslint/no-unused-vars
233:19 Error: Props should be sorted alphabetically react/jsx-sort-props
236:19 Error: Props should be sorted alphabetically react/jsx-sort-props
info - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules
|
playwright-test / Test (18, ubuntu-latest)
Process completed with exit code 1.
|
check-types / Test (18, ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
lint / Test (18, ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
unit-test / Test (18, ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "artifact".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
playwright-test / Test (18, ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
🎭 Playwright Run Summary
92 skipped
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
artifact
|
446 KB |
|