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

Add 'manage' start page #239

Merged
merged 15 commits into from
Aug 12, 2024
Merged

Add 'manage' start page #239

merged 15 commits into from
Aug 12, 2024

Conversation

rosado
Copy link
Collaborator

@rosado rosado commented Aug 7, 2024

Ticket

Introduces new start page under /manage path.

Additionally, adds a 'serviceNames' (notice the plural) section to the config (and config schema). This is because we have three different services in the project (number arrived at by counting distinct values of 'serviceType' in the templates). The serviceType determines the title via use of getFullServiceName() function. That function was updated to use the new 'serviceNames' mapping. In effect it's possible to remove the 'serviceName' parameter from a number of places.

@GeorgeGoodall GeorgeGoodall changed the base branch from main to staging August 7, 2024 15:35
@GeorgeGoodall
Copy link
Contributor

just updated this PR to merge into staging instead of main

@rosado rosado force-pushed the rosado/start-page branch from 2d8adcf to 892661d Compare August 8, 2024 10:17
@rosado rosado changed the base branch from staging to main August 8, 2024 10:29
@rosado rosado force-pushed the rosado/start-page branch from 892661d to b1e04c8 Compare August 8, 2024 12:05
@rosado rosado added the enhancement New feature or request label Aug 9, 2024
@rosado rosado force-pushed the rosado/start-page branch from 0ff5b3d to a02e9cd Compare August 9, 2024 09:40
@rosado rosado changed the title Update Submit start page Add 'manage' start page Aug 9, 2024
@rosado rosado marked this pull request as ready for review August 9, 2024 11:45
@rosado rosado requested a review from GeorgeGoodall August 9, 2024 11:45
rosado added 9 commits August 9, 2024 13:11
Use 'Submit and update your planning data' as full service name.
Seems like we're passing 'serviceName' to nunjucks in a lot of places
for no reason - we already use `getFullServiceName()` to map a
short service name (called 'serviceType' in the templates) to a full
service name. Switching to a map of service names allows us to skip
passing the service name explicitly.
Copy link
Contributor

@GeorgeGoodall GeorgeGoodall left a comment

Choose a reason for hiding this comment

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

lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

Successfully merging this pull request may close these issues.

3 participants