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

[D&D] Adds Bar line and Area charts to Wizard #2266

Merged
merged 10 commits into from
Sep 8, 2022

Conversation

ashwin-pc
Copy link
Member

@ashwin-pc ashwin-pc commented Sep 3, 2022

Description

  • Adds Bar line and Area charts to Wizard
  • Adds resizable right nav to Wizard
  • E2E tests for bar chart and chart switching

Sep-07-2022 14-57-41

Issues Resolved

Check List

  • New functionality includes testing.
    • All tests pass
      • yarn test:jest
      • yarn test:jest_integration
      • yarn test:ftr
  • New functionality has been documented.
  • Commits are signed per the DCO using --signoff

@ashwin-pc ashwin-pc requested a review from a team as a code owner September 3, 2022 05:01
@ashwin-pc ashwin-pc self-assigned this Sep 3, 2022
@codecov-commenter
Copy link

codecov-commenter commented Sep 3, 2022

Codecov Report

Merging #2266 (dd6aadd) into main (4a06f5a) will decrease coverage by 0.21%.
The diff coverage is 11.90%.

@@            Coverage Diff             @@
##             main    #2266      +/-   ##
==========================================
- Coverage   66.77%   66.55%   -0.22%     
==========================================
  Files        3133     3169      +36     
  Lines       60086    60315     +229     
  Branches     9154     9180      +26     
==========================================
+ Hits        40121    40145      +24     
- Misses      17775    17981     +206     
+ Partials     2190     2189       -1     
Impacted Files Coverage Δ
src/plugins/vis_type_vislib/public/index.ts 0.00% <ø> (ø)
src/plugins/visualizations/public/index.ts 0.00% <ø> (ø)
src/plugins/wizard/public/application/app.tsx 33.33% <0.00%> (-16.67%) ⬇️
...ublic/application/components/experimental_info.tsx 66.66% <0.00%> (+16.66%) ⬆️
...wizard/public/application/components/right_nav.tsx 13.33% <0.00%> (-6.67%) ⬇️
...wizard/public/application/components/workspace.tsx 4.00% <0.00%> (-0.17%) ⬇️
...zard/public/visualizations/metric/to_expression.ts 6.12% <0.00%> (+0.66%) ⬆️
...ations/vislib/area/components/area_vis_options.tsx 0.00% <0.00%> (ø)
...lib/histogram/components/histogram_vis_options.tsx 0.00% <0.00%> (ø)
...ations/vislib/line/components/line_vis_options.tsx 0.00% <0.00%> (ø)
... and 35 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Signed-off-by: Ashwin Pc <ashwinpc@amazon.com>
Signed-off-by: Ashwin Pc <ashwinpc@amazon.com>
Signed-off-by: Ashwin Pc <ashwinpc@amazon.com>
Signed-off-by: Ashwin Pc <ashwinpc@amazon.com>
Signed-off-by: Ashwin Pc <ashwinpc@amazon.com>
Signed-off-by: Ashwin Pc <ashwinpc@amazon.com>
Signed-off-by: Ashwin Pc <ashwinpc@amazon.com>
Signed-off-by: Ashwin Pc <ashwinpc@amazon.com>
joshuarrrr
joshuarrrr previously approved these changes Sep 7, 2022
Copy link
Member

@joshuarrrr joshuarrrr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice job on getting all the basics working! Some questions and callouts for future work, but I think this will give people a lot more freedom to play with the tool!

Now that we have all the functionality working, we'll want to also set aside some more time to get a lot of the defaults set, which will minimize user steps for common tasks.

Co-authored-by: Josh Romero <rmerqg@amazon.com>
Signed-off-by: Ashwin Pc <ashwinpc@amazon.com>
Signed-off-by: Ashwin Pc <ashwinpc@amazon.com>
@@ -3,18 +3,13 @@
* SPDX-License-Identifier: Apache-2.0
*/

import { cloneDeep } from 'lodash';
Copy link
Collaborator

@AMoo-Miki AMoo-Miki Sep 7, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

Copy link
Member

@kavilla kavilla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

works for me!

@ashwin-pc ashwin-pc merged commit 77af7f9 into opensearch-project:main Sep 8, 2022
opensearch-trigger-bot bot pushed a commit that referenced this pull request Sep 8, 2022
* Working histogram

Signed-off-by: Ashwin Pc <ashwinpc@amazon.com>

* Adds histogram options

Signed-off-by: Ashwin Pc <ashwinpc@amazon.com>

* Adds line chart

Signed-off-by: Ashwin Pc <ashwinpc@amazon.com>

* Adds area chart

Signed-off-by: Ashwin Pc <ashwinpc@amazon.com>

* updates nav sizes

Signed-off-by: Ashwin Pc <ashwinpc@amazon.com>

* adds resizeable container to right nav

Signed-off-by: Ashwin Pc <ashwinpc@amazon.com>

* Misc fixes

Signed-off-by: Ashwin Pc <ashwinpc@amazon.com>

* Adds chart switcher test

Signed-off-by: Ashwin Pc <ashwinpc@amazon.com>

* Github comment feedback

Co-authored-by: Josh Romero <rmerqg@amazon.com>
Signed-off-by: Ashwin Pc <ashwinpc@amazon.com>

* Updates copy

Signed-off-by: Ashwin Pc <ashwinpc@amazon.com>

Signed-off-by: Ashwin Pc <ashwinpc@amazon.com>
Co-authored-by: Josh Romero <rmerqg@amazon.com>
(cherry picked from commit 77af7f9)
ananzh pushed a commit that referenced this pull request Sep 8, 2022
Description
* Adds Bar line and Area charts to Wizard
* Adds resizable right nav to Wizard
* E2E tests for bar chart and chart switching

Issues Resolved:
#1616
#1617
#1618

Co-authored-by: Josh Romero <rmerqg@amazon.com>
Signed-off-by: Ashwin Pc <ashwinpc@amazon.com>
sipopo pushed a commit to sipopo/OpenSearch-Dashboards that referenced this pull request Sep 14, 2022
* Working histogram

Signed-off-by: Ashwin Pc <ashwinpc@amazon.com>

* Adds histogram options

Signed-off-by: Ashwin Pc <ashwinpc@amazon.com>

* Adds line chart

Signed-off-by: Ashwin Pc <ashwinpc@amazon.com>

* Adds area chart

Signed-off-by: Ashwin Pc <ashwinpc@amazon.com>

* updates nav sizes

Signed-off-by: Ashwin Pc <ashwinpc@amazon.com>

* adds resizeable container to right nav

Signed-off-by: Ashwin Pc <ashwinpc@amazon.com>

* Misc fixes

Signed-off-by: Ashwin Pc <ashwinpc@amazon.com>

* Adds chart switcher test

Signed-off-by: Ashwin Pc <ashwinpc@amazon.com>

* Github comment feedback

Co-authored-by: Josh Romero <rmerqg@amazon.com>
Signed-off-by: Ashwin Pc <ashwinpc@amazon.com>

* Updates copy

Signed-off-by: Ashwin Pc <ashwinpc@amazon.com>

Signed-off-by: Ashwin Pc <ashwinpc@amazon.com>
Co-authored-by: Josh Romero <rmerqg@amazon.com>
Signed-off-by: Sergey V. Osipov <sipopo@yandex.ru>
seraphjiang pushed a commit to seraphjiang/OpenSearch-Dashboards that referenced this pull request Oct 17, 2022
… (opensearch-project#2291)

Description
* Adds Bar line and Area charts to Wizard
* Adds resizable right nav to Wizard
* E2E tests for bar chart and chart switching

Issues Resolved:
opensearch-project#1616
opensearch-project#1617
opensearch-project#1618

Co-authored-by: Josh Romero <rmerqg@amazon.com>
Signed-off-by: Ashwin Pc <ashwinpc@amazon.com>
sipopo pushed a commit to sipopo/OpenSearch-Dashboards that referenced this pull request Dec 16, 2022
* Working histogram

Signed-off-by: Ashwin Pc <ashwinpc@amazon.com>

* Adds histogram options

Signed-off-by: Ashwin Pc <ashwinpc@amazon.com>

* Adds line chart

Signed-off-by: Ashwin Pc <ashwinpc@amazon.com>

* Adds area chart

Signed-off-by: Ashwin Pc <ashwinpc@amazon.com>

* updates nav sizes

Signed-off-by: Ashwin Pc <ashwinpc@amazon.com>

* adds resizeable container to right nav

Signed-off-by: Ashwin Pc <ashwinpc@amazon.com>

* Misc fixes

Signed-off-by: Ashwin Pc <ashwinpc@amazon.com>

* Adds chart switcher test

Signed-off-by: Ashwin Pc <ashwinpc@amazon.com>

* Github comment feedback

Co-authored-by: Josh Romero <rmerqg@amazon.com>
Signed-off-by: Ashwin Pc <ashwinpc@amazon.com>

* Updates copy

Signed-off-by: Ashwin Pc <ashwinpc@amazon.com>

Signed-off-by: Ashwin Pc <ashwinpc@amazon.com>
Co-authored-by: Josh Romero <rmerqg@amazon.com>
Signed-off-by: Sergey V. Osipov <sipopo@yandex.ru>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants