-
Notifications
You must be signed in to change notification settings - Fork 605
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
Chat: Add basic styles by layout, mixins and variables #27982
Conversation
53ab7e3
to
eaa65fe
Compare
packages/devextreme-scss/scss/widgets/base/chat/layout/chat-avatar/_index.scss
Show resolved
Hide resolved
packages/devextreme-scss/scss/widgets/base/chat/layout/chat-avatar/_index.scss
Outdated
Show resolved
Hide resolved
packages/devextreme-scss/scss/widgets/base/chat/layout/chat-header/_index.scss
Outdated
Show resolved
Hide resolved
packages/devextreme-scss/scss/widgets/base/chat/layout/chat-messagebox/_index.scss
Outdated
Show resolved
Hide resolved
packages/devextreme-scss/scss/widgets/base/chat/layout/chat-messagebox/_index.scss
Outdated
Show resolved
Hide resolved
packages/devextreme-scss/scss/widgets/base/chat/layout/chat-messagebox/_index.scss
Show resolved
Hide resolved
packages/devextreme-scss/scss/widgets/material/chat/_colors.scss
Outdated
Show resolved
Hide resolved
packages/devextreme-scss/scss/widgets/base/chat/layout/chat-messagebubble/_mixins.scss
Show resolved
Hide resolved
Kindly make PR's title more informative |
b5bbab3
to
b220247
Compare
packages/devextreme-scss/scss/widgets/base/chat/layout/chat/_mixins.scss
Show resolved
Hide resolved
packages/devextreme-scss/scss/widgets/base/chat/layout/chat-messagebubble/_index.scss
Outdated
Show resolved
Hide resolved
packages/devextreme-scss/scss/widgets/base/chat/layout/chat-messagebubble/_index.scss
Show resolved
Hide resolved
packages/devextreme-scss/scss/widgets/base/chat/layout/chat-avatar/_index.scss
Show resolved
Hide resolved
packages/devextreme-scss/scss/widgets/base/chat/layout/chat-messagebox/_mixins.scss
Outdated
Show resolved
Hide resolved
|
||
.dx-chat-message-box-text-area { | ||
&.dx-textarea.dx-texteditor { | ||
min-height: $textarea-min-height; |
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.
Issues:
- The label is not center-aligned in Fluent
Currently, we are trying to set custom heights for text areas in themes that differ from the standard editor heights by ±2px. I don't understand why this is necessary, instead of adjusting the design of the text area to make it look like a 'textbox.'
@Shuvaevmedia
packages/devextreme-scss/scss/widgets/base/chat/layout/chat-messagebox/_mixins.scss
Outdated
Show resolved
Hide resolved
packages/devextreme-scss/scss/widgets/base/chat/layout/chat-messagebox/_mixins.scss
Show resolved
Hide resolved
packages/devextreme/testing/tests/DevExpress.ui.widgets/chatParts/messageBox.tests.js
Outdated
Show resolved
Hide resolved
#27982 (comment) |
2f782e2
to
4a191a1
Compare
@@ -53,14 +53,14 @@ class Chat extends Widget<Properties> { | |||
|
|||
super._initMarkup(); | |||
|
|||
this._renderMessageBox(); |
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 think that previous rendering order was correct.
If there is some issue with scrollable dimensions calculations, let's just update it after list rendering. But i don't like we try to hack rendering order. At least it will lead to difficulties when we start rendering header
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.
We decided to bring this issue up for discussion and will fix the rendering order in a separate task if needed
packages/devextreme-scss/scss/widgets/base/chat/layout/chat-messagebox/_index.scss
Show resolved
Hide resolved
packages/devextreme-scss/scss/widgets/base/chat/layout/chat-messagebox/_mixins.scss
Outdated
Show resolved
Hide resolved
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.
Several UI/UX enhancements gonna be implemented in separate pull requests.
Regressive visual tests will be added in a single PR at the end of a design milestone.
1b7e970
to
a5f9935
Compare
2e6b58c
No description provided.