Skip to content

[MBL-2893] Add RichTextView container#2813

Merged
stevestreza-ksr merged 10 commits into
mainfrom
stevestreza/sdui-content/richtextview
Apr 7, 2026
Merged

[MBL-2893] Add RichTextView container#2813
stevestreza-ksr merged 10 commits into
mainfrom
stevestreza/sdui-content/richtextview

Conversation

@stevestreza-ksr

Copy link
Copy Markdown
Contributor

📲 What

This adds a container view called RichTextView which will take a list of RichTextElements and turn them into individual block views.

Actual content will be implemented in other PRs.

🤔 Why

Rich Text is a series of block-level elements of different types. This view handles dealing with turning a list of RichTextElements into a list of SwiftUI views.

🛠 How

Nothing crazy here, just adds a SwiftUI view and a switch statement based on what appears in a list parameter.

Placeholder views are used for now for rendering content. Actual block views will be implemented in future PRs.

👀 See

image

♿️ Accessibility

Accessibility will be implemented in individual blocks in follow up PRs.

🏎 Performance

Blending will be implemented in individual blocks in follow up PRs.

Base automatically changed from stevestreza/sdui-content/parsing-rich-text to main April 7, 2026 22:32
@stevestreza-ksr stevestreza-ksr merged commit 4c4735c into main Apr 7, 2026
7 checks passed
@stevestreza-ksr stevestreza-ksr deleted the stevestreza/sdui-content/richtextview branch April 7, 2026 23:56
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.

3 participants