Repository navigation
feat(threads): add sidebar sort and drag controls - #619
Merged
Merged
Conversation
nixuuu
force-pushed
the
feat/thread-sort-web
branch
from
November 13, 2026 09:38
0e9eb63 to
fc03aea
Compare
nixuuu
force-pushed
the
feat/thread-sort-web
branch
2 times, most recently
from
November 13, 2026 10:07
330a613 to
0226922
Compare
nixuuu
force-pushed
the
feat/thread-sort-web
branch
from
November 13, 2026 10:12
0226922 to
d5473c5
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 Created, Last activity and Custom to Thread options. In Custom, dragging reorders within the current section and project, dragging into the highlighted top zone pins, and dragging out respects Confirm unpin. The Move menu and Alt+Up/Down/Home/End provide keyboard access.
The pointer loop only moves a ghost and drop indicator; one metadata response commits the order through the existing keyed rows and FLIP motion. Edge scrolling, cancellation, quick archive and context menus remain available. Linked threads can be arranged at their home computer; archive ordering and nested side trees keep their existing behavior.
Validation (commands run with
nice): install, gen:check, full typecheck, lint, format:check and web build passed. Browser review used a private 500-thread fixture on the designated review machine: light/dark, desktop 1280 px, narrow 820 px and phone 390 px, short/long titles, grouped and pinned rows. Pointer reordering, keyboard movement, drag-to-pin, confirmed unpin cancellation, quick actions, and edge scrolling were exercised. Held drags scrolled 156–228 px; a move used one order request with no list refetch. The final production-build review included all 500 mounted threads and confirmed that dropping outside the sidebar cannot pin. The private review servers, container, forwarding connection and directory were removed afterward.CI passed on all three rebased heads, including all test shards. The earlier local failures were isolated to ten unchanged test files covering linked-computer/bot behavior, a transient busy-directory guard and timing-sensitive release/artwork checks. Rerunning every failing file alone with default timeouts passed 85/85, with clean private temp directories; the bottom PR contains the per-file results and original-base comparison. No test, timeout or production-code change was needed. The full local suite was not rerun after the investigation. No browser test suite or verification artifact is committed. This PR remains a draft at the maintainer's request.
Copy audit (docs/copy.md §8): “Filter projects” → “Thread options” describes the expanded menu. New mode labels use sentence case. Move/pin/unpin actions start with verbs; confirmation repeats Unpin. Errors say what failed and offer retry. Instructions name the section boundary and pinned destination without relying on color. Short and long titles and compact controls were inspected at desktop, narrow and phone widths in light/dark. No new empty state, jargon or decorative sentences.