Skip to content

Implement new field component across the app #1871

@stackingsaunter

Description

@stackingsaunter

Migrate all input components to use new field component

New bitcoin field

Thanks to modular character of field component, I created a variant of this that can be used in transacting flows.

It uses Button Group for the button in the input (although maybe it can be done differently) and Input Group to display the info below

It's a bitcoin input that shows 1 or max 2 information related to input, depending on a flow:

Image

Button on the right changes the unit to fiat (and displayed values underneath):

Image

Additionally, it would be cool to allow users to input BTC instead of sats. Maybe this could be achieved by clicking the ₿ symbol which would then change to BTC:

Image

Ideally, error could display the related value in red

Image

Example screens

Send

Image

Receive

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions