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 12 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 79.68%. Comparing base (de36ad1) to head (556bf1e).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #6528   +/-   ##
========================================
  Coverage    79.68%   79.68%           
========================================
  Files          237      237           
  Lines         5178     5178           
========================================
  Hits          4126     4126           
  Misses        1052     1052           

☔ 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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've got a change headed up to fix that. Now we just need styles for the details area

@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
@patphongs patphongs removed their request for review January 10, 2025 17:02
@JonellaCulmer JonellaCulmer added this to the 27.5 milestone Feb 4, 2025
@JonellaCulmer JonellaCulmer modified the milestones: 27.5, 27.6 Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 📥 Assigned
Development

Successfully merging this pull request may close these issues.

[waiting for ux] Update datatable details panels
3 participants