UI/feature/actions (#195)

* ui: actions page

* rework actions page

* add warning to Actions

Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
This commit is contained in:
Aaron Greenspan
2021-02-15 10:25:01 -07:00
committed by Aiden McClelland
parent 5cf7d1ff88
commit 02ab63da81
17 changed files with 272 additions and 28 deletions

View File

@@ -60,7 +60,11 @@ export const bitcoinI: AppInstalledFull = {
configuredRequirements: [],
hasFetchedFull: true,
ui: false,
restoreAlert: 'if you restore this app horrible things will happen to the people you love.'
restoreAlert: 'if you restore this app horrible things will happen to the people you love.',
actions: [
{ id: 'sync-chain', name: 'Sync Chain', description: 'this will sync with the chain like from Avatar', allowedStatuses: [ AppStatus.RUNNING, AppStatus.RUNNING, AppStatus.RUNNING, AppStatus.RUNNING ]},
{ id: 'off-sync-chain', name: 'Off Sync Chain', description: 'this will off sync with the chain like from Avatar', allowedStatuses: [ AppStatus.STOPPED ]}
],
}
export const lightningI: AppInstalledFull = {
@@ -86,6 +90,7 @@ export const lightningI: AppInstalledFull = {
],
hasFetchedFull: true,
ui: true,
actions: [],
}
export const cupsI: AppInstalledFull = {
@@ -132,6 +137,7 @@ export const cupsI: AppInstalledFull = {
}),
],
hasFetchedFull: true,
actions: [],
}
export const bitcoinA: AppAvailableFull = {