diff --git a/frontend/src/pages/project/Overview.vue b/frontend/src/pages/project/Overview.vue index 2ae36394ce..3a0913561b 100644 --- a/frontend/src/pages/project/Overview.vue +++ b/frontend/src/pages/project/Overview.vue @@ -9,6 +9,9 @@

It will always run the latest flow deployed in Node-RED and use the latest credentials and runtime settings defined in the Projects settings.

To edit an Applications flow, open the editor of the Instance.

+
@@ -205,6 +208,7 @@ import DeviceCredentialsDialog from '../team/Devices/dialogs/DeviceCredentialsDi import DeviceLastSeenBadge from '@/pages/device/components/DeviceLastSeenBadge' import DeploymentName from './components/cells/DeploymentName.vue' import DeviceLink from './components/cells/DeviceLink.vue' +import InstanceLink from './components/cells/InstanceLink.vue' import LastSeen from './components/cells/LastSeen.vue' import ProjectEditorLink from './components/cells/ProjectEditorLink.vue' import ProjectStatusBadge from '@/pages/project/components/ProjectStatusBadge' @@ -246,6 +250,19 @@ export default { columns () { return [ { label: 'Device', key: 'name', class: ['w-64'], sortable: true, component: { is: markRaw(DeviceLink) } }, + { + label: 'Instance', + key: 'project', + class: ['w-64'], + sortable: true, + component: { + is: markRaw(InstanceLink), + map: { + id: 'project.id', + name: 'project.name' + } + } + }, { label: 'Last Seen', key: 'lastSeenAt', class: ['w-32'], sortable: true, component: { is: markRaw(DeviceLastSeenBadge) } }, { label: 'Last Known Status', class: ['w-32'], component: { is: markRaw(ProjectStatusBadge) } }, { label: 'Deployed Snapshot', class: ['w-48'], component: { is: markRaw(Snapshot) } } diff --git a/frontend/src/pages/project/components/ProjectChargesTable.vue b/frontend/src/pages/project/components/ProjectChargesTable.vue deleted file mode 100644 index 9223508236..0000000000 --- a/frontend/src/pages/project/components/ProjectChargesTable.vue +++ /dev/null @@ -1,128 +0,0 @@ - - - diff --git a/frontend/src/pages/project/components/ProjectCreditBanner.vue b/frontend/src/pages/project/components/ProjectCreditBanner.vue deleted file mode 100644 index c6364ac5da..0000000000 --- a/frontend/src/pages/project/components/ProjectCreditBanner.vue +++ /dev/null @@ -1,25 +0,0 @@ - - - diff --git a/frontend/src/pages/project/components/ProjectForm.vue b/frontend/src/pages/project/components/ProjectForm.vue deleted file mode 100644 index 2afc9999ba..0000000000 --- a/frontend/src/pages/project/components/ProjectForm.vue +++ /dev/null @@ -1,474 +0,0 @@ - - - diff --git a/frontend/src/pages/project/components/cells/ApplicationLink.vue b/frontend/src/pages/project/components/cells/ApplicationLink.vue new file mode 100644 index 0000000000..b92752e982 --- /dev/null +++ b/frontend/src/pages/project/components/cells/ApplicationLink.vue @@ -0,0 +1,24 @@ + + + diff --git a/frontend/src/pages/project/components/cells/DeploymentName.vue b/frontend/src/pages/project/components/cells/DeploymentName.vue index 61e5b0eabf..56cca78bd9 100644 --- a/frontend/src/pages/project/components/cells/DeploymentName.vue +++ b/frontend/src/pages/project/components/cells/DeploymentName.vue @@ -15,6 +15,7 @@ import { CloudIcon } from '@heroicons/vue/outline' export default { name: 'DeploymentName', components: { CloudIcon }, + inheritAttrs: false, props: { name: { required: true, diff --git a/frontend/src/pages/project/components/cells/DeviceLink.vue b/frontend/src/pages/project/components/cells/DeviceLink.vue index 9be5002a11..c52605ad01 100644 --- a/frontend/src/pages/project/components/cells/DeviceLink.vue +++ b/frontend/src/pages/project/components/cells/DeviceLink.vue @@ -17,6 +17,7 @@ import { ChipIcon } from '@heroicons/vue/solid' export default { name: 'DeviceLink', components: { ChipIcon }, + inheritAttrs: false, props: { id: { required: true, diff --git a/frontend/src/pages/project/components/cells/InstanceLink.vue b/frontend/src/pages/project/components/cells/InstanceLink.vue new file mode 100644 index 0000000000..4edf0066aa --- /dev/null +++ b/frontend/src/pages/project/components/cells/InstanceLink.vue @@ -0,0 +1,26 @@ + + + diff --git a/frontend/src/pages/project/components/cells/LastSeen.vue b/frontend/src/pages/project/components/cells/LastSeen.vue index 022f7ce882..46947e3cae 100644 --- a/frontend/src/pages/project/components/cells/LastSeen.vue +++ b/frontend/src/pages/project/components/cells/LastSeen.vue @@ -13,6 +13,7 @@