Listoka / bittoka

4 stars 1 forks source link

Saving a draft should give the user a notification #187

Closed kels0la closed 5 years ago

kels0la commented 5 years ago

Something simple like displaying "Draft Saved!"

robbyphillips commented 5 years ago

There's a few ways to go about doing this.

  1. Locally, specific to this component we can set a 'loading' or 'pendingSave' state variable and change the button message while that state variable is true
  2. Do the same local state variable but have a different place for the message
  3. Implement an application-wide message/notification system. We might be able to leverage current application-wide modal system for this... or it would take similar form but be something else. It's a bigger project, but we could use it anywhere else we want to send notifications..

(sidenote: I've already implemented a version of 1. in #199 )

robbyphillips commented 5 years ago

closed by #199 Will likely have to revisit one of the more complete solutions at a later date.