-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Fix Custom Threshold Rule ViewInAppUrl
does not honor space
#201793
Fix Custom Threshold Rule ViewInAppUrl
does not honor space
#201793
Conversation
@elasticmachine merge upstream |
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.
Tested with changes mentioned here, and it worked as expected 🚀
Pinging @elastic/appex-sharedux (Team:SharedUX) |
…ant/kibana into d/2024-11-26-locators-space-redirect
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.
LGTM! 👍
src/plugins/share/common/url_service/locators/redirect/space_url_parser.test.ts
Outdated
Show resolved
Hide resolved
Pinging @elastic/obs-ux-management-team (Team:obs-ux-management) |
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
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.
Deployment agnostic test service changes LGTM
spaceId
in getRedirectUrl
ViewInAppUrl
does not honour Space
ViewInAppUrl
does not honour SpaceViewInAppUrl
does not honor space
Flaky Test Runner Stats🎉 All tests passed! - kibana-flaky-test-suite-runner#7572[✅] x-pack/test/api_integration/deployment_agnostic/configs/stateful/oblt.stateful.config.ts: 25/25 tests passed. |
Flaky Test Runner Stats🎉 All tests passed! - kibana-flaky-test-suite-runner#7571[✅] x-pack/test/api_integration/deployment_agnostic/configs/serverless/oblt.serverless.config.ts: 25/25 tests passed. |
Flaky Test Runner Stats🎉 All tests passed! - kibana-flaky-test-suite-runner#7573[✅] x-pack/test/api_integration/deployment_agnostic/configs/serverless/oblt.serverless.config.ts: 25/25 tests passed. |
💛 Build succeeded, but was flaky
Failed CI StepsMetrics [docs]Module Count
Page load bundle
History
|
Starting backport for target branches: 8.17, 8.x https://github.com/elastic/kibana/actions/runs/12273608116 |
Great job @maryam-saeidi on following through with tests 👏 |
…c#201793) ## Summary Close elastic#201378 Fix elastic#201333 - [Share] Allow to pass `spaceId` to `getRedirectUrl` to build a URL with a specific `spaceId` - Fix Custom Threshold Rule ViewInAppUrl does not honor Space --------- Co-authored-by: Maryam Saeidi <maryam.saeidi@elastic.co> (cherry picked from commit f1f3a4f)
…c#201793) ## Summary Close elastic#201378 Fix elastic#201333 - [Share] Allow to pass `spaceId` to `getRedirectUrl` to build a URL with a specific `spaceId` - Fix Custom Threshold Rule ViewInAppUrl does not honor Space --------- Co-authored-by: Maryam Saeidi <maryam.saeidi@elastic.co> (cherry picked from commit f1f3a4f)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…or space (#201793) (#203736) # Backport This will backport the following commits from `main` to `8.x`: - [Fix Custom Threshold Rule `ViewInAppUrl` does not honor space (#201793)](#201793) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Anton Dosov","email":"anton.dosov@elastic.co"},"sourceCommit":{"committedDate":"2024-12-11T09:39:01Z","message":"Fix Custom Threshold Rule `ViewInAppUrl` does not honor space (#201793)\n\n## Summary\r\n\r\nClose https://github.com/elastic/kibana/issues/201378\r\nFix https://github.com/elastic/kibana/issues/201333\r\n\r\n- [Share] Allow to pass `spaceId` to `getRedirectUrl` to build a URL\r\nwith a specific `spaceId`\r\n- Fix Custom Threshold Rule ViewInAppUrl does not honor Space\r\n\r\n---------\r\n\r\nCo-authored-by: Maryam Saeidi <maryam.saeidi@elastic.co>","sha":"f1f3a4fddd34a08e33d2778a09f2166d6d1b02a0","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","v9.0.0","Team:SharedUX","ci:project-deploy-observability","Team:obs-ux-management","backport:version","v8.18.0","v8.17.1"],"title":"Fix Custom Threshold Rule `ViewInAppUrl` does not honor space","number":201793,"url":"https://github.com/elastic/kibana/pull/201793","mergeCommit":{"message":"Fix Custom Threshold Rule `ViewInAppUrl` does not honor space (#201793)\n\n## Summary\r\n\r\nClose https://github.com/elastic/kibana/issues/201378\r\nFix https://github.com/elastic/kibana/issues/201333\r\n\r\n- [Share] Allow to pass `spaceId` to `getRedirectUrl` to build a URL\r\nwith a specific `spaceId`\r\n- Fix Custom Threshold Rule ViewInAppUrl does not honor Space\r\n\r\n---------\r\n\r\nCo-authored-by: Maryam Saeidi <maryam.saeidi@elastic.co>","sha":"f1f3a4fddd34a08e33d2778a09f2166d6d1b02a0"}},"sourceBranch":"main","suggestedTargetBranches":["8.x","8.17"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/201793","number":201793,"mergeCommit":{"message":"Fix Custom Threshold Rule `ViewInAppUrl` does not honor space (#201793)\n\n## Summary\r\n\r\nClose https://github.com/elastic/kibana/issues/201378\r\nFix https://github.com/elastic/kibana/issues/201333\r\n\r\n- [Share] Allow to pass `spaceId` to `getRedirectUrl` to build a URL\r\nwith a specific `spaceId`\r\n- Fix Custom Threshold Rule ViewInAppUrl does not honor Space\r\n\r\n---------\r\n\r\nCo-authored-by: Maryam Saeidi <maryam.saeidi@elastic.co>","sha":"f1f3a4fddd34a08e33d2778a09f2166d6d1b02a0"}},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.17","label":"v8.17.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Anton Dosov <anton.dosov@elastic.co>
…nor space (#201793) (#203735) # Backport This will backport the following commits from `main` to `8.17`: - [Fix Custom Threshold Rule `ViewInAppUrl` does not honor space (#201793)](#201793) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Anton Dosov","email":"anton.dosov@elastic.co"},"sourceCommit":{"committedDate":"2024-12-11T09:39:01Z","message":"Fix Custom Threshold Rule `ViewInAppUrl` does not honor space (#201793)\n\n## Summary\r\n\r\nClose https://github.com/elastic/kibana/issues/201378\r\nFix https://github.com/elastic/kibana/issues/201333\r\n\r\n- [Share] Allow to pass `spaceId` to `getRedirectUrl` to build a URL\r\nwith a specific `spaceId`\r\n- Fix Custom Threshold Rule ViewInAppUrl does not honor Space\r\n\r\n---------\r\n\r\nCo-authored-by: Maryam Saeidi <maryam.saeidi@elastic.co>","sha":"f1f3a4fddd34a08e33d2778a09f2166d6d1b02a0","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","v9.0.0","Team:SharedUX","ci:project-deploy-observability","Team:obs-ux-management","backport:version","v8.18.0","v8.17.1"],"title":"Fix Custom Threshold Rule `ViewInAppUrl` does not honor space","number":201793,"url":"https://github.com/elastic/kibana/pull/201793","mergeCommit":{"message":"Fix Custom Threshold Rule `ViewInAppUrl` does not honor space (#201793)\n\n## Summary\r\n\r\nClose https://github.com/elastic/kibana/issues/201378\r\nFix https://github.com/elastic/kibana/issues/201333\r\n\r\n- [Share] Allow to pass `spaceId` to `getRedirectUrl` to build a URL\r\nwith a specific `spaceId`\r\n- Fix Custom Threshold Rule ViewInAppUrl does not honor Space\r\n\r\n---------\r\n\r\nCo-authored-by: Maryam Saeidi <maryam.saeidi@elastic.co>","sha":"f1f3a4fddd34a08e33d2778a09f2166d6d1b02a0"}},"sourceBranch":"main","suggestedTargetBranches":["8.x","8.17"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/201793","number":201793,"mergeCommit":{"message":"Fix Custom Threshold Rule `ViewInAppUrl` does not honor space (#201793)\n\n## Summary\r\n\r\nClose https://github.com/elastic/kibana/issues/201378\r\nFix https://github.com/elastic/kibana/issues/201333\r\n\r\n- [Share] Allow to pass `spaceId` to `getRedirectUrl` to build a URL\r\nwith a specific `spaceId`\r\n- Fix Custom Threshold Rule ViewInAppUrl does not honor Space\r\n\r\n---------\r\n\r\nCo-authored-by: Maryam Saeidi <maryam.saeidi@elastic.co>","sha":"f1f3a4fddd34a08e33d2778a09f2166d6d1b02a0"}},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.17","label":"v8.17.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Anton Dosov <anton.dosov@elastic.co>
…c#201793) ## Summary Close elastic#201378 Fix elastic#201333 - [Share] Allow to pass `spaceId` to `getRedirectUrl` to build a URL with a specific `spaceId` - Fix Custom Threshold Rule ViewInAppUrl does not honor Space --------- Co-authored-by: Maryam Saeidi <maryam.saeidi@elastic.co>
Thank you @maryam-saeidi, for the follow-up 💪🏻 ! |
Summary
Close #201378
Fix #201333
spaceId
togetRedirectUrl
to build a URL with a specificspaceId