revdeck 0.12.1 → 0.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -4,6 +4,43 @@ All notable changes to this project are documented here. The format is based on
4
4
  [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and
5
5
  [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [0.13.0] - 2026-11-25
8
+
9
+ ### Added
10
+
11
+ - The Diff tab expands hidden unchanged lines: the server serves the full file at the review
12
+ commit (local `git show` first, provider raw API as a fallback), gaps between hunks show a
13
+ "N hidden lines · show all" bar, and two arrow buttons grow a gap by 10 lines from either side.
14
+ - The Diff tab groups files into a GitLab-style folder tree: directories collapse individually,
15
+ the whole tree can be hidden behind a slim rail and restored, and the panel width is resizable
16
+ by drag or arrow keys (220–760 px) with the width and hidden state persisted in `localStorage`.
17
+ - The platform comment field on findings grows with its text instead of a fixed-height textarea.
18
+ - More UI hotkeys, listed in the command reference: `1`–`6` switch tabs; on the Diff tab `[`/`]`
19
+ switch files, `f` focuses the file filter, `t` hides/shows the tree, `e` expands/collapses hidden
20
+ lines and `v` marks the current file viewed; `Esc` cancels a line-comment composer. Letter
21
+ shortcuts use the physical key, so they work on a non-Latin layout, and are ignored in text fields
22
+ and dialogs. The command palette also lists the Analytics tab.
23
+ - Settings choose an auto-refresh interval (off/10/30/60 min, default 10 min). It repeats the header
24
+ “Refresh” action while a review or preview is open, skips background tabs, typing and open
25
+ dialogs, restarts the countdown after a manual refresh, and keeps the current preview if a silent
26
+ refresh fails.
27
+
28
+ ### Fixed
29
+
30
+ - Wide code snippets in findings keep the added/removed background across the full line when
31
+ scrolled horizontally; the background no longer stops at the card width.
32
+ - A silent refresh no longer resets the open diff file, expanded hidden lines or the file tree when
33
+ the commit and diff stats are unchanged.
34
+
35
+ ## [0.12.2] - 2026-11-23
36
+
37
+ ### Fixed
38
+
39
+ - The review header no longer flickers when scrolling to the bottom, especially on short content.
40
+ Collapsing the header changes the content height and can clamp `scrollTop`; those layout-induced
41
+ scroll events are now ignored, the hide action is suppressed near the bottom, and wheel/touch
42
+ intent drives the toggle.
43
+
7
44
  ## [0.12.1] - 2026-11-23
8
45
 
9
46
  ### Added
package/README.md CHANGED
@@ -49,9 +49,11 @@ and a web UI. Platform tokens stay on the host.
49
49
  - **Open MRs/PRs page.** The sidebar opens a cross-project list of open MRs/PRs with scope, project,
50
50
  text, author, target and draft filters; each row can be previewed read-only or opened as a review.
51
51
  Opening from the list keeps a clickable breadcrumb, and returning restores the filters and scroll.
52
- - **Settings page.** Theme (system/light/dark), interface language, command reference and the
53
- Features-section visibility live on a separate Settings page; theme and visibility are stored
54
- locally.
52
+ - **Settings page.** Theme (system/light/dark), interface language, command reference, the
53
+ Features-section visibility and the auto-refresh interval live on a separate Settings page; the
54
+ choices are stored locally. Auto-refresh repeats the header “Refresh” action
55
+ (off/10/30/60 min, default 10 min) while a review or preview is open and skips background tabs,
56
+ typing and open dialogs.
55
57
  - **Read-only MR/PR preview.** Open an MR/PR from the “Open review” dialog with “Preview only”:
56
58
  description, diff and discussions are available, but findings, comments, reactions and publishing
57
59
  are disabled. Previews are cached in memory and do not create a review or metrics event.
@@ -217,15 +219,20 @@ members, start the MCP server from a member repository with `REVDECK_FEATURE=<fe
217
219
  still needs approval per review. Feature notes written by the agent stay local and are never published.
218
220
  See [capabilities](docs/capabilities.md#features).
219
221
 
220
- UI shortcuts: `1`–`5` switch tabs, `o` opens a review, `r` refreshes, `s` hides/shows the
221
- sidebar, `p` opens the project switcher (or publishing when a plan is ready), `?` opens the command
222
- palette, `h` opens the command reference. The sidebar has a **Command reference** link (`#/help`) with
223
- searchable CLI usage, common flags and UI shortcuts; click a command to copy it. The sidebar and the
224
- active project are stored in `localStorage`.
222
+ UI shortcuts: `1`–`6` switch tabs, `o` opens a review, `r` refreshes, `s` hides/shows the
223
+ sidebar, `p` opens the project switcher (or publishing when a plan is ready), `?` or `⌘K`/`Ctrl+K`
224
+ opens the command palette, `h` opens the command reference. On the Diff tab `[`/`]` switch files,
225
+ `f` focuses the file filter, `t` hides/shows the file tree, `e` expands/collapses hidden lines and
226
+ `v` marks the current file viewed. Letter shortcuts use the physical key, so they work in any
227
+ keyboard layout and are ignored in text fields and dialogs. The sidebar has a **Command reference**
228
+ link (`#/help`) with searchable CLI usage, common flags and UI shortcuts; click a command to copy it.
229
+ The sidebar and the active project are stored in `localStorage`.
225
230
 
226
231
  The UI shows the MR/PR description, supports deep links to threads, findings and diff lines (with
227
232
  working browser Back/Forward), and keeps a per-review "viewed" state and file filter in the diff.
228
- A review can be removed from the local sidebar with **×**; this never deletes the MR/PR on the platform.
233
+ The Diff tab groups files in a collapsible folder tree that can be hidden or resized, and expands
234
+ hidden unchanged lines around hunks. A review can be removed from the local sidebar with **×**; this
235
+ never deletes the MR/PR on the platform.
229
236
  A thin progress bar shows review loading. Long paths and URLs wrap or truncate inside cards, and thread,
230
237
  finding and line-comment paths have a copy button. While a text
231
238
  field is focused, background updates are deferred so typing is never overwritten; the agent reply on a
package/README.ru.md CHANGED
@@ -48,8 +48,11 @@
48
48
  фильтрами по scope, проекту, тексту, автору, target и draft; каждую строку можно посмотреть
49
49
  read-only или открыть как ревью. При открытии из списка появляются кликабельные хлебные крошки,
50
50
  а возврат сохраняет фильтры и позицию скролла.
51
- - **Страница настроек.** Тема (системная/светлая/тёмная), язык интерфейса, справка и видимость
52
- раздела «Фичи» вынесены на отдельную страницу; тема и видимость сохраняются локально.
51
+ - **Страница настроек.** Тема (системная/светлая/тёмная), язык интерфейса, справка, видимость
52
+ раздела «Фичи» и интервал автообновления вынесены на отдельную страницу; выбор сохраняется
53
+ локально. Автообновление повторяет «Обновить» в шапке (выкл/10/30/60 мин, по умолчанию 10 мин),
54
+ пока открыто ревью или preview, и пропускает тики в фоновой вкладке, во время ввода и при
55
+ открытых диалогах.
53
56
  - **Просмотр MR/PR без ревью.** В диалоге «Открыть ревью» есть «Только посмотреть»: описание,
54
57
  diff и обсуждения доступны, а замечания, комментарии, реакции и публикация отключены. Просмотр
55
58
  кэшируется в памяти и не создаёт ревью или событие метрик.
@@ -202,14 +205,20 @@ MCP-сервер из репозитория-участника с `REVDECK_FEAT
202
205
  подтверждения по каждому ревью. Заметки, написанные агентом, остаются локальными и не публикуются.
203
206
  См. [возможности](docs/ru/capabilities.md#фичи).
204
207
 
205
- Горячие клавиши UI: `1`–`5` переключают вкладки, `o` открывает ревью, `r` обновляет, `s`
208
+ Горячие клавиши UI: `1`–`6` переключают вкладки, `o` открывает ревью, `r` обновляет, `s`
206
209
  скрывает/показывает сайдбар, `p` открывает переключатель проектов (или публикацию, если готов
207
- план), `?` — палитру команд, `h` — справку по командам. В сайдбаре есть ссылка **Справка по
208
- командам** (`#/help`) с поиском по CLI, общими флагами и горячими клавишами; клик по команде
209
- копирует её. Выбор сайдбара и активный проект запоминаются в `localStorage`.
210
+ план), `?` или `⌘K`/`Ctrl+K` — палитру команд, `h` — справку по командам. На вкладке Diff `[`/`]`
211
+ переключают файлы, `f` ставит фокус в фильтр файлов, `t` скрывает/показывает дерево, `e`
212
+ раскрывает/сворачивает скрытые строки, `v` отмечает текущий файл просмотренным. Буквенные
213
+ сокращения работают по физической клавише, поэтому не зависят от раскладки, и игнорируются в полях
214
+ ввода и диалогах. В сайдбаре есть ссылка **Справка по командам** (`#/help`) с поиском по CLI,
215
+ общими флагами и горячими клавишами; клик по команде копирует её. Выбор сайдбара и активный проект
216
+ запоминаются в `localStorage`.
210
217
 
211
218
  UI показывает описание MR/PR, поддерживает deep links на треды, замечания и строки diff (с рабочей
212
- кнопкой «назад»), а в diff — фильтр файлов и отметку «просмотрено» для каждого ревью. Ревью можно убрать
219
+ кнопкой «назад»), а в diff — фильтр файлов и отметку «просмотрено» для каждого ревью. Файлы в diff
220
+ сгруппированы в сворачиваемое дерево папок, которое можно скрыть и менять в ширине, а скрытые
221
+ неизменённые строки вокруг hunks раскрываются на месте. Ревью можно убрать
213
222
  из локального сайдбара кнопкой **×** (MR/PR на платформе не удаляется). Тонкая полоса показывает
214
223
  загрузку. Длинные пути и URL переносятся или обрезаются внутри карточек, а путь в треде, замечании и
215
224
  комментарии к строке можно скопировать кнопкой ⧉. Пока текстовое поле в фокусе, фоновые
package/dist/cli.js CHANGED
@@ -811,7 +811,7 @@ var VERSION;
811
811
  var init_version = __esm({
812
812
  "src/version.ts"() {
813
813
  "use strict";
814
- VERSION = "0.12.1";
814
+ VERSION = "0.13.0";
815
815
  }
816
816
  });
817
817