@antelopejs/dms-media 0.5.1 → 0.6.0

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 (69) hide show
  1. package/dist/frontend-module.d.ts +4 -0
  2. package/dist/frontend-module.js +24 -0
  3. package/dist/frontend-module.js.map +1 -0
  4. package/dist/index.d.ts +1 -3
  5. package/dist/index.js +3 -19
  6. package/dist/index.js.map +1 -1
  7. package/dist/library/realtime.js +8 -1
  8. package/dist/library/realtime.js.map +1 -1
  9. package/dist/pages/activity.d.ts +1 -0
  10. package/dist/pages/activity.js +3 -0
  11. package/dist/pages/activity.js.map +1 -1
  12. package/dist/pages/overview.d.ts +1 -0
  13. package/dist/pages/overview.js +3 -2
  14. package/dist/pages/overview.js.map +1 -1
  15. package/dist/pages/toolbar.d.ts +3 -0
  16. package/dist/pages/toolbar.js +19 -0
  17. package/dist/pages/toolbar.js.map +1 -0
  18. package/dist/pages/uploads.d.ts +1 -0
  19. package/dist/pages/uploads.js +4 -0
  20. package/dist/pages/uploads.js.map +1 -1
  21. package/dist/routes/media/manage.d.ts +23 -0
  22. package/dist/routes/media/manage.js +7 -4
  23. package/dist/routes/media/manage.js.map +1 -1
  24. package/dist/test/antelope.test.js +9 -4
  25. package/dist/test/antelope.test.js.map +1 -1
  26. package/dist/test/integration/media-activity-overview.test.js +6 -0
  27. package/dist/test/integration/media-activity-overview.test.js.map +1 -1
  28. package/dist/test/unit/library/realtime.test.d.ts +1 -0
  29. package/dist/test/unit/library/realtime.test.js +43 -0
  30. package/dist/test/unit/library/realtime.test.js.map +1 -0
  31. package/dist/test/unit/pages/toolbar.test.d.ts +1 -0
  32. package/dist/test/unit/pages/toolbar.test.js +64 -0
  33. package/dist/test/unit/pages/toolbar.test.js.map +1 -0
  34. package/dist/test/unit/routes/preset-row.test.d.ts +1 -0
  35. package/dist/test/unit/routes/preset-row.test.js +36 -0
  36. package/dist/test/unit/routes/preset-row.test.js.map +1 -0
  37. package/frontend-vue/app/components/Explorer.vue +2 -0
  38. package/frontend-vue/app/components/FirstRun.vue +3 -1
  39. package/frontend-vue/app/components/PresetCards.vue +28 -5
  40. package/frontend-vue/app/components/RecentFiles.vue +11 -5
  41. package/frontend-vue/app/components/UploadQueue.vue +3 -1
  42. package/frontend-vue/app/components/UploadStrip.vue +3 -1
  43. package/frontend-vue/app/components/explorer/ExplorerDetailsDrawer.vue +10 -0
  44. package/frontend-vue/app/components/explorer/ExplorerInspector.vue +19 -14
  45. package/frontend-vue/app/components/explorer/ExplorerShell.vue +1 -11
  46. package/frontend-vue/app/composables/library/useExplorerCommands.ts +7 -1
  47. package/frontend-vue/app/composables/library/useExplorerDetailsDrawer.ts +75 -0
  48. package/frontend-vue/i18n/locales/media-en-GB.json +9 -2
  49. package/frontend-vue/i18n/locales/media-fr-FR.json +9 -2
  50. package/frontend-vue/package.json +1 -1
  51. package/frontend-vue/tests/detailsDrawer.test.ts +150 -0
  52. package/frontend-vue/tests/fixtures/serverRender.ts +70 -0
  53. package/frontend-vue/tests/locales.test.ts +17 -0
  54. package/frontend-vue/tests/serverRender.test.ts +47 -2
  55. package/package.json +7 -6
  56. package/skills/dms-media/SKILL.md +6 -0
  57. package/src/frontend-module.ts +35 -0
  58. package/src/index.ts +4 -28
  59. package/src/library/realtime.ts +12 -3
  60. package/src/pages/activity.ts +4 -0
  61. package/src/pages/overview.ts +4 -3
  62. package/src/pages/toolbar.ts +28 -0
  63. package/src/pages/uploads.ts +5 -0
  64. package/src/routes/media/manage.ts +17 -4
  65. package/src/test/antelope.test.ts +13 -4
  66. package/src/test/integration/media-activity-overview.test.ts +5 -0
  67. package/src/test/unit/library/realtime.test.ts +53 -0
  68. package/src/test/unit/pages/toolbar.test.ts +92 -0
  69. package/src/test/unit/routes/preset-row.test.ts +39 -0
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const chai_1 = require("chai");
4
+ const interface_dms_1 = require("@antelopejs/interface-dms");
5
+ const constants_1 = require("../../../constants");
6
+ const realtime_1 = require("../../../library/realtime");
7
+ const SHORT_WINDOW_MS = 20;
8
+ const SETTLE_MS = 150;
9
+ function wait(ms) {
10
+ return new Promise((resolve) => setTimeout(resolve, ms));
11
+ }
12
+ describe("[unit] library — realtime", () => {
13
+ let messages;
14
+ let unsubscribe;
15
+ beforeEach(() => {
16
+ messages = [];
17
+ unsubscribe = (0, interface_dms_1.SubscribeMessage)(constants_1.MEDIA_LIBRARY_TOPIC, (message) => {
18
+ messages.push(message);
19
+ });
20
+ });
21
+ afterEach(() => {
22
+ unsubscribe();
23
+ (0, realtime_1.cancelLibraryChange)();
24
+ });
25
+ it("announces a burst of changes once, with how many it stands for", async () => {
26
+ (0, realtime_1.announceLibraryChange)(SHORT_WINDOW_MS);
27
+ (0, realtime_1.announceLibraryChange)(SHORT_WINDOW_MS);
28
+ (0, realtime_1.announceLibraryChange)(SHORT_WINDOW_MS);
29
+ await wait(SETTLE_MS);
30
+ (0, chai_1.expect)(messages).to.have.length(1);
31
+ (0, chai_1.expect)(messages[0]?.payload).to.deep.equal({ count: 3 });
32
+ });
33
+ it("starts counting again after an announcement", async () => {
34
+ (0, realtime_1.announceLibraryChange)(SHORT_WINDOW_MS);
35
+ await wait(SETTLE_MS);
36
+ (0, realtime_1.announceLibraryChange)(SHORT_WINDOW_MS);
37
+ await wait(SETTLE_MS);
38
+ (0, chai_1.expect)(messages.map((message) => message.payload?.count)).to.deep.equal([
39
+ 1, 1,
40
+ ]);
41
+ });
42
+ });
43
+ //# sourceMappingURL=realtime.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"realtime.test.js","sourceRoot":"","sources":["../../../../src/test/unit/library/realtime.test.ts"],"names":[],"mappings":";;AAAA,+BAA8B;AAC9B,6DAGmC;AACnC,kDAAyD;AACzD,wDAGmC;AAEnC,MAAM,eAAe,GAAG,EAAE,CAAC;AAC3B,MAAM,SAAS,GAAG,GAAG,CAAC;AAEtB,SAAS,I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AqB,EAAC,eAAe,CAAC,CAAC;QACvC,MAAM,IAAI,CAAC,SAAS,CAAC,CAAC;QACtB,IAAA,aAAM,EAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC;YACtE,CAAC,EAAE,CAAC;SACL,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,64 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const chai_1 = require("chai");
4
+ const constants_1 = require("../../../constants");
5
+ const activity_1 = require("../../../pages/activity");
6
+ const overview_1 = require("../../../pages/overview");
7
+ const toolbar_1 = require("../../../pages/toolbar");
8
+ const uploads_1 = require("../../../pages/uploads");
9
+ const TOOLBAR_COMPONENT = "dms-page-toolbar-block";
10
+ const LIVE_PAGES = {
11
+ overview: overview_1.MediaOverviewPage,
12
+ activity: activity_1.MediaActivityPage,
13
+ uploads: uploads_1.MediaUploadsPage,
14
+ };
15
+ function pageBlocks(page) {
16
+ return Object.values(page);
17
+ }
18
+ function fetchingBlocks(block) {
19
+ const own = block.options &&
20
+ ("fetchUrl" in block.options || "realtimeTopic" in block.options)
21
+ ? [block]
22
+ : [];
23
+ return [
24
+ ...own,
25
+ ...(block.children ?? []).flatMap((child) => fetchingBlocks(child.component)),
26
+ ];
27
+ }
28
+ describe("[unit] pages — toolbar", () => {
29
+ it("shows when the page last read the library and Direct / Pause, without a period", () => {
30
+ const serialized = (0, toolbar_1.mediaPageToolbar)().serializeSync();
31
+ (0, chai_1.expect)(serialized.componentName).to.equal(TOOLBAR_COMPONENT);
32
+ (0, chai_1.expect)(serialized.children?.map((child) => child.id)).to.deep.equal([
33
+ "live",
34
+ ]);
35
+ (0, chai_1.expect)(serialized.children?.[0]?.component.options).to.include({
36
+ missedLabel: "$dms_media.live.missed",
37
+ });
38
+ });
39
+ it("shares one Direct / Pause choice between the media pages", () => {
40
+ (0, chai_1.expect)(toolbar_1.MEDIA_LIVE.rememberKey).to.equal("media");
41
+ (0, chai_1.expect)(toolbar_1.MEDIA_LIVE.maxRate).to.be.greaterThan(0);
42
+ });
43
+ for (const [name, page] of Object.entries(LIVE_PAGES)) {
44
+ it(`puts the toolbar first on the ${name} page`, () => {
45
+ const [first] = pageBlocks(page);
46
+ (0, chai_1.expect)(first?.serializeSync().componentName).to.equal(TOOLBAR_COMPONENT);
47
+ });
48
+ }
49
+ for (const [name, page] of Object.entries(LIVE_PAGES)) {
50
+ it(`reads every block of the ${name} page again on library changes`, () => {
51
+ const blocks = pageBlocks(page).flatMap((block) => fetchingBlocks(block.serializeSync()));
52
+ (0, chai_1.expect)(blocks).to.have.length.greaterThan(0);
53
+ for (const block of blocks) {
54
+ (0, chai_1.expect)(block.options?.realtimeTopic, `${block.componentName} ${JSON.stringify(block.options?.fetchUrl)}`).to.equal(constants_1.MEDIA_LIBRARY_TOPIC);
55
+ }
56
+ });
57
+ }
58
+ it("holds the upload history while the page is paused", () => {
59
+ (0, chai_1.expect)(uploads_1.MediaUploadsPage.history.serializeSync().options).to.include({
60
+ liveHold: true,
61
+ });
62
+ });
63
+ });
64
+ //# sourceMappingURL=toolbar.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"toolbar.test.js","sourceRoot":"","sources":["../../../../src/test/unit/pages/toolbar.test.ts"],"names":[],"mappings":";;AAAA,+BAA8B;AAE9B,kDAAyD;AACzD,sDAA4D;AAC5D,sDAA4D;AAC5D,oDAAsE;AACtE,oDAA0D;AAE1D,MAAM,iBAAiB,GAAG,wBAAwB,CAAC;AACnD,MAAM,UAAU,GAAG;IACjB,QAAQ,EAAE,4BAAiB;IAC3B,QAAQ,EAAE,4BAAiB;IAC3B,OAAO,EAAE,0BAAgB;CAC1B,CAAC;AAKF,SAAS,UAAU,CAAC,IAAc;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C,CAAC;YAClC,CAAC;QACH,CAAC,CAAC,CAAC;IACL,CAAC;IAED,EAAE,CAAC,mDAAmD,EAAE,GAAG,EAAE;QAC3D,IAAA,aAAM,EAAC,0BAAgB,CAAC,OAAO,CAAC,aAAa,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC;YAClE,QAAQ,EAAE,IAAI;SACf,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const chai_1 = require("chai");
4
+ const manage_1 = require("../../../routes/media/manage");
5
+ const ORIGIN = "http://127.0.0.1:5010";
6
+ const ASSET_ID = "7554eb0a-c6fb-4518-a8b9-65c6e8a3e6a9";
7
+ const THUMB = { id: "thumb", width: 300, height: 300 };
8
+ const EXAMPLE = { _id: ASSET_ID, name: "Été à Liège.jpg" };
9
+ const EXAMPLE_PATH = `/media/${ASSET_ID}/thumb/%C3%89t%C3%A9%20%C3%A0%20Li%C3%A8ge.jpg`;
10
+ describe("[unit] routes/manage — image size cards", () => {
11
+ it("previews the example relative to the dashboard, which carries the session", () => {
12
+ const row = (0, manage_1.presetRow)({
13
+ preset: THUMB,
14
+ origin: ORIGIN,
15
+ renderedKeys: [],
16
+ example: EXAMPLE,
17
+ });
18
+ (0, chai_1.expect)(row.examplePreviewUrl).to.equal(EXAMPLE_PATH);
19
+ });
20
+ it("keeps the copied example link and pattern absolute on the public origin", () => {
21
+ const row = (0, manage_1.presetRow)({
22
+ preset: THUMB,
23
+ origin: ORIGIN,
24
+ renderedKeys: [],
25
+ example: EXAMPLE,
26
+ });
27
+ (0, chai_1.expect)(row.exampleUrl).to.equal(`${ORIGIN}${EXAMPLE_PATH}`);
28
+ (0, chai_1.expect)(row.urlPattern).to.equal(`${ORIGIN}/media/{asset}/thumb/{filename}`);
29
+ });
30
+ it("has no example links without an example image", () => {
31
+ const row = (0, manage_1.presetRow)({ preset: THUMB, origin: ORIGIN, renderedKeys: [] });
32
+ (0, chai_1.expect)(row.exampleUrl).to.equal(null);
33
+ (0, chai_1.expect)(row.examplePreviewUrl).to.equal(null);
34
+ });
35
+ });
36
+ //# sourceMappingURL=preset-row.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preset-row.test.js","sourceRoot":"","sources":["../../../../src/test/unit/routes/preset-row.test.ts"],"names":[],"mappings":";;AAAA,+BAA8B;AAG9B,yDAAyD;AAEzD,MAAM,MAAM,GAAG,uBAAuB,CAAC;AACvC,MAAM,QAAQ,GAAG,sCAAsC,CAAC;AACxD,MAAM,KAAK,GAAsB,EAAE,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC;AAC1E,MAAM,OAAO,GAAG,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,iBAAiB,EAAgB,CAAC;AACzE,MAAM,YAAY,GAAG,UAAU,QAAQ,gDAAgD,CAAC;AAExF,QAAQ,CAAC,yCAAyC,EAAE,GAAG,EAAE;IACvD,EAAE,CAAC,2EAA2E,EAAE,GAAG,EAAE;QACnF,MAAM,GAAG,GAAG,IAAA,kBAAS,EAAC;YACpB,MAAM,EAAE,KAAK;YACb,MAAM,EAAE,MAAM;YACd,YAAY,EAAE,EAAE;YAChB,OAAO,EAAE,OAAO;SACjB,CAAC,CAAC;QACH,IAAA,aAAM,EAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC;IACvD,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,yEAAyE,EAAE,GAAG,EAAE;QACjF,MAAM,GAAG,GAAG,IAAA,kBAAS,EAAC;YACpB,MAAM,EAAE,KAAK;YACb,MAAM,EAAE,MAAM;YACd,YAAY,EAAE,EAAE;YAChB,OAAO,EAAE,OAAO;SACjB,CAAC,CAAC;QACH,IAAA,aAAM,EAAC,GAAG,CAAC,UAAU,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,GAAG,MAAM,GAAG,YAAY,EAAE,CAAC,CAAC;QAC5D,IAAA,aAAM,EAAC,GAAG,CAAC,UAAU,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,GAAG,MAAM,iCAAiC,CAAC,CAAC;IAC9E,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,+CAA+C,EAAE,GAAG,EAAE;QACvD,MAAM,GAAG,GAAG,IAAA,kBAAS,EAAC,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,YAAY,EAAE,EAAE,EAAE,CAAC,CAAC;QAC3E,IAAA,aAAM,EAAC,GAAG,CAAC,UAAU,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;QACtC,IAAA,aAAM,EAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAC/C,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -8,6 +8,8 @@ type RouteQuery = Record<string, string>
8
8
  const route = useDmsRoute()
9
9
  const router = useDmsRouter()
10
10
  const shell = useTemplateRef<InstanceType<typeof ExplorerShell>>('shell')
11
+ // Read with the page: a client navigation waits for the folder tree, so the sidebar and the start folder show with it.
12
+ await useLibraryTree().ready()
11
13
  const SMART_VIEWS: SmartView[] = ['recent', 'starred', 'missing-alt', 'largest', 'public']
12
14
  const SORT_KEYS: AssetSortKey[] = ['name', 'date', 'size', 'type']
13
15
  const DIRECTIONS: SortDirection[] = ['asc', 'desc']
@@ -17,8 +17,10 @@ const STARTERS: StarterFolder[] = [
17
17
  const api = useMediaApi()
18
18
  const { t } = useI18n()
19
19
  const toast = useToast()
20
- const { tree } = useLibraryTree()
20
+ const { tree, ready } = useLibraryTree()
21
21
  const isCreating = ref(false)
22
+ // Read with the page: a client navigation waits for the folders, so the welcome shows with it rather than after.
23
+ await ready()
22
24
 
23
25
  const isEmpty = computed(
24
26
  () => tree.value !== null && tree.value.folders.every((folder) => folder.bound) && tree.value.root.fileCount === 0,
@@ -14,7 +14,10 @@ interface PixelSize {
14
14
  }
15
15
 
16
16
  interface ImageSize extends DeliveryPreset {
17
+ /** The absolute link a website copies. */
17
18
  exampleUrl: string | null
19
+ /** The same file relative to the dashboard, whose origin carries the session. */
20
+ examplePreviewUrl: string | null
18
21
  }
19
22
 
20
23
  interface ImageSizesResponse extends PresetsResponse {
@@ -31,9 +34,12 @@ interface PresetFact {
31
34
 
32
35
  const format = useMediaFormat()
33
36
  const { t, te } = useI18n()
34
- const presets = useApiData<ImageSizesResponse>(MEDIA_READS.presets)
37
+ // Read with the page: a client navigation waits for the cards rather than swapping skeletons for them.
38
+ const presets = await useApiData<ImageSizesResponse>(MEDIA_READS.presets)
35
39
  const data = presets.data
36
- const failed = computed(() => Boolean(presets.error.value) && presets.status.value !== 'pending')
40
+ // A failed refresh keeps the cards on screen; only a first read that failed shows the error.
41
+ const failed = computed(() => !data.value && Boolean(presets.error.value))
42
+ const SKELETON_CARDS = 3
37
43
  const brokenExamples = ref(new Set<string>())
38
44
  const BOX_SIZE = 140
39
45
  const MIN_BOX_SIZE = 28
@@ -103,7 +109,7 @@ function technicalFacts(preset: DeliveryPreset): PresetFact[] {
103
109
  }
104
110
 
105
111
  function showsExample(preset: ImageSize): boolean {
106
- return Boolean(preset.exampleUrl) && !brokenExamples.value.has(preset.id)
112
+ return Boolean(preset.examplePreviewUrl) && !brokenExamples.value.has(preset.id)
107
113
  }
108
114
 
109
115
  function markBroken(presetId: string): void {
@@ -129,7 +135,7 @@ function markBroken(presetId: string): void {
129
135
  <div class="relative flex items-center justify-center overflow-hidden border border-dashed border-(--ui-primary) bg-(--dms-accent-tint)" :style="frame(preset)">
130
136
  <img
131
137
  v-if="showsExample(preset)"
132
- :src="preset.exampleUrl ?? undefined"
138
+ :src="preset.examplePreviewUrl ?? undefined"
133
139
  :alt="t('dms_media.presets.example_alt', { name: data.example?.name ?? '', size: preset.id })"
134
140
  class="size-full"
135
141
  :class="(preset.fit ?? DEFAULT_FIT) === 'cover' ? 'object-cover' : 'object-contain'"
@@ -192,7 +198,24 @@ function markBroken(presetId: string): void {
192
198
  </article>
193
199
  </template>
194
200
  <template v-else>
195
- <USkeleton v-for="index in 3" :key="index" class="h-96 rounded-lg" />
201
+ <!-- Shaped like a card with an example, line for line, so the cards take its place without moving. -->
202
+ <div v-for="index in SKELETON_CARDS" :key="index" class="dms-card flex flex-col overflow-hidden" aria-hidden="true">
203
+ <div class="flex h-48 items-center justify-center">
204
+ <USkeleton class="size-28 rounded-md" />
205
+ </div>
206
+ <div class="border-default flex flex-col gap-3 border-t p-4">
207
+ <USkeleton class="h-6 w-24" />
208
+ <USkeleton class="h-[39px] w-full" />
209
+ <div class="grid grid-cols-2 gap-1.5">
210
+ <USkeleton class="h-[48.5px] rounded-md" />
211
+ <USkeleton class="h-[48.5px] rounded-md" />
212
+ </div>
213
+ <USkeleton class="h-[18px] w-40" />
214
+ <USkeleton class="h-[62.5px] w-full rounded-md" />
215
+ <USkeleton class="h-[16.5px] w-32" />
216
+ <USkeleton class="h-8 w-full rounded-md" />
217
+ </div>
218
+ </div>
196
219
  </template>
197
220
  </div>
198
221
  </template>
@@ -7,8 +7,11 @@ const { t } = useI18n()
7
7
  // Read again on each library change, its own trigger: the page's refreshes leave it alone.
8
8
  const recent = useApiData<{ assets: MediaAsset[] }>(MEDIA_READS.recent, { refreshOnPageRefresh: false })
9
9
  const assets = computed(() => recent.data.value?.assets ?? [])
10
- const { tree } = useLibraryTree()
11
- const isLoading = computed(() => recent.status.value === 'pending' && !recent.data.value)
10
+ const { tree, ready } = useLibraryTree()
11
+ // Read with the page, with the folders the files' lines name: a client navigation waits for both.
12
+ await Promise.all([recent, ready()])
13
+ const isLoading = computed(() => !recent.data.value && !recent.error.value)
14
+ const isFailed = computed(() => !recent.data.value && Boolean(recent.error.value))
12
15
  const SKELETONS = 6
13
16
 
14
17
  onLibraryChange(() => recent.refresh())
@@ -17,16 +20,19 @@ const foldersById = computed(() => new Map((tree.value?.folders ?? []).map((fold
17
20
  </script>
18
21
 
19
22
  <template>
20
- <DmsCard v-if="isLoading || assets.length > 0" :title="t('dms_media.recent.title')">
23
+ <DmsCard v-if="isLoading || isFailed || assets.length > 0" :title="t('dms_media.recent.title')">
21
24
  <template #actions>
22
25
  <UButton variant="link" size="xs" trailing-icon="i-ph-arrow-right" :label="t('dms_media.recent.view_all')" :to="`${MEDIA_ROUTES.files}?view=recent`" />
23
26
  </template>
24
27
  <div v-if="isLoading" class="grid grid-cols-2 gap-3 sm:grid-cols-3 lg:grid-cols-6">
25
- <div v-for="index in SKELETONS" :key="index" class="flex flex-col gap-2">
28
+ <!-- Sized like a tile: the 4:3 preview, the name line (13px) and the folder line (11px). -->
29
+ <div v-for="index in SKELETONS" :key="index" class="flex flex-col gap-1.5">
26
30
  <USkeleton class="aspect-[4/3] w-full rounded-md" />
27
- <USkeleton class="h-3 w-3/4" />
31
+ <USkeleton class="h-[19.5px] w-3/4" />
32
+ <USkeleton class="h-[16.5px] w-1/2" />
28
33
  </div>
29
34
  </div>
35
+ <DmsEmptyState v-else-if="isFailed" variant="error" :title="t('dms_media.empty.error_title')" :description="t('dms_media.empty.error_description')" />
30
36
  <ul v-else class="grid grid-cols-2 gap-3 sm:grid-cols-3 lg:grid-cols-6">
31
37
  <li v-for="asset in assets" :key="asset.id">
32
38
  <ULink :to="fileLink(asset.id)" class="group flex flex-col gap-1.5">
@@ -9,11 +9,13 @@ const format = useMediaFormat()
9
9
  const overlay = useOverlay()
10
10
  const destinationDialog = overlay.create(DestinationDialog)
11
11
  const { prefs, update } = useMediaPrefs()
12
- const { tree, refresh: reload } = useLibraryTree()
12
+ const { tree, refresh: reload, ready } = useLibraryTree()
13
13
  const toasts = useUploadToasts()
14
14
  const route = useDmsRoute()
15
15
  const router = useDmsRouter()
16
16
  const { t } = useI18n()
17
+ // Read with the page: a client navigation waits for the folders, so the drop zone shows with it, saying whether files can go.
18
+ await ready()
17
19
  const canUpload = computed(() => Boolean(tree.value?.folders.some((folder) => folder.rights.write)))
18
20
  const fileInput = useTemplateRef<HTMLInputElement>('fileInput')
19
21
  const destination = ref<MediaFolder | null>(null)
@@ -6,10 +6,12 @@ const uploads = useUploadQueue()
6
6
  const overlay = useOverlay()
7
7
  const destinationDialog = overlay.create(DestinationDialog)
8
8
  const { prefs, update } = useMediaPrefs()
9
- const { tree, refresh: reload } = useLibraryTree()
9
+ const { tree, refresh: reload, ready } = useLibraryTree()
10
10
  const { t } = useI18n()
11
11
  const toast = useUploadToasts()
12
12
  const fileInput = useTemplateRef<HTMLInputElement>('fileInput')
13
+ // Read with the page: a client navigation waits for the folders, so the strip shows with it rather than after.
14
+ await ready()
13
15
  const isDragging = ref(false)
14
16
  let dragDepth = 0
15
17
 
@@ -0,0 +1,10 @@
1
+ <script setup lang="ts">
2
+ import ExplorerInspector from './ExplorerInspector.vue'
3
+
4
+ // The DMS drawer's body: it injects what the explorer that opened it
5
+ // provides (its library and commands), as a drawer in its template would.
6
+ </script>
7
+
8
+ <template>
9
+ <ExplorerInspector class="min-w-0 flex-1" />
10
+ </template>
@@ -41,6 +41,13 @@ function isCurrent<T>(read: ApiDataResult<T>): boolean {
41
41
  }
42
42
 
43
43
  const previewUrl = computed(() => (isCurrent(previewRead) ? previewRead.data.value?.url : undefined))
44
+ /** "Image · PNG"; once when the extension is the type ("PDF"). */
45
+ const typeLabel = computed(() => {
46
+ if (!asset.value) return ''
47
+ const type = t(`dms_media.type_single.${asset.value.typeGroup}`)
48
+ const extension = extensionOf(asset.value).toUpperCase()
49
+ return !extension || extension === type.toUpperCase() ? type : `${type} · ${extension}`
50
+ })
44
51
  const uploadedBy = computed(() => (isCurrent(detailsRead) ? (detailsRead.data.value?.uploadedBy ?? null) : null))
45
52
 
46
53
  function saveAlt(alt: string): Promise<boolean> {
@@ -101,15 +108,15 @@ function saveAlt(alt: string): Promise<boolean> {
101
108
  <dl class="grid grid-cols-[auto_minmax(0,1fr)] gap-x-4 gap-y-2 p-3 text-[13px]">
102
109
  <DmsEyebrow :label="t('dms_media.explorer.details')" tone="muted" class="col-span-2 mb-1" />
103
110
  <dt class="text-muted">{{ t('dms_media.columns.type') }}</dt>
104
- <dd class="text-highlighted text-end">{{ t(`dms_media.type_single.${asset.typeGroup}`) }} · {{ extensionOf(asset).toUpperCase() }}</dd>
111
+ <dd class="text-highlighted">{{ typeLabel }}</dd>
105
112
  <dt class="text-muted">{{ t('dms_media.columns.size') }}</dt>
106
- <dd class="text-highlighted text-end font-mono">{{ format.formatBytes(asset.size) }}</dd>
113
+ <dd class="text-highlighted font-mono">{{ format.formatBytes(asset.size) }}</dd>
107
114
  <template v-if="asset.width && asset.height">
108
115
  <dt class="text-muted">{{ t('dms_media.columns.dimensions') }}</dt>
109
- <dd class="text-highlighted text-end font-mono">{{ format.formatDimensions(asset.width, asset.height) }}</dd>
116
+ <dd class="text-highlighted font-mono">{{ format.formatDimensions(asset.width, asset.height) }}</dd>
110
117
  </template>
111
118
  <dt class="text-muted">{{ t('dms_media.columns.visibility') }}</dt>
112
- <dd class="text-end">
119
+ <dd>
113
120
  <UButton
114
121
  v-if="commands.canChangeVisibility(asset)"
115
122
  variant="link"
@@ -122,18 +129,16 @@ function saveAlt(alt: string): Promise<boolean> {
122
129
  <span v-else class="text-highlighted">{{ t(`dms_media.visibility.${asset.effectiveVisibility}`) }}</span>
123
130
  </dd>
124
131
  <dt class="text-muted">{{ t('dms_media.columns.added') }}</dt>
125
- <dd class="text-highlighted text-end" :title="format.formatDateTime(asset.createdAt) ?? undefined">
126
- {{ format.formatDateTime(asset.createdAt) }}
127
- </dd>
132
+ <dd class="text-highlighted">{{ format.formatDateTime(asset.createdAt) }}</dd>
128
133
  <template v-if="uploadedBy">
129
134
  <dt class="text-muted">{{ t('dms_media.inspector.added_by') }}</dt>
130
- <dd class="text-highlighted truncate text-end" :title="uploadedBy">{{ uploadedBy }}</dd>
135
+ <dd class="text-highlighted truncate" :title="uploadedBy">{{ uploadedBy }}</dd>
131
136
  </template>
132
137
  <dt class="text-muted">{{ t('dms_media.columns.modified') }}</dt>
133
- <dd class="text-highlighted text-end" :title="format.formatDateTime(asset.updatedAt) ?? undefined">{{ format.formatRelativeTime(asset.updatedAt) }}</dd>
138
+ <dd class="text-highlighted">{{ format.formatDateTime(asset.updatedAt) }}</dd>
134
139
  <template v-if="asset.hasOriginal">
135
140
  <dt class="text-muted">{{ t('dms_media.columns.original') }}</dt>
136
- <dd class="text-end"><UBadge :label="t('dms_media.file.preserved')" color="neutral" variant="subtle" size="sm" /></dd>
141
+ <dd><UBadge :label="t('dms_media.file.preserved')" color="neutral" variant="subtle" size="sm" /></dd>
137
142
  </template>
138
143
  </dl>
139
144
  </template>
@@ -153,11 +158,11 @@ function saveAlt(alt: string): Promise<boolean> {
153
158
  </div>
154
159
  <dl class="grid grid-cols-[auto_minmax(0,1fr)] gap-x-4 gap-y-2 text-[13px]">
155
160
  <dt class="text-muted">{{ t('dms_media.inspector.files_with_subfolders') }}</dt>
156
- <dd class="text-highlighted text-end font-mono">{{ format.formatNumber(folder.fileCount) }}</dd>
161
+ <dd class="text-highlighted font-mono">{{ format.formatNumber(folder.fileCount) }}</dd>
157
162
  <dt class="text-muted">{{ t('dms_media.columns.size') }}</dt>
158
- <dd class="text-highlighted text-end font-mono">{{ format.formatBytes(folder.size) }}</dd>
163
+ <dd class="text-highlighted font-mono">{{ format.formatBytes(folder.size) }}</dd>
159
164
  <dt class="text-muted">{{ t('dms_media.columns.visibility') }}</dt>
160
- <dd class="text-end">
165
+ <dd>
161
166
  <UButton
162
167
  v-if="isBrowse && commands.canChangeFolderVisibility?.(folder)"
163
168
  variant="link"
@@ -170,7 +175,7 @@ function saveAlt(alt: string): Promise<boolean> {
170
175
  <span v-else class="text-highlighted">{{ t(`dms_media.visibility.${folder.visibility}`) }}</span>
171
176
  </dd>
172
177
  <dt class="text-muted">{{ t('dms_media.inspector.your_rights') }}</dt>
173
- <dd class="text-highlighted text-end">{{ t(`dms_media.rights.${folder.rights.manage ? 'manage' : folder.rights.write ? 'write' : folder.rights.read ? 'read' : 'none'}`) }}</dd>
178
+ <dd class="text-highlighted">{{ t(`dms_media.rights.${folder.rights.manage ? 'manage' : folder.rights.write ? 'write' : folder.rights.read ? 'read' : 'none'}`) }}</dd>
174
179
  </dl>
175
180
  <UButton
176
181
  v-if="library.selection.focusedFolderId.value"
@@ -75,6 +75,7 @@ const commands = useExplorerCommands(library, {
75
75
  },
76
76
  })
77
77
  provideExplorerCommands(commands)
78
+ useExplorerDetailsDrawer(layout, { library, commands })
78
79
  const interactions = createAssetInteractions(library, commands, layout)
79
80
  provideAssetNavigation(createAssetNavigation(library, interactions.onCheck))
80
81
  const { uploads, enqueue } = useExplorerUploads(library, { accept: props.accept, pick: interactions.onCheck })
@@ -243,17 +244,6 @@ defineExpose({
243
244
  <ExplorerSidebar class="min-w-0 flex-1" />
244
245
  </template>
245
246
  </USlideover>
246
- <USlideover
247
- v-if="!layout.hasInlineDetails.value"
248
- v-model:open="layout.isDetailsDrawerOpen.value"
249
- side="right"
250
- :title="t('dms_media.explorer.details')"
251
- :ui="{ content: 'max-w-sm', body: 'flex p-0 sm:p-0' }"
252
- >
253
- <template #body>
254
- <ExplorerInspector class="min-w-0 flex-1" />
255
- </template>
256
- </USlideover>
257
247
  <slot name="footer">
258
248
  <ExplorerStatusBar />
259
249
  </slot>
@@ -295,7 +295,13 @@ export function provideExplorerCommands(commands: ExplorerCommands): void {
295
295
  provide(COMMANDS_KEY, commands)
296
296
  }
297
297
 
298
- export function useExplorerContext() {
298
+ /** The library and commands the explorer's panels read. */
299
+ export interface ExplorerContext {
300
+ library: MediaLibrary
301
+ commands: ExplorerCommands
302
+ }
303
+
304
+ export function useExplorerContext(): ExplorerContext {
299
305
  const commands = inject(COMMANDS_KEY)
300
306
  if (!commands) throw new Error('useExplorerContext() needs a media explorer above it')
301
307
  return { library: useMediaLibrary(), commands }
@@ -0,0 +1,75 @@
1
+ import type { DrawerInstance, DrawerRowHeader } from '#dms-ui/app/composables/containers/types'
2
+ import ExplorerDetailsDrawer from '../../components/explorer/ExplorerDetailsDrawer.vue'
3
+ import type { ExplorerContext } from './useExplorerCommands'
4
+ import type { ExplorerLayout } from './useExplorerLayout'
5
+
6
+ /**
7
+ * Below the width that keeps the details beside the files, shows them in the
8
+ * DMS drawer while `layout.isDetailsDrawerOpen` is on. The drawer reads the
9
+ * explorer's own library, so it follows the selection; closing it turns the
10
+ * state off, and a wider explorer puts it away until it narrows again.
11
+ *
12
+ * On a single file, the DMS's row header names it with its place among the
13
+ * files shown: previous / next (and J / K) select the neighbouring file, as
14
+ * the arrows do in the explorer.
15
+ */
16
+ export function useExplorerDetailsDrawer(layout: ExplorerLayout, context: ExplorerContext): void {
17
+ const { open } = useDrawer()
18
+ const { t } = useI18n()
19
+ const { listing, selection } = context.library
20
+ let drawer: DrawerInstance | null = null
21
+
22
+ function selectAt(index: number): void {
23
+ const target = listing.assets.value[index]
24
+ if (target) selection.select(target.id, { extend: false, toggle: false })
25
+ }
26
+
27
+ /** The focused file's header; the drawer's own title on a folder, several files or none. */
28
+ const rowHeader = computed<DrawerRowHeader>(() => {
29
+ const asset = selection.focusedAsset.value
30
+ const assets = listing.assets.value
31
+ const index = asset ? assets.findIndex((entry) => entry.id === asset.id) : -1
32
+ if (!asset || index < 0) return {}
33
+ return {
34
+ title: asset.name,
35
+ navigation: {
36
+ index,
37
+ total: assets.length,
38
+ hasPrev: index > 0,
39
+ hasNext: index < assets.length - 1,
40
+ prev: () => selectAt(index - 1),
41
+ next: () => selectAt(index + 1),
42
+ },
43
+ }
44
+ })
45
+
46
+ function show(): void {
47
+ if (drawer) return
48
+ const instance = open({
49
+ direction: 'right',
50
+ title: t('dms_media.explorer.details'),
51
+ // Its body injects the explorer's library and commands: call this in
52
+ // the setup of the component that provides them.
53
+ component: ExplorerDetailsDrawer,
54
+ rowHeader: rowHeader.value,
55
+ })
56
+ drawer = instance
57
+ void instance.result.finally(() => {
58
+ if (drawer !== instance) return
59
+ drawer = null
60
+ layout.isDetailsDrawerOpen.value = false
61
+ })
62
+ }
63
+
64
+ function hide(): void {
65
+ const instance = drawer
66
+ drawer = null
67
+ instance?.close()
68
+ }
69
+
70
+ const isShown = computed(() => layout.isDetailsDrawerOpen.value && !layout.hasInlineDetails.value)
71
+ watch(isShown, (shown) => (shown ? show() : hide()))
72
+ watch(rowHeader, (header) => drawer?.patch({ rowHeader: header }))
73
+ // The explorer goes (a page left, a picker closed): its drawer with it.
74
+ onScopeDispose(hide)
75
+ }
@@ -108,6 +108,10 @@
108
108
  "description": "Files, storage, public files and missing alt text",
109
109
  "name": "Library figures"
110
110
  },
111
+ "page_toolbar": {
112
+ "description": "When the page last read the library, live mode and pause",
113
+ "name": "Toolbar"
114
+ },
111
115
  "preset_cache": {
112
116
  "description": "Clean-up schedule and link lifetimes",
113
117
  "name": "Cache"
@@ -661,14 +665,14 @@
661
665
  "description": "What's new, what needs attention and how much space the library uses.",
662
666
  "kpis": {
663
667
  "files": "Files",
664
- "files_detail": "Nothing uploaded in the last 30 days | +1 uploaded in the last 30 days | +{files} uploaded in the last 30 days",
668
+ "files_detail": "Nothing new in 30 days | +1 in the last 30 days | +{files} in the last 30 days",
665
669
  "label": "Library at a glance",
666
670
  "missing_alt": "Missing alt text",
667
671
  "public": "Public files",
668
672
  "storage": "Storage",
669
673
  "storage_detail": "no files yet | used by 1 file | used by {files} files",
670
674
  "storage_quota_detail": "{percent}% of the {quota} plan",
671
- "public_share": "{percent}% of the library · anyone with the link can open them",
675
+ "public_share": "{percent}% of the library",
672
676
  "missing_alt_none": "Every image is described",
673
677
  "missing_alt_public": "None of them is public | 1 of them is public | {files} of them are public"
674
678
  },
@@ -1050,6 +1054,9 @@
1050
1054
  "missing_alt": "Some images have no alt text",
1051
1055
  "healthy": "Everything is in order"
1052
1056
  },
1057
+ "live": {
1058
+ "missed": "{count} change | {count} changes"
1059
+ },
1053
1060
  "activity_page": {
1054
1061
  "title": "Activity",
1055
1062
  "description": "Everything that happened in the library lately: uploads, edits, moves and deletions.",
@@ -108,6 +108,10 @@
108
108
  "description": "Fichiers, stockage, fichiers publics et textes alternatifs manquants",
109
109
  "name": "Chiffres de la bibliothèque"
110
110
  },
111
+ "page_toolbar": {
112
+ "description": "Dernière lecture de la bibliothèque, mode direct et pause",
113
+ "name": "Barre d'outils"
114
+ },
111
115
  "preset_cache": {
112
116
  "description": "Nettoyage planifié et durée des liens",
113
117
  "name": "Cache"
@@ -661,14 +665,14 @@
661
665
  "description": "Les nouveautés, ce qui demande votre attention et la place utilisée par la bibliothèque.",
662
666
  "kpis": {
663
667
  "files": "Fichiers",
664
- "files_detail": "Aucun import ces 30 derniers jours | +1 importé ces 30 derniers jours | +{files} importés ces 30 derniers jours",
668
+ "files_detail": "Rien de neuf en 30 jours | +1 en 30 jours | +{files} en 30 jours",
665
669
  "label": "La bibliothèque en un coup d'œil",
666
670
  "missing_alt": "Texte alternatif manquant",
667
671
  "public": "Fichiers publics",
668
672
  "storage": "Stockage",
669
673
  "storage_detail": "aucun fichier pour l'instant | utilisé par 1 fichier | utilisé par {files} fichiers",
670
674
  "storage_quota_detail": "{percent} % de l'offre de {quota}",
671
- "public_share": "{percent} % de la bibliothèque · ouverts à toute personne qui a le lien",
675
+ "public_share": "{percent} % de la bibliothèque",
672
676
  "missing_alt_none": "Toutes les images sont décrites",
673
677
  "missing_alt_public": "Aucune n'est publique | 1 est publique | {files} sont publiques"
674
678
  },
@@ -1050,6 +1054,9 @@
1050
1054
  "missing_alt": "Des images n'ont pas de texte alternatif",
1051
1055
  "healthy": "Tout est en ordre"
1052
1056
  },
1057
+ "live": {
1058
+ "missed": "{count} modification | {count} modifications"
1059
+ },
1053
1060
  "activity_page": {
1054
1061
  "title": "Activité",
1055
1062
  "description": "Tout ce qui s'est passé récemment dans la bibliothèque : imports, retouches, déplacements et suppressions.",
@@ -6,7 +6,7 @@
6
6
  "main": "./dms.frontend.ts",
7
7
  "packageManager": "pnpm@10.6.5",
8
8
  "engines": {
9
- "@antelopejs/dms-frontend": ">=0.6.3 <0.8.0"
9
+ "@antelopejs/dms-frontend": ">=0.8.0 <0.9.0"
10
10
  },
11
11
  "scripts": {
12
12
  "dev": "pnpm --dir ../playground frontend:dev",