From 57869c9559b11b1a1258472c5ad18eb1f96ae1c6 Mon Sep 17 00:00:00 2001 From: "Torsten Schulz (local)" Date: Mon, 17 Aug 2026 10:39:58 +0200 Subject: [PATCH] feat(vocab): remove daily hard marked count and adjust practice logic --- .../src/dialogues/socialnetwork/VocabPracticeDialog.vue | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/frontend/src/dialogues/socialnetwork/VocabPracticeDialog.vue b/frontend/src/dialogues/socialnetwork/VocabPracticeDialog.vue index c22a933..d5c6424 100755 --- a/frontend/src/dialogues/socialnetwork/VocabPracticeDialog.vue +++ b/frontend/src/dialogues/socialnetwork/VocabPracticeDialog.vue @@ -209,7 +209,6 @@ export default { hardPhaseActive: false, hardMasteryByKey: {}, // { [hardKey]: consecutiveCorrect } cycleAskedIds: [], - dailyHardMarkedCount: 0, }; }, computed: { @@ -448,12 +447,11 @@ export default { } this.saveHardVocabMap(); if (this.srsMode) { - this.dailyHardMarkedCount += 1; this.maybeStartDailyHardPractice(); } }, maybeStartDailyHardPractice() { - if (this.dailyHardMarkedCount < MAX_DAILY_HARD_VOCABS) return; + if (this.hardCount < MAX_DAILY_HARD_VOCABS) return; const callback = this.onDailyHardLimitReached; this.close(); this.$nextTick(() => { @@ -636,12 +634,12 @@ export default { this.hardPhaseActive = false; this.hardMasteryByKey = {}; this.cycleAskedIds = []; - this.dailyHardMarkedCount = 0; this.locked = false; this.resetQuestion(); this.$refs.dialog.open(); this.$nextTick(() => { document.addEventListener('keydown', this.handleKeyDown); + if (this.srsMode) this.maybeStartDailyHardPractice(); }); this.loadHardVocabMap(); this.reloadPool();