-
Notifications
You must be signed in to change notification settings - Fork 11.1k
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
[NEW] Modal #9092
[NEW] Modal #9092
Conversation
@@ -1,4 +1,4 @@ | |||
/* globals LivechatVideoCall, Livechat */ | |||
/* globals LivechatVideoCall, Livechat, swal */ |
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.
is it still needed to add swal to globals when actually removing it?
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.
Livechat widget still uses sweetAlert
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.
👍 makes sense I just saw the adding in a bunch of files so was checking :)
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.
👍
can we add some key press love up in here?
otherwise it feels painful to share files 😛 |
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.
Please add support for the ESC
and ENTER
keys, otherwise this will disrupt the flow of many people who rely on them on an hourly basis per day.
@graywolf336 @geekgonecrazy I added ESC and Enter events now. |
|
||
&__content-icon { | ||
font-size: 6rem; | ||
margin: 1.2rem; |
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.
change for tabs
|
||
white-space: nowrap; | ||
&__content-text { | ||
line-height: 1.5; |
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.
change for tabs
&__content-error { | ||
display: none; | ||
width: 100%; | ||
text-align: center; |
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.
change for tabs
if (['channel', 'group', 'direct'].includes(FlowRouter.getRouteName()) && (Session.get('openedRoom') === rid)) { | ||
FlowRouter.go('home'); | ||
} | ||
|
||
RoomManager.close(rid); |
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.
add this back pls
@karlprieb you rule! Balance and Order has been restored to the universe. 😄 |
.eslintrc
Outdated
@@ -122,6 +122,7 @@ | |||
"Logger" : false, | |||
"Match" : false, | |||
"Meteor" : false, | |||
"modal" : false, |
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.
Should this be aligned with the others?
@RocketChat/core
Closes #8775
Our new modal system :) This PR implement that and remove sweetalert :)