From 4bf8050cc6ba865e67031da4edc1baf44708ceed Mon Sep 17 00:00:00 2001 From: Trenton Zimmer <66042448+trmazi@users.noreply.github.com> Date: Tue, 26 May 2026 21:30:18 -0400 Subject: [PATCH] add SN2 info message support --- .env.development | 2 +- .env.production | 2 +- package.json | 2 +- public/data-sources/changelog.json | 3 ++- src/constants/gameOptions/ddrclassOptions.js | 18 +++++++++++++++--- 5 files changed, 20 insertions(+), 7 deletions(-) diff --git a/.env.development b/.env.development index a77448e..76c5a72 100644 --- a/.env.development +++ b/.env.development @@ -1,4 +1,4 @@ -VITE_APP_VERSION="3.1.4" +VITE_APP_VERSION="3.1.5" VITE_API_URL="http://localhost:8000/" VITE_API_KEY="your_api_key_should_be_here" VITE_ASSET_PATH="/assets" diff --git a/.env.production b/.env.production index bac71de..4b7232d 100644 --- a/.env.production +++ b/.env.production @@ -1,4 +1,4 @@ -VITE_APP_VERSION="3.1.4" +VITE_APP_VERSION="3.1.5" 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/package.json b/package.json index c13429e..6562d68 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "phaseweb3", - "version": "3.1.4", + "version": "3.1.5", "scripts": { "dev": "vite --host", "build": "vite build", diff --git a/public/data-sources/changelog.json b/public/data-sources/changelog.json index f5bc64a..dc8a958 100644 --- a/public/data-sources/changelog.json +++ b/public/data-sources/changelog.json @@ -50,5 +50,6 @@ "3.1.1": ["- (Admin) Add more admin stats for users", "- (Minor) Add new greetings"], "3.1.2": ["- (Major) Add initial code for oAuth pages", "- (Major) Add redirect to target page after login", "- (Minor) Add quick links to navbar", "- (Minor) Add new greetings", "- (Minor) Replace login page background", "- (Minor) Add animation to loading modal", "- (Bugfix) Refactor loading modal", "- (Bugfix) Refactor overlay layer", "- (Bugfix) Optimize main layouts", "- (Bugfix) Fix loading states around site", "- (Bugfix) Optimize news read api calls", "- (Minor) Add simple auth checkers to router, blocking access at webui level"], "3.1.3": ["- (Major) Add better error popups, add new buttons on errors", "- (Major) Finish initial authorization page for internal apps", "- (Minor) Add more greetings", "- (Bugfix) Fix overlay layer transparency when saving", "- (Bugfix) Fix remaining missing colors"], - "3.1.4": ["- (Major) Add QR game login support", "- (Minor) Add initial CCJ support and events"] + "3.1.4": ["- (Major) Add QR game login support", "- (Minor) Add initial CCJ support and events"], + "3.1.5": ["- (Minor) Add DDR SN2 information message support"] } \ No newline at end of file diff --git a/src/constants/gameOptions/ddrclassOptions.js b/src/constants/gameOptions/ddrclassOptions.js index b1821b6..14cd223 100644 --- a/src/constants/gameOptions/ddrclassOptions.js +++ b/src/constants/gameOptions/ddrclassOptions.js @@ -48,10 +48,22 @@ export const DDRClassOptions = { ], }, { - id: "info_text", - name: "Information Message", - help: "An announcement displayed on the bulletin board.", + id: "news_title", + name: "News Title", + help: "Title of your news post", + type: "String", + }, + { + id: "news_body", + name: "News Body", + help: "Body of your news post. Newlines must have a space if you're doing double newlines.", type: "LargeText", }, + { + id: "info_msg", + name: "Information Message", + help: "An announcement on the demo play screen.", + type: "String", + }, ], };