Repository navigation
feat(threads): persist manual sidebar order and reply sorting - #617
Merged
Merged
Conversation
nixuuu
force-pushed
the
feat/thread-sort-order
branch
2 times, most recently
from
November 13, 2026 09:56
f571ade to
820b090
Compare
nixuuu
force-pushed
the
feat/thread-sort-order
branch
from
November 13, 2026 10:12
820b090 to
f284b96
Compare
nixuuu
marked this pull request as ready for review
November 13, 2026 10:33
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.
Adds owner-scoped manual sidebar positions with one thread write per move. New threads receive a fractional key before existing threads; old rows fall back to creation order without a backfill. Adds a separate last-agent-reply timestamp and device-local sorting preference.
The stack is rebased on dev
464fffffa(#620). Migration0133_thread_orderfollows0132_worker_ingest_outcomes; the registration, expected schema list and Polish documentation use 0133. Number 0134 is left free for the thread-cache warming stack. The schema/order checks passed 28/28 after this rebase.Validation (commands run with
nice): installation, generated-code check, full typecheck, lint, formatting and web build passed. Focused gateway order and schema checks passed 28/28; they cover ownership, invalid/stale bounds, concurrent moves, key growth, old rows, durable reads, new-thread placement and reply timestamps.CI passed on all three rebased heads, including every test shard, static checks and builds. The PRs remain drafts at the maintainer's request. Native gesture checks are deferred to nightly testing and do not block this handoff.
Local failure investigation: the earlier full run had 2690 pass, 166 skip and one transient checkout-alias busy-directory rejection. Later runs under heavy host load hit 5-second deadlines and linked-computer heartbeat/disconnection failures. None of the ten failing test files is changed by this stack. All ten were then rerun one file at a time, with the default timeouts, through
nice -n 10 bun run check:tmp: 85 pass, 0 fail. The move file includes all 20 repeated history/file transfers plus its restart, owner and move-all cases. No production code, tests or timeout values were changed to obtain these results. Earlier linked-computer failures also reproduced on original base38214a54cwithout this feature.scripts/channel-identity.test.tsscripts/release.test.tstests/integration/ask-user.test.tstests/integration/bench-plans.test.tstests/integration/bot-outgoing-files.test.tstests/integration/bot-workspace.test.tstests/integration/bot-view-deltas.test.tstests/integration/composer-shell-linked.test.tstests/integration/thread-branches.test.tstests/integration/computer-moves.test.tsEvery isolated
check:tmprun reported nothing left in its private temp directory. The complete local suite was not rerun after this investigation; the full-suite evidence is the green CI on each current head.Remote thread positions remain editable at their home and travel through incremental metadata replication. Polish API, data-model and linked-computer docs define grouping and Working behavior.
Copy audit (§8): no UI surface is added in this layer. New gateway errors state the problem and an action (for example, absent → “The order changed elsewhere. Refresh the list and try again.”). Sort choice labels use sentence case and existing terminology. Width/theme checks belong to the web layer.