Products Workspace
Overview of Products Workspace: Data Views, content filters, coverage summary, and loading behaviour.
What It Is
Products Workspace is the main catalogue surface in MerchantDrafts. It shows all publishable WooCommerce products in a single table and provides the tools to filter, segment, generate content, and write it back to WooCommerce.
What Operators Can Do
- Review the full product catalogue and its content coverage status
- Segment the catalogue by business value or stock status using Data Views
- Filter by content state, asset readiness, category, and ad channel coverage
- Filter specifically for products with No tags
- Select products for bulk generation and write-back
- Use Select filtered and Deselect all helpers while building a queue
- Switch between Products catalogue and Review generated drafts
- Open the review drawer to inspect drafts before applying them
- Use distinct row actions to generate, write, edit, or open the live product page
Workspace Navigation
The workspace now uses two clearer labels at the top:
- Products catalogue — the main table for filters, selection, and queue building
- Review generated drafts — the review side of the workflow before write-back
The second tab does not mean a separate page. It opens the generated-draft review drawer and keeps the operator inside the same Products Workspace flow.
Data Views
Data Views segment the catalogue into meaningful business groups. They are separate from content filters — content filters stack on top of whichever Data View is active.
| Data View | What it shows |
|---|---|
| All | The full product catalogue (default) |
| Top 20 by Value | The 20 highest-value products, where value = price × stock quantity. Sorted by value descending. |
| Rest of Stock | In-stock products outside the Top 20 by Value. Sorted by value descending. |
| Backorderable | Out-of-stock products that allow backorders (yes or notify). Sorted by value descending. |
Important: Top 20 by Value respects the active category filter. If a category is selected, the top 20 is computed within that category, not the full catalogue.
Data Views persist across page reloads. Clear Filters resets the Data View back to All.
Content Views
The Views row above the filters provides quick saved views:
- All products — full catalogue, default column layout
- Stale — products with content older than 90 days
- Ad-ready — products with generated content, lifestyle images, and all 3 ad channels present
Content State Filter
Narrows the visible rows by their generation status:
- All products — no filter
- Generated — content exists and is less than 90 days old
- Not generated — no content yet
- Ready to write — generated content is newer than what is currently written to WooCommerce
- Written — the latest generated content has already been applied
Review Drawer
The generated review area is a wide right-side drawer. It supports two review modes:
- Detailed cards — better when you want to inspect each product draft in full
- Bird's-eye scan — better when you want a faster compact pass across many generated drafts
The drawer also makes the current review scope clearer:
- it can show the currently filtered generated results
- it can narrow down to the selected queue you are preparing for Step 3 write-back
This is why the workspace distinguishes between generated drafts that exist in the current filtered set and generated drafts that are explicitly selected for write-back.
Asset Filters
- No main image — products missing a featured image
- No tags — products without WooCommerce product tags
- Image variants — filter by lifestyle variant readiness
- Ad coverage — filter by which ad channels have generated copy
Row Actions
Each row now exposes distinct actions instead of overlapping links:
- The product title opens the site's normal WordPress product edit screen
- Generate prepares a fresh draft for that product
- Write appears only when a newer generated draft is waiting to be applied
- The external-link icon opens the live frontend product permalink
This keeps edit, generate, write, and view live as separate actions with clearer intent.
Tags Column
The optional Tags column helps operators confirm missing-tag workflows directly in the catalogue.
- Products with no WooCommerce tags show No tags
- The column pairs naturally with the No tags asset filter
- If column order looked stale after this feature shipped, a one-time saved-layout reset was expected so the new default order could place Tags near the row actions
Find Row
The Find row contains:
- Search — searches product title and SKU (case-insensitive)
- Category — multi-select dropdown; shows category name when active
- Data View — segment buttons (see above)
- Clear Filters — resets all filters and the active Data View back to defaults; activates whenever any filter or non-All Data View is active
Coverage Summary
The summary panel above the table shows live counts for the current view: visible products, generated, stale, not generated, needs work, and ad-ready.
Loading State
When filters or Data Views change, the table shows a spinner and fades the previous rows while the new data loads. This is expected behaviour — the table is fetching a fresh dataset from the server.