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

Improve spacing in RAI dashboard #1875

Merged
merged 9 commits into from
Jan 6, 2023
Merged

Improve spacing in RAI dashboard #1875

merged 9 commits into from
Jan 6, 2023

Conversation

romanlutz
Copy link
Contributor

Description

This is hopefully a visual improvement. I've added some additional padding in some of our components since several of them were really close to the boundary at the bottom. Before/after screenshots below:

component Before After
model overview image image
data explorer image image
counterfactual image image

Checklist

  • I have added screenshots above for all UI changes.
  • I have added e2e tests for all UI changes.
  • Documentation was updated if it was needed.

@codecov-commenter
Copy link

codecov-commenter commented Jan 4, 2023

Codecov Report

Merging #1875 (7027e05) into main (012cfa2) will decrease coverage by 2.31%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1875      +/-   ##
==========================================
- Coverage   92.44%   90.12%   -2.32%     
==========================================
  Files         103      112       +9     
  Lines        4830     5896    +1066     
==========================================
+ Hits         4465     5314     +849     
- Misses        365      582     +217     
Flag Coverage Δ
unittests 90.12% <ø> (-2.32%) ⬇️

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

Impacted Files Coverage Δ
...ai_core_flask/environments/azure_nb_environment.py
...core_flask/rai_core_flask/environments/__init__.py
...re_flask/environments/local_ipython_environment.py
...i_core_flask/environments/public_vm_environment.py
rai_core_flask/rai_core_flask/flask_helper.py
..._core_flask/rai_core_flask/environment_detector.py
...sk/rai_core_flask/environments/base_environment.py
..._flask/environments/credentialed_vm_environment.py
rai_core_flask/rai_core_flask/__init__.py
..._core_flask/environments/databricks_environment.py
... and 19 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

1 similar comment
@romanlutz
Copy link
Contributor Author

Changed to 32px after discussing with Owen who approves of the change. Screenshots above not updated to reflect 32px, but it looks almost the same (just with 8px less, so slightly less padding)

@romanlutz romanlutz enabled auto-merge (squash) January 5, 2023 16:56
@gaugup
Copy link
Contributor

gaugup commented Jan 5, 2023

Do other components like EA, explanations and causal also need this change?

1 similar comment
@romanlutz romanlutz merged commit e944dc5 into main Jan 6, 2023
@romanlutz romanlutz deleted the romanlutz/spacing_fix branch January 6, 2023 09:09
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.

4 participants