-
Notifications
You must be signed in to change notification settings - Fork 1
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
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
just updated this PR to merge into staging instead of main |
rosado
force-pushed
the
rosado/start-page
branch
from
August 8, 2024 10:17
2d8adcf
to
892661d
Compare
rosado
force-pushed
the
rosado/start-page
branch
from
August 8, 2024 12:05
892661d
to
b1e04c8
Compare
rosado
force-pushed
the
rosado/start-page
branch
from
August 9, 2024 09:40
0ff5b3d
to
a02e9cd
Compare
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.
rosado
force-pushed
the
rosado/start-page
branch
from
August 9, 2024 12:25
2c5c320
to
2e00127
Compare
GeorgeGoodall
approved these changes
Aug 12, 2024
There was a problem hiding this 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.