@designfever/web-review-kit 0.8.0 → 0.8.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/README.md +2 -1
- package/dist/react-shell.cjs +724 -436
- package/dist/react-shell.cjs.map +1 -1
- package/dist/react-shell.d.cts +1 -0
- package/dist/react-shell.d.ts +1 -0
- package/dist/react-shell.js +590 -298
- package/dist/react-shell.js.map +1 -1
- package/docs/README.md +1 -0
- package/docs/installation.md +23 -0
- package/docs/release-notes-0.8.1.md +23 -0
- package/package.json +1 -1
package/docs/README.md
CHANGED
|
@@ -28,6 +28,7 @@ Public docs are intentionally small. Keep implementation history, handoff notes,
|
|
|
28
28
|
|
|
29
29
|
## Release History
|
|
30
30
|
|
|
31
|
+
- [0.8.1](release-notes-0.8.1.md): QA prompt prefix, QA filtering, counters, tooltip, long-content, and outside marker fixes.
|
|
31
32
|
- [0.8.0](release-notes-0.8.0.md): next minor release notes for QA attachments, adapter contract, capture, source inspector, and dev fixture changes.
|
|
32
33
|
- [0.7.3](release-notes-0.7.3.md): endpoint Figma image store API and validation scope.
|
|
33
34
|
- [0.7.2](release-notes-0.7.2.md): remote Figma image store API and validation scope.
|
package/docs/installation.md
CHANGED
|
@@ -109,6 +109,29 @@ mountReviewShell({
|
|
|
109
109
|
|
|
110
110
|
If omitted, the default label is `Responsive CSS px adjustments`. This option only changes the label before the generated `x`, `y`, and `scale` values.
|
|
111
111
|
|
|
112
|
+
## Prompt Handoff
|
|
113
|
+
|
|
114
|
+
Use `initialPrompt` for the global review handoff modal, and `qaPrompt` for the custom instruction prepended to every copied QA item prompt.
|
|
115
|
+
|
|
116
|
+
```tsx
|
|
117
|
+
mountReviewShell({
|
|
118
|
+
projectId: REVIEW_PROJECT_ID,
|
|
119
|
+
pages,
|
|
120
|
+
adapters,
|
|
121
|
+
initialPrompt: [
|
|
122
|
+
'You are fixing QA issues in this project.',
|
|
123
|
+
'Read AGENTS.md and the project README before editing.',
|
|
124
|
+
].join('\n'),
|
|
125
|
+
qaPrompt: [
|
|
126
|
+
'Follow this project coding style before touching the selected QA item.',
|
|
127
|
+
'Keep the fix limited to the target route and viewport unless the bug is shared.',
|
|
128
|
+
].join('\n'),
|
|
129
|
+
reviewPathPrefix: REVIEW_PATH_PREFIX,
|
|
130
|
+
});
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
If `qaPrompt` is omitted, copied QA prompts keep the package default header.
|
|
134
|
+
|
|
112
135
|
## Supabase Adapter
|
|
113
136
|
|
|
114
137
|
Host projects that choose Supabase create the client themselves and pass it into the package adapter.
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# 릴리즈 노트: 0.8.1
|
|
2
|
+
|
|
3
|
+
0.8.0 이후 QA workflow 사용성을 다듬은 patch release. Copy Prompt 커스텀 지시문, status filter preset, count/tooltip/long comment/outside marker 표시 개선을 담았다.
|
|
4
|
+
|
|
5
|
+
비교 기준: `0.8.0`
|
|
6
|
+
검토 기준: `main`
|
|
7
|
+
|
|
8
|
+
## 주요 변경
|
|
9
|
+
|
|
10
|
+
- `mountReviewShell({ qaPrompt })`를 추가해 QA item Copy Prompt 앞에 프로젝트별 지시문을 붙일 수 있게 했다.
|
|
11
|
+
- QA status filter에 done을 제외한 active 상태(`todo`, `doing`, `review`, `hold`)를 한 번에 켜는 preset 버튼을 추가했다.
|
|
12
|
+
- 해상도별 QA count에서 `done` item을 제외해 남은 작업량 기준으로 표시한다.
|
|
13
|
+
- Figma image layer state button tooltip을 왼쪽으로 표시해 panel 내부 스크롤이 생기지 않게 했다.
|
|
14
|
+
- QA list item의 긴 comment는 기본 상태에서 max-height와 내부 스크롤을 적용하고, More/Less 버튼으로 펼치거나 접을 수 있게 했다.
|
|
15
|
+
- Outside QA marker가 세로로 몰릴 때 marker 간격을 자동 보정하고, connector는 원래 anchor 위치를 가리키게 했다.
|
|
16
|
+
|
|
17
|
+
## 검증
|
|
18
|
+
|
|
19
|
+
- `pnpm typecheck`
|
|
20
|
+
- `pnpm test`
|
|
21
|
+
- `pnpm build`
|
|
22
|
+
- `pnpm typecheck:dev`
|
|
23
|
+
- `pnpm build:dev`
|