nd,ngui: let users switch sysupdates channel from the UI #28

Manually merged
x1ddos merged 7 commits from sysupswitch into master 11 months ago
Owner

at the moment, there are two channels: edge and stable.

this builds up on a few commits, most notably the persistent configuration storage which why this set also closes #6.

here's how new UI elements look like:

image

at the moment, there are two channels: edge and stable. this builds up on a few commits, most notably the persistent configuration storage which why this set also closes https://git.qcode.ch/nakamochi/ndg/issues/6. here's how new UI elements look like: ![image](/attachments/a7a2eea0-a056-4139-8933-e14c84776be5)
x1ddos added 7 commits 11 months ago
a18a2a5435
lndhttp: remove nonexistent field from pending chan list
funding_expiry_blocks is present in lightning.proto but a REST API call
shows no such field, at least in lnd v0.16.4, leading to json parsing error.

the field is unused at the moment anyway.
aca7eb1165
comm: introduce a simpler way to read/write
this builds on top of the main read and write fn, setting up a global
structure to allow module users imply comm.pipeWrite(msg)
and comm.pipeRead() without providing an allocator or reader/writer
on each call.

the advantage is simplification in the gui functions because they don't
have access to an allocator or the nd process read/write pipe.

disadvantage is in testing because it requires a global,
"before all tests" setup.

at the moment, only ngui is modified to use the new pipeRead/Write. the
daemon would suffer too many changes, especially in tests, due to the
global state.
664c75a9c9
nd: add a persistent configuration support
the config will be used by the daemon to store user choices across
reboots.

closes #6
094f6406e3
ui/lvgl: add a couple convenience methods for next commits
small things like show/hide and enable/disable. also, the text of the
button can now be set directly using its label field.
e8838b3eaf
ui/lvgl: add an optional spinner to card widget
some cards will need to show a nondeterministic progress.
the spinner in the top right corner does exactly that, controlled
via the new spin function.

the default is no spinner.
ci/woodpecker/pr/woodpecker Pipeline was successful Details
ci/woodpecker/push/woodpecker Pipeline was successful Details
ci/woodpecker/tag/woodpecker Pipeline was successful Details
c82848d186
nd,ngui: let users switch sysupdates channel from the UI
at the moment, there are two channels: edge and stable.

this builds up on few previous commits, most notably the persistent
configuration storage.
Poster
Owner

some commits here are unrelated but it doesn't matter because the merge is fast-forward. just wanted to run all of it through the CI.

some commits here are unrelated but it doesn't matter because the merge is fast-forward. just wanted to run all of it through the CI.
x1ddos merged commit c82848d186 into master manually 11 months ago
This repo is archived. You cannot comment on pull requests.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: nakamochi/ndg#28
Loading…
There is no content yet.