fix authorized apps settings, redesign, fix retro theme vars (#6900)

* fix authorized apps settings, redesign, fix retro theme vars

* merge

* fix: retro in app

---------

Co-authored-by: Calum H. (IMB11) <contact@cal.engineer>
This commit is contained in:
Prospector
2026-07-28 12:16:05 +00:00
committed by GitHub
co-authored by Calum H.
parent 7c4190fb9c
commit 3c8bb0923d
42 changed files with 383 additions and 345 deletions
@@ -402,7 +402,11 @@ import {
SpinnerIcon,
XIcon,
} from '@modrinth/assets'
import { UserBadge } from '@modrinth/utils'
import {
isModrinthUser as checkIsModrinthUser,
isOfficialAccount as checkIsOfficialAccount,
UserBadge,
} from '@modrinth/utils'
import { useQuery, useQueryClient } from '@tanstack/vue-query'
import { computed, ref, watch } from 'vue'
import { useRoute, useRouter } from 'vue-router'
@@ -716,8 +720,8 @@ const earliestProjectByType = computed(() => {
return earliest
})
const isModrinthUser = computed(() => user.value?.id === '2REoufqX')
const isOfficialAccount = computed(() => isModrinthUser.value || user.value?.id === 'GVFjtWTf')
const isModrinthUser = computed(() => checkIsModrinthUser(user.value?.id))
const isOfficialAccount = computed(() => checkIsOfficialAccount(user.value?.id))
const isSelf = computed(() => auth.user.value?.id === user.value?.id)
const isAdminViewing = computed(() => auth.user.value?.role === 'admin')
const isStaffViewing = computed(
+3
View File
@@ -2318,6 +2318,9 @@
"label.password": {
"defaultMessage": "Password"
},
"label.permissions": {
"defaultMessage": "Permissions"
},
"label.plan-custom": {
"defaultMessage": "Custom"
},
+4
View File
@@ -287,6 +287,10 @@ export const commonMessages = defineMessages({
id: 'label.scopes',
defaultMessage: 'Scopes',
},
permissionsLabel: {
id: 'label.permissions',
defaultMessage: 'Permissions',
},
searchLabel: {
id: 'label.search',
defaultMessage: 'Search',