-
Notifications
You must be signed in to change notification settings - Fork 906
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][Bug] Fix inspect page url error #8857
[Workspace][Bug] Fix inspect page url error #8857
Conversation
Signed-off-by: yubonluo <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #8857 +/- ##
==========================================
- Coverage 60.86% 56.39% -4.48%
==========================================
Files 3800 1239 -2561
Lines 90818 25913 -64905
Branches 14307 4437 -9870
==========================================
- Hits 55276 14613 -40663
+ Misses 32028 10559 -21469
+ Partials 3514 741 -2773
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
finalEditUrl = finalEditUrl.replace(/^\/management\/opensearch-dashboards/, '/app'); | ||
finalEditUrl = finalEditUrl.replace(/^\/management\/opensearch-dashboards/, ''); | ||
} | ||
if (finalEditUrl) { | ||
finalEditUrl = `/app${finalEditUrl}`; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is there a reason to do this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In any case, need to add the \app
prefix to the url, otherwise user will not be able to access it. According to previous practice, when new home is closed, the URL will miss the \app
prefix
* Fix inspect page url error Signed-off-by: yubonluo <[email protected]> * Changeset file for PR #8857 created/updated --------- Signed-off-by: yubonluo <[email protected]> Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com> (cherry picked from commit 66ea096) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Description
Issues Resolved
After solving the issue 1, clicking inspect button will go to the inspect page
After solving the issue 2, clicking inspect button in the relationship will go to the workspace inspect page.
Screenshot
Testing the changes
Changelog
Check List
yarn test:jest
yarn test:jest_integration