You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The reason will be displayed to describe this comment to others. Learn more.
Regarding flashy messages, I figured that the problem was that the close button should have the #notice element as its direct parent. If this is the case, then bootstrap's alert will do the magic for us.
Now, since we are doing this manually, maybe it would be a good idea to remove some bootstrap-specific attributes for notifications. For example, we could remove data-dismiss="alert" from the close button if I'm not mistaken.
The reason will be displayed to describe this comment to others. Learn more.
Interesting... What about fixing the code to get rid of the js code I wrote and let bootstrap do the dirty job? The less code we write, the less stuff we have to maintain :)
The reason will be displayed to describe this comment to others. Learn more.
I agree, this is the way to go. But since I don't want to complicate the PR from your UI branch any longer, I think that it's better to create a new issue about this so we can fix it on another PR.
83d5268
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Regarding flashy messages, I figured that the problem was that the close button should have the
#notice
element as its direct parent. If this is the case, then bootstrap's alert will do the magic for us.Now, since we are doing this manually, maybe it would be a good idea to remove some bootstrap-specific attributes for notifications. For example, we could remove
data-dismiss="alert"
from the close button if I'm not mistaken.83d5268
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interesting... What about fixing the code to get rid of the js code I wrote and let bootstrap do the dirty job? The less code we write, the less stuff we have to maintain :)
83d5268
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree, this is the way to go. But since I don't want to complicate the PR from your UI branch any longer, I think that it's better to create a new issue about this so we can fix it on another PR.
What do you think ?
83d5268
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I'll merge the PR. Could you please create a dedicated issue?