Skip to content

feat: implement cases content from API#9

Draft
hasenkday wants to merge 2 commits into
mainfrom
6-implement-cases-content-from-api
Draft

feat: implement cases content from API#9
hasenkday wants to merge 2 commits into
mainfrom
6-implement-cases-content-from-api

Conversation

@hasenkday
Copy link
Copy Markdown
Owner

  • Fetch case detail by slug from API
  • Render contentMarkdown as HTML
  • Generate sidebar summary from headings

- Fetch case detail by slug from API
- Render contentMarkdown as HTML
- Generate sidebar summary from headings
@hasenkday hasenkday self-assigned this Jan 24, 2026
@hasenkday hasenkday linked an issue Jan 24, 2026 that may be closed by this pull request
- Introduced DotRail component to provide a visual representation of summary items.
- Integrated DotRail into PageSummary for mobile view, allowing users to select summary items.
- Enhanced PageSummary to support grouped items and improved item rendering.
- Updated styles for better layout and responsiveness.
- Updated useCaseBySlug hook for improved data fetching and caching.
- Added utility functions for markdown rendering and heading management.
- Updated case and playground pages to utilize new sidebar structure.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement cases content from api

1 participant