-
Notifications
You must be signed in to change notification settings - Fork 18
[Admin] Component: Create event details - UI component #214 #293
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Admin] Component: Create event details - UI component #214 #293
Conversation
@KYJKY 아무래도 새 페이지 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
컴포넌트 단위에 대한 고민: 컴포넌트 계층구조에 대한 고민이 있습니다. 특히 제가 작업한 내용이 어떤 외부 컴포넌트에서 참조하는지에 대해 불분명?한 상황입니다. /Components/Pages/AdminCreateEvent.razor와 같은 외부 컴포넌트 내에 제가 작업한 NewEventDetailsComponent.razor를 포함시키는 방식으로 만들어야 하는지, 아니면 현재 만들어져 있는 /Components/Pages/Admin.razor에서 추후 참조하게 만들게 될지에 대해 잘 모르겠습니다.
AdminNewEvent.razor
페이지를 만들었습니다. 그 안에 넣어두세요.
Task 단위에 대한 고민: 해당 Task와 #215 Task와의 경계가 궁금합니다. 아래 작업들이 현재 Task에서 진행되어야 할지, 215번에서 진행되어야 할지 궁금합니다.
- Front App에서 유효성검사
-입력값을 Model Class에 맵핑
이 PR에서는 다루지 않고 #215 에서 진행합니다.
CSS 관리에 대해 내부에 <Style>로 작성해도 상관 없을지 궁금합니다.
Scoped CSS로 작성하세요. 하지만, 그 이전에 기본 Fluent UI 제공 CSS로 충분한지 먼저 검토해 보세요.
단위 테스트 코드에 대하여 각각 모든 input에 대해 존재 여부를 메서드로 추가하면 충분한 테스트인지 궁금합니다.
맞습니다.
만약 유효성 검사 코드를 추가하게 된다면 input 단위로 유효성 검사 코드를 테스트 하는 메서드를 각각 추가하면 될까요?
#215 에서 진행합니다.
src/AzureOpenAIProxy.PlaygroundApp/Components/UI/Admin/NewEventDetailsComponent.razor
Show resolved
Hide resolved
src/AzureOpenAIProxy.PlaygroundApp/Components/UI/Admin/NewEventDetailsComponent.razor
Outdated
Show resolved
Hide resolved
test/AzureOpenAIProxy.PlaygroundApp.Tests/Pages/NewEventDetailsTests.cs
Outdated
Show resolved
Hide resolved
test/AzureOpenAIProxy.PlaygroundApp.Tests/Pages/NewEventDetailsTests.cs
Outdated
Show resolved
Hide resolved
- AzureOpenAIProxy.sln 파일 이전 내용으로 되돌리기 - AzureOpenAIProxy.PlaygroundApp.Tests/Pages/NewEventDetailsTests.cs 테스트 코드 삭제
바로 이어서 진행하도록 하겠습니다! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
수정사항 코멘트 남겨뒀습니다!
src/AzureOpenAIProxy.PlaygroundApp/Components/UI/Admin/NewEventDetailsComponent.razor
Outdated
Show resolved
Hide resolved
src/AzureOpenAIProxy.PlaygroundApp/Components/UI/Admin/NewEventDetailsComponent.razor
Show resolved
Hide resolved
src/AzureOpenAIProxy.PlaygroundApp/Components/UI/Admin/NewEventDetailsComponent.razor
Outdated
Show resolved
Hide resolved
src/AzureOpenAIProxy.PlaygroundApp/Components/UI/Admin/NewEventDetailsComponent.razor
Outdated
Show resolved
Hide resolved
src/AzureOpenAIProxy.PlaygroundApp/Components/UI/Admin/NewEventDetailsComponent.razor
Outdated
Show resolved
Hide resolved
src/AzureOpenAIProxy.PlaygroundApp/Components/UI/Admin/NewEventDetailsComponent.razor
Outdated
Show resolved
Hide resolved
src/AzureOpenAIProxy.PlaygroundApp/Components/UI/Admin/NewEventDetailsComponent.razor
Outdated
Show resolved
Hide resolved
src/AzureOpenAIProxy.PlaygroundApp/Components/UI/Admin/NewEventDetailsComponent.razor
Outdated
Show resolved
Hide resolved
@KYJKY 컨플릭 해소해 주세요! |
- Id 파라미터 추가 - 버튼 Id 추가 - TextFieldType 추가 - Id 값 kebab-casing 수정
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
코멘트 남겨뒀습니다.
src/AzureOpenAIProxy.PlaygroundApp/Components/UI/Admin/NewEventDetailsComponent.razor
Outdated
Show resolved
Hide resolved
src/AzureOpenAIProxy.PlaygroundApp/Components/UI/Admin/NewEventDetailsComponent.razor
Outdated
Show resolved
Hide resolved
src/AzureOpenAIProxy.PlaygroundApp/Components/UI/Admin/NewEventDetailsComponent.razor
Outdated
Show resolved
Hide resolved
src/AzureOpenAIProxy.PlaygroundApp/Components/UI/Admin/NewEventDetailsComponent.razor
Outdated
Show resolved
Hide resolved
src/AzureOpenAIProxy.PlaygroundApp/Components/UI/Admin/NewEventDetailsComponent.razor
Outdated
Show resolved
Hide resolved
src/AzureOpenAIProxy.PlaygroundApp/Components/UI/Admin/NewEventDetailsComponent.razor
Outdated
Show resolved
Hide resolved
src/AzureOpenAIProxy.PlaygroundApp/Components/UI/Admin/NewEventDetailsComponent.razor
Show resolved
Hide resolved
src/AzureOpenAIProxy.PlaygroundApp/Components/UI/Admin/NewEventDetailsComponent.razor
Outdated
Show resolved
Hide resolved
src/AzureOpenAIProxy.PlaygroundApp/Components/UI/Admin/NewEventDetailsComponent.razor
Outdated
Show resolved
Hide resolved
- 기본 날짜/시간 설정 추가 - 이벤트 추가/취소 버튼 이벤트 바인딩 추가 - Max Token Cap, Daily Request Cap 값 바인딩
This reverts commit 197d7ee.
현재 피드백 사항 적용 및 테스트 코드 추가 완료하였습니다! 질문사항
|
@KYJKY 빌드가 깨집니다 |
브라우저 타임존 대신 시스템 타임존에 의존해야 합니다. timezone.js 파일은 어디서 온 건가요? |
사용자의 타임존은 이 화면과 이벤트 업데이트하는 화면 말고는 쓸 일이 없습니다. |
충분한 듯 싶습니다! |
@KYJKY 테스트 실패합니다. 날짜 포맷 다시 확인해 보세요! |
test/AzureOpenAIProxy.PlaygroundApp.Tests/Pages/NewEventDetailsPageTests.cs
Outdated
Show resolved
Hide resolved
test/AzureOpenAIProxy.PlaygroundApp.Tests/Pages/NewEventDetailsPageTests.cs
Outdated
Show resolved
Hide resolved
test/AzureOpenAIProxy.PlaygroundApp.Tests/Pages/NewEventDetailsPageTests.cs
Outdated
Show resolved
Hide resolved
test/AzureOpenAIProxy.PlaygroundApp.Tests/Pages/NewEventDetailsPageTests.cs
Outdated
Show resolved
Hide resolved
test/AzureOpenAIProxy.PlaygroundApp.Tests/Pages/NewEventDetailsPageTests.cs
Outdated
Show resolved
Hide resolved
src/AzureOpenAIProxy.PlaygroundApp/AzureOpenAIProxy.PlaygroundApp.csproj
Outdated
Show resolved
Hide resolved
test/AzureOpenAIProxy.PlaygroundApp.Tests/Pages/NewEventDetailsPageTests.cs
Outdated
Show resolved
Hide resolved
test/AzureOpenAIProxy.PlaygroundApp.Tests/Pages/NewEventDetailsPageTests.cs
Outdated
Show resolved
Hide resolved
test/AzureOpenAIProxy.PlaygroundApp.Tests/Pages/NewEventDetailsPageTests.cs
Outdated
Show resolved
Hide resolved
test/AzureOpenAIProxy.PlaygroundApp.Tests/Pages/NewEventDetailsPageTests.cs
Outdated
Show resolved
Hide resolved
- Delete TimeZoneConverter - Split input event datetime test
@KYJKY 테스트 깨지는 부분 main 브랜치에서 반영해 주세욥 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 고생하셨습니다!
Task
#214
작업사항
궁금한/잘 모르겠는 부분
/Components/Pages/AdminCreateEvent.razor
와 같은 외부 컴포넌트 내에 제가 작업한NewEventDetailsComponent.razor
를 포함시키는 방식으로 만들어야 하는지, 아니면 현재 만들어져 있는/Components/Pages/Admin.razor
에서 추후 참조하게 만들게 될지에 대해 잘 모르겠습니다.<Style>
로 작성해도 상관 없을지 궁금합니다.추후 작업 예정