-
Notifications
You must be signed in to change notification settings - Fork 890
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
[Workspace]Redirect to use case landing page after workspace create #7933
[Workspace]Redirect to use case landing page after workspace create #7933
Conversation
Signed-off-by: Lin Wang <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #7933 +/- ##
=======================================
Coverage 61.01% 61.01%
=======================================
Files 3685 3685
Lines 87143 87146 +3
Branches 13405 13406 +1
=======================================
+ Hits 53169 53172 +3
+ Misses 30755 30754 -1
- Partials 3219 3220 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
…ce-create Signed-off-by: Lin Wang <[email protected]>
The backport to
To backport manually, run these commands in your terminal: # Navigate to the root of your repository
cd $(git rev-parse --show-toplevel)
# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/OpenSearch-Dashboards/backport-2.x 2.x
# Navigate to the new working tree
pushd ../.worktrees/OpenSearch-Dashboards/backport-2.x
# Create a new branch
git switch --create backport/backport-7933-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 6bd64f2f5b209b64f2d810700d1ed1c6e7433c6c
# Push it to GitHub
git push --set-upstream origin backport/backport-7933-to-2.x
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/OpenSearch-Dashboards/backport-2.x Then, create a pull request where the |
…pensearch-project#7933) * Redirect to use case landing page after workspace create Signed-off-by: Lin Wang <[email protected]> * Changeset file for PR opensearch-project#7933 created/updated --------- Signed-off-by: Lin Wang <[email protected]> Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com> Co-authored-by: SuZhou-Joe <[email protected]>
…pensearch-project#7933) * Redirect to use case landing page after workspace create Signed-off-by: Lin Wang <[email protected]> * Changeset file for PR opensearch-project#7933 created/updated --------- Signed-off-by: Lin Wang <[email protected]> Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com> Co-authored-by: SuZhou-Joe <[email protected]>
…7933) * Redirect to use case landing page after workspace create Signed-off-by: Lin Wang <[email protected]> * Changeset file for PR #7933 created/updated --------- Signed-off-by: Lin Wang <[email protected]> Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com> Co-authored-by: SuZhou-Joe <[email protected]> (cherry picked from commit 6bd64f2) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…7933) (#7993) * Redirect to use case landing page after workspace create * Changeset file for PR #7933 created/updated --------- (cherry picked from commit 6bd64f2) Signed-off-by: Lin Wang <[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: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com> Co-authored-by: SuZhou-Joe <[email protected]>
The backport to
To backport manually, run these commands in your terminal: # Navigate to the root of your repository
cd $(git rev-parse --show-toplevel)
# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/OpenSearch-Dashboards/backport-2.17 2.17
# Navigate to the new working tree
pushd ../.worktrees/OpenSearch-Dashboards/backport-2.17
# Create a new branch
git switch --create backport/backport-7933-to-2.17
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 6bd64f2f5b209b64f2d810700d1ed1c6e7433c6c
# Push it to GitHub
git push --set-upstream origin backport/backport-7933-to-2.17
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/OpenSearch-Dashboards/backport-2.17 Then, create a pull request where the |
…7933) (#7993) * Redirect to use case landing page after workspace create * Changeset file for PR #7933 created/updated --------- (cherry picked from commit 6bd64f2) Signed-off-by: Lin Wang <[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: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com> Co-authored-by: SuZhou-Joe <[email protected]> (cherry picked from commit 624c692) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…7933) (#7993) (#8047) * Redirect to use case landing page after workspace create * Changeset file for PR #7933 created/updated --------- (cherry picked from commit 6bd64f2) (cherry picked from commit 624c692) Signed-off-by: Lin Wang <[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: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com> Co-authored-by: SuZhou-Joe <[email protected]>
Description
This PR is for redirecting to use case landing page after workspace create successfully. The first nav links of each use case will be treated as the landing page. The PR will read the first nav link id and redirect to this page after workspace created.
Issues Resolved
#7952
Screenshot
No UI changes
Testing the changes
yarn osd bootstrap --single-version ignore
config/opensearch_dashboards.yml
yarn start --no-base-path
Changelog
Check List
yarn test:jest
yarn test:jest_integration