Skip to content

Conversation

@HD152521
Copy link
Owner

문제

SignUp페이지에서 로딩된 후에 새로운 유학원 클릭하는 버튼에 onClick메서드가 적용안됨

##해결
로드 시점을 변경

@HD152521 HD152521 merged commit fa5e7f6 into main Dec 10, 2025
@gemini-code-assist
Copy link

Summary of Changes

Hello @HD152521, 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은 회원가입 페이지에서 페이지 로딩 후 새로운 유학원 클릭 버튼의 "onClick" 메서드가 작동하지 않던 버그를 수정합니다. 이는 스크립트의 로딩 시점을 "DOMContentLoaded"에서 "turbo:load" 이벤트로 변경하여 해결되었습니다. 또한, 운영 환경 설정 파일과 로그인 페이지에서 불필요한 주석 처리된 코드를 정리하여 코드베이스를 개선했습니다.

Highlights

  • 회원가입 페이지 버그 수정: 회원가입 페이지에서 특정 버튼의 "onClick" 이벤트가 로딩 후 작동하지 않던 문제를 해결했습니다.
  • 스크립트 로딩 시점 변경: 회원가입 페이지의 스크립트 이벤트 리스너를 "DOMContentLoaded"에서 "turbo:load"로 변경하여, 페이지 로딩 및 Turbo 처리 후에도 이벤트가 올바르게 바인딩되도록 했습니다.
  • 불필요한 코드 정리: "application-prod.yml" 파일에서 주석 처리된 Hibernate 설정과 "login.html" 파일에서 사용되지 않는 주석 처리된 JavaScript 코드를 제거했습니다.
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은 회원가입 페이지에서 '새 유학원 등록' 버튼의 onClick 이벤트가 적용되지 않는 버그를 수정합니다. DOMContentLoaded 이벤트를 turbo:load로 변경하여 Turbo Drive 환경에서 스크립트가 올바르게 실행되도록 한 점이 좋습니다. 또한, 사용하지 않는 주석 처리된 코드를 제거하여 코드를 깔끔하게 정리했습니다.

다만, signup.html 파일에서 약간의 서식 문제가 발견되어 수정 제안을 남깁니다. 아래 리뷰 댓글을 확인해주세요.

// 필요하면 여기서 토스트/알림 띄워도 됨
}
})().then();
})().then();

Choose a reason for hiding this comment

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

medium

이 줄의 들여쓰기가 잘못되었습니다. 코드의 일관성을 위해 수정하는 것이 좋습니다.

Suggested change
})().then();
})().then();

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.

2 participants