regostar / eventique

AI Enhanced Event Planning
MIT License
0 stars 1 forks source link

Task : # 53 Modify generate tasks UI to add re-prompt, regenerate and approve buttons in the same chatbot screen. #71

Closed SparshaPrakash closed 2 months ago

SparshaPrakash commented 3 months ago

Story: #53

Govind-Asawa commented 3 months ago

@SparshaPrakash

These are the High-level action items

Frontend

  1. create a array of button info objects { name: 'approve', icon: <react-icon-component onClick = {} className='' }
  2. const buttonsToShow = based on plan choose btns to show
  3. map on buttonsToShow

    re-prompt handler setPlan('') re-gen get to the endpoint get tasks and show to the user approve send the event obj to the backend once ack --> redirect to homepage

Govind-Asawa commented 2 months ago

Implemented in PR: #115