coral-web: update settings drawer with toggle cards #239
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.
Description:
Closes OS-2175
This PR updates the settings drawer to reflect the latest designs. It adds toggle cards and separates tools by availability, ports over the change where deselecting the
search_file
tool will deselect files in the composer, and re-organizes and renames components.Screen.Recording.2024-06-19.at.1.42.34.PM.mov
If there are errors and the tool is unavailable the toggle is hidden + error is shown:
AI Description
This PR introduces a new
SettingsDrawer
component and makes corresponding changes to replace theConfigurationDrawer
component.ConfigurationDrawer
component and its imports have been removed.SettingsDrawer
component has been added, which includes tabs for tools, files, and settings.FilesTab
andToolsTab
components have been added to display file and tool information.Files
andTools
components have been removed, and their functionality integrated into the new tabs.Settings
component has been renamed toSettingsTab
.Switch
component has been updated to include a Field wrapper and style changes.ToggleCard
component has been added to display tool information with a toggle.