Skip to content

Comments

Clickable checkbox labels#8534

Merged
mistercrunch merged 3 commits intoapache:masterfrom
preset-io:clickable-checkbox-labels
Nov 12, 2019
Merged

Clickable checkbox labels#8534
mistercrunch merged 3 commits intoapache:masterfrom
preset-io:clickable-checkbox-labels

Conversation

@rusackas
Copy link
Member

@rusackas rusackas commented Nov 8, 2019

CATEGORY

Choose one

  • Bug Fix
  • Enhancement (new features, refinement)
  • Refactor
  • Add tests
  • Build / Development Environment
  • Documentation

SUMMARY

Checkbox controls required sniping the actual checkbox. This PR lets you click the labels to toggle the checkbox.
if not applicable -->

TEST PLAN

A pretty basic Jest test was added.

ADDITIONAL INFORMATION

  • Has associated issue:
  • Changes UI
  • Requires DB Migration.
  • Confirm DB Migration upgrade and downgrade tested.
  • Introduces new feature or API
  • Removes existing feature or API

REVIEWERS

@mistercrunch ?

Copy link
Member

@mistercrunch mistercrunch left a comment

Choose a reason for hiding this comment

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

LGTM

@codecov-io
Copy link

codecov-io commented Nov 9, 2019

Codecov Report

Merging #8534 into master will increase coverage by <.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #8534      +/-   ##
==========================================
+ Coverage   66.72%   66.72%   +<.01%     
==========================================
  Files         449      449              
  Lines       22696    22696              
  Branches     2366     2366              
==========================================
+ Hits        15143    15145       +2     
+ Misses       7415     7413       -2     
  Partials      138      138
Impacted Files Coverage Δ
...rc/explore/components/controls/CheckboxControl.jsx 85.71% <ø> (+14.28%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5ed2190...0cee9aa. Read the comment docs.

@mistercrunch mistercrunch merged commit 1b3e40f into apache:master Nov 12, 2019
graceguo-supercat pushed a commit that referenced this pull request Nov 13, 2019
* passing onClick prop to header with the existing onChange method.

* basic test checking that label click fires the onChange method.

* cleaning up stuff caught by linting.
@rusackas
Copy link
Member Author

rusackas commented Dec 4, 2019

🏷 preset-io

@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.36.0 First shipped in 0.36.0 labels Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels size/S 🚢 0.36.0 First shipped in 0.36.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants