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

[Obs AI Assistant] Update AI Assistant icon for Serverless #202861

Merged

Conversation

viduni94
Copy link
Contributor

@viduni94 viduni94 commented Dec 4, 2024

Summary

Problem

The Obs AI Assistant icon doesn't look as expected in serverless top navigation.

384982098-de58302c-fa65-4d65-b398-a9c14b41f714

Solution

Update button CSS for Obs AI Assistant top nav icon for serverless. No changes to the classic navigation.

Screenshots

Serverless light mode::

image

Serverless dark mode:

image

Classic navigation (non-serverless):

image

Checklist

  • The PR description includes the appropriate Release Notes section, and the correct release_note:* label is applied per the guidelines

@viduni94 viduni94 added release_note:skip Skip the PR/issue when compiling release notes Team:Obs AI Assistant Observability AI Assistant backport:version Backport to applied version labels v8.18.0 labels Dec 4, 2024
@viduni94 viduni94 self-assigned this Dec 4, 2024
@viduni94 viduni94 requested a review from a team as a code owner December 4, 2024 00:57
@elasticmachine
Copy link
Contributor

Pinging @elastic/obs-ai-assistant (Team:Obs AI Assistant)

@botelastic botelastic bot added the ci:project-deploy-observability Create an Observability project label Dec 4, 2024
Copy link
Contributor

github-actions bot commented Dec 4, 2024

🤖 GitHub comments

Expand to view the GitHub comments

Just comment with:

  • /oblt-deploy : Deploy a Kibana instance using the Observability test environments.
  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)

@viduni94 viduni94 force-pushed the change-ai-assistant-icon-in-serverless branch from f68c590 to fb3eed1 Compare December 4, 2024 00:58
@viduni94 viduni94 added ci:project-deploy-observability Create an Observability project and removed ci:project-deploy-observability Create an Observability project labels Dec 4, 2024
Copy link
Contributor

github-actions bot commented Dec 4, 2024

🤖 GitHub comments

Expand to view the GitHub comments

Just comment with:

  • /oblt-deploy : Deploy a Kibana instance using the Observability test environments.
  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)

@viduni94
Copy link
Contributor Author

viduni94 commented Dec 4, 2024

/oblt-deploy

@viduni94 viduni94 requested a review from a team as a code owner December 4, 2024 14:46
@@ -111,6 +111,7 @@ export class ObservabilityAIAssistantAppPlugin
appService={appService}
coreStart={coreStart}
pluginsStart={pluginsStart}
isServerless={!!pluginsStart.serverless}
Copy link
Member

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';
  }

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thank you @afharo

@viduni94 viduni94 marked this pull request as draft December 4, 2024 19:21
@viduni94 viduni94 marked this pull request as ready for review December 4, 2024 19:45
@elasticmachine
Copy link
Contributor

elasticmachine commented Dec 4, 2024

💚 Build Succeeded

  • Buildkite Build
  • Commit: 7766631
  • Kibana Serverless Image: docker.elastic.co/kibana-ci/kibana-serverless:pr-202861-7766631ad641

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
observabilityAIAssistantApp 237.5KB 237.9KB +402.0B

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
observabilityAIAssistantApp 8.6KB 8.8KB +156.0B

History

cc @viduni94

@viduni94
Copy link
Contributor Author

viduni94 commented Dec 4, 2024

@viduni94 viduni94 merged commit 8a73528 into elastic:main Dec 5, 2024
8 checks passed
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.x

https://github.com/elastic/kibana/actions/runs/12179906246

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Dec 5, 2024
…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)
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.x

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Dec 5, 2024
…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]>
SoniaSanzV pushed a commit to SoniaSanzV/kibana that referenced this pull request Dec 9, 2024
…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)
SoniaSanzV pushed a commit to SoniaSanzV/kibana that referenced this pull request Dec 9, 2024
…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)
CAWilson94 pushed a commit to CAWilson94/kibana that referenced this pull request Dec 9, 2024
…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)
Samiul-TheSoccerFan pushed a commit to Samiul-TheSoccerFan/kibana that referenced this pull request Dec 10, 2024
…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)
mykolaharmash pushed a commit to mykolaharmash/kibana that referenced this pull request Dec 11, 2024
…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)
CAWilson94 pushed a commit to CAWilson94/kibana that referenced this pull request Dec 12, 2024
…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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:version Backport to applied version labels ci:project-deploy-observability Create an Observability project release_note:skip Skip the PR/issue when compiling release notes Team:Obs AI Assistant Observability AI Assistant v8.18.0 v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants