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

[Feature/#93] compose loading snackbar #97

Merged
merged 24 commits into from
Oct 11, 2024
Merged

Conversation

chanubc
Copy link
Member

@chanubc chanubc commented Oct 11, 2024

โœ… ๐—–๐—ต๐—ฒ๐—ฐ๐—ธ-๐—Ÿ๐—ถ๐˜€๐˜

  • mergeํ•  ๋ธŒ๋žœ์น˜์˜ ์œ„์น˜๋ฅผ ํ™•์ธํ•ด ์ฃผ์„ธ์š”(mainโŒ/developโญ•)
  • ๋ฆฌ๋ทฐ๊ฐ€ ํ•„์š”ํ•œ ๊ฒฝ์šฐ ๋ฆฌ๋ทฐ์–ด๋ฅผ ์ง€์ •ํ•ด ์ฃผ์„ธ์š”
  • P1 ๋‹จ๊ณ„์˜ ๋ฆฌ๋ทฐ๋Š” ํ•„์ˆ˜๋กœ ๋ฐ˜์˜ํ•ฉ๋‹ˆ๋‹ค.
  • Approve๋œ PR์€ assigner๊ฐ€ ๋จธ์ง€ํ•˜๊ณ , ์ˆ˜์ • ์š”์ฒญ์ด ์˜จ ๊ฒฝ์šฐ ์ˆ˜์ • ํ›„ ๋‹ค์‹œ push๋ฅผ ํ•ฉ๋‹ˆ๋‹ค.

๐Ÿ“Œ ๐—œ๐˜€๐˜€๐˜‚๐—ฒ๐˜€

๐Ÿ“Ž๐—ช๐—ผ๐—ฟ๐—ธ ๐——๐—ฒ๐˜€๐—ฐ๐—ฟ๐—ถ๐—ฝ๐˜๐—ถ๐—ผ๐—ป

  • compose custom snackbar
  • ๋กœ๋”ฉ์ธ๋””์ผ€์ดํ„ฐ + ํŒ์—… ๊ตฌํ˜„
  • custom drop shadow ๊ตฌํ˜„

๐Ÿ“ท ๐—ฆ๐—ฐ๐—ฟ๐—ฒ๐—ฒ๐—ป๐˜€๐—ต๐—ผ๐˜

KakaoTalk_20241011_135724734.mp4
KakaoTalk_20241011_135721618.mp4

๐Ÿ’ฌ ๐—ง๐—ผ ๐—ฅ๐—ฒ๐˜ƒ๐—ถ๐—ฒ๐˜„๐—ฒ๐—ฟ๐˜€

์•ฝ๊ด€๋™์˜ํ™”๋ฉด์—์„œ ๋กœ๋”ฉ์ธ๋””์ผ€์ดํ„ฐ ๋œจ๋Š” ๋ถ€๋ถ„์€ ํŒ์—…์œผ๋กœ ๊ตฌํ˜„ํ–ˆ์Šต๋‹ˆ๋‹ค! ๋’ท๋ฐฐ๊ฒฝ์ด ์‚ด์ง ์•ˆ๋ณด์ด๋Š”๊ฒŒ ์ข‹์„ ๊ฒƒ ๊ฐ™๋‹คํ•ด์„œ
๋กœ๋”ฉ ๋˜๋Š” ๋™์•ˆ ๋ชจ๋“  ์•ก์…˜(๋ฐฑ๋ฒ„ํŠผ, ์Šค์™€์ดํ”„ ๋’ค๋กœ๊ฐ€๊ธฐ) ๋“ฑ๋“ฑ ๋‹ค ๋ง‰์•„ ๋†“์•˜๋Š”๋ฐ ๋ฐฑ๋ฒ„ํŠผ์€ ํ—ˆ์šฉํ• ๊นŒ์š”?

  • ์ผ๋‹จ ํ—ˆ์šฉํ–ˆ์Šต๋‹ˆ๋‹ค

@chanubc chanubc added the โ˜• [COMPOSE] ์ปดํฌ์ฆˆ ui label Oct 11, 2024
@chanubc chanubc requested a review from a team October 11, 2024 04:21
@chanubc chanubc self-assigned this Oct 11, 2024
@chanubc chanubc requested review from Eonji-sw and sohyun127 and removed request for a team October 11, 2024 04:21
@chanubc chanubc added the ๐Ÿป ์ฐฌ์šฐ ์ฐจ์€์šฐ label Oct 11, 2024
Copy link
Collaborator

@sohyun127 sohyun127 left a comment

Choose a reason for hiding this comment

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

๊ณ ์ƒํ•˜์…จ์Šต๋‹ˆ๋‹ค!
๋ฐฑ๋ฒ„ํŠผ์ด ํ•˜๋‹จ ๋ฐฑ๋ฒ„ํŠผ ๋งž๋‚˜์š”?!

val job = launch {
snackBarHostState.showSnackbar(getErrorMessage(throwable, localContextResource))
}
delay(SNACK_BAR_DURATION)
Copy link
Collaborator

Choose a reason for hiding this comment

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

์ž„์˜๋กœ ๋”œ๋ ˆ์ด ์ฃผ์‹  ์ด์œ ๊ฐ€ ์žˆ์„๊นŒ์š”?!

Copy link
Member Author

Choose a reason for hiding this comment

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

ํ† ์ŠคํŠธ๋Š” 2์ดˆ์ธ๋ฐ ์Šค๋‚ต๋ฐ”๋Š” 4์ดˆ๋ผ ๋„ˆ๋ฌด ๊ธธ๋‹ค ์ƒ๊ฐํ–ˆ์Šต๋‹ˆ๋‹ค! 2์ดˆ๋กœ ์ปค์Šคํ…€ํ•˜์—ฟ๋Š”๋ฐ
์–ด๋–ป๊ฒŒ ์ƒ๊ฐํ•˜์‹œ๋‚˜์š”??

Copy link
Member Author

Choose a reason for hiding this comment

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

๋„ค! ํ•˜๋‹จ ๋ฐฑ๋ฒ„ํŠผ ๋งž์•„์š”
๋กœ๋”ฉ์ค‘์— ๋ฐฑ๋ฒ„ํŠผ ๋ˆ„๋ฅด๋ฉด ์ด๋ฏธ์ง€ ์••์ถ• ๋ฐ ์„œ๋ฒ„ ํ†ต์‹  ์ทจ์†Œํ•˜๊ณ  ์ด์ „ ํ™”๋ฉด์œผ๋กœ ๋Œ์•„๊ฐ€์š”!

Copy link
Collaborator

Choose a reason for hiding this comment

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

์•„ํ•˜!! 2์ดˆ ์ข‹์•„์š”! ๋ฐฑ๋ฒ„ํŠผ ํ—ˆ์šฉํ•˜๋Š” ๊ฒƒ๋„ ์ข‹์•„์œ  ๐Ÿ‘

@chanubc chanubc requested a review from sohyun127 October 11, 2024 13:49
@chanubc chanubc changed the title [Feature/#93] compose snackbar [Feature/#93] compose loading snackbar Oct 11, 2024
Copy link
Collaborator

@sohyun127 sohyun127 left a comment

Choose a reason for hiding this comment

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

๊ณ ์ƒํ•˜์…จ์Šต๋‹ˆ๋‹ค~!

Comment on lines -79 to -81
).apply {
addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP or Intent.FLAG_ACTIVITY_NEW_TASK)
},
Copy link
Collaborator

Choose a reason for hiding this comment

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

์š”๊ฑด ์ด์ œ ์‚ญ์ œํ•ด๋„ ๋˜๋‚˜์š”?!

Copy link
Member Author

Choose a reason for hiding this comment

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

๋„ค! makeRestartActivityTask()์ž์ฒด๊ฐ€ ๊ธฐ์กด ์•กํ‹ฐ๋น„ํ‹ฐ ์Šคํƒ์„ ๋ชจ๋‘ ๋น„์šฐ๊ณ  ์žฌ์‹œ์ž‘ ํ•˜๋Š”๊ฑฐ๋ผ ์ €๊ฑด ํ•„์š” ์—†๋Š” ๊ฑฐ ๊ฐ™์•„์š”!

์‹ค์ œ๋กœ ์ €๊ฑฐ ์ง€์šฐ๋‚˜ ์žˆ์œผ๋‚˜ ๋˜‘๊ฐ™๋”๋ผ๊ตฌ์š”ใ… 

Copy link
Collaborator

Choose a reason for hiding this comment

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

์•„ํ•˜ ๊ธ€์ฟค์š” ๊ตฟ ๐Ÿ‘

@chanubc chanubc merged commit dad6d76 into develop Oct 11, 2024
1 check passed
@chanubc chanubc deleted the feature/#93-compose-snackbar branch October 11, 2024 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
โ˜• [COMPOSE] ์ปดํฌ์ฆˆ ui ๐Ÿป ์ฐฌ์šฐ ์ฐจ์€์šฐ
Projects
None yet
2 participants