CityOfDetroit / COD-Design-System

Design system for the City of Detroit.
https://cityofdetroit.github.io/COD-Design-System/
MIT License
1 stars 3 forks source link

Create new table variation #104

Closed jedgar1mx closed 10 months ago

jedgar1mx commented 11 months ago

Issue

We need to re-create the responsive table variation used on the buses page.

Desktop

Image

Mobile

Image

maxatdetroit commented 11 months ago

@jedgar1mx , @bankovic how would you both feel about responsive options like these (instead of the exact same responsive layout currently used)? Of course, we would use our theme colors (instead of grey).

Stacked borderless table with headers

Screenshot 2023-10-20 at 9 51 56 AM

Stacked borderless table

Screenshot 2023-10-20 at 9 55 29 AM

Here's some more details & examples: https://designsystem.digital.gov/components/table/#responsive-stacked-table-2

I'm in favor of these designs for the following reasons:

Please let me know what you both think and if I'm missing come considerations there.

bankovic commented 11 months ago

I would feel pretty good, as long as editors can edit the tables. :)

maxatdetroit commented 10 months ago

Closing this out since #112 is merged.