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

[Bug] UI changes for overview page, fix re-direction for workspaces #2152

Merged
merged 7 commits into from
Sep 11, 2024

Conversation

TackAdam
Copy link
Collaborator

@TackAdam TackAdam commented Sep 9, 2024

Description

  1. Fix discover re-direction bug of buttons missing.
  2. Update UI of overview page to include sample data card.
  3. Fix re-direction cards for content made while in a workspace in getting started.
  4. Rename getting started sample data card.
  5. Rename 'Try it' integration button.

Now lands on page with correct UI

Screen.Recording.2024-09-10.at.4.35.20.PM.mov

Added Try OpenSearch card that directs user to add sample data, updated footer of cards.

Screenshot 2024-09-10 at 11 31 30 AM Screenshot 2024-09-10 at 11 32 17 AM
Before After
Before Image 1 After Image 1
Before After
Before Image 1 After Image 1

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 bug Something isn't working backport 2.x backport 2.17 labels Sep 9, 2024
@@ -18,6 +18,7 @@ import {
} from '@elastic/eui';
import { coreRefs } from '../../../../public/framework/core_refs';
import { fetchDashboardIds, fetchIndexPatternIds, redirectToDashboards } from './utils';
import { getWorkspaceIdFromUrl } from '../../../../../../src/core/public/utils/index';
Copy link
Member

Choose a reason for hiding this comment

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

Nit. Can use import { getWorkspaceIdFromUrl } from '../../../../../../src/core/public'

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

adjusted too:
import { getWorkspaceIdFromUrl } from '../../../../../../src/core/public/utils';
Couldn't use just public without error
Screenshot 2024-09-10 at 10 33 33 AM

common/constants/shared.ts Outdated Show resolved Hide resolved
@TackAdam TackAdam marked this pull request as ready for review September 10, 2024 18:32
Adam Tackett and others added 2 commits September 10, 2024 16:32
Signed-off-by: Adam Tackett <[email protected]>
@TackAdam
Copy link
Collaborator Author

TackAdam commented Sep 11, 2024

Updates to Getting started text and ui
Before:
Screenshot 2024-09-10 at 5 08 35 PM

After:
Screenshot 2024-09-10 at 5 14 51 PM

Signed-off-by: Adam Tackett <[email protected]>
@TackAdam TackAdam merged commit ce419d8 into opensearch-project:main Sep 11, 2024
10 of 18 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Sep 11, 2024
…2152)

* update overview page, redirection bug, change text

Signed-off-by: Adam Tackett <[email protected]>

* change card order, make button small, rename variable

Signed-off-by: Adam Tackett <[email protected]>

* fix bugs, adjust ui

Signed-off-by: Adam Tackett <[email protected]>

* address comments

Signed-off-by: Adam Tackett <[email protected]>

* change text

Signed-off-by: Adam Tackett <[email protected]>

---------

Signed-off-by: Adam Tackett <[email protected]>
Co-authored-by: Adam Tackett <[email protected]>
(cherry picked from commit ce419d8)
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 11, 2024
…2152)

* update overview page, redirection bug, change text

Signed-off-by: Adam Tackett <[email protected]>

* change card order, make button small, rename variable

Signed-off-by: Adam Tackett <[email protected]>

* fix bugs, adjust ui

Signed-off-by: Adam Tackett <[email protected]>

* address comments

Signed-off-by: Adam Tackett <[email protected]>

* change text

Signed-off-by: Adam Tackett <[email protected]>

---------

Signed-off-by: Adam Tackett <[email protected]>
Co-authored-by: Adam Tackett <[email protected]>
(cherry picked from commit ce419d8)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
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.

3 participants