-
Notifications
You must be signed in to change notification settings - Fork 58
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(admin-trades): Implementing API and UI #3049
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In general: the implementation of the UI applies to guidelines ✅
const formatTrades: TFormatTrades = ({ trades, allDevices }) => { | ||
const formattedTrades: FormattedTrade[] = []; | ||
|
||
trades?.forEach((trade) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
const formattedTrades: FormattedTrade[] = trades.map
will better fit here
date: t('admin.trades.date'), | ||
buyer: t('admin.trades.buyer'), | ||
seller: t('admin.trades.seller'), | ||
energy: 'Energy', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please don't forget to localize this
It's a work in progress.
Related to:
OV-1262
OV-1261
API:
UI:
I would like to get feedback about;