Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
265b3fb
FDG-9759 initial commit (which there's a lot)
nicweidner Nov 12, 2024
1a9aaba
FDG-9759 add download and filter placeholders
nicweidner Nov 13, 2024
06fc728
FDG-9759 add back in component returns
nicweidner Nov 14, 2024
95a3650
FDG-9759 get data table to display
nicweidner Nov 14, 2024
dff25b2
FDG-9759 remove log
nicweidner Nov 14, 2024
fc3c8e9
FDG-9759 remove logs and commented html
nicweidner Nov 14, 2024
18aacf1
FDG-9759 data-preview-data-table replacing data-table
nicweidner Nov 14, 2024
1104630
FDG-9759 replace data table header/body with data-preview equivalents
nicweidner Nov 14, 2024
70e682f
FDG-9759 remove unused props
nicweidner Nov 14, 2024
8dde7df
FDG-9759 remove unused props and html
nicweidner Nov 14, 2024
70fe50a
FDG-9759 copy over DataTable unit tests
nicweidner Nov 15, 2024
ea8322f
FDG-9759 rename Record Date column (since filtering is no long at the…
nicweidner Nov 15, 2024
9741e3e
FDG-9759 data-preview-download unit test file
nicweidner Nov 15, 2024
06d4b5a
FDG-9759 add data-preview-section-container unit tests
nicweidner Nov 15, 2024
4dc09ea
FDG-9759 Initial commit of data-preview-table unit tests
nicweidner Nov 15, 2024
4f3e3e6
FDG-9759 remove some unit tests specific to endpoints/fields table
nicweidner Nov 15, 2024
a3bcd4b
FDG-9759 extract pivot and chart info from table
nicweidner Nov 15, 2024
33e9e3f
FDG-9759 extract unused tests
nicweidner Nov 15, 2024
b2d287f
FDG-9759 add in data-preview unit tests
nicweidner Nov 15, 2024
1b36688
FDG-9759 add in data-preview-pivot-options.tsx to get the table to load
nicweidner Nov 15, 2024
d2dbaff
Merge branch 'master' into FDG-9759
jdach Nov 15, 2024
819fedc
FDG-9759 merge
jdach Nov 15, 2024
d6a96f6
FDG-9759 comment out unit tests
nicweidner Nov 15, 2024
ccc0afa
FDG-9759 remove title from DatasetSectionContainer
nicweidner Nov 15, 2024
94850f2
FDG-9759 remove title from DataPreview test
nicweidner Nov 15, 2024
623ee0a
FDG-9759 remove published reports tab
jdach Nov 15, 2024
91a3bd3
FDG-9759 add pagination test
nicweidner Nov 18, 2024
7eb628f
FDG-9759 add removed tests back in
nicweidner Nov 18, 2024
63c4182
FDG-9759 test update
jdach Nov 18, 2024
8b35579
Merge remote-tracking branch 'origin/FDG-9759' into FDG-9759
jdach Nov 18, 2024
95ac111
FDG-9759 update tests with notes
nicweidner Nov 18, 2024
ed5612e
FDG-9759 update loading indicator test
nicweidner Nov 18, 2024
f8a0a74
FDG-9759 update aria-describeby test
nicweidner Nov 18, 2024
7395c8a
FDG-9759 remove unused and duplicate tests
nicweidner Nov 18, 2024
4ce1472
FDG-9759 test update
jdach Nov 18, 2024
81464af
FDG-9759 Update bearer file
jdach Nov 19, 2024
b02f222
FDG-9759 null check on tableProps
nicweidner Nov 19, 2024
cc19467
FDG-9759 Depagianted table props
jdach Nov 19, 2024
57ca722
Merge remote-tracking branch 'origin/FDG-9759' into FDG-9759
jdach Nov 19, 2024
5f7c685
FDG-9759 comment out wip tests
nicweidner Nov 19, 2024
37a609e
Merge remote-tracking branch 'origin/FDG-9759' into FDG-9759
nicweidner Nov 19, 2024
b9e714f
FDG-9759 Clean up tests
jdach Nov 19, 2024
26bfb25
Merge branch 'master' into FDG-9759
jdach Nov 19, 2024
bafc971
Merge branch 'master' of https://github.com/fedspendingtransparency/f…
nicweidner Nov 19, 2024
130bc61
FDG-9759 update comments to TODO
nicweidner Nov 19, 2024
72a5212
FDG-9759 remove commented type
nicweidner Nov 19, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion env/qat.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module.exports = {
API_BASE_URL: 'https://api.fiscaldata.treasury.gov',
DATA_DOWNLOAD_BASE_URL: 'https://fiscaldata.treasury.gov',
WEB_SOCKET_BASE_URL: 'wss://downloads.fiscaldata.treasury.gov/main',
EXPERIMENTAL_WHITELIST: ['experimental-page', 'afg-overview', 'publishedReportsSection'],
EXPERIMENTAL_WHITELIST: ['experimental-page', 'afg-overview', 'publishedReportsSection', 'dataPreview'],
ADDITIONAL_DATASETS: {},
USE_MOCK_RELEASE_CALENDAR_DATA_ON_API_FAIL: true,
ADDITIONAL_ENDPOINTS: {},
Expand Down
84 changes: 0 additions & 84 deletions src/components/__tests__/year-range-filter.bypass.js

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,151 @@
@import '../../../variables.module.scss';
@import '../../../zIndex.module.scss';

$table-container-margin: 8rem;

.titleContainer {
border-bottom: 1px solid $dd-border-color;
position: relative;
z-index: $table-title;
}
.tableContainer {
min-height: 44.125rem;
}


.sectionBorder {
border: solid #d6d7d9 1px;
border-radius: 5px;
}

.tableSection {
min-height: 36.5rem;
}

.detailViewButton {
height: 28px;
width: 74px;
background-color: $primary;
border: none;
border-radius: 3px;
margin-right: 1rem;
color: $content-section-background;
padding: 4px 8px 4px 8px;
justify-content: space-between;
display: flex;
align-items: center;
cursor: pointer;
}

.detailViewBack {
font-size: $font-size-16;
font-weight: $semi-bold-weight;
}

.detailViewIcon {
width: 1rem;
height: 1rem;
}

.tableContainer {
min-height: calc(#{$loading-icon-size} + #{$table-container-margin}); // height of icon + top and bottom margin
position: relative;
}

.loadingSection {
z-index: $table-loading-section;
height: calc(100% - 5.5rem);
width: 100% ;
position: absolute;
background-color: rgba(255, 255, 255, 0.85);
transition: opacity 0.5s 0.5s, left 0.5s ease-in-out;
display: block;
animation: fadeIn 1s;
overflow: hidden;
margin-top: 5.5rem;
}

@media screen and (max-width: $breakpoint-lg) {
.loadingSection {
height: calc(100% - 5.875rem);
margin-top: 5.875rem;
}
}

.loadingIcon {
z-index: $table-loading-icon;
color: $font-title;
font-size: $font-size-18;
width: 100%;
top: 7rem;
text-align: center;
position: absolute;

> * {
vertical-align: middle;
margin-right: 0.5rem;
font-size: $loading-icon-size;
color: $loading-icon-color;
}
}

.headerWrapper {
display: flex;
align-items: center;
white-space: nowrap;
padding: 1rem 1rem 0.5rem;

& > * {
margin-bottom: 0.5rem;
}
}

.header {
@include headingStyle6;
margin-left: 0.5rem;
margin-right: 1rem;
text-overflow: ellipsis;
overflow: hidden;
flex-grow: 1;
}

@media screen and (min-width: $breakpoint-md) {
.headerWrapper {
padding: 0.5rem 1rem 0;
}
}

.barContainer {
background-color: $body-background;
}

.noticeContainer {
padding: 0.5rem;
background-color: $body-background;
}

.barExpander {
max-height: 0;
transform: scaleY(-0);
transition: transform 0.2s ease, max-height 0.2s ease;

&.active {
transform: scaleY(1);
max-height: 60px;
}
}

@media screen and (max-width: $breakpoint-sm) {
.barExpander.active {
max-height: 92px;
}
.headerWrapper {
flex-wrap: wrap;
}
}

@media screen and (max-width: $breakpoint-md) {
.barExpander.active {
max-height: 170px;
}
}
Loading