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

Model overview: improve placeholder, put confirm/cancel buttons at the bottom, and hide toggle when needed #1433

Merged
merged 24 commits into from
May 18, 2022

Conversation

romanlutz
Copy link
Contributor

This is identical to #1414 but targeting the postbuild branch.

Description

This PR includes a series of small improvements based on our recent bug bash:

  • removed ActionButton and replaced it with a proper placeholder for the missing table
    image

  • moved confirm/cancel buttons to the bottom of flyouts
    imageimageimage

  • don't show toggle unless needed

    • show toggle when there are multiple cohorts
      image
    • don't show toggle with only 1 cohort
      image
    • don't show toggle without features selected
      image
    • show toggle with features selected
      image
  • fix "placolder" typo in the code (no visible changes)

Checklist

  • I have added screenshots above for all UI changes.
  • Documentation was updated if it was needed.
  • New tests were added or changes were manually verified.

romanlutz and others added 21 commits May 10, 2022 01:51
…t bottom of flyouts, don't show toggle unless needed
…1419)

* Fix causal UI strings according to classification/regression tasks

Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>

* Fix lint error

Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>

* Fix UI test

Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>
* fix description for model overview

* keep new description for new model overview
… panel (#1426)

Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>
)

Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>

Co-authored-by: xuke444 <40614413+xuke444@users.noreply.github.com>
* Fix causal UI strings according to classification/regression tasks

Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>

* Fix lint error

Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>

* Fix UI test

Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>

* Add the user class name to causal UI strings

Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>

Co-authored-by: xuke444 <40614413+xuke444@users.noreply.github.com>
Signed-off-by: Ke Xu <xuke@microsoft.com>
@codecov-commenter
Copy link

codecov-commenter commented May 17, 2022

Codecov Report

Merging #1433 (bdb64ce) into postbuild (0f3746b) will decrease coverage by 3.40%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##           postbuild    #1433      +/-   ##
=============================================
- Coverage      89.34%   85.94%   -3.41%     
=============================================
  Files             80      100      +20     
  Lines           3556     4801    +1245     
=============================================
+ Hits            3177     4126     +949     
- Misses           379      675     +296     
Flag Coverage Δ
unittests 85.94% <ø> (-3.41%) ⬇️

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

Impacted Files Coverage Δ
raiwidgets/raiwidgets/interfaces.py 100.00% <0.00%> (ø)
raiwidgets/raiwidgets/__init__.py 100.00% <0.00%> (ø)
raiwidgets/raiwidgets/explanation_dashboard.py 83.33% <0.00%> (ø)
...iwidgets/raiwidgets/explanation_dashboard_input.py 60.13% <0.00%> (ø)
raiwidgets/raiwidgets/cohort.py 95.00% <0.00%> (ø)
raiwidgets/raiwidgets/error_analysis_constants.py 100.00% <0.00%> (ø)
raiwidgets/raiwidgets/dashboard.py 92.68% <0.00%> (ø)
raiwidgets/raiwidgets/error_handling.py 75.00% <0.00%> (ø)
raiwidgets/raiwidgets/utils.py 100.00% <0.00%> (ø)
...iwidgets/raiwidgets/model_performance_dashboard.py 50.00% <0.00%> (ø)
... and 10 more

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 0f3746b...bdb64ce. Read the comment docs.

@romanlutz romanlutz merged commit d3591af into postbuild May 18, 2022
@romanlutz romanlutz deleted the romanlutz/bugfixes branch May 18, 2022 02:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants