Commit Graph
22 Commits
Author SHA1 Message Date
Predrag KlepicandPredrag Klepic ebd40cb9b0 [Query Copilot] Query Copilot button dropdown and shortcut (#1582)
* Copilot dropdown implementation

* additional changes

* added unit test for key event

* Additional test changes

---------

Co-authored-by: Predrag Klepic <[email protected]>
2023-08-21 16:17:06 +02:00
Predrag KlepicandPredrag Klepic 986dbe7d54 [Query Copilot] Adding feature flags for phoenix and Schema (#1583)
* Adding feature flags for phoenix and schema

* Feedback uri modified

* Additional Constant changes

* Reverting PriorityLevel

* Additional changes in tests

---------

Co-authored-by: Predrag Klepic <[email protected]>
2023-08-21 16:16:32 +02:00
Predrag KlepicandPredrag Klepic 143f7d8f2c [Query Copilot] Copilot V2 Retrieving bubble (#1579)
* Changing order of the features

* test name changed

* updates snapshots

* Bubble implementation

* Bubble tests implemented

* Correction for CopilotSampleDB implementation

* rollback to previous query tab changes

---------

Co-authored-by: Predrag Klepic <[email protected]>
2023-08-21 11:19:04 +02:00
Predrag KlepicandPredrag Klepic 0f52db73e7 [Query Copilot] Fix failing comparison for CopilosSampleDB (#1581)
* Fix failing comparison for CopilosSampleDB

* using constant

---------

Co-authored-by: Predrag Klepic <[email protected]>
2023-08-18 10:48:18 +02:00
9c1b9e6ff6 [Query Copilot] Allocation of container and copilot request sent to Phoenix endpoint (#1576)
* Switch to tools federation endpoints for query copilot

* Remove extra / in url

* Initial allocateContainer implementation

* Additional feedback modal changes

* updated tests

* PhoenixClient reverted to previous endpoint

* Changes based on PR comments

* Update based on tests

* updated endpoint

* Back to previous implementation and test improve

* removing notebook

---------

Co-authored-by: Victor Meng <[email protected]>
Co-authored-by: Predrag Klepic <[email protected]>
2023-08-18 10:47:19 +02:00
Predrag KlepicandPredrag Klepic 96b88ac344 [Query Copilot] Version 2 initial code (#1566)
* Query Copilot Sidecar initial commit

* additional improvements with the Welcome pop

* Additional implementation and messages for sidecar

* introducing copilot version

* Renaming from car to bar

* Image names changed

* fixing PR errors

* additional changes related with the versions

* Additional implementations and fixes

* Removing unused interface

* Additional styling changes and state management

* Additional changes related with Sidebar

---------

Co-authored-by: Predrag Klepic <[email protected]>
2023-08-15 10:01:07 +02:00
Predrag KlepicandPredrag Klepic 9f7783f3f9 [Query Copilot] Revise Copilot UI texts (#1569)
* Revise Copilot UI texts

* Test snapshots updated

---------

Co-authored-by: Predrag Klepic <[email protected]>
2023-08-09 21:43:55 +02:00
Predrag KlepicandPredrag Klepic fa55d528ad [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 <[email protected]>
2023-08-03 09:23:31 +02:00
Predrag KlepicandPredrag Klepic c873fed7aa Disable Query Copilot Tab flickering (#1564)
Co-authored-by: Predrag Klepic <[email protected]>
2023-08-02 17:37:37 +02:00
Predrag KlepicandPredrag Klepic 4ab93a5a32 [Query Copilot] Updated Copilot links (#1556)
Co-authored-by: Predrag Klepic <[email protected]>
2023-07-27 10:43:24 -07:00
Predrag KlepicandPredrag Klepic 44e25c0769 [Query Copilot] New Query button added on Items section (#1552)
Co-authored-by: Predrag Klepic <[email protected]>
2023-07-27 10:42:17 -07:00
Predrag KlepicandPredrag Klepic 9e2f6a9c89 [Query Copilot] QueryCopilotUtilities.ts tests (#1550)
* Improving test coverage

* Not leaving empty functions

* Additional test editing

* Correction of the unit test

* Changes made so the tests work correctly

* removing problematic tests

* QueryCopilotUtilities

* Changes based on Lint suggestion

* Changes based on lint

* Additional lint suggestion solved

* sample implementation

* removing console log

* Fixing non empty lint function error

* Changed any to void in mocked function

---------

Co-authored-by: Predrag Klepic <[email protected]>
2023-07-25 09:16:10 +02:00
Predrag KlepicandPredrag Klepic 42e11d5160 [Query Copilot] Hide error message bar when request is successful (#1542)
Co-authored-by: Predrag Klepic <[email protected]>
2023-07-19 16:05:09 -07:00
Predrag KlepicandPredrag Klepic 10037d844e [Query Copilot] Improving test coverage (#1539)
* Improving test coverage

* Not leaving empty functions

* Additional test editing

* Correction of the unit test

* Changes made so the tests work correctly

* removing problematic tests

---------

Co-authored-by: Predrag Klepic <[email protected]>
2023-07-19 10:13:04 +02:00
Predrag KlepicandPredrag Klepic 3d5580865a Query Results no longer blocked for clicking/copying content (#1537)
Co-authored-by: Predrag Klepic <[email protected]>
2023-07-17 11:15:01 -07:00
Predrag KlepicandPredrag Klepic 7375cc717c [Query Copilot] Scrollable Copilot tab, improved history and minor fixes (#1536)
Co-authored-by: Predrag Klepic <[email protected]>
2023-07-17 11:10:41 -07:00
Predrag KlepicandPredrag Klepic 53cd78452b [Query Copilot] Dropdown hide and buttons disabled in specific occasions (#1534)
Co-authored-by: Predrag Klepic <[email protected]>
2023-07-14 15:01:16 -07:00
Predrag KlepicandPredrag Klepic e9f3c64239 [Query Copilot] Not disabling create database/container buttons for Sample Database (#1531)
Co-authored-by: Predrag Klepic <[email protected]>
2023-07-12 16:38:42 -07:00
Predrag KlepicandPredrag Klepic ed9ee07e81 Reverse cross partition query behavior in DE Query settings pane (#1521)
Co-authored-by: Predrag Klepic <[email protected]>
2023-07-10 11:30:53 -07:00
b6d576b7b6 [Query Copilot] Resource tree styling and New query button (#1519)
* Styling implemented related with the work item

* Sample container New query button implementation

* Fixing related with the not rendering Sample Data

* Fix race condition when rendering sample data resource tree

* Remove export keyword for updateContextForSampleData

* Copilot New Query should open Copilot tab

* showing buttons in sample command bar

---------

Co-authored-by: Predrag Klepic <[email protected]>
Co-authored-by: Victor Meng <[email protected]>
2023-07-10 09:14:14 +02:00
Predrag KlepicandPredrag Klepic 3a961870d9 [Query Copilot] Polishing UI of Query Copilot (#1513)
* Implementation of filtering suggestion and history

* Error message if query is not received

* Exclamation mark on fail and button disabled

* Changed from hook to const for suggestions

* Test snapshots and formatting updated

* Fix based on comment

---------

Co-authored-by: Predrag Klepic <[email protected]>
2023-07-03 22:49:40 +02:00
Predrag KlepicandPredrag Klepic f3c96b91bd [Query Copilot] Sample Prompt implementation and other (#1489)
* Sample Prompts and ComboBox implementation

* Adding DeletePopup and SamplePrompts

* Implementation of Delete/Copy code buttons

* Adjusted changes based on the comments for Modal

* Reverded implementation of inline prompt

* Updated function

* Replacing const to function

* Unused icons deleted

* Comments removed

* Additional styling based on designs

* Test snapshots

* Implementation of popup for copying code

* Tests updated/added

* Background color changed

* Resolving lint issue

* CopyPopup snapshot updated

* Merged with master

* Implementations fixed based on comments

* Test Snapshots updated

* Query copilot updated

* Resolving minor bug with Delete popup

---------

Co-authored-by: Predrag Klepic <[email protected]>
2023-06-28 10:11:03 +02:00