revdeck 0.3.0 → 0.3.1
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 +9 -0
- package/README.md +3 -2
- package/README.ru.md +3 -2
- package/dist/cli.js +1 -1
- package/dist/cli.js.map +1 -1
- package/dist/daemon.js +13 -12
- package/dist/daemon.js.map +3 -3
- package/dist/mcp.js +1 -1
- package/dist/mcp.js.map +1 -1
- package/dist/ui/assets/{index-CXNMvRvo.js → index-DinUxV1o.js} +2 -2
- package/dist/ui/index.html +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,15 @@ All notable changes to this project are documented here. The format is based on
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [0.3.1] - 2026-11-12
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
|
|
13
|
+
- GitLab upload URLs: relative `/uploads/...` links are no longer rewritten to `https://host/uploads/...`
|
|
14
|
+
(GitLab expands them itself), and absolute host-only links are repaired to
|
|
15
|
+
`https://host/-/project/<id>/uploads/...` using the review's project id. The UI uses the same
|
|
16
|
+
project-aware base for images and videos.
|
|
17
|
+
|
|
9
18
|
## [0.3.0] - 2026-11-12
|
|
10
19
|
|
|
11
20
|
### Added
|
package/README.md
CHANGED
|
@@ -129,8 +129,9 @@ working browser Back/Forward), and keeps a per-review "viewed" state and file fi
|
|
|
129
129
|
The UI has an **Attach** button next to reply, finding and line-comment editors; the CLI equivalent is
|
|
130
130
|
`revdeck attach <N> --file shot.png`. The file is uploaded by the daemon on the host, and the editor
|
|
131
131
|
receives a markdown link with an absolute platform URL, so GitLab renders images and videos in the
|
|
132
|
-
original MR. Relative GitLab `/uploads/...` links
|
|
133
|
-
`https://<host>/uploads/...`
|
|
132
|
+
original MR. Relative GitLab `/uploads/...` links are left for GitLab to expand in the project
|
|
133
|
+
context; absolute host-only links are repaired to `https://<host>/-/project/<id>/uploads/...` when the
|
|
134
|
+
GitLab project id is known.
|
|
134
135
|
|
|
135
136
|
GitLab is supported through project uploads (requires a `glab` with `--form` support). GitHub has no
|
|
136
137
|
public attachment API, so the button is disabled there and a link must be pasted manually. Only raster
|
package/README.ru.md
CHANGED
|
@@ -114,8 +114,9 @@ UI показывает описание MR/PR, поддерживает deep li
|
|
|
114
114
|
В UI рядом с редакторами ответа, замечания и комментария к строке есть кнопка **Прикрепить**; в CLI —
|
|
115
115
|
`revdeck attach <N> --file shot.png`. Файл загружает демон на хосте, а в редактор попадает
|
|
116
116
|
markdown-ссылка с абсолютным URL платформы, поэтому GitLab показывает картинки и видео в исходном MR.
|
|
117
|
-
Относительные ссылки GitLab `/uploads/...`
|
|
118
|
-
|
|
117
|
+
Относительные ссылки GitLab `/uploads/...` остаются как есть — GitLab сам разворачивает их в контексте
|
|
118
|
+
проекта; абсолютные ссылки без project id исправляются на
|
|
119
|
+
`https://<host>/-/project/<id>/uploads/...`, если id проекта известен.
|
|
119
120
|
|
|
120
121
|
GitLab поддержан через project uploads (нужен `glab` с поддержкой `--form`). У GitHub нет публичного
|
|
121
122
|
API загрузки вложений, поэтому кнопка там отключена, а ссылку нужно вставить вручную. Принимаются
|