hpi-schul-cloud / schulcloud-flutter

Our Flutter based App for Android and iOS.
GNU Affero General Public License v3.0
20 stars 3 forks source link

Handle unsupported topic content types #243

Closed JonasWanke closed 4 years ago

JonasWanke commented 4 years ago

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, WebViews must have a fixed height. WebViews 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:

Screenshots

Text & unsupported Etherpad Dark mode & internal asset
image image image
unicorn-bot commented 4 years ago

:warning: Unicorn Report

:warning: 3 Warnings

:information_source: 1 Info

Generated by :unicorn: Unicorn
Report an issue

github-actions[bot] commented 4 years ago

Flutter Analyze found 0 issues ✅

Generated by :no_entry_sign: Danger

MarcelGarus commented 4 years ago

Wow, flutter_html/styles.dart is amazing!