Skip to content

커스텀 시간표 수정 시, 커스텀 시간표 표시 활성화#215

Merged
baekteun merged 1 commit intomasterfrom
feature/on-visible-modify-timetable-when-save
Mar 29, 2026
Merged

커스텀 시간표 수정 시, 커스텀 시간표 표시 활성화#215
baekteun merged 1 commit intomasterfrom
feature/on-visible-modify-timetable-when-save

Conversation

@baekteun
Copy link
Copy Markdown
Member

💡 개요

커스텀 시간표 수정 시, 커스텀 시간표 표시 활성화

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Mar 15, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

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.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 73346ea3-9815-4228-a395-5dd1ab0758de

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

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feature/on-visible-modify-timetable-when-save
📝 Coding Plan
  • Generate coding plan for human review comments

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

Comment @coderabbitai help to get the list of available commands and usage tips.

@gemini-code-assist
Copy link
Copy Markdown
Contributor

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

이 Pull Request는 사용자가 커스텀 시간표를 수정하고 저장할 때, 해당 커스텀 시간표가 자동으로 활성화되도록 하는 기능을 구현합니다. 이는 사용자 경험을 개선하고, 수정된 시간표가 즉시 반영되도록 보장합니다.

Highlights

  • UserDefaults 의존성 추가: 커스텀 시간표 수정 로직에 userDefaultsClient 의존성을 추가하여 사용자 설정을 관리할 수 있도록 했습니다.
  • 커스텀 시간표 활성화 설정: 커스텀 시간표가 성공적으로 저장된 후, UserDefaultsisOnModifiedTimeTable 값을 true로 설정하여 커스텀 시간표 표시를 활성화하도록 변경했습니다.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Changelog
  • Projects/Feature/ModifyTimeTableFeature/Sources/ModifyTimeTableCore.swift
    • userDefaultsClient 의존성을 추가했습니다.
    • 커스텀 시간표 저장 성공 시 userDefaultsClient.setValue(.isOnModifiedTimeTable, true)를 호출하여 커스텀 시간표 표시를 활성화하도록 했습니다.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@github-actions
Copy link
Copy Markdown
Contributor

🛠️ 이슈와 PR의 Labels 동기화를 스킵했어요.

@github-actions
Copy link
Copy Markdown
Contributor

✅ PR의 Assign 자동 지정을 성공했어요!

@baekteun

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

안녕하세요. 커스텀 시간표 수정 시, 커스텀 시간표 표시를 자동으로 활성화하는 기능 추가 잘 보았습니다. 사용자가 시간표를 수정한 후 별도의 설정 없이 바로 적용된 시간표를 볼 수 있게 되어 편의성이 증대될 것으로 보입니다. 다만, 이 기능이 항상 활성화되는 현재 로직은 일부 사용 시나리오에서 의도치 않은 동작으로 이어질 수 있어, 이에 대한 개선 의견을 댓글로 남겼습니다. 전반적인 코드 변경은 명확하고 올바릅니다.

try? localDatabaseClient.save(records: modifiedTimeTables)
WidgetCenter.shared.reloadTimelines(ofKind: "TodayWhatTimeTableWidget")
state.isShowingSuccessToast = true
userDefaultsClient.setValue(.isOnModifiedTimeTable, true)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

현재 구현은 커스텀 시간표를 저장할 때마다 isOnModifiedTimeTable 설정을 true로 변경합니다. 이로 인해 사용자가 의도적으로 이 기능을 비활성화했더라도, 시간표를 수정할 때마다 다시 활성화되어 사용자 경험을 해칠 수 있습니다. 예를 들어, 방학 중에 시간표 표시를 꺼놨는데, 개학을 대비해 시간표를 미리 수정하는 경우 원치 않게 시간표가 표시될 수 있습니다.

이 설정을 자동으로 활성화하는 것은 사용자가 처음으로 커스텀 시간표를 설정할 때 한 번만 수행하는 것이 더 나은 사용자 경험을 제공할 수 있습니다. 예를 들어, 데이터베이스에 저장된 커스텀 시간표가 없을 때만 이 값을 true로 설정하는 방법을 고려해볼 수 있습니다.

Base automatically changed from feature/accessibility-enchancement to master March 29, 2026 13:09
@baekteun baekteun merged commit b8b1a57 into master Mar 29, 2026
3 checks passed
@baekteun baekteun deleted the feature/on-visible-modify-timetable-when-save branch March 29, 2026 13:09
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