-
Notifications
You must be signed in to change notification settings - Fork 744
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Alert Message is showing after coming back to the Page. #2201
Comments
Thank you for opening this issue with us! If you haven't already, please follow these next steps to officially join our contributor community. |
@julianguyen Pleas review this whether it's a bug or not |
Yes, it's a minor bug! Thanks again for finding this and documenting it! |
@julianguyen |
@MuhammadAakash you should maybe look at where the flash message is coming from, I am flying blind here but that is where I check first. |
@MuhammadAakash I could see a toast message working here, but I think we should build this reusable component thoughtfully. I recommend it being a React component and that there's the ability to dismiss the message manually. We'll also want to notify the user through aria labels that the Toast message will be automatically hidden (this is necessary for screen-reader users). Before we pursue that, can we just look at hiding the message after the page is initially viewed? |
I have just seen the code where it's implemented and it is implemented in alert.erb file. And about hiding that toast, according to me it is only possible by setting the display of container to none after some time. |
Display: none might end up messing with the UX, use :hidden instead. |
Yeah that is better |
@sfayyad Please go ahead and solve this issue according to the condition which is currently required (Making the div hidden after 5 seconds + add a simple cross icon and on that icon also calls the functions which can hide the div). As I got some time I will make a separate react component for the toast message. |
@sfayyad Are you working on this issue? If you aren't working then I'm ready to work on this. Please @julianguyen @MuhammadAakash @uzorjchibuzor assign this issue to me. |
@zeeshansarwar38 if the current assignee confirms that they are not working on it, they you may assign yourself. |
@zeeshansarwar38 thanks for showing interest in contributing to if-me. |
@zeeshansarwar38 Please go ahead with the issue as @sfayyad is not being online for around 20 days. |
Sure, thanks. |
Hi @julianguyen |
* Toast Component added with locales * null check added * eslint issues fixed * eslint issues fixed * minor fix * nokogiri version updated * reviewed changes * test added * reviewed changes * gem version updated * package dependencies updated * Update client/app/components/Toast/Toast.scss Co-authored-by: Julia Nguyen <julianguyen@users.noreply.github.com> * tests added * issue fixed * eslint issue fixed * eslint issue fixed * eslint issue fixed * eslint issue fixed * changes reverted * Re-run yarn lint * test script fixed * test fixed Co-authored-by: Julia Nguyen <julianguyen@users.noreply.github.com> Co-authored-by: Julia Nguyen <tojulianguyen@gmail.com>
Description
Alert message "Signed in Successfully" or " Signed out successfully" is not hidden if we come again to the page we are redirected to after login or logout =.
Reproduction Steps
Screenshots or Video Link
Video Link: https://loom.com/share/8fb4c43818054e71a8ac79deb42e4cf0
Please assign yourself (via the Assignees dropdown), if you do want to work on this issue. Can't find yourself? You need to join our organization.
Check out our Picking Up Issues guide if you haven't already!
The text was updated successfully, but these errors were encountered: