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

[Page Header] New page header for notebooks and UI updates #2099

Merged
merged 13 commits into from
Aug 28, 2024

Conversation

TackAdam
Copy link
Collaborator

@TackAdam TackAdam commented Aug 27, 2024

Description

  1. New page header for notebooks and UI updates
  2. Updates some of the cypress testing (Following PR to finish)
  3. Bugfix for applications(one line change to handle mode not selected on entry)
  4. Disable Query assist flaky test
  5. Add back gettingstartedID to plugin.tsx

New Navigation before:
Screenshot 2024-08-27 at 10 50 19 AM
Screenshot 2024-08-27 at 10 50 30 AM

New navigation after:
Screenshot 2024-08-27 at 10 17 27 AM
Screenshot 2024-08-27 at 10 07 25 AM
Screenshot 2024-08-27 at 10 07 41 AM
Screenshot 2024-08-27 at 10 10 22 AM
Screenshot 2024-08-27 at 10 10 37 AM

Old Navigation before:
Screenshot 2024-08-27 at 10 00 29 AM
Screenshot 2024-08-27 at 10 00 44 AM
After changes:
Screenshot 2024-08-27 at 10 18 02 AM
Screenshot 2024-08-27 at 9 58 45 AM
Screenshot 2024-08-27 at 9 59 02 AM
Screenshot 2024-08-27 at 9 59 18 AM
Screenshot 2024-08-27 at 3 32 41 PM

Issues Resolved

Check List

  • New functionality includes testing.
    • All tests pass, including unit test, integration test and doctest
  • New functionality has been documented.
    • New functionality has javadoc added
    • New functionality has user manual doc added
  • Commits are signed per the DCO using --signoff

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.

Adam Tackett and others added 3 commits August 26, 2024 10:40
Signed-off-by: Adam Tackett <tackadam@amazon.com>
Signed-off-by: Adam Tackett <tackadam@amazon.com>
@TackAdam TackAdam added enhancement New feature or request backport 2.x labels Aug 27, 2024
Adam Tackett and others added 4 commits August 27, 2024 10:30
Signed-off-by: Adam Tackett <tackadam@amazon.com>
Signed-off-by: Adam Tackett <tackadam@amazon.com>
@TackAdam
Copy link
Collaborator Author

Screenshot 2024-08-27 at 3 34 20 PM

Icon size adjusted to match reporting.

@TackAdam TackAdam marked this pull request as ready for review August 27, 2024 22:38
Signed-off-by: Adam Tackett <tackadam@amazon.com>
TackAdam and others added 4 commits August 27, 2024 22:04
Signed-off-by: Adam Tackett <tackadam@amazon.com>
Signed-off-by: Adam Tackett <tackadam@amazon.com>
Signed-off-by: Adam Tackett <tackadam@amazon.com>
@TackAdam
Copy link
Collaborator Author

Fixed eui call out for upgrade to span full page
Screenshot 2024-08-28 at 11 58 09 AM

maxWidth: '1500px',
const newNavigation = coreRefs.chrome?.navGroup.getNavGroupEnabled();

const panelStyles: CSS.Properties = {
Copy link
Member

Choose a reason for hiding this comment

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

Not a blocker: not a fan of custom css when we could have an EuiSpacer

</EuiFlexItem>
<EuiFlexItem grow={true} />
Copy link
Member

Choose a reason for hiding this comment

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

Not sure why is this needed?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

With:
Screenshot 2024-08-28 at 2 20 05 PM
Without:
Screenshot 2024-08-28 at 2 21 41 PM
Certain page sizes caused it to collapse to the left and not maintain the look of the rest of the page without the flex item.

@TackAdam TackAdam merged commit ce0d14c into opensearch-project:main Aug 28, 2024
10 of 18 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Aug 28, 2024
* starting notebooks rework

Signed-off-by: Adam Tackett <tackadam@amazon.com>

* rework notebooks ui and jest testing

Signed-off-by: Adam Tackett <tackadam@amazon.com>

* handle emptystate badge

Signed-off-by: Adam Tackett <tackadam@amazon.com>

* update some cypress ui fixes

Signed-off-by: Adam Tackett <tackadam@amazon.com>

* add snapshots, remove flaky query assist test

Signed-off-by: Adam Tackett <tackadam@amazon.com>

* add datatest subject to h3 tittle

Signed-off-by: Adam Tackett <tackadam@amazon.com>

* put back the gettingstartedID registrations

Signed-off-by: Adam Tackett <tackadam@amazon.com>

* make the callout for upgrading old notebooks span full page

Signed-off-by: Adam Tackett <tackadam@amazon.com>

---------

Signed-off-by: Adam Tackett <tackadam@amazon.com>
Co-authored-by: Adam Tackett <tackadam@amazon.com>
(cherry picked from commit ce0d14c)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
TackAdam pushed a commit that referenced this pull request Aug 28, 2024
…2106)

* starting notebooks rework



* rework notebooks ui and jest testing



* handle emptystate badge



* update some cypress ui fixes



* add snapshots, remove flaky query assist test



* add datatest subject to h3 tittle



* put back the gettingstartedID registrations



* make the callout for upgrading old notebooks span full page



---------



(cherry picked from commit ce0d14c)

Signed-off-by: Adam Tackett <tackadam@amazon.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Adam Tackett <tackadam@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants