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

Add Collapsible Functionality for Block Warnings #898

Merged
merged 3 commits into from
Oct 5, 2024

Conversation

BenjaminCharmes
Copy link
Contributor

Closes #838

Add collapsible functionality for block warnings

Copy link

codecov bot commented Oct 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 68.34%. Comparing base (43b9967) to head (087dee8).
Report is 119 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #898   +/-   ##
=======================================
  Coverage   68.34%   68.34%           
=======================================
  Files          62       62           
  Lines        3921     3921           
=======================================
  Hits         2680     2680           
  Misses       1241     1241           

Copy link

cypress bot commented Oct 1, 2024

datalab    Run #2495

Run Properties:  status check passed Passed #2495  •  git commit e7497c5ade ℹ️: Merge 90a799bf8377858931affba54eca955f085cde39 into 640958cad5167d1690c0af3622d2...
Project datalab
Branch Review bc/collapsible-block-warning
Run status status check passed Passed #2495
Run duration 06m 18s
Commit git commit e7497c5ade ℹ️: Merge 90a799bf8377858931affba54eca955f085cde39 into 640958cad5167d1690c0af3622d2...
Committer Benjamin Charmes
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 396
View all changes introduced in this branch ↗︎

@BenjaminCharmes BenjaminCharmes force-pushed the bc/collapsible-block-warning branch from 478849b to 13da3cc Compare October 1, 2024 16:45
@BenjaminCharmes BenjaminCharmes requested a review from ml-evs October 1, 2024 16:46
@ml-evs ml-evs force-pushed the bc/collapsible-block-warning branch 2 times, most recently from 1232e3d to 7e1c110 Compare October 4, 2024 23:08
Copy link
Member

@ml-evs ml-evs left a comment

Choose a reason for hiding this comment

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

Works well, thanks @BenjaminCharmes!

I pushed a couple of minor tweaks (removing some test variable names and adjusted the displayed text) -- I'll merge now but please take a quick look.

One possible future improvement would be to expand the warnings/errors underneath the "number of errors" title rather than replacing it.

@ml-evs ml-evs force-pushed the bc/collapsible-block-warning branch from 90a799b to 087dee8 Compare October 5, 2024 12:47
@ml-evs ml-evs enabled auto-merge (squash) October 5, 2024 12:47
@ml-evs ml-evs merged commit 3578afa into main Oct 5, 2024
20 checks passed
@ml-evs ml-evs deleted the bc/collapsible-block-warning branch October 5, 2024 12:55
@ml-evs ml-evs added enhancement New feature or request webapp For issues/PRs pertaining to the web interface usability labels Oct 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request usability webapp For issues/PRs pertaining to the web interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Block warnings should be collapsible
2 participants