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

fix(topology): catalog btn tooltip should not show if not needed #1009

Merged
merged 1 commit into from
May 2, 2023

Conversation

tthvo
Copy link
Member

@tthvo tthvo commented May 2, 2023

Welcome to Cryostat! 👋

Before contributing, make sure you have:

  • Read the contributing guidelines
  • Linked a relevant issue which this PR resolves
  • Linked any other relevant issues, PR's, or documentation, if any
  • Resolved all conflicts, if any
  • Rebased your branch PR on top of the latest upstream main branch
  • Attached at least one of the following labels to the PR: [chore, ci, docs, feat, fix, test]
  • Signed the last commit: git commit --amend --signoff

Related to #891
Related to #1008 (Thanks Max for figuring out the root issue of element focus).

Description of the change:

Mount tooltip closer to the catalog button (modal will clip this tooltip -> close tooltip). Also, unfocus the catalog button -> do not persist tooltip.

Also, fix a css issue where the rules is not applied to the catalog button causing it to have padding.

Motivation for the change:

Catalog button is showing the tooltip over the modal and persist the tooltip after closing modal. We should avoid this.

@github-actions
Copy link

github-actions bot commented May 2, 2023

Test image available:

CRYOSTAT_IMAGE=ghcr.io/cryostatio/cryostat-web:pr-1009-18e42f96564157a73f45f1deb2470d9ce391217d sh smoketest.sh

Copy link
Member

@maxcao13 maxcao13 left a comment

Choose a reason for hiding this comment

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

Looks good, bug is fixed! Just needs rebase.

@tthvo tthvo force-pushed the topology-catalog-btn branch from 18e42f9 to 84db0bf Compare May 2, 2023 22:11
@github-actions
Copy link

github-actions bot commented May 2, 2023

Test image available:

CRYOSTAT_IMAGE=ghcr.io/cryostatio/cryostat-web:pr-1009-84db0bfb019f368f9dad0abbceaa761423a1e708 sh smoketest.sh

@andrewazores andrewazores force-pushed the topology-catalog-btn branch from 84db0bf to de48dc7 Compare May 2, 2023 22:24
Signed-off-by: Thuan Vo <thvo@redhat.com>
@tthvo tthvo force-pushed the topology-catalog-btn branch from de48dc7 to 8aa59b9 Compare May 2, 2023 22:24
@tthvo
Copy link
Member Author

tthvo commented May 2, 2023

Opps didnt see the previous rebase. No changes applied tho :))

@github-actions
Copy link

github-actions bot commented May 2, 2023

Test image available:

CRYOSTAT_IMAGE=ghcr.io/cryostatio/cryostat-web:pr-1009-8aa59b96d4236cb7a2b49f34af18a07586d43f42 sh smoketest.sh

@andrewazores andrewazores merged commit 96ec510 into cryostatio:main May 2, 2023
mergify bot pushed a commit that referenced this pull request May 2, 2023
Signed-off-by: Thuan Vo <thvo@redhat.com>
(cherry picked from commit 96ec510)
@tthvo tthvo deleted the topology-catalog-btn branch May 2, 2023 22:48
andrewazores pushed a commit that referenced this pull request May 3, 2023
…) (#1012)

Signed-off-by: Thuan Vo <thvo@redhat.com>
(cherry picked from commit 96ec510)

Co-authored-by: Thuan Vo <thvo@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants