edouard 19491d1d00
Merge #720: gui: Trim text inputs
9895b493f1d79ae8fc5a1591ef455ccda2d81ccd gui: trim text input strings (jp1ac4)
d3f2931375ff95c201a60164bf1015f18c6e87ce gui: remove unused file (jp1ac4)

Pull request description:

  This is to resolve #323.

  Following suggestions in #323, I've added a new `TrimmedString` struct that takes a string and applies `trim()`. This type is then used as `form::Value<TrimmedString>` to ensure text inputs are trimmed.

  I'm creating this PR as draft to check if this is the right approach before applying the change to other inputs.

  I've also removed a view file that seems to have been created accidentally.

ACKs for top commit:
  edouardparis:
    ACK 9895b493f1d79ae8fc5a1591ef455ccda2d81ccd

Tree-SHA512: 76c7f28ed2d0b6b6b76658a9368b918b0b211e2fabd72ac5d19c13adcbb2d3645b78680a8849f235ee58620fbe8df440ef8354f2d50d39601879bb7727465335
2023-10-06 10:22:53 +02:00
..
2023-10-06 10:22:53 +02:00
2023-10-06 01:48:41 +01:00
2023-04-18 13:48:24 +02:00
2022-12-08 12:21:44 +01:00

Liana GUI

The Liana graphical interface.

Dependencies

You will need a few dependencies in order to run correctly this software. For Linux systems, those are:

  • fontconfig for access to fonts (On Debian/Ubuntu apt install libfontconfig1-dev)
  • libudev-dev to communicate with devices through USB (On Debian/Ubuntu apt install libudev-dev)

In addition, if you want to build the project from source, you will need:

  • pkg-config (On Debian/Ubuntu apt install pkg-config)

Usage

For a quick guide to try out the software see ../doc/TRY.md.

liana-gui --datadir <datadir> --<network>

The default datadir is the same as for lianad (~/.liana for Linux). The default network is Bitcoin mainnet, but testnet signet and regtest are supported.

If the software is started with no parameter and no data directory is detected, a Liana installer will be spawned that will guide you in the processing of configuring Liana.

If the software is started and a reachable lianad is running, it will plug to it via lianad's JSONRPC interface.

Troubleshooting

  • If you encounter layout issue on X11, try to start the GUI with WINIT_X11_SCALE_FACTOR manually set to 1