@bongos/core 1.19.1061 → 1.19.1063

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.
Files changed (39) hide show
  1. package/.bongos-core.json +94 -34
  2. package/clients/bongos-client/README.md +1 -1
  3. package/clients/bongos-client/bongos-client.global.js +6 -0
  4. package/clients/bongos-client/index.cjs +6 -0
  5. package/clients/bongos-client/index.d.ts +7 -0
  6. package/clients/bongos-client/index.mjs +6 -0
  7. package/docs/api/openapi.json +178 -4
  8. package/docs/api-reference.md +6 -3
  9. package/docs/copy-inventory.md +44 -7
  10. package/docs/copy-registry.json +393 -26
  11. package/docs/module-api-changelog.md +4 -0
  12. package/docs/page-inventory.json +36 -4
  13. package/docs/page-readings.json +34 -1
  14. package/modules/copy-desk/docx.js +818 -0
  15. package/modules/copy-desk/page-status.js +63 -0
  16. package/modules/copy-desk/pages.js +17 -0
  17. package/modules/copy-desk/routes/copy-desk.js +198 -9
  18. package/modules/copy-desk/tests/copy_docx.mjs +347 -0
  19. package/modules/copy-desk/tests/copy_no_cms.mjs +32 -3
  20. package/modules/copy-desk/tests/fixtures/word-docx.mjs +131 -0
  21. package/modules/hall-ui/public/tweak-editor-lib.js +137 -0
  22. package/modules/hall-ui/public/tweak-editor.css +437 -0
  23. package/modules/hall-ui/public/tweak-editor.html +111 -0
  24. package/modules/hall-ui/public/tweak-editor.js +447 -0
  25. package/modules/hall-ui/public/tweak-editor.states.json +99 -0
  26. package/modules/hall-ui/records/tweak-editor.md +32 -0
  27. package/package-lock.json +2 -2
  28. package/package.json +1 -1
  29. package/release-notes.json +12 -0
  30. package/scripts/gds/fitness-checks-write-validation.js +4 -0
  31. package/scripts/hall-preview/server.js +21 -0
  32. package/src/bongos/serve-internal.js +5 -1
  33. package/src/module-api.js +1 -1
  34. package/tests/copy_desk_page_docx.mjs +279 -0
  35. package/tests/copy_desk_page_editor.mjs +181 -0
  36. package/tests/fitness.mjs +7 -2
  37. package/tests/hall_audit.mjs +5 -0
  38. package/tests/hall_page_gate_map.mjs +3 -0
  39. package/tests/hall_tweak_editor.mjs +432 -0
@@ -10,10 +10,10 @@
10
10
  "An id changes only when the host prefix, the data-page value or the file name changes; that is a rename, and records keyed on the old id move with it."
11
11
  ],
12
12
  "counts": {
13
- "pages": 37,
13
+ "pages": 38,
14
14
  "surfaces": 3,
15
- "with_states": 30,
16
- "states": 149
15
+ "with_states": 31,
16
+ "states": 155
17
17
  },
18
18
  "surfaces": [
19
19
  {
@@ -22,7 +22,7 @@
22
22
  "at": "modules/hall-ui/public",
23
23
  "answers_at": "host prefix builders.",
24
24
  "origin": "https://builders.{apex}",
25
- "pages": 30
25
+ "pages": 31
26
26
  },
27
27
  {
28
28
  "id": "landing",
@@ -932,6 +932,38 @@
932
932
  "out"
933
933
  ]
934
934
  },
935
+ {
936
+ "id": "builders:tweak-editor",
937
+ "surface": "builders",
938
+ "module": "hall-ui",
939
+ "page": "tweak-editor",
940
+ "id_from": "data-page",
941
+ "title": "Tweak a page",
942
+ "document_title": "Tweak a page — {{worldName}}",
943
+ "path": "/tweak-editor",
944
+ "url": "https://builders.{apex}/tweak-editor",
945
+ "files": [
946
+ "modules/hall-ui/public/tweak-editor.html",
947
+ "modules/hall-ui/public/style.css",
948
+ "modules/hall-ui/public/tweak-editor.css",
949
+ "modules/hall-ui/public/shell.js",
950
+ "modules/hall-ui/public/palette.js",
951
+ "modules/hall-ui/public/dom-utils.js",
952
+ "modules/hall-ui/public/tweak-editor-lib.js",
953
+ "modules/hall-ui/public/tweak-editor.js"
954
+ ],
955
+ "states_files": [
956
+ "modules/hall-ui/public/tweak-editor.states.json"
957
+ ],
958
+ "states": [
959
+ "doc",
960
+ "typed",
961
+ "chrome",
962
+ "submitted",
963
+ "picking",
964
+ "out"
965
+ ]
966
+ },
935
967
  {
936
968
  "id": "builders:watch",
937
969
  "surface": "builders",
@@ -5,7 +5,7 @@
5
5
  "adr": "0341 D3",
6
6
  "reread": "node scripts/gds/page-reader.js --stale",
7
7
  "how": ["Generated by node scripts/gds/page-reader.js (BV2.TW04, task 1004315; ADR 0341 D3). Do not hand-edit.","One entry per page of docs/page-inventory.json. Lines are in page order: the default state first, and a line only another state shows sits where that state shows it, with its state named.","placement: placed = a docs/copy-registry.json row renders it (file, line, string_id); shared = shell text every page of the surface carries (top bar, sidebar, footer), with its row when the registry has one; unplaced = the registry cannot place it (a rewrite becomes an engineer task, ADR 0341 D4).","text keeps {…} where the registry row has a hole, or where a value the page read from its API was filled in. A string that is only such data is counted under omitted.data, not listed.","reading_hash is over the non-shared lines (key, section, text); files_hash is over the page's inventory files. --check compares files_hash only and never opens a browser.","Rendered through the hall-preview harness (hall) and the ui-design kit stub (landing, status), at 1280x800 with the clock pinned, so a reading is the fixture world's page."],
8
- "counts": {"pages":37,"lines":3616,"placed":1117,"shared":243,"unplaced":2256,"omitted_data":1969},
8
+ "counts": {"pages":38,"lines":3636,"placed":1131,"shared":247,"unplaced":2258,"omitted_data":2010},
9
9
  "pages": [
10
10
  {
11
11
  "id": "builders:atlas",
@@ -2908,6 +2908,39 @@
2908
2908
  {"key":"L0082","section":"This is your sky.","text":"{…} file{…}","placement":"placed","file":"modules/hall-ui/public/gate.js","line":151,"string_id":"3efa67dc6e07"}
2909
2909
  ]
2910
2910
  },
2911
+ {
2912
+ "id": "builders:tweak-editor",
2913
+ "surface": "builders",
2914
+ "title": "Tweak a page",
2915
+ "states_read": ["doc","typed","chrome","submitted","picking","out"],
2916
+ "files_hash": "8f56ba72c49a8e62",
2917
+ "reading_hash": "4c09a72e05c598fd",
2918
+ "counts": {"lines":20,"placed":14,"shared":4,"unplaced":2},
2919
+ "omitted": {"data":41},
2920
+ "notes": [],
2921
+ "lines": [
2922
+ {"key":"L0001","section":"skip link","text":"Skip to content","placement":"shared","file":"modules/hall-ui/public/shell.js","line":776,"string_id":"87cee78ca134"},
2923
+ {"key":"L0002","section":"top bar","text":"Tweak a page","placement":"shared","file":"modules/hall-ui/public/tweak-editor.html","line":32,"string_id":"72a29648399b","state":"chrome"},
2924
+ {"key":"L0003","section":"top bar","text":"Jump to…","placement":"shared","file":"modules/hall-ui/public/shell.js","line":496,"string_id":"eba610d25523","state":"chrome"},
2925
+ {"key":"L0004","section":"top bar","text":"Ctrl K","placement":"shared","state":"chrome"},
2926
+ {"key":"L0005","section":"page top","text":"← studio","placement":"placed","file":"modules/hall-ui/public/tweak-editor.html","line":52,"string_id":"3ad4e941d265"},
2927
+ {"key":"L0006","section":"page top","text":"{…} of {…}","placement":"placed","file":"modules/hall-ui/public/sky-panel.js","line":120,"string_id":"73c1372b43d9","state":"typed","occurrences":2},
2928
+ {"key":"L0007","section":"page top","text":"open the page ↗","placement":"placed","file":"modules/hall-ui/public/tweak-editor.html","line":56,"string_id":"08f1f614253c"},
2929
+ {"key":"L0008","section":"page top","text":"download .docx","placement":"placed","file":"modules/hall-ui/public/tweak-editor.html","line":57,"string_id":"fcec9cad1c69"},
2930
+ {"key":"L0009","section":"page top","text":"upload .docx","placement":"placed","file":"modules/hall-ui/public/tweak-editor.html","line":58,"string_id":"432def6844b7"},
2931
+ {"key":"L0010","section":"page top","text":"submit page","placement":"placed","file":"modules/hall-ui/public/tweak-editor.html","line":60,"string_id":"9ec19e32f86f"},
2932
+ {"key":"L0011","section":"{…}","text":"Every word on the page, in the order it shows them. Type over anything, or download it, work in Word, and upload it back.","placement":"placed","file":"modules/hall-ui/public/tweak-editor.html","line":67,"string_id":"9904ca3d33e8"},
2933
+ {"key":"L0012","section":"{…}","text":"was: {…}","placement":"unplaced","occurrences":2},
2934
+ {"key":"L0013","section":"{…} project{…}","text":"{…} project{…}","placement":"placed","file":"modules/hall-ui/public/fleet.js","line":39,"string_id":"771bef3d31b5","occurrences":2},
2935
+ {"key":"L0014","section":"{…} project{…}","text":"was: {…}","placement":"unplaced"},
2936
+ {"key":"L0015","section":"{…} is in.","text":"{…} is in.","placement":"placed","file":"modules/hall-ui/public/tweak-editor.js","line":361,"string_id":"55b949873848","state":"submitted"},
2937
+ {"key":"L0016","section":"{…} is in.","text":"It comes back to your studio once it is applied, and nothing ships until you have seen it.","placement":"placed","file":"modules/hall-ui/public/tweak-editor.html","line":80,"string_id":"bef8dbf78170","state":"submitted"},
2938
+ {"key":"L0017","section":"{…} is in.","text":"next up","placement":"placed","file":"modules/hall-ui/public/tweak-editor.html","line":83,"string_id":"73bfe3b1ff54","state":"submitted"},
2939
+ {"key":"L0018","section":"{…} is in.","text":"take next","placement":"placed","file":"modules/hall-ui/public/tweak-editor.html","line":89,"string_id":"d4f99c118825","state":"submitted"},
2940
+ {"key":"L0019","section":"{…} is in.","text":"pick another","placement":"placed","file":"modules/hall-ui/public/tweak-editor.html","line":90,"string_id":"b6ceacaad5e5","state":"submitted"},
2941
+ {"key":"L0020","section":"{…} is in.","text":"back to the studio","placement":"placed","file":"modules/hall-ui/public/tweak-editor.html","line":91,"string_id":"24a2c1d958da","state":"submitted"}
2942
+ ]
2943
+ },
2911
2944
  {
2912
2945
  "id": "builders:watch",
2913
2946
  "surface": "builders",