Skip to content
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

Feature : Requery Component & Mount Function #1

Merged
merged 2 commits into from
Feb 7, 2023
Merged

Conversation

yanggak12
Copy link
Collaborator

Descriptions

  • Requery할 수 있는 input과 button을 추가하였습니다.
    (form으로 감싸 엔터키로 이벤트 발생이 가능하게 했습니다.)
  • button이 클릭될 때 핸들러 함수를 추가하였습니다.
  • side에 생기는 gpt-card에 question-container를 추가하여 question-container의 자식 요소로 append 해주었습니다.
  • index 값을 파라미터로 받아 몇번째 질문인지 알 수 있게 추가하였고, 추후 limit을 주는 부분에 사용할 수 있을 듯 합니다.

To do

  • 현재 질문이 추가되기는 하지만, 답변을 받지 못하고 있습니다. 답변을 받는 className이 있는 듯 한데 이를 파악해서 추가할 예정입니다.
  • 기능이 잘 working 하는 것을 확인하면 스타일링을 gpt 스타일에 맞추어 진행할 예정입니다.
    (간단히 gpt-*** 과 같이 className만 추가해주면 됩니다.)

@yanggak12 yanggak12 added the enhancement New feature or request label Feb 7, 2023
@yanggak12 yanggak12 requested a review from hunkim February 7, 2023 16:14
@yanggak12 yanggak12 self-assigned this Feb 7, 2023
@hunkim hunkim merged commit e7b434c into main Feb 7, 2023
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