fix(edge/stacks): fix UI issues EE-5844 (#10021)

pull/10031/head
matias-portainer 2023-08-09 10:09:08 -03:00 committed by GitHub
parent 2de4863532
commit e1a3010bc7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 17 additions and 14 deletions

View File

@ -214,7 +214,7 @@ function InnerForm({
checked={values.retryDeploy}
name="retryDeploy"
label="Retry deployment"
tooltip="When enabled, this will allow edge agent keep retrying deployment if failure occur"
tooltip="When enabled, this will allow the edge agent to retry deployment if failed to deploy initially"
labelClass="col-sm-3 col-lg-2"
onChange={(value) => setFieldValue('retryDeploy', value)}
/>

View File

@ -121,6 +121,7 @@ function ErrorCell({ getValue }: CellContext<EdgeStackEnvironment, string>) {
return (
<Button
color="none"
className="flex cursor-pointer"
onClick={() => setIsExpanded(!isExpanded)}
>

View File

@ -20,16 +20,18 @@ export function TableSettingsMenus({
return (
<>
<ColumnVisibilityMenu<DecoratedEdgeStack>
columns={columnsToHide}
onChange={(hiddenColumns) => {
tableState.setHiddenColumns(hiddenColumns);
tableInstance.setColumnVisibility(
Object.fromEntries(hiddenColumns.map((col) => [col, false]))
);
}}
value={tableState.hiddenColumns}
/>
{columnsToHide && columnsToHide.length > 0 && (
<ColumnVisibilityMenu<DecoratedEdgeStack>
columns={columnsToHide}
onChange={(hiddenColumns) => {
tableState.setHiddenColumns(hiddenColumns);
tableInstance.setColumnVisibility(
Object.fromEntries(hiddenColumns.map((col) => [col, false]))
);
}}
value={tableState.hiddenColumns}
/>
)}
<TableSettingsMenu>
<TableSettingsMenuAutoRefresh
value={tableState.autoRefreshRate}

View File

@ -38,7 +38,7 @@ export function PrivateRegistryFieldset({
const [selected, setSelected] = useState(value);
const tooltipMessage =
'Use this when using a private registry that requires credentials';
'This allows you to provide credentials when using a private registry that requires authentication';
useEffect(() => {
if (checked) {

View File

@ -51,8 +51,8 @@ export function AutoUpdateFieldset({
We&#39;ve renamed &quot;Automatic updates&quot; to better align with
industry terminology and clarify its purpose for all users.
Originally chosen during the early emergence of GitOps, the name has
changed, but the functionality remains the same. GitOps has rapidly
emerged as a revolutionary approach to manage infrastructure and
changed, but the functionality remains unchanged. GitOps has rapidly
emerged as a revolutionary approach to managing infrastructure and
application changes, and we want to ensure our platform reflects the
latest advancements in the industry.
</p>