@colony2/cortex 0.0.40 → 0.0.41

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 (2) hide show
  1. package/README.md +31 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -38,6 +38,31 @@ can still have a `next_page_token`; use **Next jobs** to continue.
38
38
  Repeated `cell` parameters (for example `?cell=alpha&cell=beta`) match jobs from
39
39
  either cell's repository before pagination; a single `cell` works as before.
40
40
 
41
+ ## Phones and new goals
42
+
43
+ Phone reviews list documents without embedding their full contents. **Read** opens
44
+ a full-screen reader with one vertical scrolling area; **Back to review** returns
45
+ to the same response draft and attachments. **Document options** provides source,
46
+ document selection, and download. Request details, goal context, and instructions
47
+ remain available through disclosures.
48
+
49
+ Below 768px, navigation opens from **Open navigation**, and goals, attempts, and
50
+ cells use cards. Goal cards start with a two-line prompt, status, cell, and attempt
51
+ count; expand a card for submission time, related links, and inspection.
52
+ **Filters and sorting** reveals search and the existing controls. The phone
53
+ filter dialogs retain Select all / Select none / Apply;
54
+ search and sorting keep the same current-page and URL behavior as the desktop list.
55
+ Story and details stack vertically, with a **View selected details** jump link.
56
+
57
+ **New goal** has an independent target picker. Choose self, a configured cell, or a
58
+ cell known from the loaded jobs and saved cell filter. A single cell filter seeds
59
+ the initial choice; subsequent filter changes do not change an open draft.
60
+ **Repository** accepts `github/colony-2/<name>`, `github.com/colony-2/<name>`, or
61
+ `https://github.com/colony-2/<name>`, optionally ending in `.git` or `/`.
62
+ The resolved repository is shown before submission. This submits a goal to an
63
+ existing repository; it does not register or create a cell. Catalogue failures
64
+ leave self, job-known choices, and repository entry available.
65
+
41
66
  ## Chapter downloads
42
67
 
43
68
  On a job's story page, **Download chapters** saves a JSON inspection export of
@@ -201,9 +226,14 @@ browser before running the tests:
201
226
 
202
227
  ```sh
203
228
  PLAYWRIGHT_BROWSERS_PATH="${CORTEX_PLAYWRIGHT_BROWSERS_PATH:-$HOME/.cache/ms-playwright}" \
204
- pnpm --filter @colony2/app exec playwright install --with-deps --only-shell chromium
229
+ pnpm --filter @colony2/app exec playwright install --with-deps chromium
205
230
  ```
206
231
 
232
+ Install full Chromium as well as its headless shell: the native 200% zoom test
233
+ loads a temporary extension in a fresh browser profile and verifies
234
+ `chrome.tabs.setZoom`/`getZoom`, layout dimensions, and device-pixel ratio. The
235
+ extension exists only during testing and is never bundled into the app.
236
+
207
237
  The Nix Chromium package targets Linux workers; macOS developers can use the
208
238
  Playwright installation command above.
209
239
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colony2/cortex",
3
- "version": "0.0.40",
3
+ "version": "0.0.41",
4
4
  "description": "Web interface for c2j recipe jobs",
5
5
  "license": "UNLICENSED",
6
6
  "homepage": "https://github.com/colony-2/cortex",