This release completes our work on bindings. We have made many small improvements to make using Clive TUI more convenient. We have also simplified the use of the update authority operations in CLI. We hope you will like the changes. In addition, we’ve been busy working on technical issues: we updated Schemas (used Schemas internally for working with operations), Wax, Beekeepy and Textual (the TUI framework), which required extensive testing and code adjustments. As a result, Clive CLI is now faster, although there’s still more work to be done.
Adding global bindings to the bottom menu
The global bindings work across many views. Compared to the previous version, we have added two new bindings: lock wallet
and switch a node
.
So now, the following global bindings are available:
?
- help
Ctrl+x
- clear notifications
Ctrl+d
- go to the dashboard (available in unlocked mode)
Ctrl+o
- load a transaction from a file (available in unlocked mode)
Ctrl+l
- lock a wallet (available in unlocked mode) - newly added
Ctrl+s
- go to settings (profile configuration) (available in unlocked mode)
Ctrl+n
- switch a node (available in unlocked mode and during profile creation) - newly added
Ctrl+t
- go to the transaction summary (cart) (available in unlocked mode)
Ctrl +p
- open the palette
Ctrl+q
- quit
The bindings: lock wallet
, go to the transaction summary
, go to the dashboard
and go to the settings
are very useful and frequently used. Therefore, they are added to the bottom menu.
Context bindings for account management in the dashboard
We have added context binding for removing accounts from the dashboard (r
) and for viewing details (`d). These bindings apply to the highlighted account and they are also visible in the bottom menu.
Improvements that make TUI easier to use
We get used to certain basic behaviours in applications that we expect, even when it is an application in a terminal like Clive. We have implemented these smaller features such as:
- Navigate using the arrow keys in the button list on the Operations
and Settings
- Navigate using the arrow keys through rows and columns in tables
- Highlight currently focused row in the tables
- Added missing but useful buttons (Add new alias
, Load from file
- during the onboarding process)
Change the execution directory
We have added a new mapped folder called mapped_host_directory
inside the '.clive/` folder on the host. This folder is created when you use the scripts to start Clive. You can use it to transfer data between the host and Docker. By default, your transaction will be saved in this folder. You can also load a transaction or a private key from this directory.
Clive CLI also starts now in this folder.
Simplified the most sophisticated command in CLI - update authority
The commands for updating authorities include subcommands, options and common options. To make them easier to use we have relaxed the command’s strictness: - the common options --sign
can now be used with any subcommand even at the end of the command. However it can only be used once.
Please be aware that commands have its own help and options:
Examples:
User alice
wants to update the posting authority. She wants to change the threshold from 2 to 1, remove mary
and add bob
.
Posting authority of alice
before updating
Command:
clive process update-posting-authority --threshold 1 add-account --account bob --weight 1 remove-account --account mary --sign alice_key
Posting authority of alice
after updating
Complete list of corrected issues
The scripts that allow you to run Clive are here: https://gtg.openhive.network/get/clive/