POFCC-329 - allow navigation links in the header to go to decentralised service URLs - #5309
Draft
jamescatto-cgi wants to merge 5 commits into
Draft
POFCC-329 - allow navigation links in the header to go to decentralised service URLs#5309jamescatto-cgi wants to merge 5 commits into
jamescatto-cgi wants to merge 5 commits into
Conversation
…allow adding links to decentralised service URLs
jamescatto-cgi
force-pushed
the
jcatto/pofcc-329
branch
from
July 17, 2026 08:57
b0fb7c1 to
53be61d
Compare
jamescatto-cgi
force-pushed
the
jcatto/pofcc-329
branch
from
July 17, 2026 09:01
53be61d to
cb675ce
Compare
…ation URLs with the user info
jamescatto-cgi
force-pushed
the
jcatto/pofcc-329
branch
from
July 17, 2026 09:11
cb675ce to
572ca38
Compare
…nfiguration to allow base URLs of services to be captured
… the service baseUrl and use it to construct the absolute URL
jamescatto-cgi
commented
Jul 17, 2026
| notFlags?: FlagDefinition[]; | ||
| ngClass?: string; | ||
| align?: 'right' | 'left'; | ||
| decentralisedServiceId?: string; |
Contributor
Author
There was a problem hiding this comment.
should the service ID be mapped here? Is it possible to get the service ID from the user session instead to avoid hardcoding the service ID here?
This file contains hidden or 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
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.
Jira link
https://tools.hmcts.net/jira/browse/POFCC-329
Change description
Using part of the decentralise mechanism of pofcc-365 allow links in the header to open external service URLs.
The required config is:
adding a new menu item in ExUI at
api/configuration/menuConfigs/base-config.tsadding a new DECENTRALISED_SERVICE_MAP variable in
config/default.jsonFor example in
api/configuration/menuConfigs/base-config.ts:{ active: false, href: '/duty-advisor', roles: ['caseworker-pcs-solicitor'], text: 'Duty Advisor', decentralisedServiceId: 'PCS', },And in
config/default.json:Here the
decentralisedServiceIdmust match the key in thedecentralisedServiceMap.Dependency PRs
Testing done
Security Vulnerability Assessment
CVE Suppression: Are there any CVEs present in the codebase (either newly introduced or pre-existing) that are being intentionally suppressed or ignored by this commit?
Checklist