From e4c6ae836d9f87c920ca646804078250138f33f5 Mon Sep 17 00:00:00 2001 From: Julian Krauser Date: Thu, 23 Jan 2025 11:22:15 +0100 Subject: [PATCH] display versions and filtered feed --- src/router/index.ts | 5 ++ src/viewmodels/version.models.ts | 21 +++++ src/views/account/Administration.vue | 4 +- src/views/account/VersionDisplay.vue | 124 +++++++++++++++++++++++++++ src/views/account/View.vue | 13 ++- tsconfig.app.json | 3 +- 6 files changed, 166 insertions(+), 4 deletions(-) create mode 100644 src/viewmodels/version.models.ts create mode 100644 src/views/account/VersionDisplay.vue diff --git a/src/router/index.ts b/src/router/index.ts index eeb1ba3..ad7f073 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -652,6 +652,11 @@ const router = createRouter({ name: "account-administration", component: () => import("@/views/account/Administration.vue"), }, + { + path: "version", + name: "account-version", + component: () => import("@/views/account/VersionDisplay.vue"), + }, { path: ":pathMatch(.*)*", name: "account-404", diff --git a/src/viewmodels/version.models.ts b/src/viewmodels/version.models.ts new file mode 100644 index 0000000..fe2bf37 --- /dev/null +++ b/src/viewmodels/version.models.ts @@ -0,0 +1,21 @@ +export interface Release { + creator: string; + title: string; + link: string; + pubDate: string; + author: string; + "content:encoded": string; + "content:encodedSnippet": string; + content: string; + contentSnippet: string; + guid: string; + isoDate: string; +} + +export interface Releases { + items: Release[]; + title: string; + description: string; + pubDate: string; + link: string; +} diff --git a/src/views/account/Administration.vue b/src/views/account/Administration.vue index e6dd5ca..558e3a6 100644 --- a/src/views/account/Administration.vue +++ b/src/views/account/Administration.vue @@ -15,7 +15,9 @@
diff --git a/src/views/account/VersionDisplay.vue b/src/views/account/VersionDisplay.vue new file mode 100644 index 0000000..aff4a9b --- /dev/null +++ b/src/views/account/VersionDisplay.vue @@ -0,0 +1,124 @@ + + + + + diff --git a/src/views/account/View.vue b/src/views/account/View.vue index 5c870b3..465f913 100644 --- a/src/views/account/View.vue +++ b/src/views/account/View.vue @@ -1,13 +1,22 @@