Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/skills/validation/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ npm run build
|---|---|
| "The build passed, so it works." | A build does not run route initialization. An eager `import.meta.glob()` manifest failure only appears in a browser. |
| "The suite is red anyway, so this failure is expected." | `test:gate` judges against a recorded baseline. Re-derive the count from `tests/known-failures.txt`; never decide safety from a bare `test:run`. |
| "A `ref="name"` string in the template counts as a use of `const name = ref()`." | Not from vue-tsc 3.3.14 on: an unread template ref fails `npm run typecheck` with TS6133. Delete both the declaration and the `ref` attribute if no script code reads it. |
| "The deploy is green, so my change is live." | Match the SHA. A green run for a different commit says nothing about yours. |
| "My change is missing from the browser, so the code is wrong." | Identify the process on the port first. A stale `vite preview` serves a frozen `dist/` and never hot-reloads. |
| "Nothing references this file, so it is dead code." | `WolvesComicReader.vue` serves eleven non-Wolves albums. A `/wolves/` smoke test will not notice their loss. |
Expand Down
4 changes: 0 additions & 4 deletions src/components/wolves/WolvesComicReader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1435,9 +1435,6 @@ function handleImageError(event: Event, photo: any) {
img.src = `${baseUrl}img/wallpapers/wolves/showcase/bluespeed-cluster.png`
}

// Template refs ────────────────────────────────────────────────────────────
const flipViewport = ref<HTMLElement | null>(null)

// Utilities ────────────────────────────────────────────────────────────────

function shuffleWallpapers(array: any[]): any[] {
Expand Down Expand Up @@ -1505,7 +1502,6 @@ onBeforeUnmount(() => {
>
<div class="page-flip-comic-layout">
<div
ref="flipViewport"
class="comic-viewport"
:class="{ 'comic-viewport--showcase': showcaseSlideActive }"
>
Expand Down
Loading