-
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
[Obs AI Assistant] Update AI Assistant icon for Serverless #202861
[Obs AI Assistant] Update AI Assistant icon for Serverless #202861
Conversation
Pinging @elastic/obs-ai-assistant (Team:Obs AI Assistant) |
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
f68c590
to
fb3eed1
Compare
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
/oblt-deploy |
@@ -111,6 +111,7 @@ export class ObservabilityAIAssistantAppPlugin | |||
appService={appService} | |||
coreStart={coreStart} | |||
pluginsStart={pluginsStart} | |||
isServerless={!!pluginsStart.serverless} |
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.
no need to depend on the serverless plugin to perform this check. The constructor of the plugin has the buildFlavor
:
constructor(initContext: PluginInitializerContext) {
const isServerless = initContext.env.packageInfo.buildFlavor === 'serverless';
}
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.
Thank you @afharo
💚 Build Succeeded
Metrics [docs]Async chunks
Page load bundle
History
cc @viduni94 |
Deployed serverless cluster from PR: https://serverless-bnhdu-e9f876.kb.eu-west-1.aws.qa.elastic.cloud/app/management |
Starting backport for target branches: 8.x |
…02861) ## Summary ### Problem The Obs AI Assistant icon doesn't look as expected in serverless top navigation. ### Solution Update button CSS for Obs AI Assistant top nav icon for serverless. No changes to the classic navigation. ### Checklist - [x] The PR description includes the appropriate Release Notes section, and the correct `release_note:*` label is applied per the [guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) (cherry picked from commit 8a73528)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…2861) (#203094) # Backport This will backport the following commits from `main` to `8.x`: - [[Obs AI Assistant] Update AI Assistant icon for Serverless (#202861)](#202861) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Viduni Wickramarachchi","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-12-05T12:38:33Z","message":"[Obs AI Assistant] Update AI Assistant icon for Serverless (#202861)\n\n## Summary\r\n\r\n### Problem\r\nThe Obs AI Assistant icon doesn't look as expected in serverless top\r\nnavigation.\r\n\r\n### Solution\r\nUpdate button CSS for Obs AI Assistant top nav icon for serverless. No\r\nchanges to the classic navigation.\r\n\r\n### Checklist\r\n\r\n- [x] The PR description includes the appropriate Release Notes section,\r\nand the correct `release_note:*` label is applied per the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"8a73528ab10acb5e10d86ac9e60a3a42d1e11f89","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Obs AI Assistant","ci:project-deploy-observability","backport:version","v8.18.0"],"title":"[Obs AI Assistant] Update AI Assistant icon for Serverless","number":202861,"url":"https://github.com/elastic/kibana/pull/202861","mergeCommit":{"message":"[Obs AI Assistant] Update AI Assistant icon for Serverless (#202861)\n\n## Summary\r\n\r\n### Problem\r\nThe Obs AI Assistant icon doesn't look as expected in serverless top\r\nnavigation.\r\n\r\n### Solution\r\nUpdate button CSS for Obs AI Assistant top nav icon for serverless. No\r\nchanges to the classic navigation.\r\n\r\n### Checklist\r\n\r\n- [x] The PR description includes the appropriate Release Notes section,\r\nand the correct `release_note:*` label is applied per the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"8a73528ab10acb5e10d86ac9e60a3a42d1e11f89"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/202861","number":202861,"mergeCommit":{"message":"[Obs AI Assistant] Update AI Assistant icon for Serverless (#202861)\n\n## Summary\r\n\r\n### Problem\r\nThe Obs AI Assistant icon doesn't look as expected in serverless top\r\nnavigation.\r\n\r\n### Solution\r\nUpdate button CSS for Obs AI Assistant top nav icon for serverless. No\r\nchanges to the classic navigation.\r\n\r\n### Checklist\r\n\r\n- [x] The PR description includes the appropriate Release Notes section,\r\nand the correct `release_note:*` label is applied per the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"8a73528ab10acb5e10d86ac9e60a3a42d1e11f89"}},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Viduni Wickramarachchi <[email protected]>
…02861) ## Summary ### Problem The Obs AI Assistant icon doesn't look as expected in serverless top navigation. ### Solution Update button CSS for Obs AI Assistant top nav icon for serverless. No changes to the classic navigation. ### Checklist - [x] The PR description includes the appropriate Release Notes section, and the correct `release_note:*` label is applied per the [guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
…02861) ## Summary ### Problem The Obs AI Assistant icon doesn't look as expected in serverless top navigation. ### Solution Update button CSS for Obs AI Assistant top nav icon for serverless. No changes to the classic navigation. ### Checklist - [x] The PR description includes the appropriate Release Notes section, and the correct `release_note:*` label is applied per the [guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
…02861) ## Summary ### Problem The Obs AI Assistant icon doesn't look as expected in serverless top navigation. ### Solution Update button CSS for Obs AI Assistant top nav icon for serverless. No changes to the classic navigation. ### Checklist - [x] The PR description includes the appropriate Release Notes section, and the correct `release_note:*` label is applied per the [guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
…02861) ## Summary ### Problem The Obs AI Assistant icon doesn't look as expected in serverless top navigation. ### Solution Update button CSS for Obs AI Assistant top nav icon for serverless. No changes to the classic navigation. ### Checklist - [x] The PR description includes the appropriate Release Notes section, and the correct `release_note:*` label is applied per the [guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
…02861) ## Summary ### Problem The Obs AI Assistant icon doesn't look as expected in serverless top navigation. ### Solution Update button CSS for Obs AI Assistant top nav icon for serverless. No changes to the classic navigation. ### Checklist - [x] The PR description includes the appropriate Release Notes section, and the correct `release_note:*` label is applied per the [guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
…02861) ## Summary ### Problem The Obs AI Assistant icon doesn't look as expected in serverless top navigation. ### Solution Update button CSS for Obs AI Assistant top nav icon for serverless. No changes to the classic navigation. ### Checklist - [x] The PR description includes the appropriate Release Notes section, and the correct `release_note:*` label is applied per the [guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
Summary
Problem
The Obs AI Assistant icon doesn't look as expected in serverless top navigation.
Solution
Update button CSS for Obs AI Assistant top nav icon for serverless. No changes to the classic navigation.
Screenshots
Serverless light mode::
Serverless dark mode:
Classic navigation (non-serverless):
Checklist
release_note:*
label is applied per the guidelines