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

Fleet UI: Users can see a tooltip on a disabled checkbox #17664

Merged
merged 6 commits into from
Mar 26, 2024

Conversation

RachelElysia
Copy link
Member

Issue

Cerra #16345

Description

  • Update team expiry checkbox to be disabled but still see a tooltip
  • Global fix to disabled checkbox

Screenrecording

https://www.loom.com/share/1abb1219ead7454c8d61b219887e2d20?sid=30e9acfb-bfe7-4458-97f9-40dedf9266e6

Checklist for submitter

If some of the following don't apply, delete the relevant line.

  • Changes file added for user-visible changes in changes/ or orbit/changes/.
  • Manual QA for all new/changed functionality

@RachelElysia RachelElysia requested a review from a team as a code owner March 15, 2024 16:32
Copy link

codecov bot commented Mar 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 65.67%. Comparing base (d5df239) to head (90ea306).
Report is 11 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #17664      +/-   ##
==========================================
- Coverage   65.67%   65.67%   -0.01%     
==========================================
  Files        1193     1193              
  Lines      108031   108027       -4     
  Branches     2574     2569       -5     
==========================================
- Hits        70947    70943       -4     
  Misses      31713    31713              
  Partials     5371     5371              
Flag Coverage Δ
frontend 51.91% <100.00%> (-0.03%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@jacobshandling jacobshandling left a comment

Choose a reason for hiding this comment

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

Tooltip part looks good. Just want to update the checkbox styles:
Screenshot 2024-03-22 at 12 49 53 PM

Copy link
Contributor

@jacobshandling jacobshandling left a comment

Choose a reason for hiding this comment

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

Nice

frontend/components/forms/fields/Checkbox/_styles.scss Outdated Show resolved Hide resolved
@RachelElysia
Copy link
Member Author

Screenshot 2024-03-25 at 4 14 44 PM

Ended up using a mixin so I can keep the disabled state on hover as well

@RachelElysia RachelElysia merged commit 6d96542 into main Mar 26, 2024
15 checks passed
@RachelElysia RachelElysia deleted the label-disabled-tooltip branch March 26, 2024 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants