Automattic / Automattic/cortext

Show row icons in published collections

Open Beginner friendly
#427 0 comments 0 reactions 0 assignees View on GitHub
area: publishing priority: medium type: bug
Dominant language
JavaScript
Stars
51
Forks
2
Avg merge
3h 12m
Merged PRs (30d)
8

Description

## Goal

Published collections should show the same row icons as the workspace.

In the workspace, each table row displays its document icon next to the title. On the published page, the titles appear as plain text. This showed up while taking matching workspace and published screenshots for the website.

## Scope

- Confirm that `cortext_document_icon` reaches the rows payload for a logged-out visitor.
- Render the document icon beside the title in the public DataView, matching the workspace.
- Leave rows without an icon unchanged.

## Acceptance criteria

- While logged out, a published collection shows the same icon beside each row title as the workspace.
- Rows without a document icon still render correctly.

Contributor guide

Open the contributing guide

Research direction

Start at the public DataView and compare its row-title rendering with the workspace row, then verify that cortext_document_icon is present in the rows payload for a logged-out visitor. The work is done when published rows show the matching document icon beside titles and rows without an icon remain unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
76/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.