Settle names and module homes after third review (#103)
- Rename CardPosition/CardPositions/positions() to DrawnCard/DrawnCards/ drawn_cards(): "position" is a word CONTEXT.md avoids for Placement. - Move the Account and status queries from page/statistics/scope.rs to page/displayed.rs, since the whole page uses them. - Move the home's own statistics state (settle_home_scope, set_home_result, forget_home, home_is_current) to page/home/data.rs, leaving home.rs to queries and rendering. - Move the profiling flag shown() from display.rs to page/profiling.rs. - Narrow Page::new to pub(crate), and restore the domain phrase in the same_riot_id doc comment and the page.rs module doc. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit was merged in pull request #103.
This commit is contained in:
1 parent
242ecc4f28
commit
e7ff365069
16 files changed
+156
-141
No files matched your search
@@ -68,7 +68,8 @@ pub fn riot_id(game_name: &str, tag_line: &str) -> String {
|
||||
format!("{game_name}#{tag_line}")
|
||||
}
|
||||
|
||||
/// Compare Riot IDs case-insensitively, including the tag line.
|
||||
/// Riot IDs differ in case only when they name the same Account: they compare
|
||||
/// case-insensitively, tag line included.
|
||||
///
|
||||
/// ```
|
||||
/// use arena_tracker_core::same_riot_id;
|
||||
|
||||
Reference in new issue
Block a user