feat(league): skeletons de carregamento e menos custo por comando no LCU - #273
Merged
Conversation
- Skeleton.svelte novo (tokens do tema, prefers-reduced-motion) ligado ao perfil, histórico, detalhe de partida, análise e scouting — o histórico não mostra mais "nenhuma partida" enquanto ainda está carregando - um reqwest::Client estático em vez de construir um novo (TLS + pool) a cada request ao cliente - get_client não faz mais o round-trip de verificação quando o websocket já prova que o cliente está vivo - no Windows, um probe barato com tasklist (~50ms) roda antes do PowerShell+CIM (segundos), que só dispara se o LeagueClientUx existir - home: o fundo de cantos retos do painel do mascote vazava sobre os cantos arredondados do workspace; raio interno correspondente aplicado
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.
Junta no main o que restava do branch
feat/frontend-wiring(o resto — painel de causa raiz #220, fixes do Hotmart e do plugin loader #272 — já estava lá).Frontend: componente
Skeleton.svelte(tokens do tema, funciona nos 14 temas, respeitaprefers-reduced-motion) ligado aos pontos de carga da página League: perfil do invocador, lista e detalhe do histórico, análise de vitória e scouting. Corrige também o histórico mostrar o texto de vazio durante o load, e o vazamento dos cantos retos do painel do mascote sobre os cantos arredondados do workspace no home (bug das bordas reportado em screenshot).Backend (LCU): client HTTP estático em vez de um novo por request;
get_clientpula o pre-flight quando o websocket já está conectado; no Windows um probe comtasklistevita spawnar PowerShell+CIM quando o League nem está aberto. Os skeletons foram readaptados à estrutura pós-#270 (wrapperactive, HistoryTab com filtro/resumo) em vez de sobrescrevê-la.cargo checkepnpm checklimpos.