Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Bump planx-core #3189

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion api.planx.uk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"dependencies": {
"@airbrake/node": "^2.1.8",
"@opensystemslab/planx-core": "git+https://github.com/theopensystemslab/planx-core#2732b6e",
"@opensystemslab/planx-core": "git+https://github.com/theopensystemslab/planx-core#550634a",
"@types/isomorphic-fetch": "^0.0.36",
"adm-zip": "^0.5.10",
"aws-sdk": "^2.1467.0",
Expand Down
14 changes: 7 additions & 7 deletions api.planx.uk/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion e2e/tests/api-driven/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
},
"dependencies": {
"@cucumber/cucumber": "^9.3.0",
"@opensystemslab/planx-core": "git+https://github.com/theopensystemslab/planx-core#2732b6e",
"@opensystemslab/planx-core": "git+https://github.com/theopensystemslab/planx-core#550634a",
"axios": "^1.6.8",
"dotenv": "^16.3.1",
"dotenv-expand": "^10.0.0",
Expand Down
14 changes: 7 additions & 7 deletions e2e/tests/api-driven/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion e2e/tests/ui-driven/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"postinstall": "./install-dependencies.sh"
},
"dependencies": {
"@opensystemslab/planx-core": "git+https://github.com/theopensystemslab/planx-core#2732b6e",
"@opensystemslab/planx-core": "git+https://github.com/theopensystemslab/planx-core#550634a",
"axios": "^1.6.8",
"dotenv": "^16.3.1",
"eslint": "^8.56.0",
Expand Down
14 changes: 7 additions & 7 deletions e2e/tests/ui-driven/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion editor.planx.uk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@mui/material": "^5.15.2",
"@mui/utils": "^5.15.2",
"@opensystemslab/map": "^0.8.2",
"@opensystemslab/planx-core": "git+https://github.com/theopensystemslab/planx-core#2732b6e",
"@opensystemslab/planx-core": "git+https://github.com/theopensystemslab/planx-core#550634a",
"@tiptap/core": "^2.0.3",
"@tiptap/extension-bold": "^2.0.3",
"@tiptap/extension-bubble-menu": "^2.1.13",
Expand Down
17 changes: 9 additions & 8 deletions editor.planx.uk/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ const presentationalComponents: {
[TYPES.SetValue]: undefined,
[TYPES.Question]: Question,
[TYPES.TaskList]: undefined,
[TYPES.List]: undefined,
[TYPES.TextInput]: TextInput,
} as const;

Expand Down
1 change: 1 addition & 0 deletions editor.planx.uk/src/@planx/components/ui.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ export const ICONS: {
[TYPES.Question]: CallSplit,
[TYPES.TaskList]: List,
[TYPES.TextInput]: Create,
[TYPES.List]: undefined,
} as const;

interface MoreInformationProps {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@ const Node: React.FC<any> = (props) => {
return <Question {...allProps} text={node?.data?.title ?? "Contact"} />;
case TYPES.Flow:
return null;
case TYPES.List:
return null;
default:
console.error({ nodeNotFound: props });
return exhaustiveCheck(type);
Expand Down
1 change: 1 addition & 0 deletions editor.planx.uk/src/pages/FlowEditor/data/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export const SLUGS: {
[TYPES.Question]: "question",
[TYPES.TaskList]: "task-list",
[TYPES.TextInput]: "text-input",
[TYPES.List]: "list",
} as const;

export const fromSlug = (slug: string): TYPES | undefined => {
Expand Down
1 change: 1 addition & 0 deletions editor.planx.uk/src/pages/Preview/Node.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ const Node: React.FC<any> = (props: Props) => {
case TYPES.Flow:
case TYPES.InternalPortal:
case TYPES.Answer:
case TYPES.List:
case undefined:
return null;
default:
Expand Down
Loading