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

show error message and disable buttons if backup target is not available #771

Merged
merged 1 commit into from
Jul 10, 2024

Conversation

a110605
Copy link
Contributor

@a110605 a110605 commented Jul 10, 2024

What this PR does / why we need it

Since bbi table is added in backing image page in previous PR.

We should show backup target URL is empty error message in backup, backingImage or systemBackups pages and disable related buttons.

Issue

longhorn/longhorn#7541

Test Result

Empty backuptarget

show_error_if_backuptarget_missing.mov

Availalbe backuptarget

backuptarget_enabled.mov

Additional documentation or context

If user input non-available backuptarget, couldn't connect it or typo.
The error msg too long to read. Maybe we can simple it to one sentence like backup target is not available cc @ChanYiLin

Screenshot 2024-07-10 at 11 25 39 AM

@a110605 a110605 self-assigned this Jul 10, 2024
Copy link
Member

@derekbit derekbit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@derekbit
Copy link
Member

cc @ChanYiLin

@a110605 a110605 merged commit 8d6025a into longhorn:master Jul 10, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants