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(tooltip): NO-JIRA do not display when empty, general cleanup #344

Merged
merged 4 commits into from
May 31, 2024

Conversation

braddialpad
Copy link
Contributor

fix(tooltip): do not display when empty, general cleanup

Obligatory GIF (super important!)

Obligatory GIF

πŸ› οΈ Type Of Change

These types will increment the version number on release:

  • Fix

πŸ“– Description

  • Fixed tooltip still displaying when content was empty.
  • Did some general cleanup with unused methods and such
  • Set sticky to be true by default, as we talked about yesterday

πŸ’‘ Context

@juliodialpad put up pr #341 yesterday to solve the tooltip not displaying, but the problem was actually that I broke the fix I already made by overriding the onShow method.

πŸ“ Checklist

For all PRs:

  • I have ensured no private Dialpad links or info are in the code or pull request description (Dialtone is a public repo!).
  • I have reviewed my changes.
  • I have added all relevant documentation.
  • I have considered the performance impact of my change.

For all Vue changes:

  • I have made my changes in Vue 2 and Vue 3. Note: you may sync your changes from Vue 2 to Vue 3 (or vice versa) using the ./scripts/dialtone-vue-sync.sh script. Read docs here: Dialtone Vue Sync Script

Copy link

Please add either the visual-test-ready or no-visual-test label to this PR depending on whether you want to run visual tests or not.
It is recommended to run visual tests if your PR changes any UI. ‼️

Copy link

βœ”οΈ Deploy previews ready!
😎 Dialtone preview: https://dialtone.dialpad.com/deploy-previews/pr-344/
😎 Dialtone-vue 2 preview: https://dialtone.dialpad.com/vue/deploy-previews/pr-344/
😎 Dialtone-vue 3 the preview: https://dialtone.dialpad.com/vue3/deploy-previews/pr-344/

Copy link
Collaborator

@juliodialpad juliodialpad left a comment

Choose a reason for hiding this comment

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

Working correctly and now it's easier to follow up the internal value, previously it was a bit confusing due to isShown naming.

Thanks!

@braddialpad
Copy link
Contributor Author

Yeah it was very confusing. Hopefully it makes a bit more sense now.

@braddialpad braddialpad merged commit a83d619 into staging May 31, 2024
10 checks passed
@braddialpad braddialpad deleted the fix/tooltip-empty branch May 31, 2024 19:53
juliodialpad pushed a commit that referenced this pull request May 31, 2024
# [9.42.0](dialtone/v9.41.0...dialtone/v9.42.0) (2024-05-31)

### Bug Fixes

* NO-JIRA remove double classes from dialtone output ([#340](#340)) ([0fcea93](0fcea93))
* **Tooltip:** NO-JIRA do not display when empty, general cleanup ([#344](#344)) ([a83d619](a83d619))

### Features

* **Button:** DLT-1779 add link-inverted prop ([#343](#343)) ([6819394](6819394))
* **Emoji Picker:** DLT-1781 allow hiding of search and setting searchQuery via prop ([#345](#345)) ([d5e5373](d5e5373))
juliodialpad pushed a commit that referenced this pull request May 31, 2024
# [2.136.0](dialtone-vue2/v2.135.0...dialtone-vue2/v2.136.0) (2024-05-31)

### Bug Fixes

* **Tooltip:** NO-JIRA do not display when empty, general cleanup ([#344](#344)) ([a83d619](a83d619))

### Features

* **Button:** DLT-1779 add link-inverted prop ([#343](#343)) ([6819394](6819394))
* **Emoji Picker:** DLT-1781 allow hiding of search and setting searchQuery via prop ([#345](#345)) ([d5e5373](d5e5373))
juliodialpad pushed a commit that referenced this pull request May 31, 2024
# [3.129.0](dialtone-vue3/v3.128.0...dialtone-vue3/v3.129.0) (2024-05-31)

### Bug Fixes

* **Tooltip:** NO-JIRA do not display when empty, general cleanup ([#344](#344)) ([a83d619](a83d619))

### Features

* **Button:** DLT-1779 add link-inverted prop ([#343](#343)) ([6819394](6819394))
* **Emoji Picker:** DLT-1781 allow hiding of search and setting searchQuery via prop ([#345](#345)) ([d5e5373](d5e5373))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants