Skip to content
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

Merged
merged 35 commits into from
Sep 6, 2024

Conversation

marker-dao
Copy link
Contributor

No description provided.

@marker-dao marker-dao added the 24_2 label Sep 2, 2024
@marker-dao marker-dao self-assigned this Sep 2, 2024
@marker-dao marker-dao force-pushed the 24_2_chat_design branch 2 times, most recently from 53ab7e3 to eaa65fe Compare September 3, 2024 15:36
@EugeniyKiyashko
Copy link
Contributor

Kindly make PR's title more informative

@marker-dao marker-dao changed the title Chat: Complete styles Chat: Add basic styles by layout, mixins and variables Sep 4, 2024
@marker-dao marker-dao closed this Sep 4, 2024
@marker-dao marker-dao reopened this Sep 4, 2024
packages/devextreme/js/__internal/ui/chat/chat.ts Outdated Show resolved Hide resolved

.dx-chat-message-box-text-area {
&.dx-textarea.dx-texteditor {
min-height: $textarea-min-height;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Issues:

  1. The label is not center-aligned in Fluent
image 2. Height of input is 53px, not 48px image

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

@marker-dao
Copy link
Contributor Author

#27982 (comment)
and
#27982 (comment)
are fixed

@@ -53,14 +53,14 @@ class Chat extends Widget<Properties> {

super._initMarkup();

this._renderMessageBox();
Copy link
Contributor

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

Copy link
Contributor Author

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

EugeniyKiyashko
EugeniyKiyashko previously approved these changes Sep 6, 2024
ksercs
ksercs previously approved these changes Sep 6, 2024
Copy link
Contributor

@ksercs ksercs left a 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.

@marker-dao marker-dao dismissed stale reviews from ksercs and EugeniyKiyashko via 2e6b58c September 6, 2024 15:12
@marker-dao marker-dao merged commit 7b455e3 into DevExpress:24_2 Sep 6, 2024
275 checks passed
@marker-dao marker-dao deleted the 24_2_chat_design branch September 6, 2024 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants