ourjapanlife / findadoc-web

Front-end repository for Find a Doc, Japan
https://findadoc.jp
BSD 3-Clause "New" or "Revised" License
16 stars 15 forks source link

FEAT: Implement Toast Notifications #658

Closed NabbeunNabi closed 1 month ago

NabbeunNabi commented 1 month ago

Problem

We need to decide on which library is the best library to use for toast or to make our own. This toast will be a way to show successes or error messages to users in a user friendly manner.

Success

Toast components are researched and implemented.

Requirements

NabbeunNabi commented 1 month ago

Choices

Choice 1-vue-toastification

Choice 2-vue-toast-notification

Choice 3 BUILD OUR OWN

My selection

Based on my research, although I do not usually opt for adding libraries, I find Choice 1 to be the best. It seems to have the best reviews, is rather easy to implement, and fits well within our project. With TypeScript support and lots of customization.

It is easier to customize and use this library throughout the app based on the need instead of building a possible new component every time we want to change the toast notification to the user.

Image