@aiquants/daily-report 0.52.0 → 0.53.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 +31 -1
- package/README.md +3 -2
- package/dist/server.js +8 -8
- package/dist/server.mjs +6 -6
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -2,7 +2,37 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to `@aiquants/daily-report` are documented here.
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## 0.53.0 (2026-11-03)
|
|
6
|
+
|
|
7
|
+
版番号は 0.53.0 (minor) とする: 公開する範囲で、ピアの `@aiquants/virtualscroll` の下限が上がる (下の Breaking)。
|
|
8
|
+
|
|
9
|
+
### Breaking
|
|
10
|
+
|
|
11
|
+
- **ピアの `@aiquants/virtualscroll` は 3.22.1 以上** (公開する範囲は `^3.21.0` から `^3.22.1`): `workspace:^` のピアは公開の時にワークスペースの隣の版から
|
|
12
|
+
範囲を作るので、隣の 3.22.1 が下限になる。日報が 3.22 の新しい機能を使うのではない。3.22.0 の Changed により、ビューの端へ戻るピルの字は 12px から本文の段
|
|
13
|
+
(`--aqvs-font-size-body`・`--aqvs-line-height-body`。ホストが結ばなければ根 16px で 13px の字・20px の行) になる。日報はこの 2 つの変数を結ばず、ピルの見た目も
|
|
14
|
+
上書きしないので、ホストの結び方がそのまま効く。押せる箱 44px と見えるピル 28px は変わらない。
|
|
15
|
+
Migration: `@aiquants/virtualscroll` を 3.22.1 以上へ上げる。
|
|
16
|
+
|
|
17
|
+
### Fixed
|
|
18
|
+
|
|
19
|
+
- **ラベル・コメント・添付のまとめ読みは、日報の数で SQL Server の 1 文の引数の上限 (2,100) を越えない**: 3 つの読みは日報の ID (`hub_id`) の並びを、ID ごとの
|
|
20
|
+
引数でなく JSON の引数 1 つで渡す (`@aiquants/mssql` 0.2.0 の `inJsonList`。`hub_id in (select [value] from openjson(@p))`)。並びは条件が選ぶ日報の数 (営業日なら、
|
|
21
|
+
その日の日報の数) で伸びるので、ID ごとの引数では 1 つの文の上限を越えうる。依存の `@aiquants/mssql` は `^0.2.0` になる。
|
|
22
|
+
|
|
23
|
+
### Documentation
|
|
24
|
+
|
|
25
|
+
- **検索の元の内容を読む口の上限**: `DailyReportSearchSourceTextReader` の `sourceIdNums` は、1 回の呼び出しで `MAX_IN_LIST` (`@aiquants/mssql`) 件まで (元の内容は
|
|
26
|
+
日報のその数の束ごとに読む)。ホストの口はこの上限に頼ってよい (検索の仕様の §3.2)。
|
|
27
|
+
- **README の検索の帯の記述を 0.52.0 の形に揃えた**: 既定の文言では入力欄の始まりと終わりの縁が 8px の段 (72px と 120px) に乗り、1/8 の奇数倍の画素密度でも
|
|
28
|
+
装置の画素に乗る。絞り込みの切り替えは 24px のボタンでなく、高さ 48px のピル。
|
|
29
|
+
|
|
30
|
+
### Tests
|
|
31
|
+
|
|
32
|
+
- **`IN` の並びの守り** (`src/bound-lists.guard.spec.ts`): リポジトリの共有の検出で、1 つの文より長くなりうる `inArray`・`notInArray` の並びを拒む (確かめた例外 3 項目)。
|
|
33
|
+
日報 2,500 件でも、ラベル・コメント・添付の読みの 1 文の引数が上限の内に収まることも確かめる (SQLite の試験の器は `openjson(@parN)` を `json_each` に書き換える)。
|
|
34
|
+
|
|
35
|
+
## 0.52.0 (2026-10-26)
|
|
6
36
|
|
|
7
37
|
### Changed
|
|
8
38
|
|
package/README.md
CHANGED
|
@@ -2235,7 +2235,8 @@ The faces differ only in colour, so a toggle that changes its face moves nothing
|
|
|
2235
2235
|
in one grid cell — the AND / OR toggle the other mode's label, the filter toggle its label with the largest number of selected values (every filter at
|
|
2236
2236
|
its limit) —,
|
|
2237
2237
|
so it takes the wider label's width, rounded up to a lattice minimum (64 px and 112 px; with its 8 px margin each spans a multiple of 8, 72 px and 120 px), and neither a press nor a growing count moves the field's
|
|
2238
|
-
edges; with the default labels the field starts and ends on the
|
|
2238
|
+
edges; with the default labels the field starts and ends on an 8 px step (the 72 px and 120 px spans), so its edges
|
|
2239
|
+
fall on whole device pixels also at the odd multiples of 1/8.
|
|
2239
2240
|
The reserved label is the generated content of a hidden element, so it is in neither the toggle's accessible name nor its text.
|
|
2240
2241
|
The field's description (`labels.searchSyntaxHelp`, also its tooltip) gives the syntax, says that a word in Latin letters also finds its kana reading
|
|
2241
2242
|
and that a match found through a reading is underlined with dots.
|
|
@@ -2270,7 +2271,7 @@ Saves, SSE report and comment events and changes of the settled ID list re-query
|
|
|
2270
2271
|
`RangeError` at render,
|
|
2271
2272
|
`[daily-report] config.search.renderFilterSelect must be a function (it renders the control of each filter cell); got <value>`). Without it there is
|
|
2272
2273
|
no filter toggle, no filter row and no `search-facets` request.
|
|
2273
|
-
The filter toggle (`data-testid="daily-report-search-filters-toggle"`) is a
|
|
2274
|
+
The filter toggle (`data-testid="daily-report-search-filters-toggle"`) is a 48 px tall pill G after the field, sharing its top and bottom edges, named
|
|
2274
2275
|
`labels.searchFiltersToggle(n)` with the number of selected values (`Filters`, `Filters (3)`), with `aria-expanded` and, while the row shows,
|
|
2275
2276
|
`aria-controls`; its width does not change with the count (above).
|
|
2276
2277
|
Its name does not change when the row opens, so it shows the state in the AND / OR toggle's look as well: the field face while the row is closed and
|