-
Notifications
You must be signed in to change notification settings - Fork 55
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
Initial commits for kicking off query editor implementations and datasource support #546
Initial commits for kicking off query editor implementations and datasource support #546
Conversation
Signed-off-by: Eric Wei <menwe@amazon.com>
Signed-off-by: EC2 Default User <ec2-user@ip-172-31-2-58.us-east-2.compute.internal>
Signed-off-by: EC2 Default User <ec2-user@ip-172-31-2-58.us-east-2.compute.internal>
Signed-off-by: EC2 Default User <ec2-user@ip-172-31-2-58.us-east-2.compute.internal>
Signed-off-by: Eric Wei <menwe@amazon.com>
Codecov Report
@@ Coverage Diff @@
## feature/flint-UI #546 +/- ##
=================================================
Coverage 42.85% 42.85%
=================================================
Files 299 299
Lines 17800 17800
Branches 4409 4361 -48
=================================================
+ Hits 7628 7629 +1
+ Misses 10131 10130 -1
Partials 41 41
Flags with carried forward coverage won't be shown. Click here to find out more. |
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.
lgtm, left some comments on the types, i find it hard to understand and change code without correct types, it would be easier if we can utilize type checks better
export type IDatasourcePluginMeta = IPluginMeta; | ||
|
||
export interface IDatasourcePluginComponents { | ||
QueryEditor: any; |
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.
React.ReactNode?
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, later I'll compose more specific component type with props, this is in progress, but will add such type
|
||
<EuiSpacer size="s" /> | ||
|
||
{query.editorMode === 'query_editor' && <SqlRawQueryEditor onEditorChange={() => {}} />} |
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.
probably for later but useCallback on onEditorChange
function? since you are memorizing MonacoRawQueryEditor (and is it needed?)
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 will add later now it's just a placeholder function here
import { MonacoRawQueryEditor } from '../monaco_raw_query_editor'; | ||
import { QueryHeader } from '../query_header'; | ||
|
||
export const SqlRawQueryEditor = (props) => { |
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.
np. add type for props?
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.
Will add for sure, now it's not yet finalized what are the props it needs
|
||
export interface IDatasourceService { | ||
getInstance: (dsRef: any) => any; | ||
getList: (filters: any) => any; |
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.
np. possible to reduce the any
s?..
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.
yea like others, will avoid any all over the places, i've got more changes coming in for this, for now it's just placeholders
const QUERY_MODE_OPTIONS = [ | ||
{ label: 'Builder', id: 'visual_builder' }, | ||
{ label: 'Code', id: 'query_editor' }, | ||
]; | ||
|
||
export const QueryModeSwitcher = () => { | ||
const [toggleCompressedIdSelected, setToggleCompressedIdSelected] = useState('query_editor'); |
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.
ideally
const QUERY_MODE_OPTIONS = [
{ label: 'Builder', id: 'visual_builder' },
{ label: 'Code', id: 'query_editor' },
] as const satisfies EuiButtonGroupOptionProps[];
export const QueryModeSwitcher = () => {
const [toggleCompressedIdSelected, setToggleCompressedIdSelected] =
useState<(typeof QUERY_MODE_OPTIONS)[number]['id']>('query_editor');
might be too much and not sure if OSD's typescript version supports satisfies
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.
seems like not supported. but type EuiButtonGroupOptionProps[] makes sense
export class DatasourceService implements IDatasourceService { | ||
private datasources: Record<string, Datasource> = {}; | ||
private settingsByName: Record<string, Datasource> = {}; | ||
private settingsByType: Record<string, Datasource> = {}; |
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.
should Record<string, Datasource>
be KeyValue<Datasource>
?
} | ||
|
||
setQueryEditor(QueryEditor: any) { | ||
this.components.QueryEditor = QueryEditor; |
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.
when is this.components
set?
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.
this part is not added yet, coming up.
Yes totally agreed. For this PR, many functions/components are not yet settled and under discussions/constructions, this PR is more for getting started with a feature branch then I'm able to keep posting smaller PRs that includes code that are really functioning, restricted with types and covered by tests. |
…source support (#546) * initial commit - monaco editor Signed-off-by: Eric Wei <menwe@amazon.com> * raw editor Signed-off-by: EC2 Default User <ec2-user@ip-172-31-2-58.us-east-2.compute.internal> * visual builder placeholder Signed-off-by: EC2 Default User <ec2-user@ip-172-31-2-58.us-east-2.compute.internal> * datasource intial frame Signed-off-by: EC2 Default User <ec2-user@ip-172-31-2-58.us-east-2.compute.internal> * minor changes Signed-off-by: Eric Wei <menwe@amazon.com> --------- Signed-off-by: Eric Wei <menwe@amazon.com> Signed-off-by: EC2 Default User <ec2-user@ip-172-31-2-58.us-east-2.compute.internal> Co-authored-by: EC2 Default User <ec2-user@ip-172-31-2-58.us-east-2.compute.internal>
* added new license * Fix release notes links (#62) Signed-off-by: Joshua Li <joshuali925@gmail.com> * added sidebar & home page * code clean up * Feature/visualization (#83) * resloved conflicts for rebasing * added overall layout and render fields * added two types of charts * added config panel for vis * removed unused files and for a quick demo * add intial redux setup * added initial reducer * refactorings for redux * minor code cleanup * adjusted chart styling, added timespan selector * added timestamp flag and checking for charts * fixed sidebar field icon issue * code cleanup * license and minor changes * changes for code review * removed few comments * Feature/observability custom panels (#87) * initial commit adding custom operational panels * added dummy router and moved common/constants * fix breadcrumbs and Link in panel view * removed unnecessary headers and fixed new panel redirect * fixing headers * changed variable type, moved name validator in utilities & formatted document * removed old operational panels page * Feature/visualization (#88) * resloved conflicts for rebasing * added overall layout and render fields * added two types of charts * added config panel for vis * removed unused files and for a quick demo * add intial redux setup * added initial reducer * refactorings for redux * minor code cleanup * adjusted chart styling, added timespan selector * added timestamp flag and checking for charts * fixed sidebar field icon issue * code cleanup * license and minor changes * changes for code review * removed few comments * bar/line visualization * count distribution changes * added save popover * event explorer home * minor changes * added types and removed comments * Feature query regex (#94) * added regex to get index * file renaming to unify naming converntions * file renaming * a minor refactoring * regex changes * minor fix for regex * Move documents and repo setups Signed-off-by: Joshua Li <joshuali925@gmail.com> * Remove manual sidenav index Signed-off-by: Joshua Li <joshuali925@gmail.com> * Add placeholders pages for trace analytics Signed-off-by: Joshua Li <joshuali925@gmail.com> * Move TA to subdirectory Signed-off-by: Joshua Li <joshuali925@gmail.com> * Move TA to subdirectory Signed-off-by: Joshua Li <joshuali925@gmail.com> * Update maintainers Signed-off-by: Joshua Li <joshuali925@gmail.com> * Disable workflows Signed-off-by: Joshua Li <joshuali925@gmail.com> * Set up repo to prepare merging trace analytics (#97) * Move observability to trace analytics position in dashboards side nav Signed-off-by: Joshua Li <joshuali925@gmail.com> * Organize trace analytics project structure Signed-off-by: Joshua Li <joshuali925@gmail.com> * Feature/custom panel add viz (#98) * added new visualization window * added react-grid-layout, plotly and UI changes * merged plotly & react-grid-layout component, added popover for viz, added sample panels * added PPL service * added new visualization module, changed name to Ops panels * changed name to operational panels * moved custom panels inside panels Home route * adding rename and delete functions in panel view * changed back the ppl endpoint * added new visualization window * added react-grid-layout, plotly and UI changes * merged plotly & react-grid-layout component, added popover for viz, added sample panels * added PPL service * added new visualization module, changed name to Ops panels * changed name to operational panels * moved custom panels inside panels Home route * adding rename and delete functions in panel view * changed back the ppl endpoint * saved visualization layout states & replaced data with ppl query * added time filter and code cleanup * moved constants->shared commmons, ontimechange()->utils and resolved comments * resued Plot component and renamed popOver variables * reverted the react-grid-layout dependency version * removed dependency react-grid-layout * Migrate trace analytics components to observability Signed-off-by: Joshua Li <joshuali925@gmail.com> * Fix corner cases for side nav when finding selected id (#101) Signed-off-by: Joshua Li <joshuali925@gmail.com> * Refactor constants and remove unused trace analytics components Signed-off-by: Joshua Li <joshuali925@gmail.com> * Feature/field search and sorting (#103) * left align th text * fixed row detail expanding issue * add fields sorting * added more types and few changes * Add security support and auto dump test data for cypress (#104) * Bump version for opensearch 1.1.0 release (#105) * Update UT and IT for trace analytics Signed-off-by: Joshua Li <joshuali925@gmail.com> * Update CI workflow file for observability Signed-off-by: Joshua Li <joshuali925@gmail.com> * Added ppl query filter, added router placeholder for panels (#108) * added actions menu items duplicate, remove * added license to forms, added support for ppl filter query * changed common constants * added router placeholders, added panel opensearch API calls * commnt fixes * header fix * Added Algolia Autocomplete Bar (#110) * Implemented drop-down autocomplete using EuiSuggest * Addressed comments in PR Signed-off-by: Li <lnse@88665a2fa6f9.ant.amazon.com> * Query bar slows down after request Signed-off-by: Li <lnse@88665a2fa6f9.ant.amazon.com> * Query bar slows down after request Signed-off-by: Li <lnse@88665a2fa6f9.ant.amazon.com> * Implemented suggestions based on previous inputs, (pipes, available indices after source) Signed-off-by: Li <lnse@88665a2fa6f9.ant.amazon.com> * Changed str to const Signed-off-by: Li <lnse@88665a2fa6f9.ant.amazon.com> * Improved grammar and accounted for no spaces between pipes/= Signed-off-by: Li <lnse@88665a2fa6f9.ant.amazon.com> * Fixed issue where query[RAW_QUERY] was undefined which caused Event Analytics page to crash Signed-off-by: Sean Li <lnse@88665a2fa6f9.ant.amazon.com> * Implemented drop-down autocomplete using EuiSuggest * Addressed comments in PR Signed-off-by: Li <lnse@88665a2fa6f9.ant.amazon.com> * Query bar slows down after request Signed-off-by: Li <lnse@88665a2fa6f9.ant.amazon.com> * Query bar slows down after request Signed-off-by: Li <lnse@88665a2fa6f9.ant.amazon.com> * Implemented suggestions based on previous inputs, (pipes, available indices after source) Signed-off-by: Li <lnse@88665a2fa6f9.ant.amazon.com> * Changed str to const Signed-off-by: Li <lnse@88665a2fa6f9.ant.amazon.com> * Improved grammar and accounted for no spaces between pipes/= Signed-off-by: Li <lnse@88665a2fa6f9.ant.amazon.com> * Fixed issue where query[RAW_QUERY] was undefined which caused Event Analytics page to crash Signed-off-by: Sean Li <lnse@88665a2fa6f9.ant.amazon.com> * For debugging Signed-off-by: Sean Li <lnse@88665a2fa6f9.ant.amazon.com> * Changed to algolia autocomplete Signed-off-by: sejli <lnse@88665a2fa6f9.ant.amazon.com> * adding package.json Signed-off-by: sejli <lnse@88665a2fa6f9.ant.amazon.com> * Fix query disappearing on enter Signed-off-by: sejli <lnse@88665a2fa6f9.ant.amazon.com> * Removing old files Signed-off-by: sejli <lnse@88665a2fa6f9.ant.amazon.com> * Adding license Signed-off-by: sejli <lnse@88665a2fa6f9.ant.amazon.com> * Adding license Signed-off-by: sejli <lnse@88665a2fa6f9.ant.amazon.com> * Added stats commands Signed-off-by: sejli <lnse@88665a2fa6f9.ant.amazon.com> * Switched to Algolia autocomplete, cleaned up styling Signed-off-by: sejli <lnse@88665a2fa6f9.ant.amazon.com> * Updated fields comma loop Signed-off-by: sejli <lnse@88665a2fa6f9.ant.amazon.com> * Removing redundant file, addressing CR Signed-off-by: sejli <lnse@88665a2fa6f9.ant.amazon.com> * Fixing directory name typo Signed-off-by: sejli <lnse@88665a2fa6f9.ant.amazon.com> * adding changed files for DSL endpoint Signed-off-by: sejli <lnse@88665a2fa6f9.ant.amazon.com> * DSL plugin added Signed-off-by: sejli <lnse@88665a2fa6f9.ant.amazon.com> * fixing conflicts Signed-off-by: sejli <lnse@88665a2fa6f9.ant.amazon.com> * fixing conflicts Signed-off-by: sejli <lnse@88665a2fa6f9.ant.amazon.com> * adding files Signed-off-by: sejli <lnse@88665a2fa6f9.ant.amazon.com> * progress on DSL endpoint Signed-off-by: sejli <lnse@88665a2fa6f9.ant.amazon.com> * incorporating backend endpoints Signed-off-by: sejli <lnse@88665a2fa6f9.ant.amazon.com> * backend implemented Signed-off-by: sejli <lnse@88665a2fa6f9.ant.amazon.com> * adding changes Signed-off-by: sejli <lnse@88665a2fa6f9.ant.amazon.com> * checking console Signed-off-by: sejli <lnse@88665a2fa6f9.ant.amazon.com> * handleQueryChange() fixed Signed-off-by: sejli <lnse@88665a2fa6f9.ant.amazon.com> * forgot this one conflicts Signed-off-by: sejli <lnse@88665a2fa6f9.ant.amazon.com> * switched to using plugin for autocomplete logic Signed-off-by: sejli <lnse@88665a2fa6f9.ant.amazon.com> * fixed issue with where pipe command Signed-off-by: sejli <lnse@88665a2fa6f9.ant.amazon.com> * Some refactoring and formatting Signed-off-by: sejli <lnse@88665a2fa6f9.ant.amazon.com> * addressing issues, cleaning up code Signed-off-by: sejli <lnse@88665a2fa6f9.ant.amazon.com> * change to snake_case Signed-off-by: sejli <lnse@88665a2fa6f9.ant.amazon.com> * adding comments Signed-off-by: sejli <lnse@88665a2fa6f9.ant.amazon.com> Co-authored-by: Li <lnse@88665a2fa6f9.ant.amazon.com> * Merge notebooks frontend to observability (#109) * Adding plugin backend adaptor (#126) * adding plugin backed adaptor * resolved comments and beautification * Update notebooks to use observability backend (#129) * Event Analytics - Add index picker to explorer page (#125) * Add index picker to explorer page * Update explorer.tsx * Feature/operational panels backend (#130) * added panel router, viz router and panel types * removed let->const * minor fix * replaced console log->error, removed index_not_found error check * Feature/p1 release (#133) * removed live button Signed-off-by: Eric Wei <menwe@amazon.com> * refresh button Signed-off-by: Eric Wei <menwe@amazon.com> * removed live button from home Signed-off-by: Eric Wei <menwe@amazon.com> * xaxis range selectable Signed-off-by: Eric Wei <menwe@amazon.com> * added new charts Signed-off-by: Eric Wei <menwe@amazon.com> * added sidebar to vis, hided vis setting panel Signed-off-by: Eric Wei <menwe@amazon.com> * fixed a bar issue Signed-off-by: Eric Wei <menwe@amazon.com> * modified run/refresh button Signed-off-by: Eric Wei <menwe@amazon.com> * hided surrounding docs Signed-off-by: Eric Wei <menwe@amazon.com> * disabled insights Signed-off-by: Eric Wei <menwe@amazon.com> * disable reset button and remove s/ms options Signed-off-by: Eric Wei <menwe@amazon.com> * breadcrumb/route changes Signed-off-by: Eric Wei <menwe@amazon.com> * add date range to query & added runtime fields Signed-off-by: Eric Wei <menwe@amazon.com> * disabled toggle button for queried fields Signed-off-by: Eric Wei <menwe@amazon.com> * modified text Signed-off-by: Eric Wei <menwe@amazon.com> * added couple of configs to autocomplete * added saved objects and few bug fixes Signed-off-by: Eric Wei <menwe@amazon.com> * removed unused reference/files, modified few loggings Signed-off-by: Eric Wei <menwe@amazon.com> * removed missed comments/usused code, fixed one sidebar issue Signed-off-by: Eric Wei <menwe@amazon.com> * modified files for code review Signed-off-by: Eric Wei <menwe@amazon.com> * Feature/operational panel UI (#132) * modified panels home, table and view * added new panel modules * moved modules to folders with css * css edits and removed time regex check * removed time and fields regex checks * minor doc changes * adding visualization charts * added delete panelList functionality * edited delete custom panel function, beautified * changed console log to error * removed time/fields regex * removed length check, combined optionalArgs in custom modal, prettier fix * Bump prismjs from 1.24.1 to 1.25.0 (#137) Bumps [prismjs](https://github.com/PrismJS/prism) from 1.24.1 to 1.25.0. - [Release notes](https://github.com/PrismJS/prism/releases) - [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md) - [Commits](https://github.com/PrismJS/prism/compare/v1.24.1...v1.25.0) --- updated-dependencies: - dependency-name: prismjs dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump immer from 9.0.5 to 9.0.6 (#136) Bumps [immer](https://github.com/immerjs/immer) from 9.0.5 to 9.0.6. - [Release notes](https://github.com/immerjs/immer/releases) - [Commits](https://github.com/immerjs/immer/compare/v9.0.5...v9.0.6) --- updated-dependencies: - dependency-name: immer dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Redirect legacy notebooks URL to current observability one (#141) * Move observability frontend to a sub directory (#142) * Add minimal plugin for backend observability (#143) * Add models for objects and requests (#144) * Add CRUD actions and index operations for observability objects (#145) * Update data modal and enable CI (#148) * Panels' visualization design change (#149) * modified common files * modified UI components * modified panel adaptor and router * moved loading to post http call * fixed prettier quotes * Feature timestamp (#152) * timestamp related changes Signed-off-by: Eric Wei <menwe@amazon.com> * cleanup Signed-off-by: Eric Wei <menwe@amazon.com> * removed loggings and change to console error Signed-off-by: Eric Wei <menwe@amazon.com> * remove unused sidebar component Signed-off-by: Eric Wei <menwe@amazon.com> * adding cancel button for edit & panel actions (#153) * Feature toasts errors handling (#155) * timestamp related changes Signed-off-by: Eric Wei <menwe@amazon.com> * cleanup Signed-off-by: Eric Wei <menwe@amazon.com> * removed loggings and change to console error Signed-off-by: Eric Wei <menwe@amazon.com> * remove unused sidebar component Signed-off-by: Eric Wei <menwe@amazon.com> * added toasts Signed-off-by: Eric Wei <menwe@amazon.com> * resolved build failure Signed-off-by: Eric Wei <menwe@amazon.com> * couple of error handling changes Signed-off-by: Eric Wei <menwe@amazon.com> * added types Signed-off-by: Eric Wei <menwe@amazon.com> * Autocomplete only displays current command (#157) * Only show current command in suggestion Signed-off by: Eugene Lee <eugenesk@amazon.com> * Remove console logs Signed-off by: Eugene Lee <eugenesk@amazon.com> * Only display suggestion Signed-off by: Eugene Lee <eugenesk@amazon.com> * Removed commas Signed-off by: Eugene Lee <eugenesk@amazon.com> * Remove import Signed-off by: Eugene Lee <eugenesk@amazon.com> * changed to support query without 'search' prefix (#158) Signed-off-by: Eric Wei <menwe@amazon.com> * Remove app analytics (#154) * removing app analytics from sidenav * removed unused headers * added trace analytics as default page * Use JS API to redirect legacy notebooks URL (#162) * Panels bug fix#1 (#159) * fixed UI bugs #1 * folder name typo fix * changes for adopting new sql artifact (#165) * changes for adopting new sql artifact Signed-off-by: Eric Wei <menwe@amazon.com> * minor changes Signed-off-by: Eric Wei <menwe@amazon.com> * Improve reindex handling for .opensearch-notebooks (#163) * inherited datepicker format from settings (#164) * Feature query bar (#166) * refactorings to integrate textarea * few improvements Signed-off-by: Eric Wei <menwe@amazon.com> * refactorings to integrate textarea * few improvements Signed-off-by: Eric Wei <menwe@amazon.com> * removed unused dependencies and types Signed-off-by: Eric Wei <menwe@amazon.com> * Feature bug fixes (#168) * removed editable title and displaybar Signed-off-by: Eric Wei <menwe@amazon.com> * count distribution number Signed-off-by: Eric Wei <menwe@amazon.com> * Home table (#169) * Create history_table.tsx * Update history_table.tsx * Update home.tsx * Update history_table.tsx * Update history_table.tsx * Update home.tsx * Update home.tsx * Delete home.tsx * merge (#3) * Bump prismjs from 1.24.1 to 1.25.0 (#137) Bumps [prismjs](https://github.com/PrismJS/prism) from 1.24.1 to 1.25.0. - [Release notes](https://github.com/PrismJS/prism/releases) - [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md) - [Commits](https://github.com/PrismJS/prism/compare/v1.24.1...v1.25.0) --- updated-dependencies: - dependency-name: prismjs dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump immer from 9.0.5 to 9.0.6 (#136) Bumps [immer](https://github.com/immerjs/immer) from 9.0.5 to 9.0.6. - [Release notes](https://github.com/immerjs/immer/releases) - [Commits](https://github.com/immerjs/immer/compare/v9.0.5...v9.0.6) --- updated-dependencies: - dependency-name: immer dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Redirect legacy notebooks URL to current observability one (#141) * Move observability frontend to a sub directory (#142) * Add minimal plugin for backend observability (#143) * Add models for objects and requests (#144) * Add CRUD actions and index operations for observability objects (#145) * Update data modal and enable CI (#148) * Panels' visualization design change (#149) * modified common files * modified UI components * modified panel adaptor and router * moved loading to post http call * fixed prettier quotes * Feature timestamp (#152) * timestamp related changes Signed-off-by: Eric Wei <menwe@amazon.com> * cleanup Signed-off-by: Eric Wei <menwe@amazon.com> * removed loggings and change to console error Signed-off-by: Eric Wei <menwe@amazon.com> * remove unused sidebar component Signed-off-by: Eric Wei <menwe@amazon.com> * adding cancel button for edit & panel actions (#153) * Feature toasts errors handling (#155) * timestamp related changes Signed-off-by: Eric Wei <menwe@amazon.com> * cleanup Signed-off-by: Eric Wei <menwe@amazon.com> * removed loggings and change to console error Signed-off-by: Eric Wei <menwe@amazon.com> * remove unused sidebar component Signed-off-by: Eric Wei <menwe@amazon.com> * added toasts Signed-off-by: Eric Wei <menwe@amazon.com> * resolved build failure Signed-off-by: Eric Wei <menwe@amazon.com> * couple of error handling changes Signed-off-by: Eric Wei <menwe@amazon.com> * added types Signed-off-by: Eric Wei <menwe@amazon.com> * Autocomplete only displays current command (#157) * Only show current command in suggestion Signed-off by: Eugene Lee <eugenesk@amazon.com> * Remove console logs Signed-off by: Eugene Lee <eugenesk@amazon.com> * Only display suggestion Signed-off by: Eugene Lee <eugenesk@amazon.com> * Removed commas Signed-off by: Eugene Lee <eugenesk@amazon.com> * Remove import Signed-off by: Eugene Lee <eugenesk@amazon.com> * changed to support query without 'search' prefix (#158) Signed-off-by: Eric Wei <menwe@amazon.com> * Remove app analytics (#154) * removing app analytics from sidenav * removed unused headers * added trace analytics as default page * Use JS API to redirect legacy notebooks URL (#162) * Panels bug fix#1 (#159) * fixed UI bugs #1 * folder name typo fix * changes for adopting new sql artifact (#165) * changes for adopting new sql artifact Signed-off-by: Eric Wei <menwe@amazon.com> * minor changes Signed-off-by: Eric Wei <menwe@amazon.com> * Improve reindex handling for .opensearch-notebooks (#163) * inherited datepicker format from settings (#164) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Joshua <joshuali925@gmail.com> Co-authored-by: Shenoy Pratik <pshenoy36@gmail.com> Co-authored-by: Eric Wei <80358241+mengweieric@users.noreply.github.com> Co-authored-by: eugenesk24 <92330893+eugenesk24@users.noreply.github.com> * Create history_table.tsx * Update home.tsx * Update home.tsx * Delete history_table.tsx * Update history_table.tsx * Update history_table.tsx * Update home.tsx * Update history_table.tsx * Update history_table.tsx Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Joshua <joshuali925@gmail.com> Co-authored-by: Shenoy Pratik <pshenoy36@gmail.com> Co-authored-by: Eric Wei <80358241+mengweieric@users.noreply.github.com> Co-authored-by: eugenesk24 <92330893+eugenesk24@users.noreply.github.com> * Panels bug fix2 (#170) * fixed import bug and datepicker width * added refresh panel button & removed flyout preview button * changed maxitems for home page * fixing styling and margin * add new vizualization bug fix * Feature vis fix override button (#172) * add toast for no visualization to save Signed-off-by: Eric Wei <menwe@amazon.com> * added loading/disable for timestamp button and one related fix Signed-off-by: Eric Wei <menwe@amazon.com> * replaced override button with icon Signed-off-by: Eric Wei <menwe@amazon.com> * adjusted override icon Signed-off-by: Eric Wei <menwe@amazon.com> * Visualizations theming (#171) * added basic theming * added dark theme layout, unicolor mode for bar chart * changed plotly paper to match panel color * timestamp fix (#175) Signed-off-by: Eric Wei <menwe@amazon.com> * added find auto interval (#167) * added find auto interval * changed console.log to error Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * merge conflict resoled Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * Add integration tests for observability backend plugin (#180) * added refresh datepicker button (#182) Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * Field suggestions update for changed index in query (#176) The fields are updated after the first retrieval if the index selection changes. Signed-off by: Eugene Lee <eugenesk@amazon.com> * adding colorsv2 (#181) Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * Home table update (#174) * Create history_table.tsx * Update history_table.tsx * Update home.tsx * Update history_table.tsx * Update history_table.tsx * Update home.tsx * Update home.tsx * Delete home.tsx * merge (#3) * Bump prismjs from 1.24.1 to 1.25.0 (#137) Bumps [prismjs](https://github.com/PrismJS/prism) from 1.24.1 to 1.25.0. - [Release notes](https://github.com/PrismJS/prism/releases) - [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md) - [Commits](https://github.com/PrismJS/prism/compare/v1.24.1...v1.25.0) --- updated-dependencies: - dependency-name: prismjs dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump immer from 9.0.5 to 9.0.6 (#136) Bumps [immer](https://github.com/immerjs/immer) from 9.0.5 to 9.0.6. - [Release notes](https://github.com/immerjs/immer/releases) - [Commits](https://github.com/immerjs/immer/compare/v9.0.5...v9.0.6) --- updated-dependencies: - dependency-name: immer dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Redirect legacy notebooks URL to current observability one (#141) * Move observability frontend to a sub directory (#142) * Add minimal plugin for backend observability (#143) * Add models for objects and requests (#144) * Add CRUD actions and index operations for observability objects (#145) * Update data modal and enable CI (#148) * Panels' visualization design change (#149) * modified common files * modified UI components * modified panel adaptor and router * moved loading to post http call * fixed prettier quotes * Feature timestamp (#152) * timestamp related changes Signed-off-by: Eric Wei <menwe@amazon.com> * cleanup Signed-off-by: Eric Wei <menwe@amazon.com> * removed loggings and change to console error Signed-off-by: Eric Wei <menwe@amazon.com> * remove unused sidebar component Signed-off-by: Eric Wei <menwe@amazon.com> * adding cancel button for edit & panel actions (#153) * Feature toasts errors handling (#155) * timestamp related changes Signed-off-by: Eric Wei <menwe@amazon.com> * cleanup Signed-off-by: Eric Wei <menwe@amazon.com> * removed loggings and change to console error Signed-off-by: Eric Wei <menwe@amazon.com> * remove unused sidebar component Signed-off-by: Eric Wei <menwe@amazon.com> * added toasts Signed-off-by: Eric Wei <menwe@amazon.com> * resolved build failure Signed-off-by: Eric Wei <menwe@amazon.com> * couple of error handling changes Signed-off-by: Eric Wei <menwe@amazon.com> * added types Signed-off-by: Eric Wei <menwe@amazon.com> * Autocomplete only displays current command (#157) * Only show current command in suggestion Signed-off by: Eugene Lee <eugenesk@amazon.com> * Remove console logs Signed-off by: Eugene Lee <eugenesk@amazon.com> * Only display suggestion Signed-off by: Eugene Lee <eugenesk@amazon.com> * Removed commas Signed-off by: Eugene Lee <eugenesk@amazon.com> * Remove import Signed-off by: Eugene Lee <eugenesk@amazon.com> * changed to support query without 'search' prefix (#158) Signed-off-by: Eric Wei <menwe@amazon.com> * Remove app analytics (#154) * removing app analytics from sidenav * removed unused headers * added trace analytics as default page * Use JS API to redirect legacy notebooks URL (#162) * Panels bug fix#1 (#159) * fixed UI bugs #1 * folder name typo fix * changes for adopting new sql artifact (#165) * changes for adopting new sql artifact Signed-off-by: Eric Wei <menwe@amazon.com> * minor changes Signed-off-by: Eric Wei <menwe@amazon.com> * Improve reindex handling for .opensearch-notebooks (#163) * inherited datepicker format from settings (#164) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Joshua <joshuali925@gmail.com> Co-authored-by: Shenoy Pratik <pshenoy36@gmail.com> Co-authored-by: Eric Wei <80358241+mengweieric@users.noreply.github.com> Co-authored-by: eugenesk24 <92330893+eugenesk24@users.noreply.github.com> * Update history_table.tsx * Update home.tsx * Delete public/components/explorer/home_table directory * Update explorer.ts * Update history_table.tsx * Update history_table.tsx Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Joshua <joshuali925@gmail.com> Co-authored-by: Shenoy Pratik <pshenoy36@gmail.com> Co-authored-by: Eric Wei <80358241+mengweieric@users.noreply.github.com> Co-authored-by: eugenesk24 <92330893+eugenesk24@users.noreply.github.com> * Use observability specific permissions instead of notebooks (#177) Signed-off-by: Joshua Li <joshuali925@gmail.com> * Fix deleting all paragraphs for notebooks (#184) Signed-off-by: Joshua Li <joshuali925@gmail.com> * Feature available fields timestamp (#179) * added available fields when no hits because of timestamp Signed-off-by: Eric Wei <menwe@amazon.com> * removed unused code Signed-off-by: Eric Wei <menwe@amazon.com> * Icon that redirects to PPL Documentation next to Search Bar (#183) * Added link to PPL Documentation next to search bar Signed-off by: Eugene Lee <eugenesk@amazon.com> * Corrected icon type Signed-off by: Eugene Lee <eugenesk@amazon.com> * Added aggregate functions to Autocomplete (#185) Signed-off by: Eugene Lee <eugenesk@amazon.com> * Suggestions are shown in dark mode (#187) Signed-off by: Eugene Lee <eugenesk@amazon.com> * Update docs for observability (#188) * Bump observability version for OpenSearch 1.2 release (#189) * added panels modifications and bug fix (#194) Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * Update plugin ID and bug fixes (#195) * Feature event analytics imporovements and fixes (#199) * redo signoff Signed-off-by: Eric Wei <menwe@amazon.com> * removed comments Signed-off-by: Eric Wei <menwe@amazon.com> * signoff amendment Signed-off-by: Eric Wei <menwe@amazon.com> * added support for sample panels (#200) Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * Add error handler when fetching ppl (#204) Signed-off-by: Joshua Li <joshuali925@gmail.com> * Fix for duplicate indices in suggestion (#190) Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Feature couple of features and fixes (#202) * event sample data Signed-off-by: Eric Wei <menwe@amazon.com> * home delete and sample data Signed-off-by: Eric Wei <menwe@amazon.com> * removed one missed Signed-off-by: Eric Wei <menwe@amazon.com> * separate container Signed-off-by: Eric Wei <menwe@amazon.com> * removed unused code and some ehchancements Signed-off-by: Eric Wei <menwe@amazon.com> * Add toggle dark mode in observability side bar (#209) Signed-off-by: Joshua Li <joshuali925@gmail.com> * Feature autocomplete fix (#208) * event sample data Signed-off-by: Eric Wei <menwe@amazon.com> * home delete and sample data Signed-off-by: Eric Wei <menwe@amazon.com> * removed one missed Signed-off-by: Eric Wei <menwe@amazon.com> * separate container Signed-off-by: Eric Wei <menwe@amazon.com> * removed unused code and some ehchancements Signed-off-by: Eric Wei <menwe@amazon.com> * autocomplete related fixes Signed-off-by: Eric Wei <menwe@amazon.com> * home search fix and few cleanups Signed-off-by: Eric Wei <menwe@amazon.com> * removed comments Signed-off-by: Eric Wei <menwe@amazon.com> * removed unused reference Signed-off-by: Eric Wei <menwe@amazon.com> * Support dark mode for notebooks and other style improvements (#206) Signed-off-by: Joshua Li <joshuali925@gmail.com> * Adjust wording and margin for toggle button (#210) Signed-off-by: Joshua Li <joshuali925@gmail.com> * Panel bug fixes4 and PPL Reference Manual (#211) * fixed panel bugs, added help flyout Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * remove unused file Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * removed log statements Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * remove unused flyout_container Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * Case insensitive Autocomplete (#207) * Case insensitive autocomplete with less type errors Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Lowercase word variable and assign fitlered item list Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Variable for lowercase prefix Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Use parent height instead of view port height for nav bar (#212) Signed-off-by: Joshua Li <joshuali925@gmail.com> * Add match command to AutoComplete (#203) * Added match command suggestion Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Add missing bracket Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Space after field for more balanced looking query (#213) * Case insensitive autocomplete with less type errors Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Lowercase word variable and assign fitlered item list Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Variable for lowercase prefix Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Another merge conflict Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Add space after field for balance Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Add border around suggestions (#214) Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Correct suggestions after count command (#215) * Suggest by and | Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Fix count bug Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Add release notes for 1.2 (#192) Signed-off-by: Joshua Li <joshuali925@gmail.com> * Explorer fixes (#216) * changed to query fields Signed-off-by: Eric Wei <menwe@amazon.com> * select/available fields duplicate issue fix and reformatting Signed-off-by: Eric Wei <menwe@amazon.com> * fixed issue - updating saved search not updating existing tab Signed-off-by: Eric Wei <menwe@amazon.com> * added refresh to datepicker Signed-off-by: Eric Wei <menwe@amazon.com> * updated saving Signed-off-by: Eric Wei <menwe@amazon.com> * saved objects new changes Signed-off-by: Eric Wei <menwe@amazon.com> * Added Samples, help text, standardized tables (#217) * added new samples and modified workspace height Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * updated documentation links and help text Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * standardized empty table buttons Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * merged add samples logic Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * updated panel tests, added sample modal Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * Add missing itemName properties (#218) Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Tab issue and run button (#219) * changed to query fields Signed-off-by: Eric Wei <menwe@amazon.com> * select/available fields duplicate issue fix and reformatting Signed-off-by: Eric Wei <menwe@amazon.com> * fixed issue - updating saved search not updating existing tab Signed-off-by: Eric Wei <menwe@amazon.com> * added refresh to datepicker Signed-off-by: Eric Wei <menwe@amazon.com> * updated saving Signed-off-by: Eric Wei <menwe@amazon.com> * saved objects new changes Signed-off-by: Eric Wei <menwe@amazon.com> * tab issue fix and remove run button Signed-off-by: Eric Wei <menwe@amazon.com> * resolved conflicts Signed-off-by: Eric Wei <menwe@amazon.com> * search bar related changes (#222) Signed-off-by: Eric Wei <menwe@amazon.com> * fixed emoji renders for in PPL manual (#221) Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * Suggestions width match search bar (#220) * Wrapped in flex Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Extend suggestion bar to match search bar Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Remove unnecessary imports Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Remove parent autocomplete-root Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Throw exception if object type is inconsistent in update request (#224) Signed-off-by: Joshua Li <joshuali925@gmail.com> * Add some space between last paragraph and action button (#225) Signed-off-by: Joshua Li <joshuali925@gmail.com> * Add event analytics permission toast (#226) Signed-off-by: Joshua Li <joshuali925@gmail.com> * Add copyright to all files (#231) Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Suggestions loaded after selection (#228) * Do not add space Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Suggest all nuber types for fields Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Suggest on selection Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Re add auto space after selection Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Remove unnecessary imports Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Suggest first commands on click Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Auto-select first suggestion Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Homepage moved to event analytics (#227) * changed homepage to event analytics Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * added events page with default hash Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * resolved conflicts and fixes (#233) Signed-off-by: Eric Wei <menwe@amazon.com> * moved loading viz after panel update (#232) Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * Remove resetting query for autocomplete (#234) Signed-off-by: Joshua Li <joshuali925@gmail.com> * Source as the only first command (#235) * Source as first command Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Remove logic for search and index Signed-off-by: Eugene Lee <eugenesk@amazon.com> * ppl manual update (#236) Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * Run query with shift enter (#239) Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Update notebooks url redirect to use plugin id (#242) Signed-off-by: Joshua Li <joshuali925@gmail.com> * tab close issue (#243) Signed-off-by: Eric Wei <menwe@amazon.com> * switching tab tirgger unnecessary requests fix (#247) Signed-off-by: Eric Wei <menwe@amazon.com> * Autocomplete for data values (#245) * Autocomplete for data values Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Fetch data values earlier and save them Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Fetch dataValues for match early Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Bump ansi-regex to 5.0.1 (#241) Signed-off-by: Joshua Li <joshuali925@gmail.com> * Add support for codeowners to repo (#244) Signed-off-by: Ryan Bogan <rbogan@amazon.com> * Panels bug fix4 (#249) * minor bug fix and updated unit tests Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * fixed date change issue Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * renamed relevance function to full text search Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * duplicate search text removed Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * Fix undefined field error and where suggestions (#246) * Add check for properties Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Change logic order to support switching between match and other where fields Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Add Correct Erroring in Event Analytics (#248) * Add check for properties Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Change logic order to support switching between match and other where fields Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Autocomplete for data values Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Fetch data values earlier and save them Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Update to current status Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Fetch dataValues for match early Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Try addError Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Fix error messaging on Event Explorer Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Remove fielddata Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Assign string to fields with fields property Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Remove possible double toast and add console log back in Signed-off-by: Eugene Lee <eugenesk@amazon.com> * changed error message (#257) Signed-off-by: Eric Wei <menwe@amazon.com> * Panels cypress test (#256) * adding panels cypress tests Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * added more visualization tests Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * Feature ppl link (#258) * changed error message Signed-off-by: Eric Wei <menwe@amazon.com> * help icon changes Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * added PPL button and one panel snap Signed-off-by: Eric Wei <menwe@amazon.com> * removed unused reference Signed-off-by: Eric Wei <menwe@amazon.com> * fixed one issue Signed-off-by: Eric Wei <menwe@amazon.com> Co-authored-by: Shenoy Pratik <sgguruda@amazon.com> * Update release notes for 1.2 release (#261) Signed-off-by: Joshua Li <joshuali925@gmail.com> * fixed vis saving issue (#262) Signed-off-by: Eric Wei <menwe@amazon.com> * fixed tab close issue (#265) Signed-off-by: Eric Wei <menwe@amazon.com> * Update codecov and enable for backend plugin (#268) Signed-off-by: Joshua Li <joshuali925@gmail.com> * Add unit tests for notebook helpers (#269) * Add UT for notebook helpers and remove panel wrapper Signed-off-by: Joshua Li <joshuali925@gmail.com> * Use visualization from mock notebook for UT Signed-off-by: Joshua Li <joshuali925@gmail.com> * Update cypress timezone environment (#270) * Update cypress timezon environment Signed-off-by: Joshua Li <joshuali925@gmail.com> * Update notebooks cypress Signed-off-by: Joshua Li <joshuali925@gmail.com> * Support bulk delete operations for notebooks (#273) * Update notebooks cypress Signed-off-by: Joshua Li <joshuali925@gmail.com> * Remove unused files Signed-off-by: Joshua Li <joshuali925@gmail.com> * Autocomplete Unit Tests (#274) * Add test for search bar Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Re-organize autocomplete Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Trying to test return value of getSuggestions Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Need to keep algolia import Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Separate out autocomplete logic Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Make id optional Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Snub out aloglia import Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Add broken logic test Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Add type to fullSuggestions Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Test coverage up to 95 for logic Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Add new line to end of js config file Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Add new line to autocomplete logic file Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Add unit tests for notebooks (#277) * WIP add unit tests to notebooks Signed-off-by: Joshua Li <joshuali925@gmail.com> * WIP add unit tests to notebooks Signed-off-by: Joshua Li <joshuali925@gmail.com> * WIP Signed-off-by: Joshua Li <joshuali925@gmail.com> * WIP Signed-off-by: Joshua Li <joshuali925@gmail.com> * Update snapshots Signed-off-by: Joshua Li <joshuali925@gmail.com> * Added more cypress tests, updated constants (#282) * added more tests, updated constants Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * removed timeout for on clone Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * Add unit tests for backend models (#283) * add notebooks unit tests Signed-off-by: Joshua Li <joshuali925@gmail.com> * Add more unit tests Signed-off-by: Joshua Li <joshuali925@gmail.com> * Add unit tests for backend requests and responses (#284) * Refactor requests and responses from model to action Signed-off-by: Joshua Li <joshuali925@gmail.com> * Fix transport action for create object request Signed-off-by: Joshua Li <joshuali925@gmail.com> * Add unit test for create object Signed-off-by: Joshua Li <joshuali925@gmail.com> * Fix transport action for update object request Signed-off-by: Joshua Li <joshuali925@gmail.com> * Add unit test for more requests and responses Signed-off-by: Joshua Li <joshuali925@gmail.com> * Format code Signed-off-by: Joshua Li <joshuali925@gmail.com> * Update tests Signed-off-by: Joshua Li <joshuali925@gmail.com> * Adding code summary to the repo (#287) * adding panel tests in workflows Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * adding cypress tests doc Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * added table in readme, changed doc link Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * added more doc and changed BWC link Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * added variables for hyperlinks Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * added badge for plugin IT tests Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * fixing typos, removed duplicate lines Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * moved TA up similar to side nav Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * alt text name change Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * Add back onclick handler for plotly component (#285) Signed-off-by: Joshua Li <joshuali925@gmail.com> * Use dateFormat from advanced settings for notebook visualizations (#297) closes #250 Signed-off-by: Joshua Li <joshuali925@gmail.com> * Fix link checker (#300) Signed-off-by: Joshua Li <joshuali925@gmail.com> * Code summary edits (#298) * changed table headers in code summary Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * removed observability name from modules Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * fixed more links Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * modularized the table and fixed links Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * fixed ppl doc link and IT badge name Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * changed headers to plugin names (#306) Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * Explorer cypress tests (#302) * signoff Signed-off-by: Eric Wei <menwe@amazon.com> * added missed resolved lines Signed-off-by: Eric Wei <menwe@amazon.com> * Add BWC test for Observability (#314) * commit Signed-off-by: Kavitha Conjeevaram Mohan <mohakavi@amazon.com> * delete 1.2 snapshot and update gradle Signed-off-by: Kavitha Conjeevaram Mohan <mohakavi@amazon.com> * add bwc to workflow (#316) Signed-off-by: Kavitha Conjeevaram Mohan <mohakavi@amazon.com> * Update tests, builds and doc (#318) * rebased with bwc tests Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * updated bwc tests Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * added release notes Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * Rename trace-analytics to observability (#341) Signed-off-by: Joshua Li <joshuali925@gmail.com> * Event analytics unit tests (#342) * tests Signed-off-by: Eric Wei <menwe@amazon.com> * updated some snapshots Signed-off-by: Eric Wei <menwe@amazon.com> * resolved few failing tests Signed-off-by: Eric Wei <menwe@amazon.com> * few modifications Signed-off-by: Eric Wei <menwe@amazon.com> * Update service map parsing results for testing (#345) Signed-off-by: Joshua Li <joshuali925@gmail.com> * bumping version to 1.2.2 (#346) * bumping version to 1.2.2 Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * update PR in release notes Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * updating readme and badges (#352) Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * Update Workflow (#360) * updated snapshot in workflow to 1.2.3 Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * replaced variable with 1.2.3-snapshot Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * revert string to variable Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * bumping main to 1.3 (#361) Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * Add observability visualization to notebooks (#351) * added observability viz support to notes Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * updated tests, clone para, zeppelin parser Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * updated observability viz links & cypress Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * updated tests Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * removed inputType, merged both viz options Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * resolved merge conflict Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * updated links, adaptors, tests Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * removed unused files, updated workflow Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * updated UI dateformat for observability viz Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * updated jest timeout Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * updated notebook tests Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * Add .whitesource configuration file (#365) Co-authored-by: whitesource-for-github-com[bot] <50673670+whitesource-for-github-com[bot]@users.noreply.github.com> * CVE fix:json-schema, gson & glob-parent (#368) * CVE fix:json-schema, gson & glob-parent Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * updated yarn.lock Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * Update Release Notes 1.2.4 (#370) * CVE fix:json-schema, gson & glob-parent Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * updated yarn.lock Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * Update Release Notes 1.2.4 Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * jcenter removed from gradle.build (#374) Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * Guava package update (#404) * updating guava to 31.0.1 Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * revise version name Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * Support lazy scroll and auto complete for PPL parse command (#421) Signed-off-by: Joshua Li <joshuali925@gmail.com> * Merge Application Analytics into main (#454) Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Fix queries being filtered out (#472) Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Saving time for individual applications (#473) Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Separate appConfigs and extra filters (#474) Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Fix create/edit page bug (#475) * Fix create/edit page bug Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Update create test to pass correct existingAppId Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Add date_nanos to valid time fields (#426) Signed-off-by: Joshua Li <joshuali925@gmail.com> * UI changes to Metrics Tab (#476) Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Finish after source autocomplete logic (#480) Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Redirect to trace tab, updateMappings once, etc (#481) Signed-off-by: Eugene Lee <eugenesk@amazon.com> * add auto backporting functionality (#491) Signed-off-by: David Cui <davidcui@amazon.com> * Add Events Flyout and Correlate Traces with logs (#493) * adding events flyout Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * adding traces to events flyout Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * adding surroundings events flyout Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * removed metrics from events flyout Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * updated events tests Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * removed unused flyout scss Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * update backport workflow and add auto-delete workflow (#496) Signed-off-by: David Cui <davidcui@amazon.com> * Revert query pre-processing for parse command (#497) Signed-off-by: Joshua Li <joshuali925@gmail.com> * Live tail - Event analytics (#494) * rebase Signed-off-by: Kavitha Conjeevaram Mohan <mohakavi@amazon.com> * revert ObsIndex changes to main Signed-off-by: Kavitha Conjeevaram Mohan <mohakavi@amazon.com> * remove comments Signed-off-by: Kavitha Conjeevaram Mohan <mohakavi@amazon.com> * change timestamp variable Signed-off-by: Kavitha Conjeevaram Mohan <mohakavi@amazon.com> * remove live_tail.ts and modify explorer Signed-off-by: Kavitha Conjeevaram Mohan <mohakavi@amazon.com> * query_tils Signed-off-by: Kavitha Conjeevaram Mohan <mohakavi@amazon.com> * Make base query immutable (#500) Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Feature latest observability (#509) * resolve signoff issue Signed-off-by: Eric Wei <menwe@amazon.com> * remove unused code Signed-off-by: Eric Wei <menwe@amazon.com> * adjust insights Signed-off-by: Eric Wei <menwe@amazon.com> * panel options Signed-off-by: Eric Wei <menwe@amazon.com> * remove candlestick Signed-off-by: Eric Wei <menwe@amazon.com> * remove yarn-error.log from commits Signed-off-by: Eric Wei <menwe@amazon.com> * Enchanced visualization and resolved signoff issue (#483) * resolve signoff issue Signed-off-by: Eric Wei <menwe@amazon.com> * remove unused code Signed-off-by: Eric Wei <menwe@amazon.com> * gauge changes Signed-off-by: Eric Wei <menwe@amazon.com> * line mode selector Signed-off-by: Eric Wei <menwe@amazon.com> * add title Signed-off-by: Eric Wei <menwe@amazon.com> * expanded section by default and minor guage changes Signed-off-by: Eric Wei <menwe@amazon.com> * gauge changes Signed-off-by: Eric Wei <menwe@amazon.com> * 1 dependency change Signed-off-by: Eric Wei <menwe@amazon.com> * redux support including all types of viz data for any tab Signed-off-by: Eric Wei <menwe@amazon.com> * layout config and related cleanup Signed-off-by: Eric Wei <menwe@amazon.com> * Add availability levels (#498) Signed-off-by: Eugene Lee <eugenesk@amazon.com> * updated panels with latest visualizations (#502) Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * thresholds and styling Signed-off-by: Eric Wei <menwe@amazon.com> * state sync for config panels Signed-off-by: Eric Wei <menwe@amazon.com> * remove conflicts Signed-off-by: Eric Wei <menwe@amazon.com> * add more data validations Signed-off-by: Eric Wei <menwe@amazon.com> * pie mode selector Signed-off-by: Eric Wei <menwe@amazon.com> * moved contants Signed-off-by: Eric Wei <menwe@amazon.com> * add some types Signed-off-by: Eric Wei <menwe@amazon.com> * fix panel viz issue and update tests Signed-off-by: Eric Wei <menwe@amazon.com> * remove logging' Signed-off-by: Eric Wei <menwe@amazon.com> Co-authored-by: Eugene Lee <eugenesk@amazon.com> Co-authored-by: Shenoy Pratik <sgguruda@amazon.com> * updated panels flaky jest tests (#505) Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * Add autocomplete enhancements (#507) Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Fix events flyout bugs and Styling (#510) * updated eents flyout styling, added back button Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * disabled surroundings events w/o time, updated PPL time format Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * updated docViewer jest snapshot Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * removed repeated function Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * Feature viz saving on missing fields (#511) * vis issues Signed-off-by: Eric Wei <menwe@amazon.com> * minor changes Signed-off-by: Eric Wei <menwe@amazon.com> * bar mode Signed-off-by: Eric Wei <menwe@amazon.com> * fix lint issue Signed-off-by: Eric Wei <menwe@amazon.com> * fix issue of clicking query caused crash (#515) Signed-off-by: Eric Wei <menwe@amazon.com> * Fix lower margin of autocomplete being cut off (#512) Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Fix empty userConfigs stringify (#513) Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Add parse command back in autocompletion (#517) Signed-off-by: Joshua Li <joshuali925@gmail.com> * Visualizations �to follow set timerange (#516) Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Change Default CI java version to 11 (#504) Change default CI java version to 11, add java versions to CI matrix and update developer guide Signed-off-by: David Cui <davidcui@amazon.com> * Issue/darkmode support viz config (#521) * fix dark mode issue Signed-off-by: Eric Wei <menwe@amazon.com> * removed unused component and tests Signed-off-by: Eric Wei <menwe@amazon.com> * Edit visualization in Application Analytics (#519) Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Add service map to services and trace view page (#518) * Add more information on service map hover tooltip Signed-off-by: Joshua Li <joshuali925@gmail.com> * Add service map to trace view Signed-off-by: Joshua Li <joshuali925@gmail.com> * Update tests Signed-off-by: Joshua Li <joshuali925@gmail.com> * Feature/sort only datatable in flyout (#522) * fix dark mode issue Signed-off-by: Eric Wei <menwe@amazon.com> * removed unused component and tests Signed-off-by: Eric Wei <menwe@amazon.com> * case insensitive sort Signed-off-by: Eric Wei <menwe@amazon.com> * turn null to empty string Signed-off-by: Eric Wei <menwe@amazon.com> * remove unused lodash Signed-off-by: Eric Wei <menwe@amazon.com> * update snapshot Signed-off-by: Eric Wei <menwe@amazon.com> * Change availability level to have expression (#525) Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Cypress fix for panels and events (#531) * updated cypress for panels and events Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * removing comments Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * detete request and response changes for event and panels (#530) Signed-off-by: Eric Wei <menwe@amazon.com> * Include related services node under service filter (#527) * Add parse command docs (#535) Signed-off-by: Joshua Li <joshuali925@gmail.com> * Update cypress for trace analytics (#536) Signed-off-by: Joshua Li <joshuali925@gmail.com> * changes panel requests & date, traces link in events (#533) * changes panel requests & date, traces link in events Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * updated docViewer jest snapshot Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * Add autocomplete to panels, add parse command to app analytics (#529) Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Fixed documentation links (#534) Signed-off-by: keithhc2 <keithhc2@users.noreply.github.com> Signed-off-by: Joshua Li <joshuali925@gmail.com> Co-authored-by: keithhc2 <keithhc2@users.noreply.github.com> Co-authored-by: Joshua Li <joshuali925@gmail.com> * Flyout bugs (#540) Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Fix multiple flyouts issue in explorer (#538) * removed multiple flyouts open bug Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * memoised flyouts, updated tests Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * Add availability metrics to app table (#539) Signed-off-by: Eugene Lee <eugenesk@amazon.com> * fix page flicker for live tail (#541) Signed-off-by: Kavitha Conjeevaram Mohan <mohakavi@amazon.com> * replace viz icon (#543) Signed-off-by: Eric Wei <menwe@amazon.com> * Update panels cypress (#545) * update panels cypress with new dimensions Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * increased time delay Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * Add cypress tests for application analytics (#544) Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Feature convert browser time to utc time (#542) * use utc for timerange Signed-off-by: Eric Wei <menwe@amazon.com> * fixed time and source not aligned issue Signed-off-by: Eric Wei <menwe@amazon.com> * convert selected timefield from utc time to local time Signed-off-by: Eric Wei <menwe@amazon.com> * changed toast text for closing last tab Signed-off-by: Eric Wei <menwe@amazon.com> * remove unused code Signed-off-by: Eric Wei <menwe@amazon.com> * Feature/remove timestamp saving (#546) * support getting default timestamp from multipe indexes Signed-off-by: Eric Wei <menwe@amazon.com> * timestamp and minor refactoring Signed-off-by: Eric Wei <menwe@amazon.com> * multi indexes Signed-off-by: Eric Wei <menwe@amazon.com> * timestamp reset for different indexes Signed-off-by: Eric Wei <menwe@amazon.com> * add tests for new fields Signed-off-by: Eric Wei <menwe@amazon.com> * update cypress tests Signed-off-by: Eric Wei <menwe@amazon.com> * updated snapshot Signed-off-by: Eric Wei <menwe@amazon.com> * converting datetime to utc from picker (#551) * converting datetime to utc from picker Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * updated type check Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * added common visualization parser (#550) Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * Sync PPL commands doc with main repo (#549) Signed-off-by: Peng Huo <penghuo@gmail.com> * Feature flyout tests (#553) * utc for flyout Signed-off-by: Eric Wei <menwe@amazon.com> * flyout utc, cypress tests Signed-off-by: Eric Wei <menwe@amazon.com> * Add ability to choose visualization for availability (#552) Signed-off-by: Eugene Lee <eugenesk@amazon.com> * final live fixes (#558) Signed-off-by: Kavitha Conjeevaram Mohan <mohakavi@amazon.com> * Issue horizontal bar (#556) * backward compatibility for horizontal chart Signed-off-by: Eric Wei <menwe@amazon.com> * disable gauge Signed-off-by: Eric Wei <menwe@amazon.com> * line bug fixes and some adjustments Signed-off-by: Eric Wei <menwe@amazon.com> * add color palette for heatmap Signed-off-by: Eric Wei <menwe@amazon.com> * fix for not able to edit saved viz Signed-off-by: Eric Wei <menwe@amazon.com> * increase margin Signed-off-by: Eric Wei <menwe@amazon.com> * remove bold letter and extra pranthesis (#559) Signed-off-by: Kavitha Conjeevaram Mohan <mohakavi@amazon.com> * Allow app creation with one composition (#557) Signed-off-by: Eugene Lee <eugenesk@amazon.com> * fix interval selector issue, revert interval function changes (#563) Signed-off-by: Eric Wei <menwe@amazon.com> * Disable duplicate visualization and enable edit panel (#554) Signed-off-by: Eugene Lee <eugenesk@amazon.com> * fixed flaky panel test (#565) Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * added fix for threshold (#568) Signed-off-by: Eric Wei <menwe@amazon.com> * Pass in prop curSelectedTabId for live tail (#567) Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Fix field fetch not being waited for (#566) Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Update cypress test: (#564) Signed-off-by: Eugene Lee <eugenesk@amazon.com> * fix query clicking issue (#569) Signed-off-by: Eric Wei <menwe@amazon.com> * Update time to saved visualizations time when redirect to edit view (#570) Signed-off-by: Eugene Lee <eugenesk@amazon.com> * fix for datepicker issue (#571) Signed-off-by: Eric Wei <menwe@amazon.com> * Bump prismjs from 1.25.0 to 1.27.0 in /dashboards-observability (#508) (#574) Bumps [prismjs](https://github.com/PrismJS/prism) from 1.25.0 to 1.27.0. - [Release notes](https://github.com/PrismJS/prism/releases) - [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md) - [Commits](https://github.com/PrismJS/prism/compare/v1.25.0...v1.27.0) --- updated-dependencies: - dependency-name: prismjs dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (cherry picked from commit f85aecf303f0d3f549339752feb9738e5cd42a7f) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * change to support java 8 in compile and runtime (#575) (#576) Signed-off-by: Zhongnan Su <szhongna@amazon.com> (cherry picked from commit a123560cbca…
Description
Initial commits for creating basic shapes of query editor and datasource selection.
Issues Resolved
[List any issues this PR will resolve]
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.