Marlinski / Rumble

Rumble allows the sharing of messages and pictures without relying on the Internet, in a Delay Tolerant Fashion following the Store-Carry and Forward paradigm
http://disruptedsystems.org
GNU General Public License v3.0
298 stars 27 forks source link

Toast Notification for User Feedback #18

Closed PrasannaVenkadesh closed 8 years ago

PrasannaVenkadesh commented 8 years ago

While testing the app with some of my friends, they said they had no clue about what happened as soon as they pressed "Clear Chat" / "Clear Statuses" under Storage Activity.

Though they can navigate to respective sections, I thought it would be better if we add toast notifications for giving them immediate feedback.

toast_notification

Another minor commit in this PR, which fixes a typo in Tamil translation.

Marlinski commented 8 years ago

Thanks Prasanna. I noticed a small "bug" (it is not really a bug) while testing. If I click on clear data, only the "chat wiped" toast message appears. This is because CLEAR DATA generate UserWipeChat and UserWipeStatus event so both get triggered and I guess only one toast message can appear at the same time.

TODO: change the activity layout to use CoordinatorLayout and then use SnackBar instead of Toast so that it is the same notification engine than the other activities (such as GroupListActivity).