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

[Feature] UI update to notebooks and applications #2110

Merged
merged 2 commits into from
Sep 4, 2024

Conversation

TackAdam
Copy link
Collaborator

@TackAdam TackAdam commented Aug 30, 2024

Description

  1. Update Badge counter in the new navigation for notebooks and applications(adjustment to the breadcrumb)
  2. Change Notebook delete functionality to remove single button popover
  3. Update Testing
Before After
Before Image 1 After Image 1

Notebooks delete before:
Screenshot 2024-08-30 at 10 25 08 AM
After:

Screen.Recording.2024-08-30.at.10.21.21.AM.mov

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.

@TackAdam TackAdam added enhancement New feature or request backport 2.x labels Sep 3, 2024
@TackAdam TackAdam marked this pull request as ready for review September 3, 2024 23:34

// Close the delete modal
fireEvent.click(getByText('Cancel'));

// Ensure the delete modal is closed
expect(queryByText('Delete 1 notebook')).toBeNull();
expect(getAllByText('Delete 1 notebook')).toHaveLength(1);
Copy link
Member

Choose a reason for hiding this comment

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

are the comments still accurate? it says ensure modal is closed, but still expects model text to be found?

Copy link
Collaborator Author

@TackAdam TackAdam Sep 4, 2024

Choose a reason for hiding this comment

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

The new functionality adds the delete button to the left of the search bar containing the text. Once the modal is closed the expected behavior is that it is still selected so we still have the (new) button. If the modal is open the text should appear twice.
Screenshot 2024-09-03 at 5 10 51 PM

@TackAdam TackAdam merged commit 1c6ff11 into opensearch-project:main Sep 4, 2024
11 of 20 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Sep 4, 2024
Signed-off-by: Adam Tackett <[email protected]>
Co-authored-by: Adam Tackett <[email protected]>
(cherry picked from commit 1c6ff11)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
opensearch-trigger-bot bot pushed a commit that referenced this pull request Sep 4, 2024
Signed-off-by: Adam Tackett <[email protected]>
Co-authored-by: Adam Tackett <[email protected]>
(cherry picked from commit 1c6ff11)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
ps48 pushed a commit that referenced this pull request Sep 4, 2024
…) (#2114)

(cherry picked from commit 1c6ff11)

Signed-off-by: Adam Tackett <[email protected]>
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 <[email protected]>
ps48 pushed a commit that referenced this pull request Sep 4, 2024
…) (#2115)

(cherry picked from commit 1c6ff11)

Signed-off-by: Adam Tackett <[email protected]>
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 <[email protected]>
ps48 added a commit that referenced this pull request Sep 4, 2024
…2117)

* fix badge size for counters, change notebook delete, update test (#2110) (#2114)

(cherry picked from commit 1c6ff11)

Signed-off-by: Adam Tackett <[email protected]>
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 <[email protected]>

* Trace Analytics support for custom sources (#2112)

* improve traces table

Signed-off-by: Joshua Li <[email protected]>
(cherry picked from commit 2e052f2)

* improve queries

Signed-off-by: Joshua Li <[email protected]>
(cherry picked from commit d832ea1)

* add support for custom trace indices

Signed-off-by: Shenoy Pratik <[email protected]>

* update mode picker

Signed-off-by: Shenoy Pratik <[email protected]>

* added services view for custom trace source

Signed-off-by: Shenoy Pratik <[email protected]>

* updated snapshots

Signed-off-by: Shenoy Pratik <[email protected]>

* update DSL filter tests

Signed-off-by: Shenoy Pratik <[email protected]>

* update app analytics snapshots

Signed-off-by: Shenoy Pratik <[email protected]>

* remove console.log

Signed-off-by: Shenoy Pratik <[email protected]>

* update service map inputs, remove commented code

Signed-off-by: Shenoy Pratik <[email protected]>

* remove console.log, update copy and tests

Signed-off-by: Shenoy Pratik <[email protected]>

---------

Signed-off-by: Shenoy Pratik <[email protected]>
Co-authored-by: Joshua Li <[email protected]>
(cherry picked from commit ec67ad1)

* update snapshots

Signed-off-by: Shenoy Pratik <[email protected]>

* update snapshots from upstream changes

Signed-off-by: Shenoy Pratik <[email protected]>

---------

Signed-off-by: Adam Tackett <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Signed-off-by: Shenoy Pratik <[email protected]>
Co-authored-by: opensearch-trigger-bot[bot] <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Adam Tackett <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants