mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 12:11:56 +00:00
Action Request updates + misc fixes (#2818)
* fix web manifest format error * fix setting optional dependencies * rework dependency actions to be nested * fix styling * fix styles * combine action requests into same component * only display actions header if they exist * fix storing polyfill dependencies * fix styling and button propagation * fixes for setting polyfill dependencies * revert to test * revert required deps setting logic * add logs and adjust logic * test * fix deps logic when changing config * remove logs; deps working as expected
This commit is contained in:
@@ -1739,6 +1739,15 @@ export module Mock {
|
||||
hasInput: true,
|
||||
group: null,
|
||||
},
|
||||
rpc: {
|
||||
name: 'Set RPC',
|
||||
description: 'Create RPC Credentials',
|
||||
warning: null,
|
||||
visibility: 'enabled',
|
||||
allowedStatuses: 'any',
|
||||
hasInput: true,
|
||||
group: null,
|
||||
},
|
||||
properties: {
|
||||
name: 'View Properties',
|
||||
description: 'view important information about Bitcoin',
|
||||
@@ -2037,7 +2046,26 @@ export module Mock {
|
||||
status: {
|
||||
main: 'stopped',
|
||||
},
|
||||
actions: {},
|
||||
actions: {
|
||||
config: {
|
||||
name: 'Config',
|
||||
description: 'LND needs configuration before starting',
|
||||
warning: null,
|
||||
visibility: 'enabled',
|
||||
allowedStatuses: 'any',
|
||||
hasInput: true,
|
||||
group: null,
|
||||
},
|
||||
connect: {
|
||||
name: 'Connect',
|
||||
description: 'View LND connection details',
|
||||
warning: null,
|
||||
visibility: 'enabled',
|
||||
allowedStatuses: 'any',
|
||||
hasInput: true,
|
||||
group: null,
|
||||
},
|
||||
},
|
||||
serviceInterfaces: {
|
||||
grpc: {
|
||||
id: 'grpc',
|
||||
@@ -2108,6 +2136,24 @@ export module Mock {
|
||||
registry: 'https://registry.start9.com/',
|
||||
developerKey: 'developer-key',
|
||||
requestedActions: {
|
||||
config: {
|
||||
active: true,
|
||||
request: {
|
||||
packageId: 'lnd',
|
||||
actionId: 'config',
|
||||
severity: 'critical',
|
||||
reason: 'LND needs configuration before starting',
|
||||
},
|
||||
},
|
||||
connect: {
|
||||
active: true,
|
||||
request: {
|
||||
packageId: 'lnd',
|
||||
actionId: 'connect',
|
||||
severity: 'important',
|
||||
reason: 'View LND connection details',
|
||||
},
|
||||
},
|
||||
'bitcoind/config': {
|
||||
active: true,
|
||||
request: {
|
||||
@@ -2119,10 +2165,24 @@ export module Mock {
|
||||
kind: 'partial',
|
||||
value: {
|
||||
color: '#ffffff',
|
||||
testnet: false,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
'bitcoind/rpc': {
|
||||
active: true,
|
||||
request: {
|
||||
packageId: 'bitcoind',
|
||||
actionId: 'rpc',
|
||||
severity: 'important',
|
||||
reason: `LND want's its own RPC credentials`,
|
||||
input: {
|
||||
kind: 'partial',
|
||||
value: {
|
||||
rpcsettings: {
|
||||
rpcuser: 'lnd',
|
||||
},
|
||||
testnet: false,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
@@ -232,6 +232,15 @@ export const mockPatchData: DataModel = {
|
||||
hasInput: true,
|
||||
group: null,
|
||||
},
|
||||
rpc: {
|
||||
name: 'Set RPC',
|
||||
description: 'Create RPC Credentials',
|
||||
warning: null,
|
||||
visibility: 'enabled',
|
||||
allowedStatuses: 'any',
|
||||
hasInput: true,
|
||||
group: null,
|
||||
},
|
||||
properties: {
|
||||
name: 'View Properties',
|
||||
description: 'view important information about Bitcoin',
|
||||
@@ -487,7 +496,26 @@ export const mockPatchData: DataModel = {
|
||||
status: {
|
||||
main: 'stopped',
|
||||
},
|
||||
actions: {},
|
||||
actions: {
|
||||
config: {
|
||||
name: 'Config',
|
||||
description: 'LND needs configuration before starting',
|
||||
warning: null,
|
||||
visibility: 'enabled',
|
||||
allowedStatuses: 'any',
|
||||
hasInput: true,
|
||||
group: null,
|
||||
},
|
||||
connect: {
|
||||
name: 'Connect',
|
||||
description: 'View LND connection details',
|
||||
warning: null,
|
||||
visibility: 'enabled',
|
||||
allowedStatuses: 'any',
|
||||
hasInput: true,
|
||||
group: null,
|
||||
},
|
||||
},
|
||||
serviceInterfaces: {
|
||||
grpc: {
|
||||
id: 'grpc',
|
||||
@@ -559,6 +587,24 @@ export const mockPatchData: DataModel = {
|
||||
registry: 'https://registry.start9.com/',
|
||||
developerKey: 'developer-key',
|
||||
requestedActions: {
|
||||
config: {
|
||||
active: true,
|
||||
request: {
|
||||
packageId: 'lnd',
|
||||
actionId: 'config',
|
||||
severity: 'critical',
|
||||
reason: 'LND needs configuration before starting',
|
||||
},
|
||||
},
|
||||
connect: {
|
||||
active: true,
|
||||
request: {
|
||||
packageId: 'lnd',
|
||||
actionId: 'connect',
|
||||
severity: 'important',
|
||||
reason: 'View LND connection details',
|
||||
},
|
||||
},
|
||||
'bitcoind/config': {
|
||||
active: true,
|
||||
request: {
|
||||
@@ -570,10 +616,24 @@ export const mockPatchData: DataModel = {
|
||||
kind: 'partial',
|
||||
value: {
|
||||
color: '#ffffff',
|
||||
testnet: false,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
'bitcoind/rpc': {
|
||||
active: true,
|
||||
request: {
|
||||
packageId: 'bitcoind',
|
||||
actionId: 'rpc',
|
||||
severity: 'important',
|
||||
reason: `LND want's its own RPC credentials`,
|
||||
input: {
|
||||
kind: 'partial',
|
||||
value: {
|
||||
rpcsettings: {
|
||||
rpcuser: 'lnd',
|
||||
},
|
||||
testnet: false,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user