Skip to content
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

Explorer's timeheader & color change #959

Merged
merged 26 commits into from
Sep 8, 2023
Merged
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
141e9a8
horizontal to vertical hits/timechart
paulstn Aug 15, 2023
1486cca
Added timespan to the header
paulstn Aug 15, 2023
1c9eece
Correct formatting of timespan header
paulstn Aug 15, 2023
5fe2524
small todo reminder
paulstn Aug 15, 2023
55a9c3b
Fixing type issues and undefined behavior
paulstn Aug 18, 2023
aab5046
Color and y-axis name change
paulstn Aug 22, 2023
655cdc6
fix timechart header to be up to date
paulstn Aug 23, 2023
d3755a8
added all snapshots
paulstn Aug 25, 2023
227eefa
added upstream snapshots
paulstn Aug 25, 2023
700d764
added one missing snapshot
paulstn Aug 25, 2023
12b4fef
snapshot
paulstn Aug 28, 2023
9d2dd25
jest test change upload
paulstn Aug 28, 2023
19391eb
constant datetimes to timeheader added
paulstn Aug 28, 2023
6aa863b
Updated OSD to get new snapshots
paulstn Aug 28, 2023
1b1a74b
remove redundant field, update constants, move daterange up
paulstn Aug 28, 2023
1244818
snapshot
paulstn Aug 28, 2023
db240fb
remove unneeded brackets
paulstn Aug 29, 2023
da63e09
change back color
paulstn Aug 29, 2023
1d23803
code clarity change
paulstn Aug 29, 2023
f8b3188
updated snapshots
paulstn Aug 29, 2023
00eafa3
change back some code
paulstn Aug 30, 2023
c3c790f
modify line to use lodash array sum
paulstn Sep 1, 2023
ae81d0d
Merge branch 'main' of https://github.com/opensearch-project/dashboar…
paulstn Sep 1, 2023
92fa380
Merge branch 'main' of https://github.com/opensearch-project/dashboar…
paulstn Sep 5, 2023
a91c993
Merge branch 'main' of https://github.com/opensearch-project/dashboar…
paulstn Sep 7, 2023
f1e5bfe
Merge branch 'explorer-header-color' of https://github.com/paulstn/da…
paulstn Sep 7, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
added all snapshots
Signed-off-by: Paul Sebastian <paulstn@amazon.com>
paulstn committed Aug 25, 2023

Verified

This commit was signed with the committer’s verified signature.
MGatner MGatner
commit d3755a8667d4ecb7234b5f2d2c6e2d714d0d7f12
Original file line number Diff line number Diff line change
@@ -1423,7 +1423,7 @@ exports[`Utils helper functions renders displayVisualization function 1`] = `
"barmode": "group",
"colorway": Array [
"#3CA1C7",
"#8C55A3",
"#54B399",
"#DB748A",
"#F2BE4B",
"#68CCC2",
@@ -1516,7 +1516,7 @@ exports[`Utils helper functions renders displayVisualization function 1`] = `
"barmode": "group",
"colorway": Array [
"#3CA1C7",
"#8C55A3",
"#54B399",
"#DB748A",
"#F2BE4B",
"#68CCC2",
@@ -2057,7 +2057,7 @@ exports[`Utils helper functions renders displayVisualization function 2`] = `
"layout": Object {
"colorway": Array [
"#3CA1C7",
"#8C55A3",
"#54B399",
"#DB748A",
"#F2BE4B",
"#68CCC2",
@@ -2573,7 +2573,7 @@ exports[`Utils helper functions renders displayVisualization function 2`] = `
"layout": Object {
"colorway": Array [
"#3CA1C7",
"#8C55A3",
"#54B399",
"#DB748A",
"#F2BE4B",
"#68CCC2",
@@ -3103,7 +3103,7 @@ exports[`Utils helper functions renders displayVisualization function 2`] = `
"layout": Object {
"colorway": Array [
"#3CA1C7",
"#8C55A3",
"#54B399",
"#DB748A",
"#F2BE4B",
"#68CCC2",
@@ -4768,7 +4768,7 @@ exports[`Utils helper functions renders displayVisualization function 3`] = `
"barmode": "group",
"colorway": Array [
"#3CA1C7",
"#8C55A3",
"#54B399",
"#DB748A",
"#F2BE4B",
"#68CCC2",
@@ -4861,7 +4861,7 @@ exports[`Utils helper functions renders displayVisualization function 3`] = `
"barmode": "group",
"colorway": Array [
"#3CA1C7",
"#8C55A3",
"#54B399",
"#DB748A",
"#F2BE4B",
"#68CCC2",
Original file line number Diff line number Diff line change
@@ -157,7 +157,11 @@ exports[`Time chart header component Renders Time chart header component 1`] = `
data-test-subj="discoverIntervalDateRange"
onBlur={[Function]}
onFocus={[Function]}
/>
>
Aug 25, 2023 @ 18:20:05.160
-
Aug 25, 2023 @ 18:20:05.164
</div>
</EuiText>
</span>
</EuiToolTip>
Original file line number Diff line number Diff line change
@@ -1602,7 +1602,7 @@ exports[`Config panel component Renders config panel with visualization data 1`]
"layout": Object {
"colorway": Array [
"#3CA1C7",
"#8C55A3",
"#54B399",
"#DB748A",
"#F2BE4B",
"#68CCC2",
@@ -1835,7 +1835,7 @@ exports[`Config panel component Renders config panel with visualization data 1`]
"layout": Object {
"colorway": Array [
"#3CA1C7",
"#8C55A3",
"#54B399",
"#DB748A",
"#F2BE4B",
"#68CCC2",
@@ -2333,7 +2333,7 @@ exports[`Config panel component Renders config panel with visualization data 1`]
"layout": Object {
"colorway": Array [
"#3CA1C7",
"#8C55A3",
"#54B399",
"#DB748A",
"#F2BE4B",
"#68CCC2",
Original file line number Diff line number Diff line change
@@ -71,7 +71,7 @@ exports[`Count distribution component Renders count distribution component with
layout={
Object {
"colorway": Array [
"#8C55A3",
"#54B399",
],
"height": 220,
"margin": Object {
@@ -120,7 +120,7 @@ exports[`Count distribution component Renders count distribution component with
"autosize": true,
"barmode": "stack",
"colorway": Array [
"#8C55A3",
"#54B399",
],
"height": 220,
"hovermode": "closest",
@@ -145,6 +145,9 @@ exports[`Count distribution component Renders count distribution component with
"yaxis": Object {
"rangemode": "normal",
"showgrid": true,
"title": Object {
"text": "Count",
},
"zeroline": false,
},
}
Original file line number Diff line number Diff line change
@@ -220,6 +220,9 @@ exports[`Service breakdown panel component renders service breakdown panel 1`] =
"yaxis": Object {
"rangemode": "normal",
"showgrid": true,
"title": Object {
"text": "Count",
},
"zeroline": false,
},
}
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ exports[`Veritcal Bar component Renders veritcal bar component 1`] = `
layout={
Object {
"colorway": Array [
"#8C55A3",
"#54B399",
],
"height": 220,
"margin": Object {
@@ -698,7 +698,7 @@ exports[`Veritcal Bar component Renders veritcal bar component 1`] = `
"bargroupgap": 0.030000000000000027,
"barmode": "group",
"colorway": Array [
"#8C55A3",
"#54B399",
],
"height": 220,
"hovermode": "closest",
@@ -756,7 +756,7 @@ exports[`Veritcal Bar component Renders veritcal bar component 1`] = `
"bargroupgap": 0.030000000000000027,
"barmode": "group",
"colorway": Array [
"#8C55A3",
"#54B399",
],
"height": 220,
"hovermode": "closest",
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ exports[`Gauge component Renders gauge component 1`] = `
layout={
Object {
"colorway": Array [
"#8C55A3",
"#54B399",
],
"height": 220,
"margin": Object {
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ exports[`Heatmap component Renders heatmap component 1`] = `
layout={
Object {
"colorway": Array [
"#8C55A3",
"#54B399",
],
"height": 220,
"margin": Object {
@@ -710,7 +710,7 @@ exports[`Heatmap component Renders heatmap component 1`] = `
layout={
Object {
"colorway": Array [
"#8C55A3",
"#54B399",
],
"height": 220,
"margin": Object {
@@ -763,7 +763,7 @@ exports[`Heatmap component Renders heatmap component 1`] = `
"autosize": true,
"barmode": "stack",
"colorway": Array [
"#8C55A3",
"#54B399",
],
"height": 220,
"hovermode": "closest",
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ exports[`Histogram component Renders histogram component 1`] = `
layout={
Object {
"colorway": Array [
"#8C55A3",
"#54B399",
],
"height": 220,
"margin": Object {
@@ -711,7 +711,7 @@ exports[`Histogram component Renders histogram component 1`] = `
Object {
"barmode": "group",
"colorway": Array [
"#8C55A3",
"#54B399",
],
"height": 220,
"legend": Object {
@@ -767,7 +767,7 @@ exports[`Histogram component Renders histogram component 1`] = `
"autosize": true,
"barmode": "group",
"colorway": Array [
"#8C55A3",
"#54B399",
],
"height": 220,
"hovermode": "closest",
@@ -792,6 +792,9 @@ exports[`Histogram component Renders histogram component 1`] = `
"yaxis": Object {
"rangemode": "normal",
"showgrid": true,
"title": Object {
"text": "Count",
},
"zeroline": false,
},
}
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ exports[`Horizontal bar component Renders horizontal bar component 1`] = `
layout={
Object {
"colorway": Array [
"#8C55A3",
"#54B399",
],
"height": 220,
"margin": Object {
@@ -698,7 +698,7 @@ exports[`Horizontal bar component Renders horizontal bar component 1`] = `
"bargroupgap": 0.030000000000000027,
"barmode": "group",
"colorway": Array [
"#8C55A3",
"#54B399",
],
"height": 220,
"hovermode": "closest",
@@ -756,7 +756,7 @@ exports[`Horizontal bar component Renders horizontal bar component 1`] = `
"bargroupgap": 0.030000000000000027,
"barmode": "group",
"colorway": Array [
"#8C55A3",
"#54B399",
],
"height": 220,
"hovermode": "closest",
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ exports[`Line component Renders line component 1`] = `
layout={
Object {
"colorway": Array [
"#8C55A3",
"#54B399",
],
"height": 220,
"margin": Object {
@@ -697,7 +697,7 @@ exports[`Line component Renders line component 1`] = `
Object {
"autosize": true,
"colorway": Array [
"#8C55A3",
"#54B399",
],
"height": 220,
"legend": Object {
@@ -749,7 +749,7 @@ exports[`Line component Renders line component 1`] = `
"autosize": true,
"barmode": "stack",
"colorway": Array [
"#8C55A3",
"#54B399",
],
"height": 220,
"hovermode": "closest",
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ exports[`Metrics component Renders Metrics component 1`] = `
layout={
Object {
"colorway": Array [
"#8C55A3",
"#54B399",
],
"height": 220,
"margin": Object {
@@ -618,7 +618,7 @@ exports[`Metrics component Renders Metrics component 1`] = `
"layout": Object {
"colorway": Array [
"#3CA1C7",
"#8C55A3",
"#54B399",
"#DB748A",
"#F2BE4B",
"#68CCC2",
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ exports[`Pie component Renders pie component 1`] = `
layout={
Object {
"colorway": Array [
"#8C55A3",
"#54B399",
],
"height": 220,
"margin": Object {
@@ -686,7 +686,7 @@ exports[`Pie component Renders pie component 1`] = `
layout={
Object {
"colorway": Array [
"#8C55A3",
"#54B399",
],
"grid": Object {
"columns": 0,
@@ -733,7 +733,7 @@ exports[`Pie component Renders pie component 1`] = `
"autosize": true,
"barmode": "stack",
"colorway": Array [
"#8C55A3",
"#54B399",
],
"grid": Object {
"columns": 0,
@@ -773,6 +773,9 @@ exports[`Pie component Renders pie component 1`] = `
"yaxis": Object {
"rangemode": "normal",
"showgrid": true,
"title": Object {
"text": "Count",
},
"zeroline": false,
},
}
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ exports[`Treemap component Renders treemap component 1`] = `
layout={
Object {
"colorway": Array [
"#8C55A3",
"#54B399",
],
"height": 220,
"margin": Object {
@@ -723,7 +723,7 @@ exports[`Treemap component Renders treemap component 1`] = `
layout={
Object {
"colorway": Array [
"#8C55A3",
"#54B399",
],
"height": 220,
"margin": Object {
@@ -790,7 +790,7 @@ exports[`Treemap component Renders treemap component 1`] = `
"autosize": true,
"barmode": "stack",
"colorway": Array [
"#8C55A3",
"#54B399",
],
"height": 220,
"hovermode": "closest",
@@ -817,6 +817,9 @@ exports[`Treemap component Renders treemap component 1`] = `
"yaxis": Object {
"rangemode": "normal",
"showgrid": true,
"title": Object {
"text": "Count",
},
"zeroline": false,
},
}
Original file line number Diff line number Diff line change
@@ -36,7 +36,7 @@ exports[`Ploty base component Renders Ploty base component 1`] = `
layout={
Object {
"colorway": Array [
"#8C55A3",
"#54B399",
],
"height": 220,
"margin": Object {
@@ -101,7 +101,7 @@ exports[`Ploty base component Renders Ploty base component 1`] = `
"autosize": true,
"barmode": "stack",
"colorway": Array [
"#8C55A3",
"#54B399",
],
"height": 220,
"hovermode": "closest",