Skip to content

fix: 운동시간 더미 값 & 알약 더미 아이템 개수 수정#66

Merged
oxomi merged 3 commits intomainfrom
fe/feature/pain
Jul 22, 2025
Merged

fix: 운동시간 더미 값 & 알약 더미 아이템 개수 수정#66
oxomi merged 3 commits intomainfrom
fe/feature/pain

Conversation

@oxomi
Copy link
Collaborator

@oxomi oxomi commented Jul 22, 2025

Summary by CodeRabbit

  • 신규 기능

    • 신체 상태 입력 화면에서 앞/뒤 신체 이미지를 전환할 수 있는 토글 버튼이 추가되었습니다.
  • 버그 수정

    • 운동 기록 상세 화면에서 날짜 및 운동 시간이 더 이상 표시되지 않습니다.
    • 운동 기록 화면에서 날짜별 운동 시간이 1시간 30분으로 변경되었습니다.
    • 복약 내역 화면에서 리스트 항목이 10개에서 3개로 축소되었으며, "약 추가" 버튼이 마지막 항목으로 이동하였습니다.
  • 기타

    • 새로운 신체 이미지 관련 에셋이 추가되었습니다.
    • 일부 UI 마진 및 아이콘이 조정되었습니다.

@coderabbitai
Copy link

coderabbitai bot commented Jul 22, 2025

Caution

Review failed

The pull request is closed.

Walkthrough

이 변경사항은 건강 관련 Flutter 프론트엔드 화면의 UI 및 동작을 조정합니다. 운동 기록 상세 화면에서 날짜 및 시간 텍스트를 제거하고, 운동 시간 반환값을 수정했으며, 건강 상태 입력 화면에 전신 이미지 앞/뒤 전환 기능을 추가하고, 약 복용 내역 리스트의 아이템 수를 줄였습니다. 또한 새로운 이미지 에셋 4개를 프로젝트에 포함시켰습니다.

Changes

파일/경로 변경 요약
frontend/ongi/lib/screens/health/exercise_record_detail_screen.dart 날짜 및 운동 시간 텍스트 위젯 제거
frontend/ongi/lib/screens/health/exercise_record_screen.dart getExerciseTime 반환값 1시간 50분 → 1시간 30분으로 수정
frontend/ongi/lib/screens/health/health_status_input_screen.dart 전신 이미지 앞/뒤 전환 기능 및 토글 버튼 추가, 마진/아이콘/레이아웃 조정, isFront 상태 변수 도입
frontend/ongi/lib/screens/health/pill_history_screen.dart ListView 아이템 수 10→3으로 축소, "추가" 버튼 위치 인덱스 9→2로 변경
frontend/ongi/pubspec.yaml body_front.png, body_front_btn.png, body_back.png, body_back_btn.png 에셋 추가

Sequence Diagram(s)

sequenceDiagram
    participant User
    participant HealthStatusInputScreen
    participant State

    User->>HealthStatusInputScreen: 화면 진입
    HealthStatusInputScreen->>State: isFront 초기값(true)
    User->>HealthStatusInputScreen: 전신 이미지 토글 버튼 클릭
    HealthStatusInputScreen->>State: isFront 값 반전
    State-->>HealthStatusInputScreen: 새로운 isFront 값 전달
    HealthStatusInputScreen->>HealthStatusInputScreen: 전신 이미지 앞/뒤 갱신
Loading

Estimated code review effort

2 (~15분)

Possibly related PRs

Poem

🐰
앞뒤로 몸을 돌려봐,
새로운 이미지가 짠!
운동 시간 살짝 줄이고,
약 리스트도 단출하게.
토글 버튼 깡총깡총,
오늘도 UI는 산뜻하게!


📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between c3ed029 and eb3ea0a.

⛔ Files ignored due to path filters (1)
  • frontend/ongi/assets/images/body_front.png is excluded by !**/*.png
📒 Files selected for processing (5)
  • frontend/ongi/lib/screens/health/exercise_record_detail_screen.dart (0 hunks)
  • frontend/ongi/lib/screens/health/exercise_record_screen.dart (1 hunks)
  • frontend/ongi/lib/screens/health/health_status_input_screen.dart (3 hunks)
  • frontend/ongi/lib/screens/health/pill_history_screen.dart (1 hunks)
  • frontend/ongi/pubspec.yaml (1 hunks)

🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • 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 explain this code block.
    • @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 explain its main purpose.
    • @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.

@oxomi oxomi merged commit 8dce18d into main Jul 22, 2025
3 of 4 checks passed
@oxomi oxomi deleted the fe/feature/pain branch July 23, 2025 06:34
Neibce pushed a commit to 2025-PNU-SW-Hackathon/PNUSW-2025-OnGi-10 that referenced this pull request Aug 25, 2025
* feat: 통증 부위 선택 화면 구현 완료

* fix: 운동 시간 더미값 수정

* fix: 알약 더미 아이템 개수 수정
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.

1 participant