-
Notifications
You must be signed in to change notification settings - Fork 99
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
Sprint2 (#47) #868
Merged
Merged
Sprint2 (#47) #868
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -75,7 +75,7 @@ export const REDUX_EXPL_SLICE_FIELDS = 'fields'; | |
export const REDUX_EXPL_SLICE_QUERY_TABS = 'queryTabs'; | ||
export const REDUX_EXPL_SLICE_VISUALIZATION = 'explorerVisualization'; | ||
export const REDUX_EXPL_SLICE_COUNT_DISTRIBUTION = 'countDistributionVisualization'; | ||
export const PLOTLY_GAUGE_COLUMN_NUMBER = 5; | ||
export const PLOTLY_GAUGE_COLUMN_NUMBER = 4; | ||
export const APP_ANALYTICS_TAB_ID_REGEX = /application-analytics-tab.+/; | ||
export const DEFAULT_AVAILABILITY_QUERY = 'stats count() by span( timestamp, 1h )'; | ||
export const ADD_BUTTON_TEXT = '+ Add color theme'; | ||
|
@@ -118,6 +118,8 @@ export const AGGREGATION_OPTIONS = [ | |
}, | ||
]; | ||
|
||
// numeric fields type for metrics | ||
export const numericalTypes = ['float', 'double', 'bigint', 'long', 'octet', 'short', 'byte', 'integer']; | ||
// Data table constants | ||
export const GRID_HEADER_COLUMN_MAX_WIDTH = '150px'; | ||
export const GRID_PAGE_RANGE_DISPLAY = 5; | ||
|
@@ -130,3 +132,22 @@ export const ROW_DENSITIES = [ | |
]; | ||
|
||
export const HEADER_HEIGHT = 35; | ||
|
||
// gauge chart default parameters | ||
export interface DefaultGaugeChartParametersProps { | ||
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. seems like this is type, not constants. Please move these to /common/types/explorer.ts 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. Sure @mengweieric , Thanks! |
||
GaugeTitleSize: number, | ||
DisplayDefaultGauges: number, | ||
OrientationDefault: string, | ||
TickLength: number, | ||
LegendPlacement: string, | ||
ThresholdsMaxLimit: number | ||
}; | ||
|
||
export const DefaultGaugeChartParameters: DefaultGaugeChartParametersProps = { | ||
GaugeTitleSize: 14, | ||
DisplayDefaultGauges: 1, | ||
OrientationDefault: 'h', | ||
TickLength: 5, | ||
LegendPlacement: 'center', | ||
ThresholdsMaxLimit: 1 | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Could we further break down this event test file into smaller files that all with the same prefix? We can extract visualization only tests to a different spec file
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.
Yes Eric we have already divided the event file into smaller ones on the basis of different charts and made a new folder for Visualizations charts. The code is still to be merged.
Please refer to the image below and suggest if any change is required.