Skip to content

Commit

Permalink
Merge pull request #799 from bitfinexcom/staging
Browse files Browse the repository at this point in the history
Release version to master
  • Loading branch information
prdn authored Apr 3, 2024
2 parents a94ca36 + afcca69 commit d825d44
Show file tree
Hide file tree
Showing 29 changed files with 416 additions and 285 deletions.
74 changes: 45 additions & 29 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bfx-report-ui",
"version": "2.39.0",
"version": "2.40.0",
"description": "Report page to overview the user actions in Bitfinex and download related csv files",
"repository": {
"type": "git",
Expand Down
2 changes: 2 additions & 0 deletions public/locales/en/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,8 @@
"success": "Success",
"fail": "Fail",
"targets": "Data to Export",
"exportFormat": "Export Format",
"exportAsCsv": "Export as CSV",
"exportAsPdf": "Export as PDF"
},
"fcredit": {
Expand Down
1 change: 0 additions & 1 deletion src/components/AccountSummary/AccountSummary.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ class AccountSummary extends PureComponent {
/>
</>
)}
<br />
<PaidFees
t={t}
isNoData={isNoData}
Expand Down
13 changes: 10 additions & 3 deletions src/components/AccountSummary/AccountSummary.leo.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,19 @@ const AccountSummaryLeo = ({

AccountSummaryLeo.propTypes = {
data: PropTypes.shape({
leoLev: PropTypes.number.isRequired,
leoAmountAvg: PropTypes.number.isRequired,
}).isRequired,
leoLev: PropTypes.number,
leoAmountAvg: PropTypes.number,
}),
t: PropTypes.func.isRequired,
isNoData: PropTypes.bool.isRequired,
isLoading: PropTypes.bool.isRequired,
}

AccountSummaryLeo.defaultProps = {
data: PropTypes.shape({
leoLev: 0,
leoAmountAvg: 0,
}),
}

export default memo(AccountSummaryLeo)
21 changes: 16 additions & 5 deletions src/components/AccountSummary/_AccountSummary.scss
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
.section-account-summary {
&-data {
width: 100%;
display: flex;
flex-wrap: wrap;
flex-direction: row;
align-items: flex-end;
justify-content: flex-start;
justify-content: space-between;

&-item {
width: fit-content;
max-width: calc(100vw - 20px);
margin-right: 20px;
width: 49%;
min-width: 400px;
margin-bottom: 35px;

.collapsed-table {
Expand Down Expand Up @@ -49,6 +50,16 @@
}
}

@media screen and (max-width: 1210px) {
.section-account-summary {
&-data {
&-item {
width: 100%;
}
}
}
}

@media screen and (max-width: 768px) {
.section-account-summary {
&-data {
Expand All @@ -63,8 +74,8 @@
&-item {
width: 100%;
margin-right: 0;
min-width: inherit;
}
}
}
}

2 changes: 1 addition & 1 deletion src/components/AppSummary/AppSummary.value.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ const AccountSummaryValue = () => {
</div>
)}
<Chart
aspect={1.5}
height={375}
data={chartData}
showLegend={false}
dataKeys={presentCurrencies}
Expand Down
Loading

0 comments on commit d825d44

Please sign in to comment.