Skip to content

refactor(site): make HelpTooltip easier to reuse and compose #11242

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

Merged
merged 12 commits into from
Dec 19, 2023
Prev Previous commit
Next Next commit
Make gylphi more accessible
  • Loading branch information
BrunoQuaresma committed Dec 19, 2023
commit 9ff6ad02547575b970662ed633e8da728872bcd5
7 changes: 6 additions & 1 deletion site/src/pages/CreateTemplatePage/CreateTemplateForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,8 @@ export const CreateTemplateForm: FC<CreateTemplateFormProps> = (props) => {
template until the permissions are updated. Navigate
to{" "}
<strong>
Templates &gt; Select a template &gt; Settings &gt;
Templates <MenuPath /> Select a template{" "}
<MenuPath /> Settings <MenuPath />
Permissions
</strong>{" "}
to update permissions.
Expand Down Expand Up @@ -693,6 +694,10 @@ export const CreateTemplateForm: FC<CreateTemplateFormProps> = (props) => {
);
};

const MenuPath = () => {
return <span aria-label="in">&gt;</span>;
};

const fillNameAndDisplayWithFilename = async (
filename: string,
form: ReturnType<typeof useFormik<CreateTemplateData>>,
Expand Down