feat(DATAGO-123246): Implement Updated SAM Navigation Design #914
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.





This pull request introduces several improvements and refactors to the frontend, focusing on simplifying layout logic, improving modularity, and adding a new speech-to-text (STT) settings dialog. The main changes are the centralization and persistence of the session side panel, the introduction of a dedicated and user-friendly STT settings dialog, and the addition of a reusable Solace icon component. Several redundant navigation and panel toggling logics have been removed or simplified.
Layout and Side Panel Refactoring:
SessionSidePanelis now rendered persistently at the app layout level (AppLayout.tsx), rather than being conditionally rendered and managed within theChatPage. This centralizes its state and ensures consistency across all pages. Navigation sidebar logic and related state have been removed fromAppLayout, simplifying the component. [1] [2] [3]ChatPage.tsx, all logic and UI related to toggling and positioning theSessionSidePanelhave been removed. The chat and side panel resizing logic is now simplified and static, and session side panel state is no longer managed here. [1] [2] [3] [4] [5] [6] [7] [8]Speech-to-Text (STT) Settings Dialog:
STTSettingsDialogcomponent has been added, providing a comprehensive UI for configuring speech-to-text options. It supports toggling STT, selecting providers (browser, OpenAI, Azure), displays configuration warnings if external providers are not set up, and allows language selection. The dialog auto-resets to browser mode if external providers are unavailable.SettingsDialog.tsx) now supports aninitialSectionprop to open directly to a specific section, and updates the active section accordingly when reopened. [1] [2] [3]Component and Utility Improvements:
SolaceIconcomponent to render the Solace logo in either full or short form, now exported from the common components index. [1] [2]Most important changes:
Layout and Side Panel Refactoring
SessionSidePanelrendering inAppLayout.tsx, making it persistent across all pages and removing redundant navigation/sidebar logic and state from bothAppLayoutandChatPage. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11]Speech-to-Text (STT) Settings
STTSettingsDialogcomponent for configuring speech-to-text options, including provider selection, language, and configuration warnings for external APIs.SettingsDialogto support opening directly to a specific section and synchronize the active section when reopened. [1] [2] [3]Component Improvements
SolaceIconcomponent for consistent branding, and exported it from the common components index. [1] [2]