Skip to content

D3: marketplace app screenshots carousel (images left empty, glob resolver) - #149

Merged
BMJLearnToHelloWorld merged 2 commits into
mainfrom
m2-d3-screenshots
Nov 6, 2026
Merged

BMJLearnToHelloWorld merged 2 commits into
mainfrom
m2-d3-screenshots

Conversation

@BMJLearnToHelloWorld

Copy link
Copy Markdown
Owner

D3 — marketplace app detail page screenshots carousel, ported from official AppScreenshots.tsx (pin a301225): 3s auto-rotate, dots + Play/Pause only when > 1 slide, pause on hover / focus / manual toggle / reduced motion / < 2 slides, clamped index, empty slot for an unresolvable name, mounted above the description with :key="fqn". Frontend only, no server change, no new dependency; i18n keys under apps.detail.* in both locales.

Images left empty (Bai 2026-11-06): the 5 official PNGs are NOT on this branch yet — they go up separately via the web UI. The resolver (appScreenshots.ts) scans assets/appScreenshots/ at build time with import.meta.glob instead of static imports, so the build passes with zero PNGs and every name degrades to an empty slot; dropping the PNGs in later is picked up by the next build with no code change.

Gates (all exit 0, Vitest 296 files / 1260 tests):

  • worktree WITH the 5 PNGs: Vitest all pass; vue-tsc + vite build pass, all 5 PNGs emitted into dist/assets/
  • same worktree with the PNGs temporarily moved out: Vitest all pass; build passes (8.49s), no screenshot PNGs in dist
  • fresh worktree from this branch (no PNGs) + real npm ci: Vitest all pass; build passes (9.54s)

Local PNG sha256 (for verification after upload): DataInsightsPic1 30f82090…, DataInsightsReportPic1 fd2a79da…, DataRetentionApplication c037d707…, McpApplication ed3b3f70…, SearchIndexPic1 fa680b5a… (full hashes in the worktree record).

No merge — parent reviews and merges.

@BMJLearnToHelloWorld
BMJLearnToHelloWorld merged commit 4969cfa into main Nov 6, 2026
53 of 54 checks passed
@github-actions

github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown

The Java checkstyle failed.

Please run mvn spotless:apply in the root of your repository and commit the changes to this PR.
You can also use pre-commit to automate the Java code formatting.

You can install the pre-commit hooks with make install_test precommit_install.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant