-
Notifications
You must be signed in to change notification settings - Fork 71
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
Improve UX in chat window #1530
Improve UX in chat window #1530
Conversation
axpoems
commented
Dec 17, 2023
- Set max size to the chat window to improve readability and overall UX of the chat on large/wide screens.
- Reduce size of the chat message and input text to achieve consistency with the rest of the font sizes.
Hmm... It does feel a bit strange to me to have those flexible paddings in large width cases. I find it better to fill the available width as it is now. |
50d387b
to
0130458
Compare
@HenrikJannsen - This PR addresses and implements a standard design issue related to the maximum width of a content window. The scenarios below appear particularly more unusual to me, reflecting the current situation and the problem being tackled—wide screens. Even on the much more common standard 27" 3840x2160 screen, the window still doesn't look good: Having a maximum width for the main internal content window in a desktop application, such as a chat interface, can be justified for several reasons, amongst others: 1. Readability and Focus: A limited width prevents content from extending too far horizontally, making it easier for users to read and focus on the chat messages. Long lines of text can be challenging to read, and a controlled width improves readability. 2. Avoiding Eye Fatigue: Wide content areas may require users to consistently move their eyes across the screen, leading to eye fatigue. A constrained width helps maintain a comfortable reading experience without excessive eye movement. 3. Optimal Line Length: Studies have shown that an optimal line length for reading is around 50-75 characters per line. Restricting the width helps maintain this optimal line length, ensuring that users can absorb information efficiently. 4. Aesthetic Considerations: A controlled width contributes to a cleaner and more aesthetically pleasing design. It prevents content from spreading too far, maintaining a visually balanced and harmonious layout. |
I agree that it looks weird on such large screen sizes. But when I use the app on such a large screen I do not display it full screen or that wide, but rather a bit larger as the default size. To me the centered layout in your suggestion does not work well with the tabs and the header as there the items are filling the width. If then it should be left aligned but not centered. But still I think that making it worse for 90% of users with an average screen size is not worth to serve the few who use a large width (as said I personally and I guess many others would not scale the width on a large screen that wide). |
@HenrikJannsen Can you show a screenshot of how it looks on your screen? because I don't see how this makes the experience worst for smaller screens. I have tested this with several, including laptops. |
I shared a screenshot of the application on a 27-inch screen, which is considered a standard size nowadays, and I might even say it's a bit on the smaller side. The display appears not good. Failing to utilize the full screen size on a monitor of this scale suggests a design flaw. The nature of bisq2 as for now, in contrast to bisq1, is more oriented towards portrait than landscape, which is why we naturally (for the moment ) don't employ a full-size screen and so this would not even be perceived currently.
Do we have concrete statistics on users' screen sizes? My assumption is that the majority of users utilize laptops. As mentioned earlier, I've conducted tests from the widest to the smaller, and the application looks good with no limit applied to the medium This is also part of several design improvements, not all of which have been implemented yet, aiming to enhance Bisq2 significantly. Also certain adjustments can still be implemented to address what you've considered as not ok, but to better comprehend that, I would need the screenshots with what you see. Finally and to move on I would suggest merging this into main and testing it out. If the implemented changes result in a less favourable experience (although I really doubt that), then we revert the changes. |
Thinking further about that issue: I think its best to leave it to the user when they feel the layout gets uncomfortable wide by reducing the window size. |
That's because it hasn't been implemented yet; I was planning to do that. In this case each container would have a max-width.
What could be done is increase the max-width, maybe up to 1400px, but we would need to test it to find the optimal. The alignment is also something we can explore. I strongly believe there's a solution that suits all needs.
Not at all, but webpages are indeed a common scenario where this issue arises. My point is that it doesn't look good and isn't functional on wide screens/windows. Reading feels like watching a tennis match.
I agree; we shouldn't encounter many issues because users will adjust the window size to their preferred layout. The goal here is to ensure that content remains legible at various sizes.
I can provide examples of windows desktop applications that do limit the maximum width of their content: Skype (centered), Telegram (aligned to the left), Threema (centered). While Spotify's desktop app for Windows is diverse in its content type, for text-heavy elements like podcast where there is a list and description of episodes, there is a maximum width applied. In the case of Music albums, there is no limit imposed, primarily because the information is more effectively organized in a tabular format.
I agree with what you're saying while I still believe that implementing a max-width limit for chat/text containers in the specificity discussed is needed. It's not just about aesthetics but also about ensuring a comfortable reading experience for all users. Without a max-width, users who prefer a full-screen view (for example in common 27" screens) will find the content stretched out and difficult to read. With all my argumentation made I don't see how prolonging it would add anything new. |
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.
ACK
Maybe to limit the width of the tab navigation as well would be an option to consider? Then the tab navigation stays more connected to the content below. With 1440 it looks ok on my screen but I have 15 inch so on 27 inch the left/right padding will be larger and thus the distance to the above tab navigation. |
Yes, I also thought about this. If we go with this solution perhaps worth doing that. When thinking about your feedback and input here, and also from looking at other desktop applications, I came up with this possibility (these are not mock-ups, but rather a test I made to see): This gives the impression that it's adjusting to full screen but at the same time gives the good UX experience for reading. |
Yes keeping the same bg color (as in GH page) feels better to me. The bottom input field bar could maybe be full width like the top header (in the left aligned version)? The send button on the right is not that essential as "enter" always sends the message and i guess most ppl are familiar with that standard chat behavior. |
I will work on a solution in this direction. Will post details about this soon. |
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.
utACK