@xeplr/ui-jobs 1.6.8 → 1.6.10

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 CHANGED
@@ -121,6 +121,8 @@ Every call goes through `authFetch`, which prefixes the base URL `@xeplr/ui-acco
121
121
  - **Recent runs** — the 12 latest runs across all jobs, with duration, trigger and error message.
122
122
  - **Live updates** (on by default) — polls `GET /jobs/active` every **2 s** while anything runs and every **15 s** otherwise, so a cron run that starts by itself appears; when the last run finishes, the page reloads once to pick up the final status. Rows show rows read and when the run last made progress (`1.2K rows · last seen 8 s ago`); a run with no progress for **5 minutes** (`SILENT_MS`) reads "Not responding", because the work beats on every batch it moves. Uncheck to stop polling.
123
123
 
124
+ **On a phone** (below 640px) the search, sort and **New job** wrap onto their own lines instead of running off the edge, the table keeps scrolling sideways inside its own box, row buttons and the run-history expander become thumb-sized (40px / 32px), and the search and sort are 16px so iOS does not zoom the page. A job's description and raw cron are still in the row's tooltip, which a phone cannot show — open the job to read them.
125
+
124
126
  State shows **Running** over **Paused**: a pause takes effect at the next pick, and "paused" over a live run invites starting a second one. A job with no schedule has its switch off and disabled — there is nothing for the scheduler to pick.
125
127
 
126
128
  ### The editor
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xeplr/ui-jobs",
3
- "version": "1.6.8",
3
+ "version": "1.6.10",
4
4
  "description": "The screens for @xeplr/jobs — schedule, run, pause and watch jobs — as routes a host app registers, or a standalone app",
5
5
  "type": "module",
6
6
  "main": "src/index.jsx",
@@ -422,3 +422,18 @@
422
422
  .jb-caret { padding: 0; }
423
423
  .jb-caret .jb-icon { transition: none; }
424
424
  .jb-linkish { padding: 0; font: inherit; color: var(--accent, #2563eb); background: none; border: 0; cursor: pointer; text-decoration: underline; }
425
+
426
+ /* ── on a phone ──────────────────────────────────────────────────────────
427
+ The search, sort and New button wrap instead of running off the edge; the
428
+ table keeps scrolling sideways in its own box; every row button becomes a
429
+ target a thumb can hit; and fields are 16px, or iOS zooms the page on focus. */
430
+ @media (max-width: 640px) {
431
+ .jb-head h1 { font-size: 22px; }
432
+ .jb-head-tools { flex-wrap: wrap; }
433
+ .jb-search { flex: 1 1 100%; min-width: 0; }
434
+ .jb-search, .jb-sort { font-size: 16px; min-height: 44px; }
435
+ .jb-primary { min-height: 44px; }
436
+ .jb-row-actions button { width: 40px; height: 40px; }
437
+ .jb-caret { width: 32px; height: 32px; }
438
+ .jb-editor { padding: 16px; }
439
+ }