Repository navigation
feat: look up players on other Tencent regions, finding the region from the Riot ID - #52
Merged
Merged
Conversation
…'s regions The History page has no region picker any more. A full name#tag is looked for on the connected region first and, only when it has nobody, on every other supported Tencent region at once, opening the one with the highest level; an account on several regions lists the others as "also on" buttons, asked in the background when the player was found locally. A request for the connected region takes the connected region's own path (its caches, its server's slots, its ranks), the current region falls back to the entitlements issuer when chat has not said, and regional records read up to fifty games a request from where the last page ended, a hundred places at most, keeping what came when a later page fails.
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
History can show players from every supported Tencent region, and a full
name#tagfinds the region by itself: there is no region to pick.What changes
sgp::PLATFORMSorder); a region that does not answer is left out, and an error is only reported when nothing came back. A name without its#tagis looked for on the connected region only, and the not-found wording says which.get_player_regionscall whose answer is only taken while the page still shows that player. Switching keeps the list; any other way to a player clears it.Not in this change
Checks
scripts/evidence.shgreen on the final tree (stamp 20261115T021055Z, tree 7f8ed0ada90c): fmt, clippy, workspace and core tests, the Windows check, format, lint, typecheck, frontend/plugin/shared tests. The demo was checked in a browser at 1240 px (no picker, "也在:联盟一区", the cross-region note). The cross-region path itself was read live on 2026-11-07 (GZ100 session, a HN1 player); the automatic lookup has not run against the live servers yet, since the QA PC was offline.BEGIN_COMMIT_OVERRIDE
feat: 战绩页可以查询其他腾讯大区的玩家:输入完整的 名称#编号 会自动找到玩家所在的大区,同一账号在几个大区都有号时可一键切换 (#52)
END_COMMIT_OVERRIDE