Skip to content

Feature#137 : 마이페이지 디테일 수정 및 이전 활동내역 작업 완료#141

Merged
TaeseongYun merged 20 commits intorelease/v1.1.0from
feature/#137-mypage-detail
Apr 30, 2025
Merged

Feature#137 : 마이페이지 디테일 수정 및 이전 활동내역 작업 완료#141
TaeseongYun merged 20 commits intorelease/v1.1.0from
feature/#137-mypage-detail

Conversation

@TaeseongYun
Copy link
Contributor

💡 Issue

🌱 Key changes

✅ To Reviewers

📸 스크린샷

스크린샷
파일첨부바람

브랜치 명 변경으로 인해 PR 이 닫혀서 다시 열었습니다.

@TaeseongYun TaeseongYun added the Feature 기능 추가, 개발 label Apr 27, 2025
@TaeseongYun TaeseongYun self-assigned this Apr 27, 2025
@coderabbitai
Copy link

coderabbitai bot commented Apr 27, 2025

Important

Review skipped

Auto reviews are limited to specific labels.

🏷️ Labels to auto review (1)
  • CodeRabbit

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

‼️ IMPORTANT
Auto-reply has been disabled for this repository in the CodeRabbit settings. The CodeRabbit bot will not respond to your replies unless it is explicitly tagged.

  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@TaeseongYun TaeseongYun removed the request for review from ashwon12 April 27, 2025 05:53
@TaeseongYun
Copy link
Contributor Author

브랜치명 변경으로 PR 을 다시 올렸습니다.

#138

Copy link
Member

@jinukeu jinukeu left a comment

Choose a reason for hiding this comment

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

image

A: 커밋 메세지에 feat#137이 아니라 feat/#137으로 적게 되면 첨부한 사진처럼 손쉽게 이슈를 확인할 수 있어요 (마우스 Hover하면 이슈가 나타남)

다음 커밋 메세지부터는 / 를 넣어주시면 감사하겠습니다 ... !

Comment on lines +7 to +22
internal class PreviousHistoryUseCase @Inject constructor(
private val userRepository: UserRepository
){
operator fun invoke() = userRepository.getUserActivityHistories().map { result ->
PreviousHistoryState(
items = result.activityUnits.map { unit ->
PreviousHistoryState.History(
generation = unit.generation,
position = unit.position,
activityStartDate = unit.activityStartDate,
activityEndDate = unit.activityEndDate
)
}
)
}
}
Copy link
Member

Choose a reason for hiding this comment

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

C: viewModel 단에서 바로 userRepository를 주입받고, 그리고 UserActivityHistories -> PreviousHistoryState로 변환하는건 UserActivityHistories 확장함수로 (toState)로 처리하는건 어떨까요?

일반적인 경우에서 UseCase는 도메인 레이어에 위치하다보니 헷갈려하시는 분들이 생길 것 같습니다.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

원래 전달해주신대로 처리를 하려고 했으나 매핑 처리하는건
뷰모델에서 담당하는건 불필요하다 판단해서 유즈케이스로 분리를 했었거든요

마지막 줄 코멘트 때문이라면 그냥 뷰모델에서 처리해야겠네요

Copy link
Contributor Author

Choose a reason for hiding this comment

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

a644235

변경처리했습니다

@TaeseongYun TaeseongYun force-pushed the feature/#137-mypage-detail branch from ba40e07 to cb8e5bf Compare April 27, 2025 11:10
Copy link
Member

@DongChyeon DongChyeon left a comment

Choose a reason for hiding this comment

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

고생하셨습니다! 코멘트 단거 몇개만 확인해주세요

Copy link
Member

Choose a reason for hiding this comment

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

R:

Card(
    modifier = modifier.fillMaxWidth(),
    shape = RoundedCornerShape(8.dp),
    colors = CardDefaults.cardColors(containerColor = YappTheme.colorScheme.staticWhite),
    border = BorderStroke(
        color = YappTheme.colorScheme.lineSolidAlternative,
        width = 1.dp
    )
) {
    Column {
        Row(
            modifier = Modifier
                .fillMaxWidth()
                .background(YappTheme.colorScheme.backgroundElevatedAlternative)
                .padding(horizontal = 16.dp, vertical = 10.dp),
            horizontalArrangement = Arrangement.SpaceEvenly,
            verticalAlignment = Alignment.CenterVertically
        ) {

피그마 디자인과 같이 배경색상 변경 및 테두리 처리해주시면 감사하겠습니다.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

스크린샷 2025-04-28 오후 10 52 28

백그라운드와 점수 텍스트 뒷배경 지정되어있지 않아 처리했습니다.

5fa2468 -> 백그라운드, 보더 색상 처리

8234428 -> 점수 뒷 절반 배경 처리

Copy link
Member

@DongChyeon DongChyeon Apr 27, 2025

Choose a reason for hiding this comment

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

R:

internal class AttendHistoryUseCase @Inject constructor(
    private val attendanceRepository: AttendanceRepository,
    private val scheduleRepository: ScheduleRepository,
) {

sessionRepository -> scheduleRepository 네이밍 변경이 반영되지 않아서 컴파일 오류가 발생하는 것 같습니다

Copy link
Member

@DongChyeon DongChyeon Apr 27, 2025

Choose a reason for hiding this comment

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

R:
파일 이름 오타 HistoryNavigatoion -> HistoryNavigation 수정해주시면 감사하겠습니다.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

1e0b260

꼼꼼한 확인 항상 감사합니다 🙇‍♂️

Copy link
Member

@DongChyeon DongChyeon left a comment

Choose a reason for hiding this comment

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

수정하시느라 고생하셨습니다!
마지막으로 하나만 수정해주시고 병합해주시면 됩니다!

.padding(horizontal = 20.dp)
.height(56.dp),
onClickSettings = onClickSettings
onClickSettings = { onIntent(ProfileIntent.ClickLogout) }
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
onClickSettings = { onIntent(ProfileIntent.ClickLogout) }
onClickSettings = { onIntent(ProfileIntent.ClickSettings) }

R: ClickSettings 호출하도록 수정해주세요

Copy link
Contributor Author

Choose a reason for hiding this comment

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

c3a484d

확인을 제대로 안했네요 ;; 수정처리했습니다

@TaeseongYun TaeseongYun merged commit 77b9801 into release/v1.1.0 Apr 30, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature 기능 추가, 개발

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants