Conversation
…/superse…" This reverts commit f672b14.
|
Bito Review Skipped - No Changes Detected |
react-checkbox-tree from 2.1.0 to 1.8.0 in /superset-frontend
|
Weird... 0 changed files? |
|
Not weird at all. It's me hitting the Revert button without checking 🤦 |
…ntion rule Signed-off-by: hainenber <dotronghai96@gmail.com>
…ange
react-checkbox-tree 2.0.0 changed the clickable node label from
role="link" to role="button" (the rct-node-clickable span). The
FilterScope test suite queried these nodes via getByRole('link'),
which caused 9 failures in sharded-jest-tests (2).
Updated superset-frontend/src/dashboard/components/filterscope/FilterScope.test.tsx
to query role 'button' instead of 'link' in getCheckboxState,
clickCheckbox, and the assertions on filter/chart/tab tree nodes.
Real button queries (Close, Save, Collapse/Expand all) were already
role 'button' and are unchanged.
Signed-off-by: hainenber <dotronghai96@gmail.com>
28eddf0 to
76b452d
Compare
…set-frontend/react-checkbox-tree-2.0.0
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #39660 +/- ##
=======================================
Coverage 64.48% 64.48%
=======================================
Files 2566 2566
Lines 133926 133926
Branches 31096 31096
=======================================
Hits 86357 86357
Misses 46074 46074
Partials 1495 1495
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Code Review Agent Run #b99e58Actionable Suggestions - 0Review Details
Bito Usage GuideCommands Type the following command in the pull request comment and save the comment.
Refer to the documentation for additional commands. Configuration This repository uses Documentation & Help |
msyavuz
left a comment
There was a problem hiding this comment.
I was looking to see if anyone else has a pr to fix this, thank you!
|
Yes, this change appears intentional. The downgrade of react-checkbox-tree from 2.0.1 to 1.8.0 likely altered the component's role from 'button' to 'link', requiring the test assertions to be updated accordingly. |
|
Oops, I didnt request Mehmet's approval yet so his wasnt counted. @msyavuz can you re-approve? Thanks! |
|
I think we still need a code owner stamp |
|
Yep, that should work. @rusackas can you help approving this? Thanks! |
* fix(docs): fix 404s in documentation (apache#38974) Co-authored-by: Evan Rusackas <evan@preset.io> * chore(deps): bump baseline-browser-mapping from 2.10.21 to 2.10.23 in /docs (apache#39671) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump d3-cloud from 1.2.8 to 1.2.9 in /superset-frontend (apache#39677) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(ci): update Node.js version used in building CI image (apache#38635) * fix(explore): ensure unsaved-changes dialog renders above View SQL modal (apache#39569) Co-authored-by: yousoph <sophieyou12@gmail.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com> * fix(Modal): prevent title overlapping with close button in long header titles (apache#36536) * fix(mcp): database filter columns, timeseries SQL, and unsaved chart datasource name (apache#39636) * docs(rls): adding additional rls filter documentation (apache#38829) Co-authored-by: codeant-ai-for-open-source[bot] <244253245+codeant-ai-for-open-source[bot]@users.noreply.github.com> * fix(dev): revert `react-checkbox-tree` from 2.1.0 to 1.8.0 in /superset-frontend (apache#39660) Signed-off-by: hainenber <dotronghai96@gmail.com> Co-authored-by: Evan Rusackas <evan@rusackas.com> * chore(deps-dev): bump typescript-eslint from 8.59.0 to 8.59.1 in /superset-websocket (apache#39687) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix(plugin-chart-handlebars): preserve template on explore open (apache#39442) Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * fix(mcp): surface structured errors for generate_chart validation failures (apache#39484) Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * fix(table chart): fix rerender bug that continuously cleared search box (apache#39707) * fix(query-history): enable sorting by Duration column (apache#39637) Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com> * fix(security): add generic validation for guest token API (closes #8) Co-Authored-By: Chiranjeevi Balawat <cbalawat@gmail.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: hainenber <dotronghai96@gmail.com> Co-authored-by: David <39565245+dmunozv04@users.noreply.github.com> Co-authored-by: Evan Rusackas <evan@preset.io> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Đỗ Trọng Hải <41283691+hainenber@users.noreply.github.com> Co-authored-by: yousoph <sophieyou12@gmail.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com> Co-authored-by: innovark <eric.graham@mailfence.com> Co-authored-by: Amin Ghadersohi <amin.ghadersohi@gmail.com> Co-authored-by: SkinnyPigeon <e.blackledge@stuart.com> Co-authored-by: codeant-ai-for-open-source[bot] <244253245+codeant-ai-for-open-source[bot]@users.noreply.github.com> Co-authored-by: Evan Rusackas <evan@rusackas.com> Co-authored-by: Mehmet Salih Yavuz <salih.yavuz@proton.me> Co-authored-by: Sam Firke <sfirke@users.noreply.github.com> Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com> Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: Chiranjeevi Balawat <cbalawat@gmail.com>
Reverts #39261
Fixes #39600