0c2cea8c25
Architecture:
- Cap homepage plugin list at PLUGIN_FETCH_CAP like other pages
- Declare @types/node directly instead of relying on transitive dep
- Single-source status label text (statuses.ts vs seed.json drift)
UI/UX:
- Stop auto-submitting filter selects so keyboard navigation works
- Fix heading hierarchy (add h2) on flat list pages
- Improve homepage title beyond bare "Plugins"
- Make status taxonomy descriptions self-contained
- Render only relevant statuses in the legend, not all 7
- Fix PluginCard "WordPress -> —" for missing target
- Clarify "{n} from / {n} targeting" microcopy
- Use proper count meta markup on CMS list
- Allow header nav row to wrap
- Fix bare CMS URL horizontal overflow
- Add standard line-clamp fallback to cards
- Even out footer stacked paragraph spacing
- Center plugin detail status line (drop margin-left hack)
- Raise toolbar tap targets to 44px
- Surface status badge meaning beyond title attribute
- Include source-CMS breadcrumb step on lookup miss
- Add link into filtered catalog from CMS detail
14 lines
311 B
Plaintext
14 lines
311 B
Plaintext
---
|
|
import StatusBadge from "./StatusBadge.astro";
|
|
import { STATUSES } from "../lib/statuses";
|
|
interface Props {
|
|
items?: typeof STATUSES;
|
|
}
|
|
const { items = STATUSES } = Astro.props;
|
|
---
|
|
<div class="legend">
|
|
{items.map((i) => (
|
|
<span class="item"><StatusBadge status={i.value} /> {i.desc}</span>
|
|
))}
|
|
</div>
|