Render safe mobile Markdown across My Work details #343

Closed
opened 2026-08-08 21:31:05 +00:00 by rockachopa · 0 comments
Member

Problem

Issue, pull-request, review, unread-update, conversation, Find Work, and global-search bodies are currently displayed as raw Markdown. On mobile this removes checklist, link, quote, list, and code structure from the core read-to-act flow.

Scope

  • Extend the shared renderer with safe Gitea-style headings, paragraphs, emphasis, lists/task lists, blockquotes, fenced/inline code, and safe links.
  • Use it consistently across My Work descriptions, conversations, review history, Find Work details, and search previews.
  • Add responsive content styles so long code and URLs do not widen mobile sheets.

Acceptance tests

  • Semantic Markdown fixtures render headings, lists/task lists, quotes, code, emphasis, and links.
  • Raw HTML and unsafe URL schemes remain inert; safe links use target="_blank" and rel="noopener noreferrer".
  • Integration tests prove all read-only Gitea body surfaces call the shared renderer.
  • Markdown content has no sheet-level horizontal overflow; code scrolls internally on narrow screens.
  • Focused and full test suites pass.

This behavior is not covered by historical #52 (HTML escaping in the standalone preview), #63 (subpath resolution), or the recent mobile conversation/detail work.

## Problem Issue, pull-request, review, unread-update, conversation, Find Work, and global-search bodies are currently displayed as raw Markdown. On mobile this removes checklist, link, quote, list, and code structure from the core read-to-act flow. ## Scope - Extend the shared renderer with safe Gitea-style headings, paragraphs, emphasis, lists/task lists, blockquotes, fenced/inline code, and safe links. - Use it consistently across My Work descriptions, conversations, review history, Find Work details, and search previews. - Add responsive content styles so long code and URLs do not widen mobile sheets. ## Acceptance tests - Semantic Markdown fixtures render headings, lists/task lists, quotes, code, emphasis, and links. - Raw HTML and unsafe URL schemes remain inert; safe links use `target="_blank"` and `rel="noopener noreferrer"`. - Integration tests prove all read-only Gitea body surfaces call the shared renderer. - Markdown content has no sheet-level horizontal overflow; code scrolls internally on narrow screens. - Focused and full test suites pass. This behavior is not covered by historical #52 (HTML escaping in the standalone preview), #63 (subpath resolution), or the recent mobile conversation/detail work.
timmy was assigned by rockachopa 2026-08-08 21:31:05 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: stackchain/stackchain-dashboard#343
No description provided.