From 091dfe548e86cd8e8667720eb5b23cd12f2b1591 Mon Sep 17 00:00:00 2001 From: Trenton Zimmer <66042448+trmazi@users.noreply.github.com> Date: Sun, 13 Jul 2025 14:13:27 -0400 Subject: [PATCH] Finish admin news and arcade, --- .env.development | 2 +- .env.production | 2 +- public/data-sources/changelog.json | 3 +- src/components/GeneralTable.vue | 2 + src/stores/api/admin.js | 44 ++++++++ src/views/Admin/ArcadesView.vue | 117 ++++++++++++++-------- src/views/Admin/NewsView.vue | 156 +++++++++++++++++++++++++---- src/views/Admin/UsersView.vue | 129 ++++++++++++++++-------- src/views/Profile/PublicView.vue | 16 +-- 9 files changed, 353 insertions(+), 118 deletions(-) diff --git a/.env.development b/.env.development index 88951b2..cea85f1 100644 --- a/.env.development +++ b/.env.development @@ -1,4 +1,4 @@ -VITE_APP_VERSION="3.0.20" +VITE_APP_VERSION="3.0.21" VITE_API_URL="http://10.5.7.5:8000/" VITE_API_KEY="your_api_key_should_be_here" VITE_ASSET_PATH="/assets" diff --git a/.env.production b/.env.production index 87df2cb..238329c 100644 --- a/.env.production +++ b/.env.production @@ -1,4 +1,4 @@ -VITE_APP_VERSION="3.0.20" +VITE_APP_VERSION="3.0.21" VITE_API_URL="https://restfulsleep.phaseii.network" VITE_API_KEY="your_api_key_should_be_here" VITE_ASSET_PATH="https://cdn.phaseii.network/file/PhaseII/web-assets" diff --git a/public/data-sources/changelog.json b/public/data-sources/changelog.json index fd0c0e3..e5aa17d 100644 --- a/public/data-sources/changelog.json +++ b/public/data-sources/changelog.json @@ -19,5 +19,6 @@ "3.0.17": ["- (Major) Add initial public profile support.", "- (Minor) Lay groundwork for public profile page", "- (Optimization) Clean up admin pages", "- (Bugfix) Clean up random 500 errors."], "3.0.18": ["- (Admin) Adds the ability to add and remove managers from an arcade.", "- (Minor) Lay groundwork for avatars in tables.", "- (Minor) Add new profile customizations."], "3.0.19": ["- (Admin) Finish admin arcade and machine pages.", "- (Minor) Add new greetings."], - "3.0.20": ["- (Major) Add read state to network news.", "- (Minor) Add new greetings.", "- (Minor) Add information to linked services", "- (Minor) Add session info and button to remove all sessions", "- (Minor) Add text gradient animation backend, needs ported to text once finished."] + "3.0.20": ["- (Major) Add read state to network news.", "- (Minor) Add new greetings.", "- (Minor) Add information to linked services", "- (Minor) Add session info and button to remove all sessions", "- (Minor) Add text gradient animation backend, needs ported to text once finished."], + "3.0.21": ["- (Admin) Finish admin machine/arcade pages", "- (Major) Finish initial public profile page", "- (Minor) Change table right-click behavior", "- (Admin) Finish admin News pages", "- (Admin) Add search for user via card ID"] } \ No newline at end of file diff --git a/src/components/GeneralTable.vue b/src/components/GeneralTable.vue index 950887f..477ed08 100644 --- a/src/components/GeneralTable.vue +++ b/src/components/GeneralTable.vue @@ -32,6 +32,7 @@ function downloadJSON() { table-class-name="customize-table" header-text-direction="left" body-text-direction="left" + :prevent-context-menu-row="false" @click-row="handleRowClick" >