Fixes questions marked as incorrect, improves result view

This commit is contained in:
2025-10-02 18:15:04 +02:00
parent d2da811868
commit 5914e19ae1
5 changed files with 70 additions and 38 deletions

View File

@@ -1,8 +1,11 @@
package ch.gtache.fro.practice.gui;
import ch.gtache.fro.gui.Model;
import ch.gtache.fro.practice.PracticeQuestion;
import ch.gtache.fro.practice.PracticeResult;
import java.util.List;
/**
* Model for the practice result view
*/
@@ -37,16 +40,16 @@ public interface PracticeResultModel extends Model {
String failureLabel();
/**
* The text for the label of successful guesses
* The list of successful questions
*
* @return The text
* @return The list of questions
*/
String successListLabel();
List<PracticeQuestion> successList();
/**
* The text for the label of failed guesses
* The list of failed questions
*
* @return The text
* @return The list of questions
*/
String failureListLabel();
List<PracticeQuestion> failureList();
}