John Gozde
0d23713862
Web console: update dev dependencies ( #12240 )
...
* Update dependencies
* Set "allowFunctions: true" for react/jsx-no-bind
* Prettify
* npm audit fix
* Bump playwright, set testEnvironment=node
* Bump node and npm
* Revert "Bump node and npm"
This reverts commit e93c8e00e75587524539310772f09bd3b37774ed.
* Minor/patch bump node@14, npm@6
2022-02-08 16:37:36 -08:00
Vadim Ogievetsky
090c429c8c
Web console: make it possible to namespace local storage, auto flatten spec generator should deal better with bad data ( #12238 )
...
* improve computeFlattenExprsForData
* allow local storage namespacing
* add test
2022-02-07 18:52:41 -08:00
Vadim Ogievetsky
fc76b014d1
Web console: fix supervisor stats table pagination ( #12227 )
...
* fixes #11627 supervisor stats table pagination
* use spread instead of assign
2022-02-03 00:09:21 -08:00
Vadim Ogievetsky
bc408bacc8
Web console: Adding a shard detail column to the segments view ( #12212 )
...
* shard spec details
* improve pattern match
* refactor spec cleanup
* better format detection
* update JSONbig
* add multiline option to autoform
2022-02-02 18:46:17 -08:00
AshishKapoor
801d9e7f1b
[Web Console] fix deprecated keyboard event method "keyCode" with "key" ( #11947 )
...
* 11946 fix keyboard event keyCode method
* fix with key and respective cases
* e.which method required since it's anyway deprecated too.
* updated as per feedback
2022-02-02 18:26:21 -08:00
Vadim Ogievetsky
fe8530dac4
Change link to Apache Druid Slack ( #12206 )
2022-01-27 21:10:40 -08:00
Vadim Ogievetsky
8ae5de5114
Web console: fix multi-value dimension column detection and tidy up ( #12160 )
...
* streamline services view query
* better column type detection
* fix query view page size bug
* fill out MetricSpec interface
* fix pagination in status dialog
* update tests
* adjust pagination
* better type guessing
* better test fixtures
* add Avg. row size to segments view
2022-01-25 15:46:29 -08:00
Vadim Ogievetsky
6ce14e6b17
allow W in durations ( #12175 )
2022-01-20 09:17:43 +05:30
aggarwalakshay
eb4fafe08f
Upgrading follow-redirects to 1.14.7 ( #12153 )
...
* Upgrading follow-redirects to 1.14.7
* removed the existing follow-redirects i.e. 1.14.4 from package-lock.json
2022-01-13 14:01:36 -08:00
Vadim Ogievetsky
9cd52ed914
Web console: make range partitioning a first class citizen of the console ( #12146 )
...
* first class support for range partitioning
* update e2e tests
2022-01-12 03:50:10 -08:00
Vadim Ogievetsky
2a41b7bffa
Web console: correctly cancel JSON shaped SQL queries ( #12134 )
...
* misc fixes
* type typo
2022-01-10 14:24:05 -08:00
Vadim Ogievetsky
476d0bf4be
Web console: remove console.log ( #12094 )
...
* rm console.log
* force path-parse to 1.0.7
2021-12-22 19:31:23 -08:00
Vadim Ogievetsky
37112d24e2
Web console: new Ace, diff view, and cleanup. Decorating the console for the holidays ✨ 🎁 ( #12085 )
...
* Add diff view and upgrade AceEditor
* fix test
* function doc parsing fixes
* escape args
* allowKeys
* everyone gets a diff
* update snapshot
2021-12-22 16:31:17 -08:00
Vadim Ogievetsky
0cc998d8a1
improve spec upgrading ( #12072 )
2021-12-15 10:28:21 -08:00
Vadim Ogievetsky
6ac4e2dbb8
Web console: use query actions in query view ( #12037 )
...
* use query actions
* feedback fixes
2021-12-08 13:01:29 -08:00
Lucas Capistrant
150902b95c
clean up the balancing code around the batched vs deprecated way of sampling segments to balance ( #11960 )
...
* clean up the balancing code around the batched vs deprecated way of sampling segments to balance
* fix docs, clarify comments, add deprecated annotations to legacy code
* remove unused variable
* update dynamic config dialog in console to state percentOfSegmentsToConsiderPerMove deprecated
* fix dynamic config text for percentOfSegmentsToConsiderPerMove
* run prettier to cleanup coordinator-dynamic-config.tsx changes
* update jest snapshot
* update documentation per review feedback
2021-12-07 14:47:46 -08:00
Vadim Ogievetsky
1d3c8c187b
Web console: query view improvements and other fixes ( #12031 )
...
* don't copy commas
* use numeric type information
* add VALUES keyword
* propogate rollup config into spec
* fix
* cleanup
* understand range partitioning
* update snapshots
* better comp apis
* fix segment pages
* update snapshots
2021-12-07 10:16:16 -08:00
Vadim Ogievetsky
1f95a42bb8
Web console: updated the explain dialog to use new explain output ( #12009 )
...
This is the UI followup to the work done in #11908
Updated the Explain dialog to use the new output format.
2021-12-02 00:18:11 +05:30
Abhishek Agarwal
652e1491e0
Update default values for tuning parameters in kinesis data loader ( #11867 )
2021-11-02 23:51:28 +05:30
andreacyc
88bbc8e9e1
Add info for compation config dialog ( #11847 )
...
* add-info-for-compation-config-dialog
* correct the info
* remove space typo
* Revert "remove space typo"
This reverts commit 28b28733ae21dda809b03995e804a65555ff9092.
* remove typo space
* update snapshots for jest-test
2021-11-02 10:03:29 -07:00
Vadim Ogievetsky
8ea9309168
Web console: update typescript 4.4 for faster build speeds ( #11725 )
...
* update typescript
* do not show pagination when there is only one page
* update snapshots
* fix pagination
2021-10-25 21:53:38 -07:00
Vadim Ogievetsky
f2106d7621
Web console: Add segment size in bytes column and hide it by default ( #11797 )
...
* add segment size column
* allow hidden default column
* fix tests
* update e2e tests
2021-10-25 13:24:44 -07:00
Vadim Ogievetsky
4354e43983
Use existing queryId if it exists ( #11834 )
2021-10-23 19:02:39 -07:00
andreacyc
adb2237628
Fix CVE-2021-3749 reported in security vulnerabilities job ( #11786 )
...
* Fix CVE-2021-3749 reported in security vulnerabilities job
* test why test fail
* update axios
* remove console log for testing
2021-10-08 23:02:58 -07:00
Vadim Ogievetsky
635490d568
don't throw local storage errors ( #11752 )
2021-10-05 18:49:16 -07:00
Vadim Ogievetsky
c1e0e6825f
auto refresh in foreground only ( #11750 )
2021-10-05 18:48:23 -07:00
andreacyc
f82baf174e
Support real query cancelling for web console ( #11738 )
...
* Support real query cancelling for web console
* use uuid for queryId, create isSql reuse variable, and add catch for rejectionhandled promise
* remove delete api promise.then() response
* slove conflicts
* update read me with debug
* add degub code to test why CI failed
* included a druid extension called druid-testing-tools and it is not build nor loaded by default
* remove unuse variable
* remove debug log
2021-10-05 10:28:49 -07:00
Vadim Ogievetsky
b54d989cda
Web console: Account for segment granularity all ( #11697 )
...
* accont for segment granularity all
* reverse granularity list to align with ranking
2021-09-13 20:46:11 -07:00
Vadim Ogievetsky
779fe8e6ad
fix segment timeline in FireFox ( #11701 )
2021-09-13 20:45:18 -07:00
Clint Wylie
fe1d8c206a
bump version to 0.23.0-SNAPSHOT ( #11670 )
2021-09-08 15:56:04 -07:00
Vadim Ogievetsky
e4ec3527a4
Web console: Improve the lookup view UX ( #11620 )
...
* polish lookup view UX
* update snapshots
* add snapshot to git
* fixes
* update sanpshots
* restore column treatment
* update snapshot
* add gs
2021-08-30 14:36:23 -07:00
Yi Yuan
ca5e55cc8c
Fix TRIM help broken in Console SQL Editor ( #11628 )
...
* delete escape
* bug fix
Co-authored-by: yuanyi <yuanyi@freewheel.tv>
2021-08-30 13:04:35 +08:00
Vadim Ogievetsky
257bc5c62f
Web console: fix count aggregation input in the data loader ( #11485 )
...
* add typeIs
* fix unused field in count metric
* better types
* typos
* work with readonly types
* factor out apply cancel buttons
* form editor
* selection type
* unsaved changes
* form editor spec
* tidy up sampler
* more menu controls
* update e2e test
2021-08-05 12:30:30 -07:00
Yuanli Han
b83742179a
Reduce method invocation of reservoir sampling ( #11257 )
...
* reduce method invocation of reservoir sampling
* add a dynamic parameter and add benchmark
* rebase
2021-07-30 22:09:50 +08:00
John Gozde
280c08045f
Update awesome-code-style ( #11503 )
2021-07-28 09:25:18 -07:00
Vadim Ogievetsky
aee2f2e24f
Web console: better handle BigInt math ( #11450 )
...
* better handle BigInt math
* correctly brace bigint
* feedback fixes and tests
2021-07-20 17:17:19 -07:00
Vadim Ogievetsky
377b5e708c
Web console: Data loading walkthrough fixes ( #11416 )
...
* fix quotes
* fix sql doc parsing
* prevent array-input from losing position while the user is typing
* make group filter click-to-filterable
* fix casing bug in exact table search
* do not sort columns in smaples
* can bypass transform step
* fixed string json parsing
* improve PartitionMessage
* better error messages
* feedback fixes
* tool to order dimensions in schema view
2021-07-10 07:56:50 -07:00
Vadim Ogievetsky
561cc71838
Web console: allow encoding of ASCII control chars ( #10795 )
...
* allow encoding of ascii control chars
* change to JSON
* make json escpaes work
* update snapshot
* break out component
* fix test
* update test script
* update formatter to be more chill
2021-06-26 18:54:41 -07:00
Vadim Ogievetsky
f56a5b9ba2
Web console: Better hotkeys and library upgrades ( #11365 )
...
* improve hotkeys
* fix test name
* refactor explain dialog
* explain tests
* small fixes
* update to popover2
* use resize sensor 2
* misc cleanup
2021-06-17 18:24:29 -07:00
Vadim Ogievetsky
2e98d3c1ad
Web console: Make segment timeline work over all time intervals ( #11359 )
...
* tidy up
* add to segments view
* add unit tests for date
* better util export
* fix ds view
* fix tests
* fix test in time
* unset untermediate state
2021-06-17 16:10:06 -07:00
John Gozde
ac9b1f81b4
Web console: Remove support for IE11 and other older browsers ( #11357 )
...
* Use common browserlist and update to drop IE11
* Change TypeScript target to ES2016
* Update browserslist for "supports es6" support
* Show a warning if accessed from an unsupported browser
* Inline browser-update styles; detect SyntaxErrors too
* Better wording
* Upgrade to the latest Blueprint
* Refactor RunButton to be FC, use useHotkeys
* Remove dead license
* Update snapshots
* Address feedback
* Wording
Co-authored-by: Vadim Ogievetsky <vadimon@gmail.com>
Co-authored-by: Vadim Ogievetsky <vadimon@gmail.com>
2021-06-10 19:05:40 -07:00
Vadim Ogievetsky
0c5d1c9725
Web console: add more query fixing auto suggestions ( #11203 )
...
* add more query fixing auto suggestions
* update query gen
* update toolkit
* update licenses
* fix funky quotes
* funky => fancy
* revert engine change
* separate web-console and website npm and node deps
2021-06-04 09:29:00 -07:00
Vadim Ogievetsky
31c811d894
Web console: Fix maxRowsPerSegment validation in hashed compaction spec ( #11308 )
...
* allow defining of maxRowsPerSegment for now
* use common util
* update snapshots
* fix test
* fix e2e test
2021-05-27 16:36:42 -07:00
Vadim Ogievetsky
d85e8b708b
Web console: fix SegmentTimeline query ( #11204 )
...
* fix SegmentTimeline query
* test query
2021-05-14 14:48:23 -07:00
Vadim Ogievetsky
d11be88c4b
Fix required field treatment ( #11228 )
2021-05-11 17:58:37 -07:00
Vadim Ogievetsky
15de29a2c4
Handle not having default rules better ( #11214 )
2021-05-10 15:13:15 -04:00
Lucas Capistrant
bb3c810b36
Create dynamic config that can limit number of non-primary replicants loaded per coordination cycle ( #11135 )
...
* lay the groundwork for throttling replicant loads per RunRules execution
* Add dynamic coordinator config to control new replicant threshold.
* remove redundant line
* add some unit tests
* fix checkstyle error
* add documentation for new dynamic config
* improve docs and logs
* Alter how null is handled for new config. If null, manually set as default
2021-05-05 07:39:36 -05:00
Clint Wylie
cd1ddcd36b
Web Console: allow pollPeriod to be defined in JDBC lookup config ( #11193 )
...
* allow pollPeriod to be defined in JDBC lookup config
* add test
* save the whales
2021-05-04 00:11:26 -07:00
Vadim Ogievetsky
1b07d554a8
Misc QueryView UX improvments ( #11158 )
2021-04-27 10:26:01 -07:00
John Gozde
9745d9e1c3
Web console: Switch to ESLint ( #11142 )
...
* Initial eslint config
* I guess eslint sorts underscores differently
* Trim curlies (in jsx)
* Re-organize rules
* Use consistent quote props
* Restructure eslint rules as additions/overrides to recommended configs
* Fix the 'recommended' stuff
* Add prefer-readonly
* Add prefer-object-spread
* Prettify
* Add eslint-plugin-react-hooks
* Switch to eslint-plugin-simple-sort-order
So much better
* Add no-extraneous-dependencies
* ban-tslint-comment for funzies
* If we enabled no-shadow, we'd probably want this option
* Not prefer-for-of
* no-confusing-void-expression, no-confusing-non-null-assertion
* Add some no-unnecessary-* rules
* non-nullable-type-assertion-style!
* prefer-includes
* Reorganize
* prefer-things
* switch-exhaustiveness-check
* We don't need the jsdoc plugin, prettier has our backs
* Remove a useless rule
* Drop TSLint and (temporarily) awesome-code-style
* Removing Object.assign revealed a type issue
* Bring back awesome-code-style for sasslint config
* Disable react/jsx-no-target-blank
* Add prettify-check script
* Add license to eslint config
* Format readme
* Update README for eslint, IDE settings
* Add 'autofix' script
* Switch to @awesome-code-style
2021-04-22 19:33:03 -07:00