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

Title: Integrate a Bot to Enhance User Interaction #154

Open
Ctoic opened this issue Dec 23, 2024 · 0 comments · May be fixed by #156
Open

Title: Integrate a Bot to Enhance User Interaction #154

Ctoic opened this issue Dec 23, 2024 · 0 comments · May be fixed by #156

Comments

@Ctoic
Copy link
Owner

Ctoic commented Dec 23, 2024

Description:
Add a bot feature to the Lisboook application to enhance user interaction and provide a more engaging experience. The bot should be capable of performing the following tasks:

  1. Recommend Books: Suggest books from the existing list based on user preferences.
  2. Provide Summaries: Offer a short summary of any book when prompted by the user.
  3. User Interaction: Engage in basic conversations related to the books available in the application.
  4. UI Integration: Display the bot in a dedicated section of the UI (e.g., a chatbox).

Acceptance Criteria:

  • A chatbot interface is added to the application.
  • The bot can recommend books based on user input (e.g., genre, author, or user mood).
  • The bot can provide a brief summary of any selected book.
  • The bot’s responses and actions are smooth and intuitive.
  • The UI design aligns with the current theme of Lisboook.

Technical Notes:

  • Use JavaScript for bot logic and integration.
  • The bot can use predefined data for book summaries and recommendations (no backend integration required for now).
  • Ensure responsive design for the bot interface so it works well on different devices.

Additional Context:
This feature will make the Lisboook application more dynamic and interactive, enhancing the user experience.

Feel free to modify the issue title and description as needed!

Ctoic added a commit that referenced this issue Dec 23, 2024
Fixes #154

Integrate a chatbot feature to enhance user interaction in the Lisbook application.

* **HTML Changes:**
  - Add chatbot interface section to `adventures.html` and `explore.html`.
  - Include chatbox for user interaction.
  - Add script tag to include `bot.js`.

* **JavaScript Changes:**
  - Implement bot logic for book recommendations, summaries, and conversations in `app.js`.
  - Integrate bot logic for user interaction in `script.js`.
  - Add event listeners for chatbox input and update UI with bot responses.

* **Data Changes:**
  - Add predefined data for book summaries and recommendations in `data/books.json`.

* **CSS Changes:**
  - Add styles for chatbot interface in `explore_style.css` and `style.css`.
  - Ensure responsive design for chatbox.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/Ctoic/Lisbook/issues/154?shareId=XXXX-XXXX-XXXX-XXXX).
@Ctoic Ctoic linked a pull request Dec 23, 2024 that will close this issue
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 a pull request may close this issue.

1 participant