Skip to content

feat: 운동 기록 화면 틀 완성#50

Merged
Neibce merged 1 commit intomainfrom
fe/feat/health-record-screen
Jul 19, 2025
Merged

feat: 운동 기록 화면 틀 완성#50
Neibce merged 1 commit intomainfrom
fe/feat/health-record-screen

Conversation

@Neibce
Copy link
Owner

@Neibce Neibce commented Jul 19, 2025

Summary by CodeRabbit

  • 신규 기능

    • 운동 기록 화면이 새롭게 추가되었습니다. 상단에 동그란 오렌지색 헤더와 동기 부여 메시지, 로고 이미지가 표시됩니다.
    • 운동 기록 화면이 건강 홈 화면에서 바로 확인할 수 있도록 적용되었습니다.
  • 기타

    • 운동 기록 화면에서 사용되는 새로운 이미지가 앱에 추가되었습니다.

@coderabbitai
Copy link

coderabbitai bot commented Jul 19, 2025

Warning

Rate limit exceeded

@Neibce has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 8 minutes and 36 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

📥 Commits

Reviewing files that changed from the base of the PR and between 9eea3c5 and 3b81107.

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

Walkthrough

운동 기록 화면(ExerciseRecordScreen)이 새로 추가되어, 기존의 운동 기록 뷰 자리에서 직접 사용하도록 교체되었습니다. 이를 위해 새로운 이미지 에셋이 등록되었으며, UI는 원형 헤더와 동기부여 메시지, 로고 이미지, 플레이스홀더 본문으로 구성됩니다.

Changes

파일/경로 변경 요약
frontend/ongi/lib/screens/health/exercise_record_screen.dart ExerciseRecordScreen 위젯 및 상태 클래스 신규 추가
frontend/ongi/lib/screens/health/health_home_screen.dart 운동 기록 뷰에 기존 플레이스홀더 대신 ExerciseRecordScreen 사용
frontend/ongi/pubspec.yaml 운동 기록 타이틀 로고 이미지 에셋 등록

Sequence Diagram(s)

sequenceDiagram
    participant User
    participant HealthHomeScreen
    participant ExerciseRecordScreen

    User->>HealthHomeScreen: 운동 기록 탭/뷰 진입
    HealthHomeScreen->>ExerciseRecordScreen: 위젯 생성 및 표시
    ExerciseRecordScreen->>ExerciseRecordScreen: 원형 헤더, 메시지, 로고 렌더링
    ExerciseRecordScreen-->>User: 동기부여 메시지와 UI 표시
Loading

Possibly related PRs

Poem

운동 기록 화면이 뿅!
동그란 헤더, 오렌지 빛 속
토끼도 운동, 오늘은 꼭!
로고와 메시지로 힘을 주네
새로운 화면에서 hop, hop, hop! 🥕🏃‍♂️


🪧 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.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🧹 Nitpick comments (2)
frontend/ongi/lib/screens/health/exercise_record_screen.dart (2)

18-18: 매직 넘버를 상수로 정의하는 것을 고려해보세요.

UI 레이아웃에 사용된 여러 숫자 값들(1.56, 0.76, 0.3 등)을 의미있는 상수로 정의하면 코드의 가독성과 유지보수성이 향상될 것입니다.

예시:

static const double _circleWidthRatio = 1.56;
static const double _circleOffsetRatio = 0.76;
static const double _logoWidthRatio = 0.3;

Also applies to: 29-29, 42-42, 71-71, 84-84


88-88: 플레이스홀더 텍스트를 개선해주세요.

현재 플레이스홀더 텍스트가 개발용 메시지로 되어 있습니다. 사용자에게 보여질 적절한 텍스트로 교체하거나, 실제 운동 기록 컨텐츠 구현이 필요합니다.

-              child: Text("여기부터 본문을 생성 ㅇ.ㅇ"),
+              child: Text(
+                "운동 기록 내용이 여기에 표시됩니다.",
+                style: TextStyle(
+                  fontSize: 16,
+                  color: Colors.grey[600],
+                ),
+              ),
📜 Review details

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

📥 Commits

Reviewing files that changed from the base of the PR and between 725628e and 9eea3c5.

⛔ Files ignored due to path filters (1)
  • frontend/ongi/assets/images/exercise_record_title_logo.png is excluded by !**/*.png
📒 Files selected for processing (3)
  • frontend/ongi/lib/screens/health/exercise_record_screen.dart (1 hunks)
  • frontend/ongi/lib/screens/health/health_home_screen.dart (2 hunks)
  • frontend/ongi/pubspec.yaml (1 hunks)
🔇 Additional comments (4)
frontend/ongi/pubspec.yaml (1)

49-49: 에셋 등록이 올바르게 완료되었습니다.

새로운 운동 기록 화면용 로고 이미지가 적절히 등록되었으며, 기존 프로젝트의 네이밍 컨벤션을 잘 따르고 있습니다.

frontend/ongi/lib/screens/health/health_home_screen.dart (2)

3-3: import 문이 적절히 추가되었습니다.

새로운 ExerciseRecordScreen import가 올바르게 추가되었습니다.


104-104: 화면 통합이 깔끔하게 구현되었습니다.

기존 플레이스홀더를 ExerciseRecordScreen으로 교체하여 다른 건강 화면들과 일관된 패턴을 유지하고 있습니다.

frontend/ongi/lib/screens/health/exercise_record_screen.dart (1)

47-63: 동기부여 메시지가 효과적으로 구현되었습니다.

사용자에게 운동 목표 달성을 격려하는 메시지가 적절한 타이포그래피와 함께 잘 구현되어 있습니다.

final circleSize = screenWidth * 1.56;

return Scaffold(
backgroundColor: AppColors.ongiLigntgrey,
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue

배경색 속성명의 오타를 수정해주세요.

ongiLigntgrey에 오타가 있습니다. 올바른 속성명으로 수정이 필요합니다.

-      backgroundColor: AppColors.ongiLigntgrey,
+      backgroundColor: AppColors.ongiLightgrey,
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
backgroundColor: AppColors.ongiLigntgrey,
backgroundColor: AppColors.ongiLightgrey,
🤖 Prompt for AI Agents
In frontend/ongi/lib/screens/health/exercise_record_screen.dart at line 21,
there is a typo in the backgroundColor property name 'ongiLigntgrey'. Correct
the spelling to the intended property name, likely 'ongiLightgrey', to fix the
typo.

@Neibce Neibce force-pushed the fe/feat/health-record-screen branch from 9eea3c5 to 3b81107 Compare July 19, 2025 17:54
@Neibce Neibce merged commit fdcfcec into main Jul 19, 2025
4 checks passed
@Neibce Neibce deleted the fe/feat/health-record-screen branch July 19, 2025 17:55
Neibce added a commit to 2025-PNU-SW-Hackathon/PNUSW-2025-OnGi-10 that referenced this pull request Aug 25, 2025
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