holtzmak / Community-Meal-Planner-Forum

A Flutter and Firebase forum application to support community discussion for meal planning, sustainable practices, development, and education
Creative Commons Attribution Share Alike 4.0 International
2 stars 1 forks source link

Add thread widget #52

Closed holtzmak closed 3 years ago

holtzmak commented 3 years ago

Part of #45 and #46.

In this PR I have done:

  1. Added a ThreadWidget companion to the PostWidget
  2. Updated the GUI style some more.

    Can probably clean up login and signup screens as the no longer need inline styling

  3. Added a demo to home page until the thread pages and VMs are ready
  4. Added utility methods to core types
  5. Added method to DatabaseService to listen to changes on a particular thread

Changes look like: Screen Shot 2021-03-17 at 12 39 17 PM Screen Shot 2021-03-17 at 12 39 41 PM Screen Shot 2021-03-17 at 12 40 01 PM

holtzmak commented 3 years ago

Looks like the controllers keep the state when switching between read-only and editing. This shouldn't occur in regular app deployment but is a result of swapping in the demo.