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

Fix that Time of Day2's keynote is hidden a little #1104

Merged
merged 3 commits into from
Sep 7, 2023

Conversation

ochim
Copy link
Contributor

@ochim ochim commented Sep 6, 2023

Issue

Overview (Required)

  • Fix that Time of Day2's keynote is hidden a little
    change the TimetableGridItem

Screenshot (Optional if screenshot test is present or unrelated to UI)

Before After

@ochim ochim requested a review from a team as a code owner September 6, 2023 11:54
@github-actions
Copy link

github-actions bot commented Sep 6, 2023

Snapshot diff report

File name Image
io.github.droidkaigi
.confsched2023.sessi
ons.component_null_T
heme_TimetableItemDe
tailBottomAppBarPrev
iew-DarkMode-14_15_n
ull_compare.png
io.github.droidkaigi
.confsched2023.sessi
ons.section_null_The
me_SearchFilterPrevi
ew-LightMode-27_27_n
ull_compare.png
io.github.droidkaigi
.confsched2023.sessi
ons.component_null_L
anguage_PreviewTimet
ableGridLongTitleIte
m-English-5_8_null_c
ompare.png
io.github.droidkaigi
.confsched2023.sessi
ons.component_null_T
heme_TimetableTabPre
view-DarkMode-23_24_
null_compare.png
io.github.droidkaigi
.confsched2023.sessi
ons.component_null_T
heme_DescriptionSect
ionPreview-DarkMode-
15_16_null_compare.p
ng
io.github.droidkaigi
.confsched2023.sessi
ons.component_null_T
heme_TimetableListIt
emPreview-DarkMode-2
1_22_null_compare.pn
g
io.github.droidkaigi
.confsched2023.sessi
ons.component_null_T
heme_CollapsedTimeta
bleTabRowPreview-Dar
kMode-25_26_null_com
pare.png
io.github.droidkaigi
.confsched2023.sessi
ons.component_null_T
heme_TimetableItemDe
tailContentPreview-D
arkMode-16_17_null_c
ompare.png
io.github.droidkaigi
.confsched2023.sessi
ons.component_null_T
heme_TimetableItemDe
tailContentPreview-L
ightMode-16_16_null_
compare.png
io.github.droidkaigi
.confsched2023.sessi
ons.component_null_T
heme_TimetableItemDe
tailScreenTopAppBarU
nSelectableLangPrevi
ew-LightMode-18_18_n
ull_compare.png
io.github.droidkaigi
.confsched2023.sessi
ons.component_null_T
heme_PreviewTimetabl
eGridItemWelcomeTalk
-DarkMode-13_14_null
_compare.png
io.github.droidkaigi
.confsched2023.sessi
ons.component_null_T
heme_TimetableTabPre
view-LightMode-23_23
_null_compare.png
io.github.droidkaigi
.confsched2023.sessi
ons.component_null_T
heme_TimetableListIt
emPreview-LightMode-
21_21_null_compare.p
ng
io.github.droidkaigi
.confsched2023.sessi
ons.component_null_T
heme_TimetableItemDe
tailScreenTopAppBarP
review-DarkMode-17_1
8_null_compare.png
io.github.droidkaigi
.confsched2023.sessi
ons.component_null_T
heme_PreviewTimetabl
eGridItemWelcomeTalk
-LightMode-13_13_nul
l_compare.png
io.github.droidkaigi
.confsched2023.sessi
ons.component_null_T
heme_TimetableItemDe
tailBottomAppBarPrev
iew-LightMode-14_14_
null_compare.png
io.github.droidkaigi
.confsched2023.sessi
ons.section_null_The
me_TimetablePreview-
LightMode-28_28_null
_compare.png
io.github.droidkaigi
.confsched2023.sessi
ons.component_null_T
heme_TimetableShimme
rListItemPreview-Lig
htMode-22_22_null_co
mpare.png
io.github.droidkaigi
.confsched2023.sessi
ons.component_null_T
heme_TimetableItemDe
tailSummaryCardRowPr
eview-DarkMode-20_21
_null_compare.png
io.github.droidkaigi
.confsched2023.sessi
ons.component_null_T
heme_TimetableItemDe
tailSummaryCardRowPr
eview-LightMode-20_2
0_null_compare.png
io.github.droidkaigi
.confsched2023.sessi
ons.component_null_T
heme_TimetableItemDe
tailScreenTopAppBarP
review-LightMode-17_
17_null_compare.png
io.github.droidkaigi
.confsched2023.sessi
ons.component_null_T
heme_TimetableTopAre
aPreview-DarkMode-26
_27_null_compare.png
io.github.droidkaigi
.confsched2023.sessi
ons.component_null_T
heme_TimetableTopAre
aPreview-LightMode-2
6_26_null_compare.pn
g
io.github.droidkaigi
.confsched2023.sessi
ons.section_null_The
me_TimetablePreview-
DarkMode-28_29_null_
compare.png
io.github.droidkaigi
.confsched2023.sessi
ons.component_null_T
heme_TimetableItemDe
tailSummaryPreview-D
arkMode-19_20_null_c
ompare.png
io.github.droidkaigi
.confsched2023.sessi
ons.component_null_T
heme_TimetableItemDe
tailScreenTopAppBarU
nSelectableLangPrevi
ew-DarkMode-18_19_nu
ll_compare.png
io.github.droidkaigi
.confsched2023.sessi
ons.component_null_T
heme_TimetableItemDe
tailSummaryPreview-L
ightMode-19_19_null_
compare.png
io.github.droidkaigi
.confsched2023.sessi
ons.component_null_T
heme_TimetableTabRow
Preview-DarkMode-24_
25_null_compare.png
io.github.droidkaigi
.confsched2023.sessi
ons.component_null_T
heme_CollapsedTimeta
bleTabRowPreview-Lig
htMode-25_25_null_co
mpare.png
io.github.droidkaigi
.confsched2023.sessi
ons.section_null_The
me_SearchFilterPrevi
ew-DarkMode-27_28_nu
ll_compare.png
io.github.droidkaigi
.confsched2023.sessi
ons.component_null_T
heme_TimetableTabRow
Preview-LightMode-24
_24_null_compare.png
io.github.droidkaigi
.confsched2023.sessi
ons.component_null_T
heme_DescriptionSect
ionPreview-LightMode
-15_15_null_compare.
png
io.github.droidkaigi
.confsched2023.sessi
ons.component_null_T
heme_TimetableShimme
rListItemPreview-Dar
kMode-22_23_null_com
pare.png
io.github.droidkaigi
.confsched2023.sessi
ons.component_null_L
anguage_PreviewTimet
ableGridLongTitleIte
m-Japanese-5_7_null_
compare.png

@github-actions
Copy link

github-actions bot commented Sep 6, 2023

Test Results

213 tests   213 ✔️  8m 1s ⏱️
  11 suites      0 💤
  11 files        0

Results for commit 6454c51.

♻️ This comment has been updated with latest results.

@github-actions github-actions bot temporarily deployed to deploygate-distribution September 6, 2023 12:14 Inactive
@@ -123,7 +123,7 @@ fun TimetableGridItem(

Row(
modifier = Modifier
.weight(1.5f, fill = false)
.weight(2f, fill = false)
Copy link
Member

Choose a reason for hiding this comment

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

Thanks! Do you have any idea why this works 👀

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Previously the Row height was not enough, so I tried increasing this value

Copy link
Member

Choose a reason for hiding this comment

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

Sorry for bothering you. But Could you add some preview functions to confirm small items? Maybe we can pass modifier.size or something to confirm.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have no idea. I think the existing preview functions are enough.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

By the way, the following code works also.

            Text(
                modifier = Modifier.weight(1f, fill = false), // notice 
                text = timetableItem.title.currentLangTitle,
                style = titleTextStyle,
                overflow = TextOverflow.Ellipsis,
            )

            Row(
                modifier = Modifier
                    .weight(1f, fill = false) // notice
                    .padding(top = TimetableGridItemSizes.titleToSchedulePadding),
            ) {
               ...
            }

Copy link
Contributor Author

@ochim ochim Sep 7, 2023

Choose a reason for hiding this comment

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

Hello, I did a30a61e @takahirom

スクリーンショット 2023-09-07 22 02 16

@github-actions github-actions bot temporarily deployed to deploygate-distribution September 7, 2023 16:13 Inactive
@github-actions github-actions bot temporarily deployed to deploygate-distribution September 7, 2023 16:44 Inactive
@takahirom
Copy link
Member

Looks great! Thanks!

@takahirom takahirom merged commit 6e0216b into DroidKaigi:main Sep 7, 2023
8 checks passed
@ochim ochim deleted the 1094_fix_hidden_day2_keynote branch September 8, 2023 04:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Time of Day2's keynote is hidden a little
2 participants