Closed JonasWanke closed 4 years ago
Merge branch 'fix/course-nullable-description' into issue/236-handle-unsupported-topic-content-types
Merge branch 'master' into issue/236-handle-unsupported-topic-content-types
refactor(course): address minor changes
Co-Authored-By: Marcel Garus
Generated by :no_entry_sign: Danger
Wow, flutter_html/styles.dart
is amazing!
Closes: #100, closes: #236
Lesson contents are now shown on a single page. Different content types are proper subclasses instead of optional fields and an enum value, and unsupported content is displayed as well (as a placeholder).
To display multiple contents below each other,
WebView
s must have a fixed height.WebView
s for external tools (currently Etherpad and neXboard) have a limited height (≈ 75 % of the visible viewport) and text content is displayed by flutter_html as flutter widgets.Known issues with flutter_html:
body
-element; too little padding afterli
-prefixes.Screenshots