microsoft / BotFramework-WebChat

A highly-customizable web-based client for Azure Bot Services.
https://www.botframework.com/
MIT License
1.56k stars 1.51k forks source link

Fluent: sendbox transcript navigation #5191

Closed OEvgeny closed 1 month ago

OEvgeny commented 1 month ago

Fixes #5153

Changelog Entry

Description

This adds necessary handlers for transcript navigation into Fluent SendBox for feature parity with white label experience.

Design

Took this as an opportunity to reduce context usage. The subscriptions are now handled via use-paginate.

This adds the new useTranscriptNavigation private hook which currently returns only the keydown event handler, but can be further extended in the future. The handler is designed to be placed in the send box root and is intended to handle only usage patterns seen in the send box.

Specific Changes

Review Checklist

This section is for contributors to review your work.