Skip to content

Conversation

@Kyra-05
Copy link
Collaborator

@Kyra-05 Kyra-05 commented Oct 13, 2025

Changes:

Started on integrating PoC chatbot UI into the frontend.

This PR is for code review, not everything is implemented yet:

  • needs translations
  • needs routing to advice page
  • advice page needs to be updated
  • design is not final yet

RobinMeles and others added 30 commits September 3, 2025 10:57
…o custom hooks

- useChatHistory: Loads existing session messages and sets lastSeenSeq
- useStreamHandler: Manages SSE lifecycle (start/stop), incomingQueue, and stream state
- useMessageQueue: Processes incomingQueue in the UI with typing effect
- Simplifies ChatbotProvider; moves logic from large useEffect
- Count reconnect attempts in stream.onerror
- Log warnings for each attempt
- Stop after 5 failed attempts and show the error to the user
- Combine server retry: instructions with client-side guard

Fix: Improve SSE stream lifecycle handling
- Add heartbeat check (detects idle time >60s and closes the stream)
- Respect server retry: instructions (EventSource handles reconnect (see feat above))
- Parse problem+json (title, detail, status, type)
RobinMeles and others added 30 commits November 3, 2025 10:27
…stants

Replace route names with constants
update product page layout and product multi image support
…ity-to-webpack-dev-server

add certificate authority to webpack dev-server
…-fields-to-products

Add custom reservation fields to products
# Conflicts:
#	react/assets/forus-webshop/scss/webshop.scss
#	react/src/webshop/components/pages/home/Home.tsx
#	react/src/webshop/router/routes.tsx
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.

5 participants