From f0558d847b31d6633071de80dce237271cf86b5c Mon Sep 17 00:00:00 2001 From: Erik Jan de Wit Date: Mon, 29 Mar 2021 12:00:56 +0200 Subject: [PATCH] changed to be progressive added help to type and made `openid-connect` the default fixes: #446 --- src/clients/add/GeneralSettings.tsx | 21 ++++++++++++--------- src/clients/add/NewClientForm.tsx | 20 +++++++++++++++----- src/clients/help.json | 1 + src/clients/messages.json | 1 + 4 files changed, 29 insertions(+), 14 deletions(-) diff --git a/src/clients/add/GeneralSettings.tsx b/src/clients/add/GeneralSettings.tsx index faefd76e17..d2fcca0c66 100644 --- a/src/clients/add/GeneralSettings.tsx +++ b/src/clients/add/GeneralSettings.tsx @@ -11,9 +11,10 @@ import { Controller, useFormContext } from "react-hook-form"; import { useLoginProviders } from "../../context/server-info/ServerInfoProvider"; import { ClientDescription } from "../ClientDescription"; import { FormAccess } from "../../components/form-access/FormAccess"; +import { HelpItem } from "../../components/help-enabler/HelpItem"; export const GeneralSettings = () => { - const { t } = useTranslation(); + const { t } = useTranslation("clients"); const { errors, control } = useFormContext(); const providers = useLoginProviders(); @@ -22,30 +23,32 @@ export const GeneralSettings = () => { return ( + } > (