Skip to content

Commit

Permalink
Merge pull request #820 from sgratch/use_helpIcon_for_overview-settin…
Browse files Browse the repository at this point in the history
…gs-card

Use HelpIcon next to the titles of the Overview Settings card items
  • Loading branch information
yaacov authored Jan 8, 2024
2 parents 8813e03 + 87be801 commit be0c929
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ const SettingsCard_: FC<SettingsCardProps> = ({ obj }) => {
>
<DetailsItem
title={'Max concurrent virtual machine migrations'}
showHelpIconNextToTitle={true}
content={
obj?.spec?.['controller_max_vm_inflight'] || (
<span className="text-muted">{'20'}</span>
Expand All @@ -61,6 +62,7 @@ const SettingsCard_: FC<SettingsCardProps> = ({ obj }) => {

<DetailsItem
title={'Must gather cleanup after (hours)'}
showHelpIconNextToTitle={true}
content={mustGatherAPICleanupMaxAge || <span className="text-muted">{'Disabled'}</span>}
moreInfoLink={
'https://access.redhat.com/documentation/en-us/migration_toolkit_for_virtualization/2.5/html-single/installing_and_using_the_migration_toolkit_for_virtualization/index#advanced-migration-options'
Expand All @@ -78,6 +80,7 @@ const SettingsCard_: FC<SettingsCardProps> = ({ obj }) => {

<DetailsItem
title={'Controller main container CPU limit'}
showHelpIconNextToTitle={true}
content={
obj?.spec?.['controller_container_limits_cpu'] || (
<span className="text-muted">{'500m'}</span>
Expand All @@ -99,6 +102,7 @@ const SettingsCard_: FC<SettingsCardProps> = ({ obj }) => {

<DetailsItem
title={'Controller main container Memory limit'}
showHelpIconNextToTitle={true}
content={
obj?.spec?.['controller_container_limits_memory'] || (
<span className="text-muted">{'800Mi'}</span>
Expand All @@ -120,6 +124,7 @@ const SettingsCard_: FC<SettingsCardProps> = ({ obj }) => {

<DetailsItem
title={'Precopy interval (minutes)'}
showHelpIconNextToTitle={true}
content={
obj?.spec?.['controller_precopy_interval'] || (
<span className="text-muted">{'60'}</span>
Expand All @@ -141,6 +146,7 @@ const SettingsCard_: FC<SettingsCardProps> = ({ obj }) => {

<DetailsItem
title={'Snapshot polling interval (seconds)'}
showHelpIconNextToTitle={true}
content={
obj?.spec?.['controller_snapshot_status_check_rate_seconds'] || (
<span className="text-muted">{'10'}</span>
Expand Down

0 comments on commit be0c929

Please sign in to comment.