Repository navigation
fix(github): keep pull request panel content during refresh - #611
Merged
Merged
Conversation
nixuuu
marked this pull request as ready for review
November 13, 2026 08:50
nixuuu
added a commit
that referenced
this pull request
Nov 13, 2026
## Projekt workspace'u — zaakceptowany układ v2 Podgląd plików przechodzi z modala do zakładek jednego wątku. Sygnet projektu, skracany tytuł i karty dzielą rząd nagłówka, z aktywną kartą zawsze widoczną i przełącznikiem overflow. Prawy rail obsługuje jeden minimalny moduł. Bez modułu podsumowanie jest dokowane i widoczne; z modułem jest zamkniętą domyślnie kartą pływającą. Na wąskich ekranach obie powierzchnie używają arkuszy. Użytkownik zaakceptował układ v2 i udzielił jawnej zgody na implementację. Przyjęte decyzje: jeden zastępowalny czysty preview, utrwalany przez Edit/Keep tab/dwuklik, zakres cwd/worktree wątku i mobilna edycja natywna bez kolorów podczas pisania (kolory w viewerze i Preview changes). Usunięto sekcję otwartych decyzji. Dokument uwzględnia jeden przycisk menu wiersza (#608), zachowanie treści PR przy odświeżaniu (#611), bounded warming/cache transkryptu (#622/#623/#629), niezależne sortowanie sidebara (#617/#619/#626), kompaktowy tekst stanów preview (#634), poprawne stany ChoiceControl (#637), kolejkę kontynuacji (#630) i podsumowania jej wierszy (#633). Nie dodaje pełnych snapshotów ani prefetch plików podczas warming. Siedem kompletnych warstw będzie osobnym stosem z podstawą dev. Wszystkie PR implementacyjne pozostaną draftami do ukończenia i weryfikacji całości oraz wspólnego scalenia przez maintenera. Migracje muszą zachować monotoniczność względem aktualnego dev. Dokumentacyjny PR po zielonym CI jest gotowy do scalenia przez maintenera. ## Weryfikacja i ograniczenia - Rebase na dev `1626a3e6b05494e7aec77942bd818950468a3b58` bez konfliktów. - `nice -n 10 bun run format` i `nice -n 10 bun run format:check` przeszły. Konfiguracja pomija Markdown; dokument sprawdzono ręcznie. `git diff --check` bez błędów po usunięciu pustej linii końcowej. - Brak zmian kodu aplikacji i kontraktów; testy wykonania oraz pomiary budżetów należą do stosu implementacyjnego. - Samodzielna makieta v2 poza repozytorium, 32 435 bajtów, przezroczyste html/body, trzy stany × trzy szerokości × dwa motywy. Poprzednio wyrenderowana i obejrzana bez błędów konsoli. ## Copy audit (§8) Brak zmian produkcyjnych etykiet. Projekt zachowuje `Thread`, `Keep tab`, `Thread details`, `Open in tab`, `Collapse panel` / `Show panel` oraz dostępne nazwy obu kontekstów `+`. Zachowuje jeden przycisk menu wiersza i kompaktowy tekst statusów pliku. Krótkie i długie etykiety są pokazane w makiecie; rzeczywiste powierzchnie i stany będą audytowane w każdej warstwie UI.
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.
Overview thread updates cleared every cached PR snapshot with
forget(). A panel that had already loaded consequently unmounted its header and sections, showed first-load skeletons, and lost scroll and expansion state. Reconnection after an overview gap did the same.Use stale-while-revalidate invalidation for these two refresh paths in the shared web/mobile cache event mapper. The existing panel, standalone PR page, checks, timeline/reviews, files, commits and pending review reads keep their mounted content. Account/access-revision boundaries, authoritative home snapshots, computer removal, pairing changes and denied-read handling retain their existing private-data protections.
Fixes: #501
Validation:
itsoltech/canopyPR feat(github): add a compact sticky pull request header #592. Delayed the summary response by 300 ms and sampled animation frames after loaded Timeline content. Before: 21/119 frames showed skeletons, the original row detached, scroll 132 → 0. After: 0/121 skeleton frames, original timeline/row retained, scroll stayed at 132.OverviewInvalidation; mobile typecheck passes, but no native UI/device run was performed. Live job-detail reads and avatar requests returned existing errors in the disposable setup; successful job/log refresh is not claimed by the browser evidence.nice -n 10: dependency installation,gen:check, full typecheck (including mobile), lint, formatting, format check, fullcheck:tmpand web build. Full tests: 2678 passed, 166 opt-in/skipped, zero failed, 34,947 assertions across 501 files; nothing left in the tests' private temp directory. Final-head CI static checks, all four test shards, web/Linux builds and commitlint are green.Copy audit (§8): no user-facing text changes. The existing loading, error and Retry wording remains in use.