From eac4fc6094446d69fba0a34fca9641012cb392ed Mon Sep 17 00:00:00 2001 From: Trenton Zimmer <66042448+trmazi@users.noreply.github.com> Date: Tue, 5 Aug 2025 21:26:13 -0400 Subject: [PATCH] Add sortable flags to player table, add custom greeting styling support --- .env.development | 2 +- .env.production | 2 +- public/data-sources/changelog.json | 3 ++- src/components/UserCard.vue | 8 +++++++- src/constants/greetings.json | 6 ++++++ src/views/Game/GameView.vue | 21 ++++++++++++++++++--- 6 files changed, 35 insertions(+), 7 deletions(-) diff --git a/.env.development b/.env.development index bd2e84d..12f0a5c 100644 --- a/.env.development +++ b/.env.development @@ -1,4 +1,4 @@ -VITE_APP_VERSION="3.0.25-oMini" +VITE_APP_VERSION="3.0.26" 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 b72f480..612b893 100644 --- a/.env.production +++ b/.env.production @@ -1,4 +1,4 @@ -VITE_APP_VERSION="3.0.25-oMini" +VITE_APP_VERSION="3.0.26" 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 69572e1..2e6e61c 100644 --- a/public/data-sources/changelog.json +++ b/public/data-sources/changelog.json @@ -24,5 +24,6 @@ "3.0.22": ["- (Major) Finish first implementation of the public profile page", "- (Minor) Clean up dashboard game stat box", "- (Minor) Load profile name in game stat box"], "3.0.23": ["- (Major) Moved to Tailwind V4 (SoftieTechCat)", "- (Major) Updated all dependencies (SoftieTechCat)", "- (Bugfix) Fix bug if user has no read news", "- (Backend) Insane optimization with user loading, data loading, cache parsing. (SoftieTechCat)", "- (Minor) Add new greetings."], "3.0.24": ["- (Bugfix) Fix theme forcing for dark mode", "- (Bugfix) Fix animations across entire app", "- (Bugfix) Fix cursor on login screen easter egg", "- (Minor) Add new greeting"], - "3.0.25-oMini": ["- (Major ++) Move from Material Design Icons to Phosphor Icons. Icons are currently set to their initial picks, but may change (suggest a change!)", "- (Major) Add initial icon animations, start work on icon color standards", "- (Optimization) Improve random greeting selection (SoftieTechCat) ", "- (Minor) Fix ESlint config"] + "3.0.25-oMini": ["- (Major ++) Move from Material Design Icons to Phosphor Icons. Icons are currently set to their initial picks, but may change (suggest a change!)", "- (Major) Add initial icon animations, start work on icon color standards", "- (Optimization) Improve random greeting selection (SoftieTechCat) ", "- (Minor) Fix ESlint config"], + "3.0.26": ["- (Minor) Game player table is more sortable", "- (Minor) Greetings now support custom styling", "- (Minor) Added the first styled greeting"] } \ No newline at end of file diff --git a/src/components/UserCard.vue b/src/components/UserCard.vue index ac58d5c..e7ce48c 100644 --- a/src/components/UserCard.vue +++ b/src/components/UserCard.vue @@ -126,6 +126,7 @@ function getCardStyle() {
{{ greeting.comment }}
++ {{ greeting.comment }} +
Greeting by: {{ greeting.author }}
diff --git a/src/constants/greetings.json b/src/constants/greetings.json index e6e39fd..bdb8bb1 100644 --- a/src/constants/greetings.json +++ b/src/constants/greetings.json @@ -569,5 +569,11 @@ "author": "Trmazi", "header": "What'cha gonna do,