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 will disabled on button widget #8209

Merged
merged 2 commits into from
Oct 8, 2021
Merged

Conversation

techbhavin
Copy link
Contributor

@techbhavin techbhavin commented Oct 5, 2021

Description

tooltip will be disabled on the button widget

Fixes #7554

Type of change

  • Bugfix (non-breaking change which fixes an issue)

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

Test coverage results 🧪

🔴 Total coverage has decreased
// Code coverage diff between base branch:release and head branch: fix/disabled-button 
Status File % Stmts % Branch % Funcs % Lines
🔴 total 54.83 (0) 36.83 (-0.01) 33.83 (0) 55.42 (0)
🔴 app/client/src/widgets/ButtonWidget/component/index.tsx 54.87 (-0.39) 35.9 (-1.07) 52 (0) 53.06 (-0.48)

@techbhavin techbhavin requested a review from somangshu October 5, 2021 12:22
@github-actions github-actions bot added the Bug Something isn't working label Oct 5, 2021
@somangshu somangshu requested review from somangshu and removed request for somangshu October 5, 2021 13:13
Copy link
Contributor

@somangshu somangshu left a comment

Choose a reason for hiding this comment

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

Apart from one comment, Change looks good to me, Deploy preview works well.

@@ -106,10 +106,6 @@ const RecaptchaWrapper = styled.div`
}
`;

const ToolTipContent = styled.div`
Copy link
Contributor

Choose a reason for hiding this comment

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

What are we removing this, Wont the large content flow outside the screen?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@somangshu Here we moved this CSS globally in another PR and it was already merged in the release branch.

so we do not require this.

Copy link
Contributor

@somangshu somangshu Oct 5, 2021

Choose a reason for hiding this comment

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

Can you point out the code here? Good catch by the way.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@somangshu you can check here

@techbhavin techbhavin requested a review from somangshu October 5, 2021 13:27
@somangshu
Copy link
Contributor

@techbhavin can we write some cypress test around the button widget tootip disabled on button disabled

somangshu
somangshu previously approved these changes Oct 5, 2021
@YogeshJayaseelan
Copy link
Contributor

@techbhavin Verified this fix and it is working as expected

Copy link
Contributor

@somangshu somangshu 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, Approving to run the tests

@somangshu somangshu merged commit 59af26d into release Oct 8, 2021
@somangshu somangshu deleted the fix/disabled-button branch October 8, 2021 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] Disabled button widget tooltips stay open
3 participants