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

[waiting for ux] 4942 Datatable Details Panel to Child Rows #6528

Open
wants to merge 8 commits into
base: develop
Choose a base branch
from

Conversation

rfultz
Copy link
Contributor

@rfultz rfultz commented Oct 25, 2024

Summary

Changing the way the datatables' details are presented, from the single side panel to child rows inside the tables.

Required reviewers

  • UX and design
  • front-end for approach

Impacted areas of the application

Every datatable that presents more details (a few don't)

Screenshots

(see comments below)

Related PRs

None

How to test

(Include any information that may be helpful to the reviewer(s). This might include links to sample pages to test or any local environmental setup that is unusual such as environment variable (never credentials), API version to point to, etc)

@rfultz rfultz self-assigned this Oct 25, 2024
@rfultz
Copy link
Contributor Author

rfultz commented Oct 25, 2024

@JonellaCulmer some things I wanted to run by you…

Should this table have a title? I don't like that it's top-aligned with a table that does have a title. IE-only reports has the same issue.
image

Is there enough visual connection between the original row and its details?
Is there enough difference between the open row + its details and the other rows?
image

Should we visually separate multiple open rows?
image

For the medium widths, the table heads were too wide and were colliding with the "Open image" button so I bumped them down. I don't like that table-wide gap to the left of "Open image". What about putting a line break in "Transaction information"? Something better?
image

Copy link

codecov bot commented Oct 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.43%. Comparing base (b80281c) to head (3abfd8d).
Report is 12 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #6528   +/-   ##
========================================
  Coverage    80.43%   80.43%           
========================================
  Files          235      235           
  Lines         5105     5105           
========================================
  Hits          4106     4106           
  Misses         999      999           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@rfultz rfultz marked this pull request as ready for review October 25, 2024 16:13
Copy link
Contributor

@johnnyporkchops johnnyporkchops left a comment

Choose a reason for hiding this comment

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

tested locally and works well. Left on comment about zebra striping. Also I agree that there might be a confusing visual effect between the way parent row's cells line up with panel's columns

@@ -0,0 +1,102 @@
.dt-details {
Copy link
Contributor

Choose a reason for hiding this comment

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

@rfultz It look like rows that are zebra-striped, get and odd zebra striping on the associated panel

@rfultz rfultz changed the title 4942 Datatable Details Panel to Child Rows [waiting for ux] 4942 Datatable Details Panel to Child Rows Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 👀 Ready
Development

Successfully merging this pull request may close these issues.

[waiting for ux] Update datatable details panels
2 participants