-
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
[UI] #79 세부 UI 수정 #81
Conversation
- 이를 통해 링크를 추가한 경우, 기존 포킷 상세 화면에 표시되는 링크 리스트를 새로고침하는 로직 추가 구현
- 링크 관련 bottomSheet는 해당 UI 디자인 변경으로 인해 아직 미적용한 상태
…출시 링크 제거 bottomSheet가 바로 숨겨지는 문제 수정
# Conflicts: # feature/home/src/main/java/pokitmons/pokit/home/pokit/PokitScreen.kt # feature/home/src/main/res/values/strings.xml # feature/pokitdetail/src/main/java/com/strayalpaca/pokitdetail/PokitDetailScreen.kt
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.
수고했으~~~ 간단하게 코멘트 남겼습니답
core/ui/src/main/java/pokitmons/pokit/core/ui/components/block/toolbar/Toolbar.kt
Show resolved
Hide resolved
internal fun Modifier.shimmerEffect(): Modifier = composed { | ||
var size by remember { | ||
mutableStateOf(IntSize.Zero) | ||
} | ||
val transition = rememberInfiniteTransition(label = "infiniteTransition") | ||
val startOffsetX by transition.animateFloat( | ||
initialValue = -2 * size.width.toFloat(), | ||
targetValue = 2 * size.width.toFloat(), | ||
animationSpec = infiniteRepeatable(animation = tween(1000)), | ||
label = "infiniteTransitionStartOffsetX" | ||
) | ||
|
||
background( | ||
brush = Brush.linearGradient( | ||
colors = listOf( | ||
Gray300, | ||
Gray500, | ||
Gray300 | ||
), | ||
start = Offset(startOffsetX, 0f), | ||
end = Offset(startOffsetX + size.width.toFloat(), size.height.toFloat()) | ||
) | ||
).onGloballyPositioned { | ||
size = it.size | ||
} | ||
} |
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.
요거 쉬머 애니메이션 값은 피그마에 정의되어 있었남?
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.
피그마�에는 단색으로만 표시되어 있어서 일단 임의로 만들었어!
@@ -18,14 +18,23 @@ class RemindRepositoryImpl @Inject constructor(private val remindDataSource: Rem | |||
sort: PokitsSort, | |||
): PokitResult<List<RemindResult>> { | |||
return runCatching { | |||
val response = remindDataSource.getUnreadContents(RemindRequest()) | |||
val response = remindDataSource.getUnreadContents(RemindRequest(size = size, page = page, sort = sort)) |
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.
2줄 초과부터 들여쓰기하면 가독성 더 좋을듯~~!
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.
수정완!
val intent = Intent(Intent.ACTION_SEND_MULTIPLE).apply { | ||
type = "text/plain" | ||
putExtra(Intent.EXTRA_TEXT, link.url) | ||
} | ||
context.startActivity(Intent.createChooser(intent, "Pokit")) |
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.
이 부분은 #39 에서 함수로 만들어 놨으니 참고하셔유
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.
수정완!
Key Changes
Resolves: #79 (merge from #39)
PR 유형
어떤 변경 사항이 있나요?
To Reviewers
PR Checklist
PR이 다음 요구 사항을 충족하는지 확인하세요.
Etc.