Ran Byron
ec4b36b178
Cypress eslint fixes and config ( #3636 )
2019-03-25 22:14:51 +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
ee0e81e795
Fix eslint errors
2019-01-31 11:21:45 +02:00
koooge
2da511021e
Frontend lint update ( #3253 )
...
* client: Add lint command
Signed-off-by: koooge <koooooge@gmail.com>
* client: Override eslint rule object-curly-newline to keep current style
Signed-off-by: koooge <koooooge@gmail.com>
* client: Override eslint rule no-else-return to keep current style
Signed-off-by: koooge <koooooge@gmail.com>
* client: Fix eslint import/named
Signed-off-by: koooge <koooooge@gmail.com>
* client: eslint-5
Signed-off-by: koooge <koooooge@gmail.com>
* codeclimate: Delete the old setting
Signed-off-by: koooge <koooooge@gmail.com>
* client: Downgrade eslint 5 to 4 in codeclimate
Signed-off-by: koooge <koooooge@gmail.com>
* client: npx install-peerdeps --dev eslint-config-airbnb
Signed-off-by: koooge <koooooge@gmail.com>
* client: Enbale .jsx lint
Signed-off-by: koooge <koooooge@gmail.com>
* client: Set warn
Signed-off-by: koooge <koooooge@gmail.com>
* client: Fix lint indent, implicit-arrow-linebreak, lines-between-class-members
Signed-off-by: koooge <koooooge@gmail.com>
* client: Disable eslint operator-linebreak
Signed-off-by: koooge <koooooge@gmail.com>
* Revert "client: Downgrade eslint 5 to 4 in codeclimate"
This reverts commit f0fb0f005992a8b3c92eae505fcc2767b9d55266.
* client: Fix react/button-has-type
Signed-off-by: koooge <koooooge@gmail.com>
* client: Disable an eslint rule react/jsx-one-expression-per-line
Signed-off-by: koooge <koooooge@gmail.com>
* codeclimate: Disable no-multiple-empty-lines
Signed-off-by: koooge <koooooge@gmail.com>
* client: Disable eslint react/destructuring-assignment
Signed-off-by: koooge <koooooge@gmail.com>
2019-01-29 17:25:58 +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
Gabriel Dutra
7d601cbbc9
Cypress based E2E tests ( #3019 )
2018-11-07 14:37:08 +01:00
Arik Fraimovich
467ec201da
Add Jest based tests to our stack ( #2985 )
...
* Add Jest packages
* Add first test
* Install eslint rules for jest & move deps to dev
* Configure cirlce to run jest
* package.json: Remove dev command
* package.json: clean command
* Don't autoload test files.
* Fix: webpack-dev-server was recompiling all the files on every change
* Update CircleCI step names
2018-10-19 19:04:02 +03:00
Allen Short
b712253276
react rules for eslint
2018-06-28 01:56:57 -05:00
Allen Short
c47ad93eb2
humble beginnings with React components
2018-06-25 12:13:25 -05:00
Levko Kravets
bbcbb3edc6
CR2
2017-11-06 21:52:23 +02:00
Arik Fraimovich
38389a28ed
Update eslint config to use longer lines
2017-10-31 12:06:52 +02:00
Arik Fraimovich
047475562d
Support for non relative path imports in client code:
...
So this:
import { Paginator } from "../../lib";
Becomes:
import { Paginator } from "@/lib";
Makes code cleaner and more portable.
2017-10-26 09:58:24 +03:00
Levko Kravets
85da5fced1
Fixed eslint "Cannot read property 'length' of undefined" error
2017-10-03 21:15:10 +03:00
Arik Fraimovich
0a06f950d5
Working embeds & renamed frontend to client
2016-11-26 11:35:21 +02:00