Skip to content

Update InterviewRoom to handle question selection and follow-up - #9

Open
Ramcharan-Swaminathan wants to merge 1 commit into
Ramcharan-Swaminathan/add-tab-systemfrom
Ramcharan-Swaminathan/update-interview-room
Open

Update InterviewRoom to handle question selection and follow-up#9
Ramcharan-Swaminathan wants to merge 1 commit into
Ramcharan-Swaminathan/add-tab-systemfrom
Ramcharan-Swaminathan/update-interview-room

Conversation

@Ramcharan-Swaminathan

Copy link
Copy Markdown
Collaborator

Add functionality to select and display a clicked question with an option to generate or refresh a follow-up question.

  • Add state selectedQuestion to track the clicked question.
  • Add handleQuestionClick function to set selectedQuestion.
  • Add handleBackToQuestions function to reset selectedQuestion.
  • Add handleGenerateFollowUp function to generate or refresh a follow-up question.
  • Update rendering logic to display only the selected question when one is clicked.
  • Add buttons to generate a follow-up question and to go back to display all questions.

Add functionality to select and display a clicked question with an option to generate or refresh a follow-up question.

* Add state `selectedQuestion` to track the clicked question.
* Add `handleQuestionClick` function to set `selectedQuestion`.
* Add `handleBackToQuestions` function to reset `selectedQuestion`.
* Add `handleGenerateFollowUp` function to generate or refresh a follow-up question.
* Update rendering logic to display only the selected question when one is clicked.
* Add buttons to generate a follow-up question and to go back to display all questions.
@restack-app

restack-app Bot commented Mar 15, 2025

Copy link
Copy Markdown

No applications have been configured for previews targeting branch: Ramcharan-Swaminathan/add-tab-system. To do so go to restack console and configure your applications for previews.

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.

1 participant