milwright commited on
Commit
129f98d
·
1 Parent(s): cd16e7b

fix: remove passage tracking from UI

Browse files

- Remove 'Passage 2/2' display from round info
- Keep internal passage tracking for game logic
- Simplify UI to show only level and difficulty

Files changed (1) hide show
  1. src/app.js +2 -3
src/app.js CHANGED
@@ -69,11 +69,10 @@ class App {
69
  <strong>${roundData.title}</strong> by ${roundData.author}
70
  `;
71
 
72
- // Show level information with passage number
73
  const blanksCount = roundData.blanks.length;
74
  const difficultyText = blanksCount === 1 ? 'Easy' : blanksCount === 2 ? 'Medium' : 'Hard';
75
- const passageInfo = roundData.passageNumber ? `Passage ${roundData.passageNumber}/${roundData.totalPassages} • ` : '';
76
- this.elements.roundInfo.innerHTML = `Level ${this.game.currentLevel} • ${passageInfo}${blanksCount} blank${blanksCount > 1 ? 's' : ''} • ${difficultyText}`;
77
 
78
  // Show contextualization from AI agent
79
  this.elements.contextualization.innerHTML = `
 
69
  <strong>${roundData.title}</strong> by ${roundData.author}
70
  `;
71
 
72
+ // Show level information without passage number
73
  const blanksCount = roundData.blanks.length;
74
  const difficultyText = blanksCount === 1 ? 'Easy' : blanksCount === 2 ? 'Medium' : 'Hard';
75
+ this.elements.roundInfo.innerHTML = `Level ${this.game.currentLevel} • ${blanksCount} blank${blanksCount > 1 ? 's' : ''} • ${difficultyText}`;
 
76
 
77
  // Show contextualization from AI agent
78
  this.elements.contextualization.innerHTML = `