Description
This is a UI/UX issue adding a header strip with reading time and last-reviewed date to each Help Center article on app/(dashboard)/help/page.tsx. Helps users prioritise and trust content.
Requirements and Context
- Compute reading time at build time from word count (avg 200 wpm)
- "Last reviewed" pulled from frontmatter
- Render with
Clock and BadgeCheck icons + tooltip
- Must be secure, tested, and documented
- Should be efficient and easy to review
Suggested Execution
- Fork the repo and create a branch
git checkout -b feature/help-article-meta
- Implement changes
- Add
components/help/article-meta.tsx
- Edit help content build pipeline if present, else compute at render
- Test and commit
- Render tests with sample articles
- Cover edge cases (very short articles, missing metadata)
- Include test output and notes in the PR
Example commit message
feat: article meta header for help center
Acceptance Criteria
Guidelines
- WCAG 2.1 AA, time elements use
<time> semantics
- Clear documentation and inline comments
- Timeframe: 96 hours
Description
This is a UI/UX issue adding a header strip with reading time and last-reviewed date to each Help Center article on
app/(dashboard)/help/page.tsx. Helps users prioritise and trust content.Requirements and Context
ClockandBadgeCheckicons + tooltipSuggested Execution
components/help/article-meta.tsxExample commit message
Acceptance Criteria
Guidelines
<time>semantics