-
Notifications
You must be signed in to change notification settings - Fork 5
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/approver ux UI #609
base: dev
Are you sure you want to change the base?
Feat/approver ux UI #609
Conversation
import { AdvancedDetailsButton } from './components/advanced-details-button'; | ||
import { AccountCard } from './components/cards/account-card'; | ||
import { CodeCard } from './components/cards/code-card'; | ||
import { FeeCard } from './components/cards/fee-card'; | ||
import { InputsAndOutputsCard } from './components/cards/inputs-outputs-card'; | ||
import { OutcomesCard } from './components/cards/outcomes-card'; | ||
import { Footer } from './components/footer'; |
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.
The core styles for approver ux should be in UI package src/components/approver
.
Also approver should not be "aware" of any details like fees/inputs etc. signPsbt
should be an instance of <Approver />
import { InputsAndOutputsCard } from './components/cards/inputs-outputs-card'; | ||
import { OutcomesCard } from './components/cards/outcomes-card'; | ||
|
||
export function Approver({ children }: HasChildren) { |
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.
Can we colocate this in packages/ui/src/components/approver
though, or are you just working in mobile first and will migrate later for ease of dev?
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.
for example, I think we can even reuse the same approver context for both implementations? As there's no platform specific behaviour inside (at least there shouldn't be)
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.
Yeap i've been keeping it here for a faster development. Planning to move it to ui once done
No description provided.