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

PP-13133 simplified account settings - edit service name #4282

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

nlsteers
Copy link
Collaborator

@nlsteers nlsteers commented Oct 9, 2024

WHAT

  • added middlewares and router supporting simplified account routes
    • simplified account opt in: directs the user to an appropriate error message if a simplified account route is accessed without the user being opted in and the feature being enabled for the environment
    • simplified account strategy: retrieves the correct gateway account for the service and account type and makes this available on the request object
  • added service settings navigation nunjucks template and supporting sass
  • added settings controllers
    • index: redirects the user to the correct default setting based on the account type and go live stage of the service
    • service name: get and post actions for viewing and updating the current service name in english and welsh
    • email notifications: bare bones implementation of the view
  • external dependency: express-validations, creates easy to understand validation chains used for parsing request bodies
  • added utilities
    • nunjucks filter for correctly capitalising service settings and categories
    • generator for simplified account paths
    • settings builder: determines which settings should be visible based on the service go live stage, account type and permissions of the viewing user

@nlsteers nlsteers force-pushed the pp-13133/simplified_account_settings_service_name branch from ce54ea3 to a19b5f4 Compare October 10, 2024 12:59
- added middlewares and router supporting simplified account routes
 - simplified account opt in: directs the user to an appropriate error message if a simplified account route is accessed without the user being opted in and the feature being enabled for the environment
 - simplified account strategy: retrieves the correct gateway account for the service and account type and makes this available on the request object
- added service settings navigation nunjucks template and supporting sass
- added settings controllers
 - index: redirects the user to the correct default setting based on the account type and go live stage of the service
 - service name: get and post actions for viewing and updating the current service name in english and welsh
 - email notifications: bare bones implementation of the view
- external dependency: express-validations, creates easy to understand validation chains used for parsing request bodies
- added utilities
 - nunjucks filter for correctly capitalising service settings and categories
 - generator for simplified account paths
 - settings builder: determines which settings should be visible based on the service go live stage, account type and permissions of the viewing user
@nlsteers nlsteers force-pushed the pp-13133/simplified_account_settings_service_name branch from a19b5f4 to db300db Compare October 10, 2024 13:21
@nlsteers nlsteers force-pushed the pp-13133/simplified_account_settings_service_name branch from c85e838 to 1d94128 Compare October 11, 2024 18:13
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