Skip to content
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

[UI] EVEREST-1735 Disable PITR tooltip for PG with no backups #1040

Open
wants to merge 18 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
e7f3b0e
fix: disable PITR tooltip for PG with no backups
dianabirs Jan 23, 2025
5430865
Merge branch 'main' into EVEREST-1735-ui-fix-pitr-tooltip-for-pg
dianabirs Jan 23, 2025
dec0954
Merge branch 'main' into EVEREST-1735-ui-fix-pitr-tooltip-for-pg
percona-robot Jan 23, 2025
fba325c
Merge branch 'main' into EVEREST-1735-ui-fix-pitr-tooltip-for-pg
percona-robot Jan 23, 2025
db56534
Merge branch 'main' into EVEREST-1735-ui-fix-pitr-tooltip-for-pg
percona-robot Jan 23, 2025
67b481d
Merge branch 'main' into EVEREST-1735-ui-fix-pitr-tooltip-for-pg
percona-robot Jan 23, 2025
e1c8319
Merge branch 'main' into EVEREST-1735-ui-fix-pitr-tooltip-for-pg
percona-robot Jan 23, 2025
f844f00
Merge branch 'main' into EVEREST-1735-ui-fix-pitr-tooltip-for-pg
percona-robot Jan 23, 2025
ae33b4c
Merge branch 'main' into EVEREST-1735-ui-fix-pitr-tooltip-for-pg
percona-robot Jan 23, 2025
f49f7ae
Merge branch 'main' into EVEREST-1735-ui-fix-pitr-tooltip-for-pg
percona-robot Jan 23, 2025
bf0558e
Merge branch 'main' into EVEREST-1735-ui-fix-pitr-tooltip-for-pg
percona-robot Jan 23, 2025
bcfe94e
Merge branch 'main' into EVEREST-1735-ui-fix-pitr-tooltip-for-pg
percona-robot Jan 24, 2025
ce50bf0
Merge branch 'main' into EVEREST-1735-ui-fix-pitr-tooltip-for-pg
percona-robot Jan 27, 2025
1da5afb
Merge branch 'main' into EVEREST-1735-ui-fix-pitr-tooltip-for-pg
percona-robot Jan 28, 2025
cfc0565
Merge branch 'main' into EVEREST-1735-ui-fix-pitr-tooltip-for-pg
percona-robot Jan 31, 2025
9cb86df
Merge branch 'main' into EVEREST-1735-ui-fix-pitr-tooltip-for-pg
percona-robot Jan 31, 2025
d98d83f
Merge branch 'main' into EVEREST-1735-ui-fix-pitr-tooltip-for-pg
percona-robot Feb 3, 2025
b5df930
Merge branch 'main' into EVEREST-1735-ui-fix-pitr-tooltip-for-pg
percona-robot Feb 4, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,9 @@ export const BackupsDetails = ({
'data-testid': 'edit-pitr-button',
}}
editable={editable && !pitrDisabled}
showTooltip={
editable && !backupsEnabled && dbType !== DbType.Postresql
}
disabledEditTooltipText={Messages.titles.createScheduleToEnable}
>
{/*// TODO EVEREST-1066 the width of the columns on the layouts in different places is limited by a different number (but not by the content), a discussion with Design is required*/}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export const OverviewSection = ({
dataTestId,
editable,
actionButtonProps,
showTooltip = false,
disabledEditTooltipText = '',
}: OverviewSectionProps) => (
<Grid
Expand All @@ -53,7 +54,7 @@ export const OverviewSection = ({
{title}
</Typography>
{actionButtonProps && (
<Tooltip title={!editable ? disabledEditTooltipText : ''}>
<Tooltip title={showTooltip ? disabledEditTooltipText : ''}>
<Box>
<Button
size="small"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@ export type OverviewSectionProps = {
'data-testid'?: string;
};
editable?: boolean;
showTooltip?: boolean;
disabledEditTooltipText?: string;
} & LoadableChildrenProps;
Loading