feat(editor): finalize M2 content workspace UX
This commit is contained in:
1 parent
93e23ba194
commit
106d947c98
69 files changed
+5893
-4343
No files matched your search
+15
-5
@@ -1,20 +1,30 @@
|
||||
name: content-browser-card-layout
|
||||
purpose: Verify production-quality grid/list card layout and model-thumbnail identity at wide and narrow browser sizes.
|
||||
preconditions: The running editor has the project Content Browser available with long asset names and the Poly Haven desk imported.
|
||||
purpose: Verify that the production Content Browser uses the shared Penpot body presentation at wide and compact sizes.
|
||||
preconditions: The focused shared-UI checks pass and the project Content Browser contains folders, long asset names, and the Poly Haven desk.
|
||||
build_lane: dev
|
||||
fixture:
|
||||
steps:
|
||||
- Open the Content Browser grid and navigate to the Office model folder.
|
||||
- Open the Content Browser grid at the project assets root with Sources and Details visible.
|
||||
- Confirm folders and assets form one continuous row-major stream under the 56 px content heading.
|
||||
- Navigate to the Office model folder.
|
||||
- Inspect long Material, Texture, and model names with clean and dirty status states.
|
||||
- At an expanded width, confirm Name sort and the thumbnail-size slider are visible in the toolbar.
|
||||
- Sweep the thumbnail-size slider through its minimum, default, and maximum positions.
|
||||
- Resize the Content Browser and Details splitter through narrow and wide layouts.
|
||||
- Switch to list view and compare status markers and column alignment.
|
||||
- Inspect the Poly Haven metal office desk card and one mesh-subasset preview.
|
||||
assertions:
|
||||
- Grid labels stay inside clipped two-line footers with ellipsis and no status overlap.
|
||||
- Toolbar, body, and footer form one continuous stack with no unowned horizontal gutter.
|
||||
- Folders and assets use the same bounded card footprint and assets fill the remaining cells of a folder row.
|
||||
- Grid cards show one clipped and ellipsized name plus a separate kind line with no status overlap.
|
||||
- Every thumbnail scale preserves the complete name/kind footer and square image aspect; the minimum card never paints its preview through the footer.
|
||||
- Sort and thumbnail size are first-class controls at expanded width, remain in overflow below the expanded breakpoint, and never appear twice.
|
||||
- Every asset category keeps its distinct bottom-card keyline across placeholder, pending, ready, failed, hovered, and selected states; folders remain neutral.
|
||||
- Dirty, processing, and error state use the fixed top-right status rail rather than text over the label.
|
||||
- Sources labels and Details identity, paths, dependencies, and status remain clipped to their owning panes.
|
||||
- List status markers occupy fixed space and do not shift or truncate neighboring columns unpredictably.
|
||||
- Toolbar, Details splitter, and cards remain usable without clipped controls at narrow sizes.
|
||||
- The office desk and mesh-subasset thumbnails show rendered geometry, never an albedo texture substitute.
|
||||
evidence: Target-window captures for grid-wide, grid-narrow, list, and desk geometry states plus hashes.
|
||||
evidence: Target-window captures for root-grid wide, Office-grid wide, compact grid, list, and desk geometry states plus hashes.
|
||||
cleanup: Close only a runner-spawned editor; this scenario does not mutate project fixtures.
|
||||
invalidates: Asset-card, Content Browser layout, status model, or thumbnail-routing changes.
|
||||
@@ -7,13 +7,14 @@ binary: ui_gallery
|
||||
fixture:
|
||||
steps:
|
||||
- Launch the standalone Blacksite UI Gallery without a project, scene, renderer, or gameplay runtime.
|
||||
- Inspect the default Materials 620 side-by-side reference and production component canvases.
|
||||
- Switch through Materials 420, Renderer 760, and Renderer 480 presets.
|
||||
- Inspect the default Content Browser 1240 side-by-side reference and production component canvases.
|
||||
- Switch through Content Browser 620, Materials 620, Materials 420, Renderer 760, and Renderer 480 presets.
|
||||
- Exercise Live, Overlay, and Difference modes and inspect the reported difference statistics.
|
||||
- Switch through direct, inherited, imported, dirty, processing, failed, read-only, and built-in fixtures.
|
||||
assertions:
|
||||
- The gallery opens as one responsive native window without launching the Blacksite editor or game runtime.
|
||||
- All four exact reference presets render the direct Penpot PNG and shared production component without clipping the gallery chrome.
|
||||
- All six exact reference presets render the direct Penpot PNG and shared production component without clipping the gallery chrome.
|
||||
- Content Browser 1240 and Content Browser 620 each report fewer than 15 percent changed pixels in Difference mode.
|
||||
- Side-by-side, overlay, and difference modes remain interactive and Difference reports numeric delta statistics.
|
||||
- Representative material ownership and health fixtures preserve the same shared panel geometry.
|
||||
- Theme and material fixture JSON changes appear without rebuilding or restarting the gallery.
|
||||
|
||||
Reference in new issue
Block a user