You've already forked AstralRinth
forked from didirus/AstralRinth
handle edge case where versions have differing envs better + update changelog + lint
This commit is contained in:
@@ -755,7 +755,7 @@
|
|||||||
v-if="
|
v-if="
|
||||||
currentMember &&
|
currentMember &&
|
||||||
projectV3.side_types_migration_review_status === 'pending' &&
|
projectV3.side_types_migration_review_status === 'pending' &&
|
||||||
projectV3.environment?.length > 0 &&
|
projectV3.environment?.length === 1 &&
|
||||||
projectV3.environment[0] !== 'unknown'
|
projectV3.environment[0] !== 'unknown'
|
||||||
"
|
"
|
||||||
type="warning"
|
type="warning"
|
||||||
|
|||||||
@@ -161,7 +161,7 @@ const messages = defineMessages({
|
|||||||
</template>
|
</template>
|
||||||
</div>
|
</div>
|
||||||
<UnsavedChangesPopup
|
<UnsavedChangesPopup
|
||||||
v-if="supportsEnvironment && hasPermission"
|
v-if="supportsEnvironment && hasPermission && projectV3?.environment?.length <= 1"
|
||||||
:original="saved"
|
:original="saved"
|
||||||
:modified="current"
|
:modified="current"
|
||||||
:saving="saving"
|
:saving="saving"
|
||||||
|
|||||||
@@ -457,7 +457,8 @@ if (user.value?.projects) {
|
|||||||
user.value?.projectsV3?.forEach((project) => {
|
user.value?.projectsV3?.forEach((project) => {
|
||||||
if (
|
if (
|
||||||
project.side_types_migration_review_status === 'pending' &&
|
project.side_types_migration_review_status === 'pending' &&
|
||||||
(project.project_types.includes('mod') || project.project_types.includes('modpack'))
|
(project.project_types.includes('mod') || project.project_types.includes('modpack')) &&
|
||||||
|
project.environment?.length === 1
|
||||||
) {
|
) {
|
||||||
projectsWithMigrationWarning.value.push(project.id)
|
projectsWithMigrationWarning.value.push(project.id)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -13,7 +13,11 @@
|
|||||||
:disabled="disabled"
|
:disabled="disabled"
|
||||||
@click="emit('select')"
|
@click="emit('select')"
|
||||||
>
|
>
|
||||||
<RadioButtonCheckedIcon v-if="selected" class="text-brand h-5 w-5 shrink-0" aria-hidden="true" />
|
<RadioButtonCheckedIcon
|
||||||
|
v-if="selected"
|
||||||
|
class="text-brand h-5 w-5 shrink-0"
|
||||||
|
aria-hidden="true"
|
||||||
|
/>
|
||||||
<RadioButtonIcon v-else class="h-5 w-5 shrink-0" aria-hidden="true" />
|
<RadioButtonIcon v-else class="h-5 w-5 shrink-0" aria-hidden="true" />
|
||||||
<slot />
|
<slot />
|
||||||
</button>
|
</button>
|
||||||
|
|||||||
@@ -245,7 +245,12 @@ const simulateSave = ref(false)
|
|||||||
:class="{ 'mt-2': index > 0 }"
|
:class="{ 'mt-2': index > 0 }"
|
||||||
:selected="currentOuterOption === key"
|
:selected="currentOuterOption === key"
|
||||||
:disabled="disabled"
|
:disabled="disabled"
|
||||||
:aria-label="formatMessage(optionLabelFormat, { title: formatMessage(title), description: formatMessage(description)})"
|
:aria-label="
|
||||||
|
formatMessage(optionLabelFormat, {
|
||||||
|
title: formatMessage(title),
|
||||||
|
description: formatMessage(description),
|
||||||
|
})
|
||||||
|
"
|
||||||
@select="
|
@select="
|
||||||
() => {
|
() => {
|
||||||
if (currentOuterOption !== key) {
|
if (currentOuterOption !== key) {
|
||||||
|
|||||||
@@ -10,6 +10,17 @@ export type VersionEntry = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const VERSIONS: VersionEntry[] = [
|
const VERSIONS: VersionEntry[] = [
|
||||||
|
{
|
||||||
|
date: `2025-08-31T10:35:00-07:00`,
|
||||||
|
product: 'web',
|
||||||
|
body: `### Improvements
|
||||||
|
- Fixed screen reader accessibility of the new project environments settings page.
|
||||||
|
- Fixed mobile responsiveness of project settings page.
|
||||||
|
- Fixed error loading project pages when using the project ID in the URL.
|
||||||
|
- Updated the message for unverified environments when the user does not have permission to update the environment.
|
||||||
|
- Improved handling of projects with multiple environments.
|
||||||
|
- Fixed blog posts not loading images when missing a slash at the end of the URL.`,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
date: `2025-08-28T18:45:00-07:00`,
|
date: `2025-08-28T18:45:00-07:00`,
|
||||||
product: 'web',
|
product: 'web',
|
||||||
|
|||||||
Reference in New Issue
Block a user