Skip to content

Commit

Permalink
fix(idp): textual changes
Browse files Browse the repository at this point in the history
  • Loading branch information
nidhigarg-bmw committed Feb 28, 2024
1 parent 53a1339 commit b41e035
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 6 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
- fixed help link
- Unhelpful scroll
- fixed auto focus issue which resulted in unhelpful scroll in Partner Network and Application Request page
- IDP Config
- fixed textual changes in enable success screen

## 1.8.0-RC6

Expand Down
5 changes: 2 additions & 3 deletions src/assets/locales/de/idp.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,8 @@
"subHeading2": "You have completed the setup process of your new IdP.",
"nextStepHeading": "Your NEXT Steps:",
"nextStepSubHeading": "To test the new IdP, please do the following:",
"step1Heading": "“Test new IdP login” by clicking the button below",
"step2Heading": "“Sign in” again with your IdP “smoke test jj01” and <br /> user “[email protected]",
"note": "Please note:",
"step1Heading": "Klicken Sie auf die Schaltfläche „Abmelden“, um sich von Ihrem aktuellen Konto abzumelden",
"step2Heading": "Anschließend wählen Sie auf der Login-Seite den neu erstellten Identity-Provider-Login „{{idpDisplayname}}“ aus. Und melden Sie sich mit Ihren persönlichen Zugangsdaten an, die Sie für diesen IdP verwendet haben.",
"or": "OR",
"successText": "If the test succeeds, <br />... commence user migration <br />... deactivate old IdP",
"failText": "If the test fails,<br />please “sign in” with your “old” <br />Catena-X user and check the settings <br />of your new IdP. "
Expand Down
4 changes: 2 additions & 2 deletions src/assets/locales/en/idp.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@
"subHeading2": "You have completed the setup process of your new IdP.",
"nextStepHeading": "Your NEXT Steps:",
"nextStepSubHeading": "To test the new IdP, please do the following:",
"step1Heading": "“Test new IdP login” by clicking the button below",
"step2Heading": "“Sign in” again with your IdP “smoke test jj01” and <br /> user “[email protected]",
"step1Heading": "Click on the “Sign Out” button, to logout from your current account",
"step2Heading": "Afterwards select on the login page the newly created identity provider login “{{idpDisplayname}}”. And login with your personal credentials used for this IdP.",
"note": "Please note:",
"or": "OR",
"successText": "If the test succeeds, <br />... commence user migration <br />... deactivate old IdP",
Expand Down
9 changes: 8 additions & 1 deletion src/components/overlays/EnableIDP/EnableIDPSuccess.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,14 @@ import { useDispatch } from 'react-redux'
import { closeOverlay, exec } from 'features/control/overlay'
import HelpOutlineIcon from '@mui/icons-material/HelpOutline'
import { ACTIONS } from 'types/Constants'
import { useFetchIDPDetailQuery } from 'features/admin/idpApiSlice'

export const EnableIDPSuccess = ({ id }: { id: string }) => {
const { t } = useTranslation('idp')
const dispatch = useDispatch()

const { data } = useFetchIDPDetailQuery(id)

const stepsList = [
{
headline: t('enablesuccess.stepLists.firstStep'),
Expand Down Expand Up @@ -140,7 +143,11 @@ export const EnableIDPSuccess = ({ id }: { id: string }) => {
>
2
</Typography>
<Trans>
<Trans
values={{
idpDisplayname: data?.displayName,
}}
>
<Typography variant="label2">
{t('enablesuccess.step2Heading')}
</Typography>
Expand Down

0 comments on commit b41e035

Please sign in to comment.