mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2026-04-18 12:29:48 +01:00
[Query Copilot] Maintain Query Copilot state when switching tabs (#1559)
* Sample implementation for saving states * Maintaining Query Copilot state * Fixing failed PR checks * Additional changes based on checks * snapshots updated * Changes based on merging previous PR * test mock changed * Fixing minor bug for close button * Destruct of queryCopilotState * passing only function in Tabs component * Maintaining copilot state with zustand store * additional test changes * test snapshot updated --------- Co-authored-by: Predrag Klepic <v-prklepic@microsoft.com>
This commit is contained in:
@@ -67,10 +67,10 @@ exports[`Query copilot tab snapshot test should render with initial input 1`] =
|
||||
},
|
||||
}
|
||||
}
|
||||
value="Write a query to return all records in this table"
|
||||
value=""
|
||||
/>
|
||||
<CustomizedIconButton
|
||||
disabled={false}
|
||||
disabled={true}
|
||||
iconProps={
|
||||
Object {
|
||||
"iconName": "Send",
|
||||
|
||||
Reference in New Issue
Block a user