Key milestone overlays + keyboard diagram improvements

Also splits out a separate store for ranked stats from overall key
stats.
This commit is contained in:
2026-02-20 23:15:13 +00:00
parent 4e39e99732
commit 9e0411e1f4
12 changed files with 2185 additions and 279 deletions

View File

@@ -74,6 +74,14 @@ impl JsonStore {
self.save("key_stats.json", data)
}
pub fn load_ranked_key_stats(&self) -> KeyStatsData {
self.load("key_stats_ranked.json")
}
pub fn save_ranked_key_stats(&self, data: &KeyStatsData) -> Result<()> {
self.save("key_stats_ranked.json", data)
}
pub fn load_drill_history(&self) -> DrillHistoryData {
self.load("lesson_history.json")
}