Rafael Wendel
427c005c04
Replace hardcoded ids with hook ( #5444 )
...
* refactor: replace hardcoded ids with hook
* refactor: replace hard coded ids with lodash id (class)
2021-04-19 09:30:46 -03:00
Levko Kravets
db71ff399c
Refactor dialog wrapper component ( #4594 )
...
* Dialog wrapper: stop using promises to handle results - replace with callbacks
* Dialog wrapper: handle async operation on close
2020-03-10 22:22:42 +02: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
Levko Kravets
4508975749
[Bug fix] Plotly modebar appears above modals ( #3799 )
2019-05-15 10:43:34 +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
34da15fd6a
Migrated AddTextboxDialog to AntD ( #3524 )
2019-03-04 21:51:48 +02:00
Ran Byron
dd0fab7275
Moved widget and dashboard save logic out of dialog ( #3522 )
2019-03-04 16:31:31 +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
Levko Kravets
2c1400d323
[Feature] Alternative implementation of dashboard param title editing ( #3417 )
2019-02-11 17:17:05 +02:00
Levko Kravets
23f5dde488
[Codebase Improvement] Refine dialog wrapper and use it for all existing dialogs ( #3407 )
2019-02-08 10:00:22 +02:00
Levko Kravets
045c171bb4
Refactor TagsControl; fix TagsEditorModal animation ( #3399 )
...
* Refactor TagsControl; fix TagsEditorModal animation
* Update tooltip text
Co-Authored-By: kravets-levko <levko.ne@gmail.com >
* Update tooltip text
Co-Authored-By: kravets-levko <levko.ne@gmail.com >
* CR1
2019-02-05 23:29:09 +02:00
Ran Byron
5b62883c1c
[Widget Params] Switched parameter list to table style (all parts) ( #3332 )
...
* [Widget Params] Split title and mapping editing
* [Widget Params] Restyled source editing
* [Widget Params] Switched parameter list to table style
* Displaying different labels and help phrases when changing type
Added link to knowledge base
Fixed issue with existing param default select value
2019-02-05 20:36:15 +02:00
Ran Byron
3df372434f
[Widget Params] Migrated edit params + new widget dialog to Ant Modal ( #3387 )
2019-02-04 21:00:59 +02:00
Marina Samuel
35c390a2f9
Show disabled unpublished queries for alert and dashboard modals. ( #3347 )
2019-01-31 19:58:47 +02:00
Levko Kravets
ee0e81e795
Fix eslint errors
2019-01-31 11:21:45 +02:00
Levko Kravets
b0b4d5e26a
Convert Angular services to CommonJS-style and use them in React components instead of injecting ( #3331 )
...
* Refine Auth service: remove dead code and fix race condition
* Export services in CommonJS style
* Refine Users, Events and OfflineListener services
* Refactor Notifications service - rewrite to CommonJS
* Replace Angular service injection with imports in React components
* Fix Footer tests
* Events service -> recordEvent function
* CR1
2019-01-24 16:24:58 +02:00
Ran Byron
d5afa1815e
Filtering out incompatible dashboard params ( #3330 )
2019-01-23 16:27:49 +02:00
Levko Kravets
0c45d69662
Dashboard Parameters ( #2756 )
...
* getredash/redash#2641 Step 1: split Add Widget/Add Textbox buttons
* Convert Add widget/textbox dialogs to React components
* getredash/redash#2641 Step 2: Implement new dashboard parameters logic
* Resolve conflicts and fix build errors
* getredash/redash#2641 Refactoring and improve code quality
* Add Edit parameter mappings dialog to the widget
* getredash/redash#2641 Changes after code review
* Use Ant's Select component instead on <select> tags
* Fix Antd imports
* Fix Antd imports
* Fix Cannot read property 'getParametersDefs' of undefined
* Fix widgets static params bugs (don't show input, don't init from URL)
* Minor UI/UX fixes
2019-01-15 13:14:54 +02:00