animalaidunlimited / apoms

2 stars 0 forks source link

When adding a new case, there should be a way to tell it has been saved #135

Closed sqljim closed 3 years ago

sqljim commented 3 years ago

If we're going to start auto-assigning EMNos we need to be able to tell that the case has been updated.

We need an icon similar to Google Sheets where if the form is not saved to the database at all we could show a warning:

Case not saved to database

This icon could be used, coloured yellow: https://material.io/resources/icons/?icon=cloud&style=baseline

When the case is saved and the form is pristine we show another icon:

All changes saved to database <-- this should only show the text for a second or so, just like Sheets

https://material.io/resources/icons/?icon=cloud_done&style=baseline

When the record is saved to the database, but has outstanding changes we could show a different icon:

https://material.io/resources/icons/?search=refres&icon=cached&style=baseline