-
Notifications
You must be signed in to change notification settings - Fork 206
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
[#789] Fixed Timetable grid item UI #898
Conversation
Hi @Noddy20! Codes seem to be unformatted. To resolve this issue, please run |
23b50a6
to
4ef49a7
Compare
.weight(1f) | ||
.defaultMinSize(minHeight = 8.dp), | ||
) | ||
if (speakers.isEmpty()) return@ConstraintLayout |
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.
Almost LGTM! I would like to use if block here. This is because we don't expect an early return when we write Compose so we could accidentally skip important component 🙏
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.
Updated.
Fixed it, please review @takahirom |
Thanks 🧐 @takahirom, Looks like the whole content is moving center vertically when the content is less. |
I can take a look at that. Might need to change the approach. |
b641996
to
c8ff347
Compare
|
Yes. Session canceled message is not there in the Figma UI. Only Icon is there, please check the Figma link. |
Oh, I see. |
@@ -111,14 +110,24 @@ fun TimetableGridItem( | |||
} | |||
.padding(TimetableGridItemSizes.padding), | |||
) { | |||
Column { | |||
Column( |
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.
Honestly, I was hesitant to use ConstraintLayout, as it's not compatible with other platforms. This alternative seems much better.
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.
Yes. I had to try multiple iterations to make this solution 😅
Best thing is that now we have the exact Figma UI 🙌🏻
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.
Thank you for this PR. Your relentless perseverance was impressive.
Issue
Overview
[Updated] Changes made in the TimeTable grid item UI -
Background Context -
Links
Screenshot (Optional if screenshot test is present or unrelated to UI)