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: split residential unit List component schemas into six options #3250

Merged
merged 5 commits into from
Jun 6, 2024

Conversation

jessicamcinchak
Copy link
Member

@jessicamcinchak jessicamcinchak commented Jun 6, 2024

Schemas based on this flow: https://editor.planx.uk/opensystemslab/residential-units

See thread here: https://opensystemslab.slack.com/archives/C5Q59R3HB/p1717676834944659?thread_ts=1717416055.509189&cid=C5Q59R3HB

Also adjusts summary totals calculated onSubmit to include both count of list items and sum of all units.

Eventually, we'll want to calculate totals by tenure and unit type - but we should consider capturing the val, rather than text in the passport first.

Copy link

github-actions bot commented Jun 6, 2024

Removed vultr server and associated DNS entries

@@ -181,7 +181,7 @@ const Root = () => {
sx={{ width: "100%" }}
data-testid="list-add-button"
>
+ Add a new {schema.type.toLowerCase()} description
+ Add another {schema.type.toLowerCase()} description
Copy link
Member Author

@jessicamcinchak jessicamcinchak Jun 6, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One of the GLA schemas has type: "New built residential unit", so "another" prevents "new new"

@jessicamcinchak jessicamcinchak marked this pull request as ready for review June 6, 2024 17:55
@jessicamcinchak jessicamcinchak changed the title chore: split residential unit list component schemas into six options chore: split residential unit List component schemas into six options Jun 6, 2024
@jessicamcinchak jessicamcinchak merged commit 94220d6 into main Jun 6, 2024
12 checks passed
@jessicamcinchak jessicamcinchak deleted the jess/list-schemas-x6 branch June 6, 2024 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant