raksha-life / rescuekerala

Website for coordinating rehabilitation of people affected in the Kerala Floods
https://keralarescue.in
MIT License
674 stars 575 forks source link

Added alert in Share/Copy button in District Needs #1099

Closed gotham13 closed 5 years ago

gotham13 commented 5 years ago

Issue Reference

This PR addresses the Issue : Fixes #1098

Summarize

Please, describe what the PR does, the changes you have made.

Shows alert on Copy Copy only if share not available

biswaz commented 5 years ago

Alert should be subtle. The native alert button is not best thing considering UX. Could you please add something that doesn't obstruct user interaction and fades away in a while.

gotham13 commented 5 years ago

Sure

gotham13 commented 5 years ago

@biswaz As support for toast notification was added only in bootstrap 4. This is the best I can think of without using any other library or messing with css.

gotham13 commented 5 years ago

2019-08-14 (1)

biswaz commented 5 years ago

LGTM.. please find testers from #testing

On Wed, 14 Aug, 2019, 6:39 PM Abhinav Gautam, notifications@github.com wrote:

[image: 2019-08-14 (1)] https://user-images.githubusercontent.com/26436380/63023463-cd5f0480-bec2-11e9-8448-a04086eafc95.png

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/IEEEKeralaSection/rescuekerala/pull/1099?email_source=notifications&email_token=AC6LOEAR6S3DP2Z5MMB3P3LQEP7YNA5CNFSM4ILSD6L2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4IXRGI#issuecomment-521238681, or mute the thread https://github.com/notifications/unsubscribe-auth/AC6LOEAOULLKOG7UU4GIORTQEP7YNANCNFSM4ILSD6LQ .