better url-ing in the ui (#68); demo improvements

This commit is contained in:
Michael Quigley
2022-09-28 14:47:42 -04:00
parent 3639635d48
commit 02d6b7fce9
10 changed files with 53 additions and 25 deletions

View File

@ -82,7 +82,7 @@ function buildGraph(overview) {
if(item.active) {
out.nodes.push({
id: '' + id,
data: {label: <div><Icon path={mdiAccessPointNetwork} size={0.75} className={"flowNode"}/> { item.endpoint }</div>},
data: {label: <div><Icon path={mdiAccessPointNetwork} size={0.75} className={"flowNode"}/> { item.frontend }</div>},
position: {x: (id * 25), y: 0},
style: { width: 'fit-content', backgroundColor: '#9367ef', color: 'white' },
type: 'output',

View File

@ -8,20 +8,15 @@ const Services = (props) => {
const columns = [
{
name: 'Endpoint',
selector: row => row.endpoint,
name: 'Frontend',
selector: row => row.frontend,
sortable: true,
},
{
name: 'Service',
selector: row => row.zitiServiceId,
name: 'Backend',
selector: row => row.backend,
sortable: true,
},
{
name: 'Updated',
selector: row => row.updatedAt,
sortable: true
}
]
const conditionalRowStyles = [

View File

@ -97,7 +97,9 @@
* @memberof module:types
*
* @property {string} zitiServiceId
* @property {string} endpoint
* @property {string} zrokServiceId
* @property {string} frontend
* @property {string} backend
* @property {boolean} active
* @property {string} createdAt
* @property {string} updatedAt