Skip to content

feat: 온도 그래프 구현 #52

Merged
taekoong merged 7 commits intomainfrom
fe/home-graph
Jul 21, 2025
Merged

feat: 온도 그래프 구현 #52
taekoong merged 7 commits intomainfrom
fe/home-graph

Conversation

@taekoong
Copy link
Collaborator

@taekoong taekoong commented Jul 21, 2025

잘못 넣어서 다시 ㅠㅠ

Summary by CodeRabbit

  • 신규 기능

    • 온도 변화를 시각화하는 그래프 및 히스토리 리스트를 제공하는 새로운 화면이 추가되었습니다.
    • 홈 화면에서 도넛 차트 영역을 탭하면 온도 그래프 화면으로 전환할 수 있습니다.
    • 사용자 정보가 없는 경우에 표시되는 새로운 온기 텍스트 위젯이 도입되었습니다.
  • 개선 및 변경

    • 홈 화면이 그래프와 홈 뷰 간의 전환을 지원하도록 구조가 개선되었습니다.
    • 도넛 차트 영역에 탭 이벤트가 추가되어 상호작용성이 향상되었습니다.
  • 라이브러리 추가

    • 그래프 기능 구현을 위해 flutter_chartsfl_chart 패키지가 추가되었습니다.
  • 기타

    • Firebase 초기화 및 메시징 권한 요청 코드가 비활성화되었습니다.

@coderabbitai
Copy link

coderabbitai bot commented Jul 21, 2025

Caution

Review failed

The pull request is closed.

Walkthrough

이번 변경에서는 홈 화면이 그래프와 히스토리 뷰로 전환될 수 있도록 리팩토링되었습니다. 온도 그래프와 히스토리 위젯이 새로 추가되었고, 도넛 차트 영역에 탭 콜백이 적용되었습니다. Firebase 초기화 및 메시징 권한 요청은 주석 처리되었습니다. 차트 라이브러리 의존성이 추가되었습니다.

Changes

파일/경로 변경 요약
frontend/ongi/lib/main.dart Firebase 초기화 및 메시징 권한 요청 코드 주석 처리
frontend/ongi/lib/screens/home/home_degree_graph.dart 온도 그래프 및 히스토리 리스트를 표시하는 HomeDegreeGraph 위젯 추가
frontend/ongi/lib/screens/home/home_donutCapsule.dart HomeCapsuleSectiononGraphTap 콜백 추가 및 도넛 차트 영역에 탭 제스처 적용
frontend/ongi/lib/screens/home/home_ourfamily_text_withoutUser.dart HomeOngiTextWithoutUser 텍스트 위젯 신규 추가
frontend/ongi/lib/screens/home/home_screen.dart 홈 화면을 상태 기반으로 리팩토링, 그래프 뷰 및 홈 뷰 전환 로직 추가
frontend/ongi/pubspec.yaml fl_chart, flutter_charts 차트 라이브러리 의존성 추가

Sequence Diagram(s)

sequenceDiagram
    participant User
    participant HomeScreen
    participant HomeCapsuleSection
    participant HomeDegreeGraph

    User->>HomeScreen: 앱 실행
    HomeScreen->>User: 홈 뷰 표시
    User->>HomeCapsuleSection: 도넛 차트 탭
    HomeCapsuleSection->>HomeScreen: onGraphTap 콜백 호출
    HomeScreen->>HomeDegreeGraph: 그래프 뷰로 전환
    User->>HomeDegreeGraph: 뒤로가기 버튼 탭
    HomeDegreeGraph->>HomeScreen: onBack 콜백 호출
    HomeScreen->>User: 홈 뷰로 복귀
Loading

Estimated code review effort

3 (30–60분)

Possibly related PRs

  • Neibce/OnGi#45: main.dart에서 Firebase 초기화 및 메시징 권한 요청을 추가하는 PR로, 본 PR과 동일 파일의 반대 작업을 수행합니다.
  • Neibce/OnGi#37: 홈과 유사하게 내부 상태로 여러 뷰를 전환하는 구조로 리팩토링한 PR입니다.
  • Neibce/OnGi#51: 본 PR과 동일하거나 직접적으로 연관된 변경(그래프, 콜백, 리팩토링, 의존성 추가 등)을 포함합니다.

Poem

🥕
온기 집에 봄이 왔네,
그래프와 히스토리, 차트도 반짝!
탭 한 번에 뷰가 바뀌고
토끼도 깡총, 코드를 탐험해요.
🐰

"변화의 바람, 당근처럼 달콤하게!"


📜 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 6f09da5 and 371a714.

📒 Files selected for processing (6)
  • frontend/ongi/lib/main.dart (1 hunks)
  • frontend/ongi/lib/screens/home/home_degree_graph.dart (1 hunks)
  • frontend/ongi/lib/screens/home/home_donutCapsule.dart (1 hunks)
  • frontend/ongi/lib/screens/home/home_ourfamily_text_withoutUser.dart (1 hunks)
  • frontend/ongi/lib/screens/home/home_screen.dart (3 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.

@taekoong taekoong merged commit c0c39e8 into main Jul 21, 2025
4 of 6 checks passed
Neibce pushed a commit to 2025-PNU-SW-Hackathon/PNUSW-2025-OnGi-10 that referenced this pull request Aug 25, 2025
* feat: 온도그래프 화면으로 전환

* feat: 온도그래프 화면으로 전환

* feat: 온도그래프 화면으로 전환

* feat: 온도그래프 화면으로 전환

* feat: 온도그래프 화면으로 전환

* feat: 온도그래프 화면 구현

* 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