Skip to content

feat: 마음 기록 상세 화면에 뒤로가기 버튼 추가#63

Merged
surfwithus merged 3 commits intomainfrom
feat/photo
Jul 22, 2025
Merged

feat: 마음 기록 상세 화면에 뒤로가기 버튼 추가#63
surfwithus merged 3 commits intomainfrom
feat/photo

Conversation

@surfwithus
Copy link
Collaborator

@surfwithus surfwithus commented Jul 22, 2025

Summary by CodeRabbit

  • 스타일
    • 일부 화면에서 위젯 간 여백 및 높이 조정으로 레이아웃이 소폭 변경되었습니다.
    • 달력에서 날짜 선택 시 뷰가 자동으로 사진 날짜 화면으로 전환됩니다.
    • 뒤로가기 아이콘 색상이 오렌지색으로 변경되었습니다.
    • 여러 UI 요소의 정렬 및 코드 가독성이 개선되었습니다.

@coderabbitai
Copy link

coderabbitai bot commented Jul 22, 2025

Walkthrough

이 변경 사항들은 HealthHomeScreen, PhotoCalendarScreen, PhotoDateScreen의 UI 레이아웃 및 포맷을 소폭 조정합니다. 주요 로직, 상태 관리, 위젯 동작에는 영향이 없으며, 일부 위젯의 위치, 색상, 간격 등이 미세하게 수정되었습니다. 기능적 흐름은 PhotoCalendarScreen에서 날짜 선택 시 뷰 전환이 추가되었습니다.

Changes

파일 그룹 변경 요약
frontend/ongi/lib/screens/health/health_home_screen.dart Stack, AppLightBackground 등의 위젯 포맷 단순화, SizedBox 높이(150→130), Positioned left 값(165→160) 조정 등 미세 레이아웃 변경
frontend/ongi/lib/screens/photo/photo_calendar_screen.dart SizedBox 높이(150→130) 조정, 달력 날짜 선택 시 _currentView를 'photoDate'로 설정하여 뷰 전환 추가, 뒤로가기 아이콘 색상 오렌지로 변경
frontend/ongi/lib/screens/photo/photo_date_screen.dart SizedBox 및 간격(125→130, 32→45) 조정, 위젯 트리 및 스타일 포맷 개선, 기능 변화 없음

Sequence Diagram(s)

sequenceDiagram
    participant User
    participant PhotoCalendarScreen
    participant PhotoDateScreen

    User->>PhotoCalendarScreen: 날짜 선택
    PhotoCalendarScreen->>PhotoCalendarScreen: if(선택한 날짜가 이번 달)
    PhotoCalendarScreen->>PhotoCalendarScreen: setState(_currentView = 'photoDate')
    PhotoCalendarScreen->>PhotoDateScreen: 뷰 전환
Loading

Estimated code review effort

1 (~5분)

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 ad13283 and 35fe116.

📒 Files selected for processing (3)
  • frontend/ongi/lib/screens/health/health_home_screen.dart (4 hunks)
  • frontend/ongi/lib/screens/photo/photo_calendar_screen.dart (3 hunks)
  • frontend/ongi/lib/screens/photo/photo_date_screen.dart (9 hunks)
🔇 Additional comments (22)
frontend/ongi/lib/screens/health/health_home_screen.dart (8)

73-73: 코드 포맷팅 개선

아이콘 위젯의 포맷팅이 간결하게 정리되었습니다.


81-81: 스택 위젯 포맷팅 개선

children 배열을 단일 라인으로 정리하여 가독성이 향상되었습니다.


86-86: 스택 위젯 포맷팅 개선

일관된 포맷팅으로 코드 가독성이 향상되었습니다.


90-90: 스택 위젯 포맷팅 개선

다른 스택 위젯들과 일관된 포맷팅이 적용되었습니다.


95-95: 스택 위젯 포맷팅 개선

children 배열의 포맷팅이 일관성 있게 정리되었습니다.


105-105: UI 간격 조정

SizedBox의 높이가 150에서 130으로 20픽셀 줄어들었습니다. 이는 다른 화면들과의 일관성을 위한 조정으로 보입니다.


191-191: 이미지 위치 미세 조정

left 위치가 165에서 160으로 5픽셀 왼쪽으로 조정되어 레이아웃이 개선되었습니다.


427-427: 위젯 포맷팅 간소화

AppLightBackground 위젯이 단일 라인으로 정리되어 코드가 더욱 간결해졌습니다.

frontend/ongi/lib/screens/photo/photo_calendar_screen.dart (3)

143-143: UI 일관성을 위한 간격 조정

다른 화면들과 일관된 높이 값(130px)으로 조정되었습니다.


212-212: 핵심 기능 구현 완료

날짜 선택 시 PhotoDateScreen으로 이동하는 로직이 구현되어 PR 목표인 "마음 기록 상세 화면"으로의 네비게이션이 완료되었습니다.


266-266: UI 일관성 개선

뒤로가기 버튼 아이콘 색상이 앱의 테마 색상인 오렌지로 변경되어 일관된 디자인이 적용되었습니다.

frontend/ongi/lib/screens/photo/photo_date_screen.dart (11)

52-52: 일관된 상단 간격 적용

다른 화면들과 일관된 상단 간격(130px)이 적용되어 UI 일관성이 향상되었습니다.


78-78: 컨텐츠 간 간격 개선

타이틀과 사진 카드 사이의 간격이 32px에서 45px로 증가하여 더 나은 시각적 균형을 제공합니다.


86-91: 코드 가독성 향상

PageController 초기화와 onPageChanged 콜백이 멀티라인으로 포맷팅되어 가독성이 개선되었습니다.


116-119: 코드 구조 개선

ImageFilter.blur 파라미터들이 명확하게 분리되어 코드 가독성이 향상되었습니다.


139-142: Border 스타일 포맷팅 개선

Border.all 파라미터들이 멀티라인으로 정리되어 가독성이 향상되었습니다.


160-165: 패딩 값 가독성 개선

EdgeInsets.fromLTRB의 각 값들이 개별 라인으로 분리되어 값 확인이 용이해졌습니다.


181-182: 위젯 속성 포맷팅 개선

crossAxisAlignment 속성이 멀티라인으로 포맷팅되어 가독성이 향상되었습니다.


190-192: AssetImage 포맷팅 개선

AssetImage 생성자가 멀티라인으로 포맷팅되어 코드 구조가 더욱 명확해졌습니다.


219-252: 위치 버튼 포맷팅 전면 개선

위치 버튼의 모든 속성들이 멀티라인으로 세심하게 포맷팅되어 코드 가독성과 유지보수성이 크게 향상되었습니다.


284-284: 리스트 생성 구문 포맷팅

for 루프의 spread operator 사용 부분이 적절히 포맷팅되었습니다.


302-302: 버튼 스타일 포맷팅 간소화

RoundedRectangleBorder가 단일 라인으로 정리되어 코드가 더욱 간결해졌습니다.


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

@surfwithus surfwithus merged commit 145c173 into main Jul 22, 2025
3 checks passed
@surfwithus surfwithus deleted the feat/photo branch July 22, 2025 20:40
Neibce pushed a commit to 2025-PNU-SW-Hackathon/PNUSW-2025-OnGi-10 that referenced this pull request Aug 25, 2025
* feat: 마음 기록 상세 화면에 뒤로가기 버튼 추가
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