Skip to content

Commit

Permalink
Web console: refactor and improve the segment timeline (try 2) (apach…
Browse files Browse the repository at this point in the history
…e#17521)

* refactor and improve the segment timeline

* us consistent state

* type cleanup

* add shpitz

* better bubble

* Update web-console/src/components/segment-timeline/segment-bar-chart-render.tsx

Co-authored-by: Clint Wylie <[email protected]>

---------

Co-authored-by: Clint Wylie <[email protected]>
  • Loading branch information
vogievetsky and clintropolis authored Nov 28, 2024
1 parent 0325f62 commit ddbb985
Show file tree
Hide file tree
Showing 200 changed files with 5,580 additions and 2,379 deletions.
94 changes: 37 additions & 57 deletions licenses.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5125,15 +5125,6 @@ version: 5.2.5

---

name: "@druid-toolkit/query"
license_category: binary
module: web-console
license_name: Apache License version 2.0
copyright: Imply Data
version: 0.22.23

---

name: "@emotion/cache"
license_category: binary
module: web-console
Expand Down Expand Up @@ -5224,6 +5215,16 @@ license_file_path: licenses/bin/@emotion-weak-memoize.MIT

---

name: "@flatten-js/interval-tree"
license_category: binary
module: web-console
license_name: MIT License
copyright: Alex Bol
version: 1.1.3
license_file_path: licenses/bin/@flatten-js-interval-tree.MIT

---

name: "@fontsource/open-sans"
license_category: binary
module: web-console
Expand All @@ -5234,6 +5235,15 @@ license_file_path: licenses/bin/@fontsource-open-sans.OFL

---

name: "@internationalized/date"
license_category: binary
module: web-console
license_name: Apache License version 2.0
copyright: Adobe
version: 3.5.6

---

name: "@popperjs/core"
license_category: binary
module: web-console
Expand All @@ -5244,6 +5254,15 @@ license_file_path: licenses/bin/@popperjs-core.MIT

---

name: "@swc/helpers"
license_category: binary
module: web-console
license_name: Apache License version 2.0
copyright: 강동윤
version: 0.5.13

---

name: "@types/parse-json"
license_category: binary
module: web-console
Expand Down Expand Up @@ -5404,15 +5423,6 @@ license_file_path: licenses/bin/change-case.MIT

---

name: "chronoshift"
license_category: binary
module: web-console
license_name: Apache License version 2.0
copyright: Vadim Ogievetsky
version: 0.10.0

---

name: "classnames"
license_category: binary
module: web-console
Expand Down Expand Up @@ -5702,6 +5712,15 @@ license_file_path: licenses/bin/dot-case.MIT

---

name: "druid-query-toolkit"
license_category: binary
module: web-console
license_name: Apache License version 2.0
copyright: Imply Data
version: 1.0.0

---

name: "echarts"
license_category: binary
module: web-console
Expand Down Expand Up @@ -5801,16 +5820,6 @@ license_file_path: licenses/bin/has-flag.MIT

---

name: "has-own-prop"
license_category: binary
module: web-console
license_name: MIT License
copyright: Sindre Sorhus
version: 2.0.0
license_file_path: licenses/bin/has-own-prop.MIT

---

name: "hasown"
license_category: binary
module: web-console
Expand Down Expand Up @@ -5871,15 +5880,6 @@ license_file_path: licenses/bin/iconv-lite.MIT

---

name: "immutable-class"
license_category: binary
module: web-console
license_name: Apache License version 2.0
copyright: Vadim Ogievetsky
version: 0.11.2

---

name: "import-fresh"
license_category: binary
module: web-console
Expand Down Expand Up @@ -6060,26 +6060,6 @@ license_file_path: licenses/bin/mime-types.MIT

---

name: "moment-timezone"
license_category: binary
module: web-console
license_name: MIT License
copyright: Tim Wood
version: 0.5.43
license_file_path: licenses/bin/moment-timezone.MIT

---

name: "moment"
license_category: binary
module: web-console
license_name: MIT License
copyright: Iskren Ivov Chernev
version: 2.29.4
license_file_path: licenses/bin/moment.MIT

---

name: "no-case"
license_category: binary
module: web-console
Expand Down
2 changes: 1 addition & 1 deletion web-console/e2e-tests/tutorial-batch.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

import { T } from '@druid-toolkit/query';
import { T } from 'druid-query-toolkit';
import type * as playwright from 'playwright-chromium';

import { DatasourcesOverview } from './component/datasources/overview';
Expand Down
2 changes: 2 additions & 0 deletions web-console/jest.common.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@

const { createJsWithTsPreset } = require('ts-jest');

process.env.TZ = 'UTC';

module.exports = {
testEnvironment: 'jsdom',
transformIgnorePatterns: ['/node_modules/(?!(d3-.+)/)'],
Expand Down
8 changes: 8 additions & 0 deletions web-console/lib/keywords.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,15 +100,23 @@ export const SQL_EXPRESSION_PARTS = [
'TRAILING',
'EPOCH',
'SECOND',
'SECONDS',
'MINUTE',
'MINUTES',
'HOUR',
'HOURS',
'DAY',
'DAYS',
'DOW',
'DOY',
'WEEK',
'WEEKS',
'MONTH',
'MONTHS',
'QUARTER',
'QUARTERS',
'YEAR',
'YEARS',
'TIMESTAMP',
'INTERVAL',
'CSV',
Expand Down
Loading

0 comments on commit ddbb985

Please sign in to comment.