OpenSearch-Dashboards icon indicating copy to clipboard operation
OpenSearch-Dashboards copied to clipboard

[Workspace] Comply recentAccessed service with workspace

Open SuZhou-Joe opened this issue 8 months ago • 0 comments

Is your feature request related to a problem? Please describe.

Recent items storage is using basePath as the partition of its storage.

Before workspace feature is introduced, it works well as the only factor of basePath is serverBasePath, which is defined in opensearch_dashboards.yml file.

After workspace feature is enabled, things get weird because workspace will modify basePath service so that basePath consists of two parts: 1. serverBasePath 2. currentWorkspaceId. As a result, recent items storage is distinct by workspace, and user can not see all the recent items in any of the page or workspace.

Describe the solution you'd like

Take serverBasePath into consideration when generating the storage key of recent items.

Describe alternatives you've considered

N/A

Additional context

#4944

SuZhou-Joe avatar Jun 27 '24 03:06 SuZhou-Joe