Add first test suite; fix Timer resume, scraper silent failure
- backend/services/auth_test.go: token-version normalisation, the revocation rule, GenerateJWT/VerifyJWT claim handling. The happy path of AuthenticateTokenWithClaims still needs a DB driver we don't have. - python/tests: travelodge.py's pure functions and the NDJSON event contract. pytest is a commented-out dev dep so the image stays slim. - Timer.vue: the Paused screen now offers Resume, reaching pauseTimer's previously unreachable un-pause branch. - travelodge.py: warn when upstream parses but yields nothing usable, so a field rename is distinguishable from sold-out inventory. - CoverLetters.vue moved out of views/unused/ — it is live on /cv. Co-Authored-By: Claude Opus 5 <[email protected]>
This commit is contained in:
@@ -110,6 +110,12 @@ function playFinishedSound() {
|
||||
</div>
|
||||
<div v-if="state === 'paused'" class="flex flex-col">
|
||||
<h1>Paused</h1>
|
||||
<p>
|
||||
{{ minutes.toString().padStart(2, "0") }}:{{
|
||||
seconds.toString().padStart(2, "0")
|
||||
}}
|
||||
</p>
|
||||
<Button @click="pauseTimer">Resume</Button>
|
||||
<Button @click="resetTimer">Reset</Button>
|
||||
</div>
|
||||
<div v-if="state === 'running'" class="flex flex-col">
|
||||
|
||||
@@ -15,7 +15,7 @@ import { ref, shallowRef } from "vue";
|
||||
import { RouterLink } from "vue-router";
|
||||
// import CVGeneral from "./CVGeneral.vue";
|
||||
import CVProgramming from "./CVProgramming.vue";
|
||||
import CoverLetters from "../unused/CoverLetters.vue";
|
||||
import CoverLetters from "./CoverLetters.vue";
|
||||
// import CVSecurity from "./CVSecurity.vue";
|
||||
// import CVBackend from "./CVBackend.vue";
|
||||
// import CVFrontend from "./CVFrontend.vue";
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
<script setup>
|
||||
/**
|
||||
* Editable cover-letter template (contenteditable paragraphs, print to PDF).
|
||||
* Despite living in views/unused/, this IS live: CV.vue imports it as the
|
||||
* "Cover Letter" tab on /cv.
|
||||
* STATUS: live — CV.vue imports it as the "Cover Letter" tab on /cv.
|
||||
*/
|
||||
import { ref } from "vue";
|
||||
|
||||
Reference in New Issue
Block a user