Skip to content

Shared data view in Saved Objects view shows space avatars for spaces that don't have one #140901

@valscion

Description

@valscion

Kibana version: v8.4.1

Elasticsearch version: v8.4.1

Server OS version: Elastic Cloud hosted

Browser version: Mozilla Firefox v104.0.2 (also happens with Google Chrome)

Browser OS version: N/A

Original install method (e.g. download page, yum, from source, etc.): Elastic Cloud installation

Describe the bug: A shared data view "Saved Objects" view shows space avatars for spaces that don't have one, making the UI appear a bit broken.

Steps to reproduce:

  1. Create two spaces
  2. Add an avatar image for the first space while keeping the later space without one
  3. Share a data view between these two spaces
  4. Go to "Saved Objects" view

Expected behavior: The avatar image would only be displayed for the space that has an image

Screenshots (if relevant):

Cursor_and_Saved_Objects_-_Elastic

Errors in browser console (if relevant): N/A

Provide logs and/or server output (if relevant): N/A

Any additional context: It seems that the <div class="euiAvatar ...> elements erroneusly have the background-image set for those spaces which should not have one, as per this screenshot from Google Chrome element inspector view:

Cursor_and_DevTools_-_venuu-production_kb_eu-west-1_aws_found_io_9243_app_management_kibana_objects_and_Saved_Objects_-_Elastic

By the way, sharing a data view between different spaces is awesome!

Metadata

Metadata

Assignees

Labels

Feature:Saved Objects ManagementTeam:CorePlatform Core services: plugins, logging, config, saved objects, http, ES client, i18n, etc t//Team:SecurityPlatform Security: Auth, Users, Roles, Spaces, Audit Logging, etc t//bugFixes for quality problems that affect the customer experience

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions