-
Notifications
You must be signed in to change notification settings - Fork 340
Open
Labels
a-apiImplementing specific parts of the Zulip server APIImplementing specific parts of the Zulip server APIa-contentParsing and rendering Zulip HTML content, notably message contentsParsing and rendering Zulip HTML content, notably message contentsa-tests
Milestone
Description
We have a nice library of examples of Zulip message content in our tests, on the ContentExample and KatexExample classes in test/model/content_test.dart and test/model/katex_test.dart .
It'd be nice to export that test data in a JSON format. This would be useful for re-using the same test data in other Zulip codebases.
To do this, we can use package:json_annotation
and package:json_serializable
on the ContentNode subclasses, the same way we do for the JSON in the Zulip API.
References
- Chat thread: #mobile > flutter: content.dart @ 💬
Metadata
Metadata
Assignees
Labels
a-apiImplementing specific parts of the Zulip server APIImplementing specific parts of the Zulip server APIa-contentParsing and rendering Zulip HTML content, notably message contentsParsing and rendering Zulip HTML content, notably message contentsa-tests
Type
Projects
Status
No status