From 744662db442b240b10591bb4b4c8bff977062c50 Mon Sep 17 00:00:00 2001 From: Rachael Parris <43251054+rachaelparris@users.noreply.github.com> Date: Mon, 22 Apr 2019 10:51:45 -0400 Subject: [PATCH 1/2] 937: show 2 view options for docket record table on mobile (temporarily) --- web-client/src/styles/tables.scss | 14 +++- web-client/src/views/DocketRecord.jsx | 104 +++++++++++++++++++++++++- 2 files changed, 115 insertions(+), 3 deletions(-) diff --git a/web-client/src/styles/tables.scss b/web-client/src/styles/tables.scss index 872384ef023..69d7983cb16 100644 --- a/web-client/src/styles/tables.scss +++ b/web-client/src/styles/tables.scss @@ -176,13 +176,25 @@ table.work-queue { overflow-y: scroll; } -table#docket-record { +@media only screen and (max-width: $medium-screen - 1px) { + .scrollable-table-container-mobile { + overflow: scroll; + max-height: 500px; + margin-top: 300px; + } +} + +table.docket-record { thead th { font-weight: $font-semibold; } /* big screens */ @media only screen and (min-width: $medium-screen) { + &.mobile-only-extra-table { + display: none; + } + .center-column { text-align: center; } diff --git a/web-client/src/views/DocketRecord.jsx b/web-client/src/views/DocketRecord.jsx index 20a1851f49c..05ccf0f4c9f 100644 --- a/web-client/src/views/DocketRecord.jsx +++ b/web-client/src/views/DocketRecord.jsx @@ -62,8 +62,7 @@ export const DocketRecord = connect( )}
No. | +Date | +Event | ++ | Filings and Proceedings | +Filed By | +Action | +Served | +Parties | +
---|---|---|---|---|---|---|---|---|
{index + 1} | +{record.createdAtFormatted} | ++ {document && document.eventCode} + | +
+ {document && document.isPaper && (
+ |
+
+ {document &&
+ helper.showDirectDownloadLink &&
+ document.processingStatus === 'complete' &&
+ renderDocumentLink(
+ document.documentId,
+ record.description,
+ document.isPaper,
+ )}
+ {document &&
+ helper.showDirectDownloadLink &&
+ document.processingStatus !== 'complete' && (
+ |
+ {document && document.filedBy} | +{record.action} | ++ {document && document.isStatusServed && ( + {caseDetail.datePetitionSentToIrsMessage} + )} + {document && helper.showDocumentStatus && ( + {document.status} + )} + | +{record.servedParties} | +