From b4552f76fda0555acf9ab4dab4cec71c8fd027fd Mon Sep 17 00:00:00 2001 From: MrSphay Date: Sun, 3 May 2026 22:39:10 +0200 Subject: [PATCH] Fix Gitea checks after kit application --- .gitea/workflows/template-compliance.yml | 6 +++++- apps/app-frontend/src/pages/library/Connected.vue | 12 ++++++++++-- apps/app-frontend/src/pages/library/Index.vue | 4 +++- 3 files changed, 18 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/template-compliance.yml b/.gitea/workflows/template-compliance.yml index be6a16d10..931137f8c 100644 --- a/.gitea/workflows/template-compliance.yml +++ b/.gitea/workflows/template-compliance.yml @@ -21,7 +21,6 @@ jobs: missing=0 required_files=( - "AGENTS.md" ".codex/project.md" "README.md" ) @@ -32,6 +31,11 @@ jobs: "docs/agent-handoff.md" ) + if [ ! -f "AGENTS.md" ] && [ ! -f "CLAUDE.md" ]; then + echo "Missing required Codex agent file: AGENTS.md or CLAUDE.md" + missing=1 + fi + for file in "${required_files[@]}"; do if [ ! -f "$file" ]; then echo "Missing required Codex file: $file" diff --git a/apps/app-frontend/src/pages/library/Connected.vue b/apps/app-frontend/src/pages/library/Connected.vue index 8548f2d13..ffe5c95d8 100644 --- a/apps/app-frontend/src/pages/library/Connected.vue +++ b/apps/app-frontend/src/pages/library/Connected.vue @@ -7,7 +7,13 @@ import { RefreshCwIcon, TrashIcon, } from '@modrinth/assets' -import { Button, Card, injectNotificationManager, ProgressSpinner, Toggle } from '@modrinth/ui' +import { + Button, + Card, + injectNotificationManager, + ProgressSpinner, + Toggle, +} from '@modrinth/ui' import { computed, onMounted, ref } from 'vue' import type { ConnectedPack } from '@/helpers/connected-library' @@ -142,7 +148,9 @@ onMounted(refresh)
Latest {{ pack.version }} Installed {{ pack.installedVersionId }} - Checked {{ new Date(pack.lastChecked).toLocaleString() }} + + Checked {{ new Date(pack.lastChecked).toLocaleString() }} +

{{ pack.lastError }}

diff --git a/apps/app-frontend/src/pages/library/Index.vue b/apps/app-frontend/src/pages/library/Index.vue index a4c49431f..4f758c373 100644 --- a/apps/app-frontend/src/pages/library/Index.vue +++ b/apps/app-frontend/src/pages/library/Index.vue @@ -48,7 +48,9 @@ onUnmounted(() => { { label: 'Saved', href: `/library/saved`, shown: false }, ]" /> -