@things-factory/announcement 10.1.261 → 10.1.263

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/announcement",
3
- "version": "10.1.261",
3
+ "version": "10.1.263",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "dist-client/index.js",
6
6
  "things-factory": true,
@@ -36,18 +36,18 @@
36
36
  "@operato/shell": "^10.29.69",
37
37
  "@operato/styles": "^10.29.1",
38
38
  "@operato/utils": "^10.0.0",
39
- "@things-factory/ai-assistant": "^10.1.261",
40
- "@things-factory/attachment-base": "^10.1.261",
41
- "@things-factory/auth-base": "^10.1.261",
39
+ "@things-factory/ai-assistant": "^10.1.263",
40
+ "@things-factory/attachment-base": "^10.1.263",
41
+ "@things-factory/auth-base": "^10.1.263",
42
42
  "@things-factory/env": "^10.1.149",
43
- "@things-factory/i18n-base": "^10.1.261",
44
- "@things-factory/notification": "^10.1.261",
45
- "@things-factory/organization": "^10.1.261",
46
- "@things-factory/shell": "^10.1.261",
43
+ "@things-factory/i18n-base": "^10.1.263",
44
+ "@things-factory/notification": "^10.1.263",
45
+ "@things-factory/organization": "^10.1.263",
46
+ "@things-factory/shell": "^10.1.263",
47
47
  "graphql-scalars": "^1.22.0",
48
48
  "graphql-tag": "^2.12.6",
49
49
  "graphql-upload": "^15.0.2",
50
50
  "lit": "^3.1.2"
51
51
  },
52
- "gitHead": "06537757f8708e6a511c6232e8792f18fdd6a986"
52
+ "gitHead": "f1ee39eb316c58c7eefa4c35651228d1d1ea4bcf"
53
53
  }
@@ -23,3 +23,17 @@ test('★ the list keeps its query in the address and narrows by the grid, never
23
23
  expect(page).not.toMatch(/@state\(\) period|ox-select|this\.grist\.fetch\(\)\s*\n\s*\}\}/)
24
24
  expect(page).toMatch(/value: announcementPeriodOf\(filters\)/)
25
25
  })
26
+
27
+ /*
28
+ * The list picks rows for the assistant like every list (2026-11-08, the user: 「일관성이 있어야 하는 것 아닌가 ?」): the
29
+ * row picker, the one selection bar, rows handed as the announcement read's keys (axis = the read key's last word).
30
+ */
31
+ test('★ 공지사항 picks rows and hands them to the assistant as the list it reads', () => {
32
+ const { ANNOUNCEMENT_LIST_READ } = require('../server/announcement-read')
33
+ expect(page).toMatch(new RegExp(`<ox-assistant-selection-bar[\\s\\S]*?list="${ANNOUNCEMENT_LIST_READ.listQuery}"[\\s\\S]*?axis="${ANNOUNCEMENT_LIST_READ.key.split('.').pop()}"`))
34
+ expect(page).toMatch(/\{ type: 'gutter', gutterName: 'sequence' \},\s*SELECTION_ROW_PICKER,/)
35
+ expect(page).toMatch(/selectable: \{ multiple: true \}/)
36
+ /* A row click picks; the announcement opens from its own button. */
37
+ expect(page).not.toMatch(/rows: \{[^}]*handlers: \{ click/)
38
+ expect(page).toMatch(/gutterName: 'button', icon: 'edit_note', handlers: \{ click: \(_c: any, _d: any, _col: any, record: any\) => open\(record\)/)
39
+ })