Automattic / Automattic/cortext

Style each view independently

Open
#110 0 comments 0 reactions 1 assignee Claimed by @priethor View on GitHub
area: collections priority: medium
Dominant language
JavaScript
Stars
51
Forks
2
Avg merge
3h 12m
Merged PRs (30d)
8

Description

## Goal

Per-view styling controls so the same data can read differently in different views. A "Backlog" board can show large preview cards while an "All open" table stays tight and dense.

## Scope

* Density / row height for table and list: compact, medium, comfortable.
* Wrap cells on the table layout: on/off.
* Title display: position and emphasis, mostly for board and gallery cards.
* Card preview size on board and gallery, plus which property drives the card's preview image.
* A customizable empty-state message per view ("No tasks yet" beats the default).
* Conditional row or card coloring driven by field values, with a small ruleset like "if Status is Done, color the row green".
* Preserve and display select option colors as chips on every layout.

## Out of scope

* Theming (separate epic).
* CSS escape hatch.
* Per-cell coloring; the rules stay row-level for now.

## Acceptance criteria

* Density, wrap, and title display take effect immediately and persist per view.
* Card preview size and image source persist per view.
* Conditional coloring matches the rules and updates when the underlying value changes.
* Select option colors render consistently across table cells, board cards, and gallery cards.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.