mirror of
https://github.com/langgenius/webapp-conversation.git
synced 2026-07-25 21:46:08 -04:00
# Feature Request: Display Opening Questions in UI #39
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Delgerskhn on GitHub (Jul 23, 2024).
Feature Request: Display Opening Questions in UI
Description
Currently, the front-end application using Next.js does not display the opening questions that are provided by the backend as JSON. While the opening text message is displayed correctly, the buttons for the opening questions are not present in the UI, even though they exist in the JSON data.
Expected Behavior
The UI should display the opening question buttons as provided in the JSON data from the backend. Each button should be clickable and should function according to the logic defined in the application.
Actual Behavior
The UI currently displays only the opening text message. The opening question buttons, though present in the JSON data, are not visible or interactive in the UI.
JSON Data Example
Here is an example of the JSON data received from the backend:
Steps to Reproduce
Proposed Solution
Modify the front-end code to render the opening question buttons as specified in the JSON data. Each button should be styled consistently with the rest of the UI and should be clickable, triggering the appropriate actions.
Additional Information
Framework: Next.js
Issue Found in Version: [0.1.0]
Browser: [Microsoft Edge]
@marsDes commented on GitHub (Feb 27, 2025):
see my project dify-conversation