-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sprint1 : combine PR for visualization from Sprint1 #824
Changes from 38 commits
ed78cff
5f8ed2b
3da4b49
4a4207c
790b33b
b5a6191
bae6b96
c91c934
30e7e88
6e399da
8235008
68fd32a
f2d3d32
a76ac36
23373a1
988e761
2cb28f7
e632d77
dbd564e
8e6769d
6789e81
546130e
3b54ee0
4fbef03
61ed1b0
5a231a4
6daacf3
c7c5a7c
6501581
8514ee3
a5ceefb
d1b6485
233a160
dca1282
77a58b1
d8374af
6bc9f46
ba4d535
268a49d
b6022c7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* | ||
* Copyright OpenSearch Contributors | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
export const GRID_HEADER_COLUMN_MAX_WIDTH = '150px'; | ||
export const GRID_PAGE_RANGE_DISPLAY = 5; | ||
export const COLUMN_DEFAULT_MIN_WIDTH = 100; | ||
export const GRID_PAGE_SIZES = [10, 50, 100]; | ||
export const ROW_DENSITIES = [ | ||
{ icon: 'tableDensityExpanded', height: 55, selected: false }, | ||
{ icon: 'tableDensityNormal', height: 45, selected: false }, | ||
{ icon: 'tableDensityCompact', height: 35, selected: true }, | ||
]; | ||
|
||
export const HEADER_HEIGHT = 35; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If the data table is used inside event analytics let's move this to |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,8 +17,11 @@ | |
"@nteract/outputs": "^3.0.11", | ||
"@nteract/presentational-components": "^3.4.3", | ||
"@reduxjs/toolkit": "^1.6.1", | ||
"ag-grid-community": "^27.3.0", | ||
"ag-grid-react": "^27.3.0", | ||
Comment on lines
+20
to
+21
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why do we need to add this new dependency? Is there an issue/document where we discussed what was not available in EUI components. Adding more packages, puts lot more maintenance issues in long term. Thus, we should have strong reasons to support addition of this package. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. hi @ps48 , thanks, |
||
"plotly.js-dist": "^2.2.0", | ||
"react-graph-vis": "^1.0.5", | ||
"react-paginate": "^8.1.3", | ||
"react-plotly.js": "^2.5.1" | ||
}, | ||
"devDependencies": { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we please use
data-test-subj
where possible. Usually the cypress tests are flaky when we search by classname.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure. Going forward we will make sure of using
data-test-subj
wherever application in place of classname.