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/approver ux UI #609

Draft
wants to merge 6 commits into
base: dev
Choose a base branch
from
Draft

Feat/approver ux UI #609

wants to merge 6 commits into from

Conversation

edgarkhanzadian
Copy link
Collaborator

No description provided.

Comment on lines 10 to 16
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';
Copy link
Collaborator

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) {
Copy link
Collaborator

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?

Copy link
Collaborator

@kyranjamie kyranjamie Nov 13, 2024

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)

Copy link
Collaborator Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants