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

Add console button tooltip and document link when button disabled #1111

Merged
merged 4 commits into from
Sep 5, 2024

Conversation

a110605
Copy link
Collaborator

@a110605 a110605 commented Aug 26, 2024

Summary

PR Checklist

  • Is this a multi-tenancy feature/bug?
    • Yes, the relevant RBAC changes are at:
  • Do we need to backport changes to the old Rancher UI, such as RKE1?
    • Yes, the relevant PR is at:
  • Are backend engineers aware of UI changes?

Related Issue #

Screenshot/Video

console_url_tooltip.mov

@a110605 a110605 self-assigned this Aug 26, 2024
@a110605 a110605 added the Enhancement minor or greater UI enhancement label Aug 26, 2024
@a110605 a110605 changed the title Add tooltip and link if no consoleUrl is set Add console button tooltip and document link when button disabled Aug 27, 2024
Signed-off-by: andy.lee <andy.lee@suse.com>
Signed-off-by: andy.lee <andy.lee@suse.com>
@a110605 a110605 force-pushed the issue-5679 branch 2 times, most recently from 3fe5913 to 56136ee Compare September 2, 2024 04:30
@@ -26,15 +31,14 @@ export default {
<Banner color="warning">
<div>
<strong>{{ t('harvester.upgradePage.upgradeInfo.warning') }}:</strong>
<p v-clean-html="t('harvester.upgradePage.upgradeInfo.doc', {}, true)" class="mb-5">
</p>
<p v-clean-html="t('harvester.upgradePage.upgradeInfo.doc', {url: upgradeLink}, true)" class="mb-5"></p>
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

target="_blank" is ignore when giving translation key via v-clean-html. (not open link in new tab)
It's resolved in rancher but not harvester dashboard..

PR: rancher#9928

Signed-off-by: andy.lee <andy.lee@suse.com>
@a110605 a110605 added the Documentation Improvements or additions to documentation label Sep 2, 2024
Copy link

@jillian-maroket jillian-maroket left a comment

Choose a reason for hiding this comment

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

Thanks for creating the mapping file. We will need to update the links once the product docs are available on the SUSE doc site.

Please apply the suggested string change.

pkg/harvester/l10n/en-us.yaml Outdated Show resolved Hide resolved
Signed-off-by: andy.lee <andy.lee@suse.com>
Copy link
Collaborator

@torchiaf torchiaf left a comment

Choose a reason for hiding this comment

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

LGTM

@a110605 a110605 merged commit 430c103 into harvester:master Sep 5, 2024
7 checks passed
@a110605
Copy link
Collaborator Author

a110605 commented Sep 6, 2024

@mergify backport release-harvester-v1.4

Copy link

mergify bot commented Sep 6, 2024

backport release-harvester-v1.4

✅ Backports have been created

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Improvements or additions to documentation Enhancement minor or greater UI enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants