-
Notifications
You must be signed in to change notification settings - Fork 0
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
Communication
: Improve auto completion for tagging users and channels
#76
Conversation
…ises is no longer case sensitive
Can you please add screenshots on how this will look in the following cases:
|
I am not at my dev setup right now, so I can't provide screenshots at the moment. Regarding (1.), with my current understanding of the code, the popup will show above the edit / preview buttons, regardless of the cursor position. I will check that as soon as I am back. Regarding the foldable and tablet, dont know what the behaviour would be like and I understand that this is important for future proving the app. However, I feel like adjusting the UI for tablet, foldables, flip etc. compatability should probably be part of a different bigger ticket (as this likely also includes a completely altered design (with sidebar navigation eg)) and we should focus our limited resources on the main form factor for now. |
The app, and especially the communication component already supports tablet mode interactions. It was part of a greater feature I implemented a some time ago. Therefore, it is important that when making these changes we consider how the tablet and foldable layouts are affected. So please provide the screenshots once you have time. |
Sorry, I did not know that tablet mode is already supported. Here are the screenshots: @TimOrtel Do you think the autocompletion dialog is fine for the tablet, or should we introduce some kind of maximum height, so the dialog does not span the whole screen? EDIT: change "width" -> "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.
Just tested it and it looks good to me. The changes seem reasonable.
I think introducing some kind of maximum width does not feel right as it would require users to stretch their fingers all across the screen to reach the middle, which might be annoying.
Although it feels strange to have the view covering the entire screen, I think it might lead to a better user experience.
So, for foldables I would leave it like it is, for tablets I think it would look strange if the width of the view is smaller than the textfield below.
Ah sorry, I meant adding a maximum height for tablets, not width. Sorry for the confusion |
I think a maximum height would be quite reasonable. It would definitely look visually more appealing on tablets. We could set it to be the height of 5-6 items. |
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.
Good catch, I'll have a look |
Okay, so it turns out this is a flaw of the M3 design specifications. Specifically, in dark mode, the colors We could either:
I would suggest that for now we either do 1 or 2 (I'd tent to 2), and eventually follow up with 3 separately, as this involves updating the theme and replacing all occurrences of |
I agree. Let's do 2 and follow up with 3 in the future as part of a different PR :) |
Turns out the app uses dynamic colors for sdk >= 31, so we can not directly change the outlineVariant color. So, these changes will only be visible for users with sdk 30. I also noticed that lifting the requirement for minSdk from 30 -> 31 was not necassary (as no other dependencies require this), so I lowered it again to 30. I created a follow up issue #102 |
Fixed the clipping of the AutoCompletionPopup as described in #72 and closes this issue.
Additionally also changed the search for courses, lectures, and channels to be case-insensitive to be more intuitive.
Before:
After: