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

(feature) App summary: active positions section #873

Merged
merged 40 commits into from
Oct 8, 2024
Merged
Changes from 1 commit
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
8633142
Add active position res mock
alexstotsky Oct 1, 2024
4875cdf
Add active positions keys/descriptions
alexstotsky Oct 2, 2024
ff597a1
Adjust mocked res pos data
alexstotsky Oct 2, 2024
4095fbb
Update summary mapped methods
alexstotsky Oct 2, 2024
09d9a84
Implement positions refetch on summary refresh
alexstotsky Oct 2, 2024
c280407
[wip] Summary positions section
alexstotsky Oct 2, 2024
fd3fcfa
Add active positions to the app summary
alexstotsky Oct 2, 2024
73417ec
Actualize query constants
alexstotsky Oct 2, 2024
511350d
Update summary active positions type
alexstotsky Oct 2, 2024
835f776
[wip] Active position cols config getters
alexstotsky Oct 2, 2024
d92ab95
Implement active positions entraies handling flow
alexstotsky Oct 2, 2024
67d14ea
Fix column getters param providing
alexstotsky Oct 2, 2024
c70b91c
Add summary positions table styling
alexstotsky Oct 2, 2024
0e3ec9d
Fix summary pos refreshing flow
alexstotsky Oct 2, 2024
e0f33aa
Actualize classnames
alexstotsky Oct 2, 2024
992ffe4
Unused keys cleanup
alexstotsky Oct 2, 2024
9f6e282
Improve pos loading/no data states handling
alexstotsky Oct 2, 2024
6b0ea33
Enable active pos cols resizing for the framework mode
alexstotsky Oct 3, 2024
ebda93c
Adjust cells values types
alexstotsky Oct 3, 2024
9610b67
Actualize amount column content
alexstotsky Oct 3, 2024
93450c9
Merged pl/plPerc cells values representation
alexstotsky Oct 3, 2024
8a8c967
Implement isDerivativePair checker
alexstotsky Oct 3, 2024
9894aa3
Implement pair cols config, cleanup
alexstotsky Oct 3, 2024
a4e870a
Update secondary cell vals styling
alexstotsky Oct 3, 2024
c0724fb
Improve secondary vals for collapsed tables
alexstotsky Oct 3, 2024
f6ef5e9
Update positions keys/descriptions
alexstotsky Oct 3, 2024
66b4176
Improve pairs labels handling
alexstotsky Oct 3, 2024
8086924
Actualize collateral value representation
alexstotsky Oct 3, 2024
970ad28
Adjust liq price representation
alexstotsky Oct 3, 2024
e4438b6
Implement formatSecondaryPercentValue helper
alexstotsky Oct 3, 2024
1739e0b
Add secondary percent values styling
alexstotsky Oct 3, 2024
9158f15
Improve p/l perc handling and representattion
alexstotsky Oct 3, 2024
93f344e
Remove unused import
alexstotsky Oct 3, 2024
f664ff4
Cleanup
alexstotsky Oct 3, 2024
f5d3a60
Lint fix
alexstotsky Oct 3, 2024
de3cef1
Adjust active pos preloaders
alexstotsky Oct 4, 2024
2ae966c
Add position pair key/description
alexstotsky Oct 4, 2024
4c9ed2b
Implement getPairLabel helper
alexstotsky Oct 4, 2024
e079171
Actualize pair cols config
alexstotsky Oct 4, 2024
895e4b6
Cleanup
alexstotsky Oct 4, 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
Prev Previous commit
Next Next commit
Actualize collateral value representation
  • Loading branch information
alexstotsky committed Oct 4, 2024
commit 8086924ea5c0200dd39815a21127ba41b4384a45
2 changes: 1 addition & 1 deletion src/components/AppSummary/AppSummary.columns.js
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ export const getPositionsColumns = ({
renderer: (rowIndex) => {
if (isLoading || isNoData) return getCellState(isLoading, isNoData)
const { collateral } = entries[rowIndex]
return getCell(fixedFloat(collateral), t)
return getCell(`$${fixedFloat(collateral)}`, t)
},
copyText: rowIndex => fixedFloat(entries[rowIndex].collateral),
},
Expand Down