-
Notifications
You must be signed in to change notification settings - Fork 18
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
[Playground] Component - Tab for system message and parameters (UI only) #225 #244
[Playground] Component - Tab for system message and parameters (UI only) #225 #244
Conversation
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.
@5jisoo 코멘트 남겨뒀습니다. 일단 이것 전에 /playground
페이지 콤포넌트 만드는 PR 먼저 시작해 볼까요?
src/AzureOpenAIProxy.PlaygroundApp/Components/UI/ConfigTabComponent.razor
Outdated
Show resolved
Hide resolved
@5jisoo 컨플릭 해결해 주세요! |
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.
중복 라인 제거하시고, 이제 테스트 추가해 주세요!
0f053e2
to
fee543f
Compare
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.
테스트 메소드 구현 방식과 이벤트 핸들러 메소드 네이밍 쪽을 한 번 더 고민해 주세요.
test/AzureOpenAIProxy.PlaygroundApp.Tests/UI/ConfigTabComponentTest.cs
Outdated
Show resolved
Hide resolved
src/AzureOpenAIProxy.PlaygroundApp/Components/Pages/Playground.razor
Outdated
Show resolved
Hide resolved
src/AzureOpenAIProxy.PlaygroundApp/Components/UI/ConfigTabComponent.razor
Outdated
Show resolved
Hide resolved
변경
|
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!
Description
System Message 와 Parameters를 조정할 수 있는 Tab Component를 추가하였습니다.
Summary of Changes
FluentUI
의�FluentTab
을 사용하였으며, 탭 전환을 확인할 수 있도록 OnTabChange 이벤트를 추가해두었습니다.→
Home
page에 컴포넌트 추가해서 확인하였습니다!Questions
클릭한 tab의 id에 따라
이 부분의 텍스트에 해당 tab의 id가 포함되는가? 에 대해 작성하고자 했는데,
너무 하드 코딩의 테스트가 되어버리진 않을까 걱정되고, 근본적으로 이렇게 작성하는 게 맞는지도 의문이 드는 상태입니다!