Skip to content

Conversation

@dev-domo
Copy link
Collaborator

✅ PR 타입

  • feat: 새로운 기능 추가

🪾 반영 브랜치

refactor/#91-duplicateScenario -> dev

✨ 변경 사항

  • 시나리오 추가 : 기존 시나리오 이름 중복 시 토스트메시지 표출
  • 시나리오 수정 : 자신의 시나리오 이름을 제외하고 기존 시나리오 이름 중복 시 토스트메시지 표출

📂 관련 이슈

#91

시나리오 이름 중복 시 토스트메시지 표출
@dev-domo dev-domo self-assigned this Dec 29, 2025
@dev-domo dev-domo added the enhancement New feature or request label Dec 29, 2025
@gemini-code-assist
Copy link

Summary of Changes

Hello @dev-domo, 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!

이 PR은 시나리오 이름 중복을 방지하는 기능을 구현하여 데이터 무결성을 강화하고 사용자 경험을 개선합니다. 시나리오 추가 및 수정 과정에서 이름 중복이 발생할 경우, 사용자에게 명확한 토스트 메시지를 제공하여 혼란을 줄이고 올바른 입력을 유도합니다. 이를 위해 관련 뷰 컨트롤러와 뷰 모델에 필요한 로직과 데이터 전달 체계를 추가했습니다.

Highlights

  • 시나리오 이름 중복 방지: 새로운 시나리오를 추가하거나 기존 시나리오를 수정할 때, 이미 존재하는 시나리오 이름과 중복되는 경우 이를 방지하고 사용자에게 토스트 메시지를 표시합니다.
  • 토스트 메시지 추가: 시나리오 이름 중복 시 사용자에게 알릴 수 있도록 ToastMessageTypeduplicateScenario 케이스를 추가했습니다.
  • 시나리오 이름 목록 전달 로직: ManageScenarioViewControllerMyScenarioViewController에서 SettingScenarioViewController로 이동할 때, 현재 존재하는 모든 시나리오 이름 목록을 전달하도록 로직을 추가했습니다.
  • 시나리오 설정 화면 로직 개선: SettingScenarioViewController에서 시나리오 추가 및 수정 시 전달받은 시나리오 이름 목록을 활용하여 중복 검사를 수행하고, 수정 시에는 현재 시나리오 이름을 제외한 다른 이름들과의 중복 여부를 확인합니다.

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

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.

Copy link

@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

시나리오 추가 및 수정 시 이름이 중복되는 것을 방지하는 기능이 추가되었네요. 전반적으로 PR의 목적에 맞게 잘 구현되었습니다. SettingScenarioViewController에서 중복 검사 로직을 담당하는 함수의 이름이 기능과 다소 맞지 않아 혼동을 줄 수 있는 부분이 있어 수정을 제안했습니다. 해당 부분을 개선하면 코드의 가독성과 유지보수성이 더 향상될 것 같습니다. 자세한 내용은 아래 리뷰 코멘트를 확인해주세요.

dev-domo and others added 2 commits December 29, 2025 11:44
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

@dev-domo dev-domo merged commit ce29a05 into dev Dec 29, 2025
5 of 6 checks passed
@dev-domo dev-domo deleted the refactor/#91-duplicateScenario branch December 29, 2025 06:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants