Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Summary of ChangesHello @MlNTYS, 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은 데모데이 시연을 위한 특별한 페이지를 구현하여 사용자들이 로그인 여부와 관계없이 샘플 사진으로 AI 복원 기능을 쉽게 체험할 수 있도록 합니다. 이를 통해 제품의 핵심 기능을 효과적으로 선보이고, 사용자 경험을 개선하는 데 중점을 두었습니다. 페이지는 시각적으로 매력적인 애니메이션과 함께 제공되며, 로그인 후에도 사용자가 중단했던 작업을 이어서 할 수 있도록 리다이렉션 로직이 통합되었습니다. Highlights
🧠 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
Using Gemini Code AssistThe 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
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 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
|
| const DEMO_IMAGES = [ | ||
| { src: "/demo-day/restore1.jpg", label: "사진 1" }, | ||
| { src: "/demo-day/restore2.jpg", label: "사진 2" }, | ||
| { src: "/demo-day/restore3.jpg", label: "사진 3" }, | ||
| { src: "/demo-day/restore4.jpg", label: "사진 4" }, | ||
| ] as const; | ||
|
|
||
| const FRAME_CODES = ["15", "16", "17", "18"]; |
There was a problem hiding this comment.
DEMO_IMAGES와 FRAME_CODES가 별도의 배열로 관리되고 있어, 향후 이미지 추가/삭제 시 두 배열을 함께 수정해야 하는 번거로움이 있고 실수로 동기화가 맞지 않을 경우 버그가 발생할 수 있습니다.
데이터의 일관성을 유지하고 유지보수성을 높이기 위해, DEMO_IMAGES 배열에 frameCode를 포함시키는 것을 제안합니다. 이렇게 하면 관련 데이터를 하나의 객체로 묶어 관리할 수 있습니다.
const DEMO_IMAGES = [
{ src: "/demo-day/restore1.jpg", label: "사진 1", frameCode: "15" },
{ src: "/demo-day/restore2.jpg", label: "사진 2", frameCode: "16" },
{ src: "/demo-day/restore3.jpg", label: "사진 3", frameCode: "17" },
{ src: "/demo-day/restore4.jpg", label: "사진 4", frameCode: "18" },
] as const;이렇게 변경하면 FRAME_CODES 상수는 더 이상 필요하지 않으며, FilmFrame 컴포넌트에 frameCode를 전달하는 부분(102행)과 FilmFrameProps 타입(135행)도 함께 수정해야 합니다.
| const DEMO_IMAGES = [ | |
| { src: "/demo-day/restore1.jpg", label: "사진 1" }, | |
| { src: "/demo-day/restore2.jpg", label: "사진 2" }, | |
| { src: "/demo-day/restore3.jpg", label: "사진 3" }, | |
| { src: "/demo-day/restore4.jpg", label: "사진 4" }, | |
| ] as const; | |
| const FRAME_CODES = ["15", "16", "17", "18"]; | |
| const DEMO_IMAGES = [ | |
| { src: "/demo-day/restore1.jpg", label: "사진 1", frameCode: "15" }, | |
| { src: "/demo-day/restore2.jpg", label: "사진 2", frameCode: "16" }, | |
| { src: "/demo-day/restore3.jpg", label: "사진 3", frameCode: "17" }, | |
| { src: "/demo-day/restore4.jpg", label: "사진 4", frameCode: "18" }, | |
| ] as const; |
🔀 Pull Request Title
모데이용 복원용 사진 다운로드 페이지 구현
📌 PR 설명
이번 PR에서 어떤 작업을 했는지 요약해주세요.
📷 스크린샷