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

feat: continue develop scrvusd #610

Merged
merged 83 commits into from
Feb 14, 2025
Merged
Changes from 1 commit
Commits
Show all changes
83 commits
Select commit Hold shift + click to select a range
2c6eee0
styling: fix input wallet balance font color
OnlyJousting Jan 8, 2025
7e04efe
Merge branch 'main' into feat/continue-develop-scrvusd
OnlyJousting Jan 8, 2025
e7819d0
set up statistics component
OnlyJousting Jan 9, 2025
a5d796e
set up historical scrvusd yield fetch
OnlyJousting Jan 9, 2025
044c1e3
Merge branch 'main' into feat/continue-develop-scrvusd
OnlyJousting Jan 12, 2025
f101e8d
add scrvusd historical revenue query
OnlyJousting Jan 12, 2025
d41a150
set up scrvusd metrics stack
OnlyJousting Jan 13, 2025
577d7bd
feat: add chart
OnlyJousting Jan 16, 2025
42d63e5
Merge branch 'main' into feat/continue-develop-scrvusd
OnlyJousting Jan 17, 2025
38da516
styling: configure MuiSelect
OnlyJousting Jan 19, 2025
30e8347
set up TimeOption
OnlyJousting Jan 19, 2025
67dfd0b
Line chart tooltip
OnlyJousting Jan 19, 2025
3f48ac6
move types
OnlyJousting Jan 20, 2025
9faab04
remove chart animation
OnlyJousting Jan 20, 2025
a50269a
Merge branch 'main' into feat/continue-develop-scrvusd
OnlyJousting Jan 20, 2025
f4aa942
update import paths
OnlyJousting Jan 20, 2025
e30ca22
calc revenue epochs
OnlyJousting Jan 20, 2025
6b07ac7
distributions bar chart
OnlyJousting Jan 22, 2025
6368ddc
Merge branch 'main' into feat/continue-develop-scrvusd
OnlyJousting Jan 22, 2025
fad34b3
chore: resolve merge from main issues
OnlyJousting Jan 22, 2025
e0cd0e8
distributions bar chart tooltip
OnlyJousting Jan 22, 2025
e9fada3
weekly accum revenue stat
OnlyJousting Jan 22, 2025
b9f13dc
Merge branch 'main' into feat/continue-develop-scrvusd
OnlyJousting Jan 22, 2025
f22db8c
set up advanced section
OnlyJousting Jan 27, 2025
10d89ef
Merge branch 'main' into feat/continue-develop-scrvusd
OnlyJousting Feb 3, 2025
9ba1546
update import paths
OnlyJousting Feb 3, 2025
5621a2c
Merge branch 'main' into feat/continue-develop-scrvusd
OnlyJousting Feb 3, 2025
cf0ba96
use toUTC from prices-api package
OnlyJousting Feb 3, 2025
7788d41
fix CardHeader component variants
OnlyJousting Feb 3, 2025
79e22e3
finish Advanced Details section
OnlyJousting Feb 3, 2025
07e30d0
add expand chart toggle functionality
OnlyJousting Feb 3, 2025
03c8b31
update advanced info background color
OnlyJousting Feb 4, 2025
e9fe57b
migrating chart buttons
OnlyJousting Feb 4, 2025
bb64b89
set yield chart based on visible range
OnlyJousting Feb 5, 2025
b9dd1eb
responsive styling
OnlyJousting Feb 5, 2025
0ee8641
add formatDate util
OnlyJousting Feb 5, 2025
0002017
fixes in response to comments
OnlyJousting Feb 5, 2025
63ed6b9
add RevenueChartFooter
OnlyJousting Feb 6, 2025
4f35993
Merge branch 'main' into feat/continue-develop-scrvusd
OnlyJousting Feb 6, 2025
891017d
working on responsive layout
OnlyJousting Feb 6, 2025
a7240a0
responsive styling
OnlyJousting Feb 6, 2025
7e7c80a
adapt user position banner for new layout
OnlyJousting Feb 6, 2025
11165ef
manage tooltip size on small screen so it doesn't esacpe the viewport
OnlyJousting Feb 6, 2025
c34199a
hide expand chart button on small viewports where it's already taking…
OnlyJousting Feb 6, 2025
83e6668
Merge branch 'main' into feat/continue-develop-scrvusd
OnlyJousting Feb 6, 2025
3a4549d
update toDate imports from toUTC
OnlyJousting Feb 6, 2025
f7d9bee
styling fix
OnlyJousting Feb 6, 2025
72e75ea
fix update from main issues
OnlyJousting Feb 6, 2025
b0dba66
fixes in response to comments
OnlyJousting Feb 7, 2025
7a3503d
refactor destructured store imports
OnlyJousting Feb 8, 2025
7e53de5
refactor: store selected chart and time option in store
OnlyJousting Feb 8, 2025
a08d90c
fix: added forgotten import to override-card-header
OnlyJousting Feb 8, 2025
20471a6
Merge branch 'main' into feat/continue-develop-scrvusd
OnlyJousting Feb 8, 2025
6ad8e6b
Merge branch 'main' into feat/continue-develop-scrvusd
OnlyJousting Feb 10, 2025
6bbe59b
refactor: StatsBanner to use new components/theme
OnlyJousting Feb 10, 2025
fdca4b3
Merge branch 'feat/continue-develop-scrvusd' of https://github.com/cu…
OnlyJousting Feb 10, 2025
7261429
refactor: migrate index to new theme components
OnlyJousting Feb 10, 2025
63880c7
fix: fix broken import
OnlyJousting Feb 10, 2025
0ec61ba
refactor: migrate scrvusdStatistics fetch to react-query
OnlyJousting Feb 10, 2025
b2082bc
refactor: UserPositionBanner > UserPosition
OnlyJousting Feb 10, 2025
48eb6ea
styling: handle stats on smaller screens
OnlyJousting Feb 11, 2025
0dd0ef0
refactor: migrate Page.tsx to use theme
OnlyJousting Feb 11, 2025
9807993
styling: cap width of tooltips on small screens
OnlyJousting Feb 11, 2025
af94893
refactor: UserInformation to use theme
OnlyJousting Feb 11, 2025
7db14d4
feat: added prices-api user stats entity
OnlyJousting Feb 11, 2025
01ef36c
styling: added spacing
OnlyJousting Feb 11, 2025
a4955e4
Merge branch 'main' into feat/continue-develop-scrvusd
OnlyJousting Feb 11, 2025
719506d
fix: set time options in uppercase
OnlyJousting Feb 11, 2025
ba3bfe1
Merge branch 'feat/continue-develop-scrvusd' of https://github.com/cu…
OnlyJousting Feb 11, 2025
abb1653
styling: add collapse animation on transaction details
OnlyJousting Feb 11, 2025
f28e7b7
fix: local storage sync across components
DanielSchiavini Feb 12, 2025
53bb15d
chore: remove old cache item
DanielSchiavini Feb 12, 2025
3cb74d4
feat: add fade animation to statsbanner
OnlyJousting Feb 12, 2025
0cf7e0b
refactor: work through review comments
OnlyJousting Feb 12, 2025
175801d
fix: limit potential overflow of decimals for proj_apy
OnlyJousting Feb 12, 2025
673eb5f
refactor: migrate userbalances fetch to react-query
OnlyJousting Feb 12, 2025
91ad6f6
fix: projected apr calculation bug
OnlyJousting Feb 12, 2025
edd7463
fix: manage stats banner state when connecting to avoid flickering
OnlyJousting Feb 12, 2025
f9477f6
Merge branch 'main' into feat/continue-develop-scrvusd
OnlyJousting Feb 12, 2025
696db6b
fix: merge updates
OnlyJousting Feb 12, 2025
7c5a9e3
fix: fixes based on review comments
OnlyJousting Feb 13, 2025
175ebd5
Merge branch 'main' into feat/continue-develop-scrvusd
OnlyJousting Feb 13, 2025
4b22fb6
Merge branch 'main' into feat/continue-develop-scrvusd
OnlyJousting Feb 14, 2025
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
chore: resolve merge from main issues
OnlyJousting committed Jan 22, 2025

Verified

This commit was signed with the committer’s verified signature.
orestisfl Orestis Floros
commit fad34b3174781d75ec5fa46fd479a6bf88641ed8
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@ import { BarChart, Bar, Cell, XAxis, YAxis, CartesianGrid, Tooltip, ResponsiveCo
import { formatNumber } from '@ui/utils/utilsFormat'
import { useTheme } from '@mui/material/styles'
import { SizesAndSpaces } from '@ui-kit/themes/design/1_sizes_spaces'
import { toUTC } from '../utils'
import { toUTC } from '@loan/components/PageCrvUsdStaking/utils'

const { FontSize } = SizesAndSpaces

Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@ import { t } from '@lingui/macro'
import { LineChart, Line, XAxis, YAxis, CartesianGrid, Tooltip, Legend, ResponsiveContainer } from 'recharts'
import CustomTooltip from './ChartTooltip'
import { formatDateFromTimestamp } from '@ui/utils/utilsFormat'
import { toUTC } from '../utils'
import { toUTC } from '@loan/components/PageCrvUsdStaking/utils'

const { FontSize } = SizesAndSpaces