Surn commited on
Commit
58999ac
·
2 Parent(s): f0df64e 0489ea0

v0.2.8 - Merged

Browse files
README.md CHANGED
@@ -441,4 +441,4 @@ Ensure you have the necessary permissions and API access (if required) to use th
441
 
442
  For any issues or enhancements, please refer to the project documentation or contact the project maintainer.
443
 
444
- Happy gaming and sound designing!Happy gaming and sound designing!Happy gaming and sound designing!Happy gaming and sound designing!
 
441
 
442
  For any issues or enhancements, please refer to the project documentation or contact the project maintainer.
443
 
444
+ Happy gaming and sound designing!Happy gaming and sound designing!
specs/leaderboard_spec.md CHANGED
@@ -883,4 +883,10 @@ HF_REPO_ID/games/
883
  "YYYY-MM-DD HH:MM:SS PST to YYYY-MM-DD HH:MM:SS PST"
884
  (PST is UTC-8; adjust for daylight saving as needed)
885
  For example, a UTC file date of `2025-12-08` covers `2025-12-08 00:00:00 UTC` to `2025-12-08 23:59:59 UTC`, which is displayed as `2025-12-07 16:00:00 PST` to `2025-12-08 15:59:59 PST`.
886
- The leaderboard expander label should show: `Mon, Dec 08, 2025 4:00 PM PST – Tue, Dec 09, 2025 3:59:59 PM PST [settings badge]`
 
 
 
 
 
 
 
883
  "YYYY-MM-DD HH:MM:SS PST to YYYY-MM-DD HH:MM:SS PST"
884
  (PST is UTC-8; adjust for daylight saving as needed)
885
  For example, a UTC file date of `2025-12-08` covers `2025-12-08 00:00:00 UTC` to `2025-12-08 23:59:59 UTC`, which is displayed as `2025-12-07 16:00:00 PST` to `2025-12-08 15:59:59 PST`.
886
+ The leaderboard expander label should show: `Mon, Dec 08, 2025 4:00 PM PST – Tue, Dec 09, 2025 3:59:59 PM PST [settings badge]`
887
+
888
+ **Leaderboard Page UI:**
889
+ - **Today Tab:** Current daily and weekly leaderboards
890
+ - **Daily Tab:** Last 7 days of daily leaderboards
891
+ - **Weekly Tab:** Last 5 weeks displayed as individual expanders (current week or `week=YYYY-Www` query opens by default)
892
+ - **History Tab:** Historical leaderboard browser
wrdler/leaderboard_page.py CHANGED
@@ -355,7 +355,7 @@ def _render_weekly_tab():
355
  st.caption(
356
  f"Settings: mode={lb.game_mode}, source={lb.wordlist_source}, "
357
  f"show_incorrect={lb.show_incorrect_guesses}, free_letters={lb.enable_free_letters}, "
358
- f"spacer={lb.puzzle_options.get("spacer", 0)}, overlap={lb.puzzle_options.get("may_overlap", False)}"
359
  )
360
  _render_leaderboard_table(lb, "")
361
  if idx < len(settings_list) - 1:
 
355
  st.caption(
356
  f"Settings: mode={lb.game_mode}, source={lb.wordlist_source}, "
357
  f"show_incorrect={lb.show_incorrect_guesses}, free_letters={lb.enable_free_letters}, "
358
+ f"spacer={lb.puzzle_options.get('spacer', 0)}, overlap={lb.puzzle_options.get('may_overlap', False)}"
359
  )
360
  _render_leaderboard_table(lb, "")
361
  if idx < len(settings_list) - 1:
wrdler/ui.py CHANGED
@@ -585,7 +585,8 @@ border-radius: 50% !important;
585
  .st-emotion-cache-1tj828o { min-width: calc(8.33333% - 1rem); }
586
  # .bw-free-letter-grid {
587
  # grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
588
- # }
 
589
  }
590
 
591
  .bold-text { font-weight: 700; }
@@ -1431,12 +1432,12 @@ def _render_guess_form(state: GameState):
1431
  .st-emotion-cache-1xwdq91, .st-emotion-cache-1r70o5 {
1432
  max-width: max-content; min-width:33%;
1433
  }
1434
- .st-emotion-cache-emqb34 {
1435
  min-width: calc(50% - 1.5rem);
1436
  width: calc(50% - 1.5rem);
1437
  flex:unset;
1438
  }
1439
- .st-emotion-cache-1c94k11 {
1440
  min-width: calc(50% - 1.5rem);
1441
  width: calc(50% - 1.5rem);
1442
  flex:unset;
 
585
  .st-emotion-cache-1tj828o { min-width: calc(8.33333% - 1rem); }
586
  # .bw-free-letter-grid {
587
  # grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
588
+ # }
589
+ .st-emotion-cache-1hxuzh3 {min-width: unset;}
590
  }
591
 
592
  .bold-text { font-weight: 700; }
 
1432
  .st-emotion-cache-1xwdq91, .st-emotion-cache-1r70o5 {
1433
  max-width: max-content; min-width:33%;
1434
  }
1435
+ .st-emotion-cache-emqb34, .st-emotion-cache-192m4g1 {
1436
  min-width: calc(50% - 1.5rem);
1437
  width: calc(50% - 1.5rem);
1438
  flex:unset;
1439
  }
1440
+ .st-emotion-cache-1c94k11, .st-emotion-cache-abr9nb {
1441
  min-width: calc(50% - 1.5rem);
1442
  width: calc(50% - 1.5rem);
1443
  flex:unset;