@rackbops/ac-plugin-contract 2.0.0-alpha.33 → 2.0.0-alpha.35

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/AUTHORING.md +10 -0
  2. package/package.json +1 -1
package/AUTHORING.md CHANGED
@@ -367,6 +367,16 @@ override a card's height per layout; picking that same default height back clear
367
367
  pinning it, so an un-touched card keeps tracking whatever this manifest declares even after a redeploy changes
368
368
  it.
369
369
 
370
+ **A panel keeps its own data fresh.** The shell mounts a panel when its tab is opened and leaves it mounted
371
+ until the operator navigates away: it never remounts one to refresh it. (It used to, on any return to the
372
+ window more than a minute after the panel was opened, which reset every filter, selection and half-typed field
373
+ the panel held, every time.) So a panel whose data goes stale while it is open refreshes it itself, in place,
374
+ into the state already on screen: the Board polls every 60 s, and Issues (`issues-classic`) reads its list
375
+ again when the tab comes back (`focus` on `window`, or `visibilitychange` to visible) more than a minute after
376
+ it opened or last refreshed. A panel that does neither -- Agents, the Admin board's cards -- reads when it is
377
+ opened and after its own actions. Only Home is still refreshed by the shell, which remounts it for Refresh, the
378
+ heartbeat and a return after a minute.
379
+
370
380
  ### The `@ac/host` browser module
371
381
 
372
382
  `@ac/host` (typed as `BrowserHostApi` in `@ac/contract`) is the one shared module instance the shell and every
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rackbops/ac-plugin-contract",
3
- "version": "2.0.0-alpha.33",
3
+ "version": "2.0.0-alpha.35",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "The artifact-console plugin ABI for out-of-repo plugin authors: HostApi, the acPlugin manifest contribution points, the generated manifest JSON Schema, and the @ac/host ambient browser declaration.",