Gabriel Dutra
2833bb539f
Fix Add Widget always shows recent queries list ( #4658 )
2020-02-18 18:01:26 -03:00
Gabriel Dutra
375ffd3250
Migrate services and replace $http with axios ( #4497 )
2020-01-12 22:25:26 -03:00
Gabriel Dutra
99c276fc9a
Migrate Query pages to React ( #4429 )
...
* Migrate Query Source View page to React: skeleton
* Sync QueryView and QuerySource (#4430 )
* Migrate schema browser to react (#4432 )
* Restyle code with Prettier
* Migrate Query page to React: Save changes (#4452 )
* Migrate query source to React: Set of updates (#4457 )
* Migrate Query page to React: Visualization Tabs (#4453 )
Co-Authored-By: Levko Kravets <levko.ne@gmail.com >
* Migrate Query Source page to React: Visualizations area (#4463 )
* Migrate Query page to React: Delete visualization button (#4461 )
* Migrate Query Source page to React: Visualization actions (#4467 )
* Migrate Query pages to React: Execute query hook (#4470 )
* Migrate Query Source page to React: Editor area (#4468 )
* Migrate Query Source page to React: metadata, schedule and description blocks (#4476 )
* Migrate Query page to React: Cancel query execution (#4496 )
* Migrate Query Source page to React: refine code (#4499 )
* Migrate Query Source page to React: alerts (#4504 )
* Migrate Query Source page to React: unsaved changes alert (#4505 )
* Migrate Query Source to React: resizable areas (v2) (#4503 )
* Migrate Query page to React: Query View (#4455 )
Co-authored-by: Levko Kravets <levko.ne@gmail.com >
* Switch React and Angular versions of pages (until Angular version removed)
* Migrate Query pages to React: fix permissions (#4506 )
* Migrate Query Source page to React: don't reload when saving new query (#4507 )
* Migrate Query pages to React: fix tests (#4509 )
* Use skipParametersDirtyFlag in executeQuery
* Fix: cannot fork query from Query View page
* Optimize query editor: handle query text changes faster
* Revert "Optimize query editor: handle query text changes faster"
This reverts commit 2934e53be6 .
* Reduce debounced time to 100
* Migrate Query pages to React: cleanup (#4512 )
* Migrate Query pages to React: cleanup
* Further cleanup
* Remove unused dependencies
* Fix embed pages
* Attempt to fix flaky test
* Cleanup: explicitly register the last Angular component
* Move contents of /filters folder to /lib
* Remove unnecessary import
* Remove cy.wait from Parameters spec
Co-authored-by: Gabriel Dutra <nesk.frz@gmail.com >
Co-authored-by: Levko Kravets <levko.ne@gmail.com >
2020-01-06 20:51:45 +02:00
Arik Fraimovich
56d3be2248
Prettier all the Javascript code & GitHub Action ( #4433 )
...
* Prettier all the JS files
* Add GitHub Action to autoformat code pushed to master
* Fix eslint violation due to formatting.
* Remove GitHub actions for styling
* Add restyled.io config
2019-12-11 17:05:38 +02:00
Arik Fraimovich
1b9b3032ca
Change eslint configuration and fix resulting issues ( #4423 )
...
* Remove app/service/query-string (unused) and its dependency.
* Fix usage of mixed operators.
* eslint --fix fixes for missing dependencies for react hooks
* Fix: useCallback dependency passed to $http's .catch.
* Satisfy react/no-direct-mutation-state.
* Fix no-mixed-operators violations.
* Move the decision of whether to render Custom chart one level up to make sure hooks are called in the same order.
* Fix: name was undefined. It wasn't detected before because there is such global.
* Simplify eslint config and switch to creat-react-app's eslint base.
* Add prettier config.
* Make sure eslint doesn't conflict with prettier
* A few updates post eslint (#4425 )
* Prettier command in package.json
2019-12-11 12:00:46 +02:00
Gabriel Dutra
5cd6913e40
Fix Cypress and Percy flakyness issues ( #4365 )
2019-11-18 10:37:01 -03:00
Ran Byron
69dc761c60
Alert page - migrate to React and redesign ( #4153 )
2019-10-07 19:15:06 +03:00
Arik Fraimovich
685b53672e
Prevent CSP violations by not having script URLs ( #4062 )
...
* Fix: remove inline script to avoid CSP violation
Closes #4039 .
* Restore eslint rule that prevents javascript href attributes.
* Remove all inline script links.
2019-08-12 13:25:07 +03:00
Gabriel Dutra
b4a4ee212e
Replace toastr with Ant Notification ( #3610 )
2019-03-24 19:08:35 -03:00
Ran Byron
a7b930a422
Widget tests - add, remove, auto height ( #3590 )
2019-03-23 14:27:43 +02:00
Ran Byron
dab35acd2c
QuerySelector in Alert page ( #3501 )
2019-02-28 15:56:12 +02:00
Ran Byron
549f878c98
Added <QuerySelector /> component ( #3494 )
...
* Updated npm to support react hooks
* Added <QuerySelector />
* Changed selectQuery to also clear, completed 2->3 dots in msg, avoiding setSearching on stale rejection.
* Removed unused highlight lib
2019-02-28 15:07:57 +02:00