cursedbelt 6.31.0 → 6.31.1
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/dist/react/Toast.js +1 -1
- package/dist/react/Toast.js.map +1 -1
- package/dist/react/components/BuildFreshness.d.ts +3 -3
- package/dist/react/components/DataTable/ColumnChecklist.d.ts +1 -1
- package/dist/react/components/DataTable/ColumnChecklist.js +1 -1
- package/dist/react/components/DataTable/DataTable.d.ts +2 -2
- package/dist/react/components/DataTable/TableFilterBuilder.d.ts +1 -1
- package/dist/react/components/DataTable/TableFilterBuilder.js +1 -1
- package/dist/react/components/DataTable/filterQuery.d.ts +1 -1
- package/dist/react/components/DataTable/filterQuery.js +1 -1
- package/dist/react/components/DataTable/useTableViewMode.d.ts +1 -1
- package/dist/react/components/DataTable/useTableViewMode.js +1 -1
- package/dist/react/components/ElsewhereNotice.d.ts +3 -3
- package/dist/react/components/FileDropZone.d.ts +1 -1
- package/dist/react/components/FileDropZone.js +1 -1
- package/dist/react/components/NativeSelect.d.ts +1 -1
- package/dist/react/deep-link/links.js +1 -1
- package/dist/react/engagement/beaconClient.d.ts +1 -1
- package/dist/react/engagement/beaconClient.js +1 -1
- package/dist/react/file-tree/FileTree.d.ts +3 -3
- package/dist/react/file-tree/FileTree.js +2 -2
- package/dist/react/folder-tree/FolderTreeRail.js +1 -1
- package/dist/react/folder-tree/FolderTreeRail.js.map +1 -1
- package/dist/react/folder-tree/NewFolderControl.js +1 -1
- package/dist/react/master-lock/MasterLockDialog.js +3 -3
- package/dist/react/media/DenseGalleryShell.d.ts +1 -1
- package/dist/react/media/FrameGrabber.d.ts +2 -2
- package/dist/react/media/FrameGrabber.js +3 -3
- package/dist/react/media/PlayerStrip.js +2 -2
- package/dist/react/media/VideoCutEditor.d.ts +4 -4
- package/dist/react/media/VideoPlayer.d.ts +4 -4
- package/dist/react/media/VideoPlayer.d.ts.map +1 -1
- package/dist/react/media/VideoPlayer.js +15 -15
- package/dist/react/media/VideoPlayer.js.map +1 -1
- package/dist/react/media/VideoTurner.js +2 -2
- package/dist/react/media/cutTimelineMath.js +1 -1
- package/dist/react/media/pictureEdit.d.ts +1 -1
- package/dist/react/media/sourceFault.d.ts +1 -1
- package/dist/react/media/sourceFault.js +5 -5
- package/dist/react/media/surfaceGesture.d.ts +1 -1
- package/dist/react/media/surfaceGesture.js +1 -1
- package/dist/react/media/videoRegion.d.ts +1 -1
- package/dist/react/media/videoRegion.js +1 -1
- package/dist/react/media-gallery/GalleryTable.d.ts +3 -3
- package/dist/react/media-gallery/MediaGallery.d.ts +4 -4
- package/dist/react/media-gallery/MediaGallery.js +10 -10
- package/dist/react/media-gallery/MediaGallery.js.map +1 -1
- package/dist/react/media-gallery/galleryDeepLink.js +1 -1
- package/dist/react/media-gallery/galleryItemMedia.d.ts +1 -1
- package/dist/react/media-gallery/galleryItemMedia.js +1 -1
- package/dist/react/media-gallery/mediaMeta.d.ts +1 -1
- package/dist/react/media-gallery/playbackPreferences.d.ts +6 -6
- package/dist/react/media-gallery/playbackPreferences.js +1 -1
- package/dist/react/notifications/IssueViews.d.ts +2 -2
- package/dist/react/notifications/IssueViews.js +2 -2
- package/dist/react/notifications/IssuesPage.d.ts +3 -3
- package/dist/react/notifications/IssuesPage.d.ts.map +1 -1
- package/dist/react/notifications/IssuesPage.js +3 -3
- package/dist/react/notifications/IssuesPage.js.map +1 -1
- package/dist/react/notifications/issueCapture.js +1 -1
- package/dist/react/notifications/issueCapture.js.map +1 -1
- package/dist/react/notifications/issues.d.ts +9 -9
- package/dist/react/notifications/issues.d.ts.map +1 -1
- package/dist/react/notifications/issues.js +6 -6
- package/dist/react/notifications/issues.js.map +1 -1
- package/dist/react/workspace-shell/notificationSource.js +1 -1
- package/dist/react/workspace-shell/notificationSource.js.map +1 -1
- package/dist/testing/designAudit.js +1 -1
- package/dist/testing/designAudit.js.map +1 -1
- package/package.json +3 -3
- package/scripts/guardrailsEnforce.ts +4 -4
- package/scripts/paths.ts +1 -1
- package/scripts/safari.ts +1 -1
- package/src/react/Toast.tsx +1 -1
- package/src/react/components/BuildFreshness.spec.tsx +1 -1
- package/src/react/components/BuildFreshness.tsx +3 -3
- package/src/react/components/DataTable/ColumnChecklist.tsx +1 -1
- package/src/react/components/DataTable/DataTable.tsx +2 -2
- package/src/react/components/DataTable/TableFilterBuilder.tsx +1 -1
- package/src/react/components/DataTable/filterQuery.ts +1 -1
- package/src/react/components/DataTable/useTableViewMode.ts +1 -1
- package/src/react/components/ElsewhereNotice.tsx +3 -3
- package/src/react/components/FileDropZone.tsx +1 -1
- package/src/react/components/NativeSelect.tsx +1 -1
- package/src/react/deep-link/links.ts +1 -1
- package/src/react/engagement/beaconClient.ts +1 -1
- package/src/react/file-tree/FileTree.spec.tsx +2 -2
- package/src/react/file-tree/FileTree.tsx +6 -6
- package/src/react/file-tree/fileTreeGeometry.spec.ts +2 -2
- package/src/react/folder-tree/FolderTreeRail.tsx +1 -1
- package/src/react/folder-tree/NewFolderControl.tsx +1 -1
- package/src/react/master-lock/MasterLockDialog.tsx +3 -3
- package/src/react/master-lock/MasterLockProvider.spec.tsx +2 -2
- package/src/react/media/DenseGalleryShell.tsx +1 -1
- package/src/react/media/FrameGrabber.spec.tsx +1 -1
- package/src/react/media/FrameGrabber.tsx +3 -3
- package/src/react/media/PlayerStrip.tsx +2 -2
- package/src/react/media/VideoCutEditor.spec.tsx +1 -1
- package/src/react/media/VideoCutEditor.tsx +4 -4
- package/src/react/media/VideoPlayer.spec.tsx +5 -5
- package/src/react/media/VideoPlayer.tsx +16 -16
- package/src/react/media/VideoTurner.tsx +2 -2
- package/src/react/media/cutTimelineMath.ts +1 -1
- package/src/react/media/pictureEdit.ts +1 -1
- package/src/react/media/playerStrip.spec.tsx +1 -1
- package/src/react/media/sourceFault.tsx +5 -5
- package/src/react/media/surfaceGesture.spec.ts +1 -1
- package/src/react/media/surfaceGesture.ts +1 -1
- package/src/react/media/videoRegion.ts +1 -1
- package/src/react/media-gallery/GalleryTable.tsx +3 -3
- package/src/react/media-gallery/MediaGallery.spec.tsx +10 -10
- package/src/react/media-gallery/MediaGallery.tsx +16 -16
- package/src/react/media-gallery/galleryDeepLink.ts +1 -1
- package/src/react/media-gallery/galleryItemMedia.tsx +1 -1
- package/src/react/media-gallery/mediaMeta.ts +1 -1
- package/src/react/media-gallery/playbackPreferences.spec.ts +7 -7
- package/src/react/media-gallery/playbackPreferences.ts +6 -6
- package/src/react/notifications/IssueViews.spec.tsx +2 -2
- package/src/react/notifications/IssueViews.tsx +3 -3
- package/src/react/notifications/IssuesPage.tsx +4 -4
- package/src/react/notifications/issueCapture.ts +1 -1
- package/src/react/notifications/issues.spec.ts +1 -1
- package/src/react/notifications/issues.ts +12 -12
- package/src/react/workspace-shell/notificationSource.ts +1 -1
- package/src/testing/designAudit.ts +1 -1
package/dist/react/Toast.js
CHANGED
package/dist/react/Toast.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toast.js","sourceRoot":"","sources":["../../src/react/Toast.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,EAAsB,OAAO,IAAI,aAAa,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,QAAQ,CAAC;AAC5F,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AAInD;;;;;GAKG;AACH,SAAS,UAAU,CAAC,OAAqB,EAAE,IAAoB;IAC7D,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,CAAC;QAClB,WAAW,CACT,4BAA4B,EAC5B,yHAAyH;YACvH,6FAA6F,CAChG,CAAC;IACJ,CAAC;IACD,gBAAgB,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;IAChC,OAAO,WAAW,CAAC,KAAK,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;AAC1C,CAAC;AAED,iGAAiG;AACjG,SAAS,KAAK,CAAC,IAA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C;AACxG,MAAM,WAAW,GAAG,EAAE,SAAS,EAAE,OAAO,EAAyB,CAAC;AAElE,MAAM,UAAU,OAAO,CAAC,EAAE,KAAK,EAAE,GAAG,KAAK,EAAgB;IACvD,OAAO,CACL,KAAC,aAAa,IACZ,KAAK,EAAE,EAAE,GAAG,UAAU,EAAE,GAAG,WAAW,EAAE,GAAG,KAAK,EAAE,EAClD,QAAQ,EAAC,eAAe,EACxB,MAAM,EAAE,cAAc,EACtB,YAAY,EAAE,aAAa,EAC3B,WAAW,QACX,YAAY,EAAE;YACZ,UAAU,EAAE;gBACV,0FAA0F;gBAC1F,yFAAyF;gBACzF,0FAA0F;gBAC1F,KAAK,EAAE,sIAAsI,aAAa,EAAE;gBAC5J,KAAK,EAAE,qBAAqB;gBAC5B,qFAAqF;gBACrF,8EAA8E;gBAC9E,WAAW,EAAE,gCAAgC;gBAC7C,YAAY,EAAE,yDAAyD;gBACvE,YAAY,EAAE,uDAAuD;gBACrE,WAAW,EAAE,GAAG,aAAa,gDAAgD;gBAC7E,KAAK,EAAE,wDAAwD;gBAC/D,OAAO,EAAE,gDAAgD;gBACzD,OAAO,EAAE,gDAAgD;gBACzD,IAAI,EAAE,8CAA8C;aACrD;SACF,KACG,KAAK,GACT,CACH,CAAC;AACJ,CAAC"}
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
* to grab"* and *"left and right sides of video have large next and previous overlays … the
|
|
7
7
|
* giant vertical dark area around the arrows"*. Both had been fixed on 2026-08-25 (f3258c3e
|
|
8
8
|
* in cursed-core) and both fixes were live — the served CSS contains `.cbmr-corner`'s
|
|
9
|
-
* `z-index: 12` and contains no `.cbgd-stage-nav` at all.
|
|
10
|
-
* before the deploy, in a tab that had never been reloaded, and **nothing on the surface
|
|
11
|
-
* was looking at could tell
|
|
9
|
+
* `z-index: 12` and contains no `.cbgd-stage-nav` at all. The owner was looking at a build from
|
|
10
|
+
* before the deploy, in a tab that had never been reloaded, and **nothing on the surface the owner
|
|
11
|
+
* was looking at could tell them that.** So two fixed bugs were re-reported, and the session
|
|
12
12
|
* that answers them spends its time proving a negative instead of doing work.
|
|
13
13
|
*
|
|
14
14
|
* ── Why {@link StaleDeployHealer} does not already cover it ──────────────────
|
|
@@ -23,7 +23,7 @@ export interface ColumnChecklistProps {
|
|
|
23
23
|
* 🔴 It is a shared component rather than two similar lists because unit
|
|
24
24
|
* `45-cursedbelt-tables` asks for the same affordance twice — item 2 (*"Every
|
|
25
25
|
* column filterable, and selectable with select-all / deselect-all"*) and item 6
|
|
26
|
-
* (*"a subset
|
|
26
|
+
* (*"a subset the owner picks through the same select-all / deselect-all column list
|
|
27
27
|
* item 2 owes"*, the owner's word being **same**). Two lists that look alike and
|
|
28
28
|
* drift is the exact failure this queue exists to end, one level below where it
|
|
29
29
|
* usually happens.
|
|
@@ -10,7 +10,7 @@ import { RAW_BUTTON } from '../../lib/cn.js';
|
|
|
10
10
|
* 🔴 It is a shared component rather than two similar lists because unit
|
|
11
11
|
* `45-cursedbelt-tables` asks for the same affordance twice — item 2 (*"Every
|
|
12
12
|
* column filterable, and selectable with select-all / deselect-all"*) and item 6
|
|
13
|
-
* (*"a subset
|
|
13
|
+
* (*"a subset the owner picks through the same select-all / deselect-all column list
|
|
14
14
|
* item 2 owes"*, the owner's word being **same**). Two lists that look alike and
|
|
15
15
|
* drift is the exact failure this queue exists to end, one level below where it
|
|
16
16
|
* usually happens.
|
|
@@ -413,7 +413,7 @@ export interface DataTableProps<TRow extends Record<string, unknown>> {
|
|
|
413
413
|
* asked for it everywhere at once (2026-08-23): *"The tables can have a
|
|
414
414
|
* switcher from table view to other view like roms app has where I can see
|
|
415
415
|
* the roms list as a compact table or as a set of cards for each entry."* A
|
|
416
|
-
* per-app switcher is the shape that produces the divergence
|
|
416
|
+
* per-app switcher is the shape that produces the divergence the owner keeps
|
|
417
417
|
* reporting — one app grows a good version, the next re-implements a worse
|
|
418
418
|
* one, and a fix to either helps nobody else.
|
|
419
419
|
*
|
|
@@ -453,7 +453,7 @@ export interface DataTableProps<TRow extends Record<string, unknown>> {
|
|
|
453
453
|
* almost nothing passed a `toolbar` at all, so almost nothing had a search
|
|
454
454
|
* box. Present-by-default means the DEFAULT TOOLBAR renders when the caller
|
|
455
455
|
* gave none, which is the only form of "by default" that reaches the tables
|
|
456
|
-
*
|
|
456
|
+
* the owner already has in front of them.
|
|
457
457
|
*
|
|
458
458
|
* A caller that DOES pass `toolbar` owns that line: the default is not added
|
|
459
459
|
* on top (two search boxes is the one outcome the unit rules out), and
|
|
@@ -52,7 +52,7 @@ export interface TableFilterBuilderProps {
|
|
|
52
52
|
* condition after the first. Nobody has to know a precedence rule.
|
|
53
53
|
* - **Exactly two levels.** There is no "add nested group", because the moment
|
|
54
54
|
* nesting exists the reader has to hold a tree in their head. Two levels
|
|
55
|
-
* express
|
|
55
|
+
* express the owner's own worked example and everything shaped like it.
|
|
56
56
|
* - **Every row is removable, and so is the whole thing.** `Clear all` is
|
|
57
57
|
* always reachable; a filter you cannot get out of is worse than none.
|
|
58
58
|
*
|
|
@@ -55,7 +55,7 @@ const OP_OPTIONS = Object.keys(FILTER_OP_LABELS).map((op) => ({
|
|
|
55
55
|
* condition after the first. Nobody has to know a precedence rule.
|
|
56
56
|
* - **Exactly two levels.** There is no "add nested group", because the moment
|
|
57
57
|
* nesting exists the reader has to hold a tree in their head. Two levels
|
|
58
|
-
* express
|
|
58
|
+
* express the owner's own worked example and everything shaped like it.
|
|
59
59
|
* - **Every row is removable, and so is the whole thing.** `Clear all` is
|
|
60
60
|
* always reachable; a filter you cannot get out of is worse than none.
|
|
61
61
|
*
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* So the shape is exactly two levels and no more: a GROUP is an AND of
|
|
12
12
|
* conditions, and the QUERY is an OR of groups. `(A and B) or (C and D)` is the
|
|
13
13
|
* whole grammar. Arbitrary nesting would be more expressive and is the thing
|
|
14
|
-
* that makes a builder unfinishable — the last clause of
|
|
14
|
+
* that makes a builder unfinishable — the last clause of the owner's sentence is the
|
|
15
15
|
* acceptance test, not a nice-to-have.
|
|
16
16
|
*
|
|
17
17
|
* 🔴 This module is PURE and holds no React. The evaluator is the part that must
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* So the shape is exactly two levels and no more: a GROUP is an AND of
|
|
12
12
|
* conditions, and the QUERY is an OR of groups. `(A and B) or (C and D)` is the
|
|
13
13
|
* whole grammar. Arbitrary nesting would be more expressive and is the thing
|
|
14
|
-
* that makes a builder unfinishable — the last clause of
|
|
14
|
+
* that makes a builder unfinishable — the last clause of the owner's sentence is the
|
|
15
15
|
* acceptance test, not a nice-to-have.
|
|
16
16
|
*
|
|
17
17
|
* 🔴 This module is PURE and holds no React. The evaluator is the part that must
|
|
@@ -54,7 +54,7 @@ export declare const tableViewResumeKey: (id: string) => string;
|
|
|
54
54
|
* per-user scoping. There is no localStorage fallback on purpose: `localStorage`
|
|
55
55
|
* is exactly the thing that cannot answer *"or logon somewhere else"*, and a
|
|
56
56
|
* silent fallback to it would make the feature look like it works while failing
|
|
57
|
-
* the half
|
|
57
|
+
* the half the owner actually asked for.
|
|
58
58
|
*
|
|
59
59
|
* Failure is swallowed into "use the initial view", for the same reason
|
|
60
60
|
* `useResume` swallows its own: a table that will not render because its
|
|
@@ -29,7 +29,7 @@ export const tableViewResumeKey = (id) => `table-view.${id.replace(/[^A-Za-z0-9.
|
|
|
29
29
|
* per-user scoping. There is no localStorage fallback on purpose: `localStorage`
|
|
30
30
|
* is exactly the thing that cannot answer *"or logon somewhere else"*, and a
|
|
31
31
|
* silent fallback to it would make the feature look like it works while failing
|
|
32
|
-
* the half
|
|
32
|
+
* the half the owner actually asked for.
|
|
33
33
|
*
|
|
34
34
|
* Failure is swallowed into "use the initial view", for the same reason
|
|
35
35
|
* `useResume` swallows its own: a table that will not render because its
|
|
@@ -5,8 +5,8 @@ import { type AlertTone } from './Alert.js';
|
|
|
5
5
|
*
|
|
6
6
|
* ── The measured bug it exists to stop ───────────────────────────────────────
|
|
7
7
|
* The owner spent about an hour on 2026-08-13 unable to find station's vault
|
|
8
|
-
* unlock control. The app was behaving exactly as designed:
|
|
9
|
-
* mirror, where the values do not exist, and the page told
|
|
8
|
+
* unlock control. The app was behaving exactly as designed: the owner was on the prod
|
|
9
|
+
* mirror, where the values do not exist, and the page told them so —
|
|
10
10
|
*
|
|
11
11
|
* "Values, unlocking, minting and apply-to-app stay on the Mac —
|
|
12
12
|
* open the local station for those."
|
|
@@ -28,7 +28,7 @@ import { type AlertTone } from './Alert.js';
|
|
|
28
28
|
* The destination is usually a loopback address the reader is standing in front
|
|
29
29
|
* of (`http://127.0.0.1:3024/#/vault/auth%2Fprod`). A real anchor middle-clicks,
|
|
30
30
|
* opens in a new tab, and — read on a phone, where it genuinely cannot resolve —
|
|
31
|
-
* still SHOWS the address, so the owner knows what to type when
|
|
31
|
+
* still SHOWS the address, so the owner knows what to type when they get home.
|
|
32
32
|
*/
|
|
33
33
|
export interface ElsewhereNoticeProps {
|
|
34
34
|
/** Bold heading. Say what cannot happen here, not that something went wrong. */
|
|
@@ -118,7 +118,7 @@ export interface FileDropZoneProps {
|
|
|
118
118
|
* as a single refusal. Found in roms: the owner double-clicked a `.7z` in Finder
|
|
119
119
|
* and dropped the folder it unpacked to (a PlayStation disc's `.cue` and thirty
|
|
120
120
|
* `.bin`s, one level down) and got "not a file this accepts" for the lot, when
|
|
121
|
-
* what
|
|
121
|
+
* what the owner dropped was exactly the files the zone takes. Finder's "unpack, then
|
|
122
122
|
* drag the result" is the ordinary way a person hands over a set of files.
|
|
123
123
|
*
|
|
124
124
|
* So a folder is walked (`webkitGetAsEntry`, the only door every browser ships)
|
|
@@ -115,7 +115,7 @@ const DIRECTORY_PICKER = { webkitdirectory: '' };
|
|
|
115
115
|
* as a single refusal. Found in roms: the owner double-clicked a `.7z` in Finder
|
|
116
116
|
* and dropped the folder it unpacked to (a PlayStation disc's `.cue` and thirty
|
|
117
117
|
* `.bin`s, one level down) and got "not a file this accepts" for the lot, when
|
|
118
|
-
* what
|
|
118
|
+
* what the owner dropped was exactly the files the zone takes. Finder's "unpack, then
|
|
119
119
|
* drag the result" is the ordinary way a person hands over a set of files.
|
|
120
120
|
*
|
|
121
121
|
* So a folder is walked (`webkitGetAsEntry`, the only door every browser ships)
|
|
@@ -25,7 +25,7 @@ export interface NativeSelectProps extends Omit<ComponentPropsWithRef<'select'>,
|
|
|
25
25
|
* from a constant: an empty list with only a placeholder in it is a dead end, and
|
|
26
26
|
* the `choice-needs-empty-state` guardrail reports one. The owner met that dead end
|
|
27
27
|
* in music on 2026-08-21 and could not tell whether the control was broken, whether
|
|
28
|
-
*
|
|
28
|
+
* the owner had nothing, or what a category even was. Rendered as a disabled row, so it
|
|
29
29
|
* cannot be picked.
|
|
30
30
|
*
|
|
31
31
|
* When making one is possible from here, prefer {@link ChoiceMenu} — it puts a
|
|
@@ -202,7 +202,7 @@ export function defineDeepLinks(options) {
|
|
|
202
202
|
* `#/` is NOT bare, and that distinction is the whole safety of resume. It is the
|
|
203
203
|
* link somebody sends when they mean "the app's front screen", and if it restored,
|
|
204
204
|
* every such link in the fleet would silently bounce its reader to wherever THEY
|
|
205
|
-
* were last — the exact bug the owner named when
|
|
205
|
+
* were last — the exact bug the owner named when they asked for this. A person who
|
|
206
206
|
* wants their place back opens the bookmark (`https://music…/`), which is bare.
|
|
207
207
|
*/
|
|
208
208
|
const isBare = (raw) => {
|
|
@@ -143,7 +143,7 @@ export declare function flushEngagementActions(options?: {
|
|
|
143
143
|
* 🔴 BATCHED (forge task 4034): an action is queued, and the queue goes as ONE request after
|
|
144
144
|
* {@link ACTION_QUIET_MS} of quiet, {@link ACTION_MAX_WAIT_MS} after its first action at most, at
|
|
145
145
|
* {@link ACTION_BATCH_MAX}, and when the page is left ({@link flushEngagementActions}). So a
|
|
146
|
-
* feature the owner adds to the record costs no request per click —
|
|
146
|
+
* feature the owner adds to the record costs no request per click — their words: *"batching some
|
|
147
147
|
* interactions with debounces will lower traffic"*.
|
|
148
148
|
*
|
|
149
149
|
* NOT de-duplicated, unlike `reportPlace`: three plays are three uses. Only call it from apps
|
|
@@ -296,7 +296,7 @@ async function sendActions(url, actions, queue, leaving) {
|
|
|
296
296
|
* 🔴 BATCHED (forge task 4034): an action is queued, and the queue goes as ONE request after
|
|
297
297
|
* {@link ACTION_QUIET_MS} of quiet, {@link ACTION_MAX_WAIT_MS} after its first action at most, at
|
|
298
298
|
* {@link ACTION_BATCH_MAX}, and when the page is left ({@link flushEngagementActions}). So a
|
|
299
|
-
* feature the owner adds to the record costs no request per click —
|
|
299
|
+
* feature the owner adds to the record costs no request per click — their words: *"batching some
|
|
300
300
|
* interactions with debounces will lower traffic"*.
|
|
301
301
|
*
|
|
302
302
|
* NOT de-duplicated, unlike `reportPlace`: three plays are three uses. Only call it from apps
|
|
@@ -126,7 +126,7 @@
|
|
|
126
126
|
* `data-ancestor`/`data-holds-open` and the scroll — and the one thing missing was the one
|
|
127
127
|
* thing this file had DECIDED against: limit 1 of the reveal, *a shut folder stays shut*.
|
|
128
128
|
*
|
|
129
|
-
*
|
|
129
|
+
* The owner named VS Code, whose `explorer.autoReveal` is `true` and expands, and they named the exact
|
|
130
130
|
* gesture. So the ask wins over the default, and the decision is recorded in full on the
|
|
131
131
|
* effect itself rather than here: {@link FileTreeProps.expandOnReveal} is OFF unless a
|
|
132
132
|
* consumer wires it, and what it opens goes into an overlay of this component's own
|
|
@@ -209,7 +209,7 @@ export interface FileTreeProps {
|
|
|
209
209
|
*
|
|
210
210
|
* Owner, `ideas/collections-09-14.md`: *"clicking a file in media gallery content window
|
|
211
211
|
* should show that file in the file tree by like vscode does when you select a tab with a
|
|
212
|
-
* file in it."*
|
|
212
|
+
* file in it."* The owner named the application and they named the gesture, so this is what the
|
|
213
213
|
* reveal does when it is asked for by name — see limit 1 on the reveal effect for the
|
|
214
214
|
* argument this prop is the opt-in half of, and why it stays the default.
|
|
215
215
|
*
|
|
@@ -218,7 +218,7 @@ export interface FileTreeProps {
|
|
|
218
218
|
* persisted is still the collapse it persisted — on the next mount the tree reads it back
|
|
219
219
|
* unchanged. Shutting one of them by hand drops it from the overlay and the persisted value
|
|
220
220
|
* decides again; nothing about it is ever written out. That is the whole of the objection
|
|
221
|
-
* limit 1 records, answered without giving up the behavior
|
|
221
|
+
* limit 1 records, answered without giving up the behavior the owner asked for.
|
|
222
222
|
*
|
|
223
223
|
* Off unless it is wired, like every other verb here: a consumer that passes nothing gets
|
|
224
224
|
* byte for byte today's reveal.
|
|
@@ -549,8 +549,8 @@ export function FileTree({ nodes, selectedId, onSelect, selectedIds, onSelection
|
|
|
549
549
|
* `collapsed` here is often a CONTROLLED value the consumer persists, so expanding would
|
|
550
550
|
* write it open for good. Then the owner asked for it BY NAME — *"show that file in the
|
|
551
551
|
* file tree by like vscode does when you select a tab with a file in it"* — and named the
|
|
552
|
-
* application whose default is `true`.
|
|
553
|
-
*
|
|
552
|
+
* application whose default is `true`. The owner's ask wins over the default this file chose for
|
|
553
|
+
* them, so the behavior is here.
|
|
554
554
|
*
|
|
555
555
|
* What survives is the half of the objection that was never taste: **the persisted value
|
|
556
556
|
* is not rewritten.** The expansion goes into `revealOpened`, an overlay of this tree's
|
|
@@ -123,7 +123,7 @@ export function FolderTreeRail({ nodes, selected, onSelect, count, renderAccesso
|
|
|
123
123
|
walk(nodes);
|
|
124
124
|
// 🔴 An EMPTY tree still renders when a create is on offer. Returning null there
|
|
125
125
|
// is what made "no folders yet" and "this app cannot make folders" look identical
|
|
126
|
-
// — which is the state the owner was looking at when
|
|
126
|
+
// — which is the state the owner was looking at when they reported this.
|
|
127
127
|
if (nodes.length === 0 && !onCreate)
|
|
128
128
|
return null;
|
|
129
129
|
return (_jsxs("nav", { ...rest, className: `flex flex-col gap-0.5 ${className ?? ""}`, "aria-label": ariaLabel, children: [rows, rows.length === 0 ? (_jsx("p", { className: "px-1.5 py-1 text-sm text-muted-foreground", children: "No folders yet" })) : null, onCreate ? (_jsx(NewFolderControl, { parent: selectedPath, siblings: siblingsOfSelection, onCreate: onCreate, label: selectedPath.length > 0 ? `New folder in ${selectedPath.at(-1)}` : "New folder", className: "mt-1" })) : null] }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FolderTreeRail.js","sourceRoot":"","sources":["../../../src/react/folder-tree/FolderTreeRail.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,OAAO,EAAoD,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC5F,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AAEpE,OAAO,EAAE,SAAS,EAAE,WAAW,EAAuB,MAAM,oCAAoC,CAAC;AACjG,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AACnD,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,EAAE,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAsC9C,MAAM,UAAU,GAAG,IAAI,CAAC;AAExB,MAAM,UAAU,cAAc,CAAC,EAC9B,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,KAAK,EACL,eAAe,EACf,QAAQ,EACR,eAAe,GAAG,IAAI,EACtB,SAAS,EACT,SAAS,EACT,SAAS,GAAG,SAAS,EACrB,GAAG,IAAI,EACc;IACrB,iFAAiF;IACjF,0EAA0E;IAC1E,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,QAAQ,CAAc,GAAG,EAAE,CAAC,IAAI,GAAG,EAAE,CAAC,CAAC;IACzE,8EAA8E;IAC9E,4EAA4E;IAC5E,mEAAmE;IACnE,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,QAAQ,CAAgB,IAAI,CAAC,CAAC;IAC5D,MAAM,OAAO,GAAG,OAAO,CAAC,GAAG,EAA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clear way to create or use the folders. The standardized component
|
|
8
8
|
* should fix this."*
|
|
9
9
|
*
|
|
10
|
-
*
|
|
10
|
+
* The owner is describing a gap that three apps have at once, for the same structural
|
|
11
11
|
* reason. Every folder system in the fleet DERIVES its tree from the paths its
|
|
12
12
|
* items carry — the vault, notes and collections each wrote the argument down
|
|
13
13
|
* independently — and a derived tree has no obvious moment for a folder to be
|
|
@@ -85,13 +85,13 @@ export function MasterLockDialog({ open, kdf, idleMs, className, onClose, onChan
|
|
|
85
85
|
* along — the shape the wire had before accounts existed, when one app meant one
|
|
86
86
|
* password. Every account on an app now derives under ONE shared descriptor, so a
|
|
87
87
|
* fresh salt here would store a verifier hash nothing could ever match: the owner
|
|
88
|
-
* sets a new password, the rotation logs
|
|
88
|
+
* sets a new password, the rotation logs the owner out, and neither the old nor the new
|
|
89
89
|
* one opens the app. It would also invalidate every SIBLING account's stored hash
|
|
90
|
-
* at once — rotating account 2 would silently lock
|
|
90
|
+
* at once — rotating account 2 would silently lock the owner out of account 1.
|
|
91
91
|
*
|
|
92
92
|
* `cursedbelt-server`'s guard refuses the old shape with `409 {"error":"stale-client"}`
|
|
93
93
|
* rather than honoring it, so this dialog did not corrupt anything; it simply
|
|
94
|
-
* stopped working, and the owner could not change
|
|
94
|
+
* stopped working, and the owner could not change their master password from inside
|
|
95
95
|
* any app. The salt never rotating is the accepted cost — it is 16 random bytes
|
|
96
96
|
* whose job is to stop precomputation across apps, and it does that for as long as
|
|
97
97
|
* it exists. `MasterLockChangeRequest` in `cursedbelt-core` carries the same note.
|
|
@@ -245,7 +245,7 @@ export interface DenseGalleryDetailProps {
|
|
|
245
245
|
* Draw the related region as something OTHER than a tile grid — a rows table, typically.
|
|
246
246
|
*
|
|
247
247
|
* 🔴 Added 2026-09-10, and it exists because a view toggle stopped working. Owner:
|
|
248
|
-
* *"toggling to rows from thumbnails did not work in the gallery with a video active."*
|
|
248
|
+
* *"toggling to rows from thumbnails did not work in the gallery with a video active."* The owner
|
|
249
249
|
* was right, and it was not the toggle: the detail view rendered a tile grid unconditionally
|
|
250
250
|
* and had no way to be told otherwise, so the control was live, the preference was written,
|
|
251
251
|
* and nothing on screen could change. A pressed button that provably does nothing is worse
|
|
@@ -94,14 +94,14 @@ export interface FrameGrabberProps {
|
|
|
94
94
|
* ── 🔴 STILL A DIALOG, and the owner asked for a page. Here is the reasoning ──────────────
|
|
95
95
|
* `ideas/collections-09-14.md`, 2026-09-14, ends: *"Let's put the thumbnail selector on it's own
|
|
96
96
|
* page to make this less confusing."* Read with the sentence before it, that is a proposed FIX
|
|
97
|
-
* for four complaints, not a fifth want — the footer
|
|
97
|
+
* for four complaints, not a fifth want — the footer the owner could not reach, the folders that would
|
|
98
98
|
* not respond, the selection that did not clear this away, and the space bar.
|
|
99
99
|
*
|
|
100
100
|
* It stays a dialog, because all four are now answered where they belong and a page would cost
|
|
101
101
|
* the one thing this shape buys: **the gallery's player stays mounted behind it**, which is what
|
|
102
102
|
* makes "open at the moment I was watching" a carried number rather than a second load and a
|
|
103
103
|
* second seek of a two-hour film. A route would also have to invent a way back, and "back" from
|
|
104
|
-
* a route is the browser's history — the control that, in the report one file over, took
|
|
104
|
+
* a route is the browser's history — the control that, in the report one file over, took the owner out
|
|
105
105
|
* of the app.
|
|
106
106
|
*
|
|
107
107
|
* · the footer cannot leave the screen: `Modal` caps the card and pins the action bar, and
|
|
@@ -66,14 +66,14 @@ import { cn, RAW_BUTTON } from '../lib/cn.js';
|
|
|
66
66
|
* ── 🔴 STILL A DIALOG, and the owner asked for a page. Here is the reasoning ──────────────
|
|
67
67
|
* `ideas/collections-09-14.md`, 2026-09-14, ends: *"Let's put the thumbnail selector on it's own
|
|
68
68
|
* page to make this less confusing."* Read with the sentence before it, that is a proposed FIX
|
|
69
|
-
* for four complaints, not a fifth want — the footer
|
|
69
|
+
* for four complaints, not a fifth want — the footer the owner could not reach, the folders that would
|
|
70
70
|
* not respond, the selection that did not clear this away, and the space bar.
|
|
71
71
|
*
|
|
72
72
|
* It stays a dialog, because all four are now answered where they belong and a page would cost
|
|
73
73
|
* the one thing this shape buys: **the gallery's player stays mounted behind it**, which is what
|
|
74
74
|
* makes "open at the moment I was watching" a carried number rather than a second load and a
|
|
75
75
|
* second seek of a two-hour film. A route would also have to invent a way back, and "back" from
|
|
76
|
-
* a route is the browser's history — the control that, in the report one file over, took
|
|
76
|
+
* a route is the browser's history — the control that, in the report one file over, took the owner out
|
|
77
77
|
* of the app.
|
|
78
78
|
*
|
|
79
79
|
* · the footer cannot leave the screen: `Modal` caps the card and pins the action bar, and
|
|
@@ -307,7 +307,7 @@ export function FrameGrabber({ src, hlsUrl, resolving = false, name, startAt = 0
|
|
|
307
307
|
* 🔴 The way OUT, stated. Owner, 2026-09-14: *"I did not see the 'Done' button for a
|
|
308
308
|
* while and thought that refreshing was the only way I could find to get out of it."*
|
|
309
309
|
*
|
|
310
|
-
* The button was on screen (that is measured now, at
|
|
310
|
+
* The button was on screen (that is measured now, at the owner's window height), so this is not
|
|
311
311
|
* a layout fix wearing a sentence — it is the other defect in the same report. The
|
|
312
312
|
* dialog is a wide two-column workspace whose one exit is a pill in the bottom corner,
|
|
313
313
|
* and a reader hunting for it has no reason to believe the corner is where it lives.
|
|
@@ -9,7 +9,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
|
9
9
|
* sizes, the hit targets and the Space rule all live here, and an app supplies only its own
|
|
10
10
|
* data and its own actions.
|
|
11
11
|
*
|
|
12
|
-
* ── The owner's three-column architecture, in
|
|
12
|
+
* ── The owner's three-column architecture, in their words ─────────────────────────────────
|
|
13
13
|
* *"Left Column (Track Metadata): permanently anchor the album art, song name and artist to
|
|
14
14
|
* the left edge with a standard gap of 12px to 16px. Center Column (Core Playback &
|
|
15
15
|
* Timeline): vertically stack the media controls OVER the track timeline. Right Column
|
|
@@ -32,7 +32,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
|
32
32
|
*
|
|
33
33
|
* ── Hit targets ─────────────────────────────────────────────────────────────────────────
|
|
34
34
|
* `DESIGN.md` §5 requires 44×44 and wins over the owner's own "at least 40x40" here, which
|
|
35
|
-
*
|
|
35
|
+
* the owner anticipated. Every control is an `IconButton size="lg"`, whose footprint comes from
|
|
36
36
|
* `--control-h-lg`; the ICON inside is 22px, so the target is transparent space around a
|
|
37
37
|
* glyph rather than a big painted button.
|
|
38
38
|
*/
|
|
@@ -33,17 +33,17 @@ import { type VideoCut } from 'cursedbelt-core/media/video-cuts';
|
|
|
33
33
|
* I make one cut in the middle then I can choose the left of it and click 'x' to indicate the
|
|
34
34
|
* left should be the deleted side."*
|
|
35
35
|
*
|
|
36
|
-
*
|
|
36
|
+
* The owner is right, and the first design was in/out PAIRS. Pairs are ambiguous the moment there is
|
|
37
37
|
* more than one: a row of identical markers does not say which gap is a cut and which is
|
|
38
38
|
* footage, so `-[--|-|-]-` has to be interpreted, and two people interpret it differently.
|
|
39
39
|
*
|
|
40
40
|
* So: ✂ splits the clip at the playhead, and every piece between two splits is a segment you
|
|
41
41
|
* click ✗ on to remove. Nothing is paired, nothing is ordered, and every point in the video
|
|
42
|
-
* belongs to exactly one segment whose fate is STATED. It also collapses
|
|
42
|
+
* belongs to exactly one segment whose fate is STATED. It also collapses the owner's two cases into
|
|
43
43
|
* one — "cut once and delete the left" and "take four sections out of the middle" are the
|
|
44
44
|
* same gesture repeated, with no special handling of the head or the tail.
|
|
45
45
|
*
|
|
46
|
-
* The style is Shotcut's, which is what
|
|
46
|
+
* The style is Shotcut's, which is what the owner asked for: a strip of pieces, the removed ones
|
|
47
47
|
* struck through, and the control on the piece rather than in a menu about the piece.
|
|
48
48
|
*
|
|
49
49
|
* ── Keeping it out of the way when it is not in use ───────────────────────────────────
|
|
@@ -56,7 +56,7 @@ import { type VideoCut } from 'cursedbelt-core/media/video-cuts';
|
|
|
56
56
|
* ── A PAGE, with a zoomable timeline, down to the frame (owner, 2026-11-03) ───────────
|
|
57
57
|
* *"a full Trim page with a zoomable timeline, down to frame-by-frame selection."* It was a
|
|
58
58
|
* `size='lg'` modal with one fixed strip, so on a two-hour film a pixel was several seconds
|
|
59
|
-
* and the frame
|
|
59
|
+
* and the frame the owner wanted could not be marked at all. Now it is the shape of an NLE's trim
|
|
60
60
|
* view (YouTube Studio's editor, Resolve's cut page): the picture on top, the transport and a
|
|
61
61
|
* full-width timeline under it, the actions bottom-right.
|
|
62
62
|
* · It COVERS the viewport and has an address of its own when the app gives it one
|
|
@@ -199,8 +199,8 @@ export declare function toggleFullscreenOnSurfaceDoubleClick(player: Pick<MediaP
|
|
|
199
199
|
* one placement that makes them exist at the moment they are most wanted.
|
|
200
200
|
*
|
|
201
201
|
* `beforePlayButton` / `afterPlayButton` rather than `beforeSettingsMenu`: the cog names the
|
|
202
|
-
* BAR the owner meant, and inside that bar Prev-Play-Next is the arrangement every player
|
|
203
|
-
*
|
|
202
|
+
* BAR the owner meant, and inside that bar Prev-Play-Next is the arrangement every player they
|
|
203
|
+
* have ever used puts them in. Both layouts get the same pair — `smallLayout` is the touch
|
|
204
204
|
* bar, where the play button becomes a center overlay, and leaving it out would delete the
|
|
205
205
|
* controls again on exactly the devices that cannot press ⇧←.
|
|
206
206
|
*/
|
|
@@ -315,7 +315,7 @@ export declare const AUTOPLAY_DEFAULT = true;
|
|
|
315
315
|
* at mute. Then if I unmute it, keep that value as I change to other videos."*
|
|
316
316
|
*
|
|
317
317
|
* · an explicit `muted` prop still wins — an app that says "silent" means silent
|
|
318
|
-
* · then what
|
|
318
|
+
* · then what the owner set THIS SESSION ({@link readSessionVolume}, `null` until they touch it)
|
|
319
319
|
* · then the old rule: muted follows autoPlay, because an unmuted autoplay is refused
|
|
320
320
|
*
|
|
321
321
|
* A `null` session is therefore byte-for-byte the behavior every consumer had before this
|
|
@@ -330,7 +330,7 @@ export declare function resolveAutoplay(opts: {
|
|
|
330
330
|
autoPlay?: boolean;
|
|
331
331
|
muted?: boolean;
|
|
332
332
|
reducedMotion: boolean;
|
|
333
|
-
/** What
|
|
333
|
+
/** What the owner set this session on this surface, or `null`/absent for "the owner has not". */
|
|
334
334
|
session?: SessionVolume | null;
|
|
335
335
|
}): {
|
|
336
336
|
autoPlay: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VideoPlayer.d.ts","sourceRoot":"","sources":["../../../src/react/media/VideoPlayer.tsx"],"names":[],"mappings":"AAAA,OAAO,iDAAiD,CAAC;AACzD,OAAO,yDAAyD,CAAC;AACjE,OAAO,mBAAmB,CAAC;AAC3B,OAAO,EAIL,KAAK,mBAAmB,EAExB,KAAK,oBAAoB,EAI1B,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAEL,KAAK,uBAAuB,EAE7B,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAEL,KAAK,SAAS,EAKf,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAGL,KAAK,aAAa,EAEnB,MAAM,yCAAyC,CAAC;AAIjD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAC5D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AASjE,OAAO,EAAgB,KAAK,cAAc,EAAqB,MAAM,oBAAoB,CAAC;AAI1F;;;;;;;;;;;;;;;;;;GAkBG;AACH;;;;;;;;;GASG;AACH,MAAM,MAAM,WAAW,GAAG,cAAc,GAAG;IACzC;;;;;;;OAOG;IACH,gBAAgB,CAAC,EAAE,OAAO,GAAG,aAAa,GAAG,UAAU,GAAG,SAAS,CAAC;CACrE,CAAC;AAEF,MAAM,WAAW,gBAAgB;IAC/B;;;;OAIG;IACH,KAAK,EAAE,WAAW,CAAC;IACnB,2EAA2E;IAC3E,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,KAAK,CAAC,EAAE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,EAC9B,UAAkB,EAClB,kBAAkB,EAClB,SAAS,EACT,iBAAiB,EACjB,KAAK,EACL,OAAkB,EAClB,GAAG,IAAI,EACR,EAAE,gBAAgB,+BAoYlB;AA0FD,KAAK,aAAa,GAAG,aAAa,GAAG,UAAU,GAAG,SAAS,CAAC;AAmH5D;;;;;;;;;;GAUG;AACH,wBAAgB,mBAAmB,CAAC,EAClC,MAAM,EACN,QAAQ,EACR,gBAAgB,EAChB,GAAG,IAAI,EACR,EAAE;IACD,MAAM,CAAC,EAAE,aAAa,CAAC,kBAAkB,CAAC,CAAC;IAC3C,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,gBAAgB,CAAC,EAAE,OAAO,GAAG,aAAa,CAAC;CAC5C,+BA0DA"}
|
|
@@ -91,8 +91,8 @@ function StepGlyph({ delta }) {
|
|
|
91
91
|
* one placement that makes them exist at the moment they are most wanted.
|
|
92
92
|
*
|
|
93
93
|
* `beforePlayButton` / `afterPlayButton` rather than `beforeSettingsMenu`: the cog names the
|
|
94
|
-
* BAR the owner meant, and inside that bar Prev-Play-Next is the arrangement every player
|
|
95
|
-
*
|
|
94
|
+
* BAR the owner meant, and inside that bar Prev-Play-Next is the arrangement every player they
|
|
95
|
+
* have ever used puts them in. Both layouts get the same pair — `smallLayout` is the touch
|
|
96
96
|
* bar, where the play button becomes a center overlay, and leaving it out would delete the
|
|
97
97
|
* controls again on exactly the devices that cannot press ⇧←.
|
|
98
98
|
*/
|
|
@@ -336,7 +336,7 @@ export const AUTOPLAY_DEFAULT = true;
|
|
|
336
336
|
* at mute. Then if I unmute it, keep that value as I change to other videos."*
|
|
337
337
|
*
|
|
338
338
|
* · an explicit `muted` prop still wins — an app that says "silent" means silent
|
|
339
|
-
* · then what
|
|
339
|
+
* · then what the owner set THIS SESSION ({@link readSessionVolume}, `null` until they touch it)
|
|
340
340
|
* · then the old rule: muted follows autoPlay, because an unmuted autoplay is refused
|
|
341
341
|
*
|
|
342
342
|
* A `null` session is therefore byte-for-byte the behavior every consumer had before this
|
|
@@ -596,7 +596,7 @@ export function VideoPlayer({ video, autoPlay, muted, volumeKey = PLAYER_VOLUME_
|
|
|
596
596
|
* Owner, 2026-09-17: *"make a 404 stop the media player spinner so I don't think it's going
|
|
597
597
|
* to eventually load."* Vidstack's layout draws a buffering spinner whenever the player is
|
|
598
598
|
* not ready, and nothing in it distinguishes "waiting" from "asked and told no" — so an item
|
|
599
|
-
* whose ladder answers `404` in 0.2 s spun until
|
|
599
|
+
* whose ladder answers `404` in 0.2 s spun until the owner gave up. Two pieces of state end that:
|
|
600
600
|
*
|
|
601
601
|
* · `ladderAnswered` — the master or a rung REPLIED with a status. Nothing to wait for, so
|
|
602
602
|
* the progressive copy (the one that always exists) takes over at once instead of after
|
|
@@ -664,12 +664,12 @@ export function VideoPlayer({ video, autoPlay, muted, volumeKey = PLAYER_VOLUME_
|
|
|
664
664
|
});
|
|
665
665
|
const { fault } = health;
|
|
666
666
|
// See AUTOPLAY_DEFAULT. `muted` follows `autoPlay` because an unmuted autoplay is refused
|
|
667
|
-
// by every browser and the refusal LOOKS like the spinner this batch removed — unless
|
|
667
|
+
// by every browser and the refusal LOOKS like the spinner this batch removed — unless the owner
|
|
668
668
|
// has already set a level on this surface this session, which is what `session` carries.
|
|
669
669
|
const reducedMotion = usePrefersReducedMotion();
|
|
670
670
|
// 🔴 Read ONCE, on mount, and never again: this is a starting value handed to a player that
|
|
671
671
|
// owns its own volume state from then on. Re-reading it on a later render would fight the
|
|
672
|
-
// control bar
|
|
672
|
+
// control bar the owner is holding, and stepping to the next clip remounts this component anyway,
|
|
673
673
|
// which is exactly when the remembered level is supposed to be applied.
|
|
674
674
|
const [session] = useState(() => readSessionVolume(volumeKey));
|
|
675
675
|
const { autoPlay: shouldAutoPlay, muted: shouldMute, volume: startVolume, } = resolveAutoplay({ autoPlay, muted, reducedMotion, session });
|
|
@@ -684,11 +684,11 @@ export function VideoPlayer({ video, autoPlay, muted, volumeKey = PLAYER_VOLUME_
|
|
|
684
684
|
* Applying `volume`/`muted` above makes the element fire `volumechange` like any other
|
|
685
685
|
* change, so a naive listener writes the starting value straight back — minting a remembered
|
|
686
686
|
* preference for a person who has touched nothing, on every player that mounts. That
|
|
687
|
-
* quietly turns "
|
|
687
|
+
* quietly turns "the owner has not set a volume" into "the owner set it to the default", which is the one
|
|
688
688
|
* distinction `readSessionVolume` returns `null` to preserve.
|
|
689
689
|
*/
|
|
690
690
|
const applied = useRef({ volume: startVolume, muted: shouldMute });
|
|
691
|
-
/** A mute the BROWSER forced on us — see `onAutoPlayFail` below. Never
|
|
691
|
+
/** A mute the BROWSER forced on us — see `onAutoPlayFail` below. Never the owner's choice, so never stored. */
|
|
692
692
|
const forcedMute = useRef(false);
|
|
693
693
|
/*
|
|
694
694
|
* See `useSeekRecovery`: a skip whose read never answered gets a fresh element at that spot,
|
|
@@ -772,21 +772,21 @@ export function VideoPlayer({ video, autoPlay, muted, volumeKey = PLAYER_VOLUME_
|
|
|
772
772
|
else
|
|
773
773
|
health.giveUp(progressive, 'file');
|
|
774
774
|
}, title: video.name, poster: video.posterUrl, crossOrigin: true, playsInline: true, autoPlay: shouldAutoPlay, muted: shouldMute,
|
|
775
|
-
// 🔴 The level
|
|
775
|
+
// 🔴 The level the owner set this session, restored on the element — see `resolveAutoplay`
|
|
776
776
|
// and `SessionVolume`. Both values are constant for the life of this mount, so
|
|
777
|
-
// Vidstack's own volume state is never overwritten while
|
|
777
|
+
// Vidstack's own volume state is never overwritten while the owner is using the control bar;
|
|
778
778
|
// the next clip is a fresh mount, which is when the restore is meant to happen.
|
|
779
779
|
volume: startVolume,
|
|
780
|
-
/* 🔴 Read off the PLAYER, not off a React slider:
|
|
780
|
+
/* 🔴 Read off the PLAYER, not off a React slider: the owner changes this in Vidstack's own
|
|
781
781
|
control bar (or with ↑/↓), which no React-side state can see. `volume-change` fires
|
|
782
782
|
for both facts at once, which is the shape `SessionVolume` stores. */
|
|
783
783
|
onVolumeChange: (detail) => {
|
|
784
|
-
// The echo of our own restore is not a change
|
|
784
|
+
// The echo of our own restore is not a change the owner made. See `applied`.
|
|
785
785
|
if (detail.volume === applied.current.volume && detail.muted === applied.current.muted)
|
|
786
786
|
return;
|
|
787
787
|
applied.current = { volume: detail.volume, muted: detail.muted };
|
|
788
788
|
if (forcedMute.current) {
|
|
789
|
-
// The browser's refusal, not
|
|
789
|
+
// The browser's refusal, not the owner's preference — leave the stored level alone so
|
|
790
790
|
// unmuting still returns to it.
|
|
791
791
|
forcedMute.current = false;
|
|
792
792
|
return;
|
|
@@ -798,7 +798,7 @@ export function VideoPlayer({ video, autoPlay, muted, volumeKey = PLAYER_VOLUME_
|
|
|
798
798
|
and a browser refuses an unmuted autoplay without a prior gesture — so a session
|
|
799
799
|
that remembers "unmuted" could, on the first clip after a restore, leave the run
|
|
800
800
|
sitting on frame one. Falling back to a muted play keeps the run running; the level
|
|
801
|
-
stays on the element, so one press of unmute is still
|
|
801
|
+
stays on the element, so one press of unmute is still THE OWNER'S level rather than full.
|
|
802
802
|
An iPhone is that case on every clip: the level follows the account, and it refuses
|
|
803
803
|
unmuted. What it did with the muted play can only be read off the phone, so both
|
|
804
804
|
endings are reported (`playbackWatch.ts`) — a refused muted play used to vanish here. */
|
|
@@ -943,7 +943,7 @@ const OPTIMIZATION_FAILED_BADGE = 'Optimization failed — playing original';
|
|
|
943
943
|
* 🔴 What each fallback says, and the detail behind it. The owner, 2026-11-07, of the one sentence
|
|
944
944
|
* that used to cover all three: *"I'm not sure if it means backblaze or cloudflare or something else
|
|
945
945
|
* is unreachable but this should be fixed and made more clear."* So each names the PART, in the
|
|
946
|
-
* words
|
|
946
|
+
* words the owner uses for it, and the detail says what happens next. Two of the three are not faults of
|
|
947
947
|
* the store at all, and must not read as one.
|
|
948
948
|
*/
|
|
949
949
|
const FALLBACK_BADGE = {
|