From 1f2261c94cec58ae7d9a671b12bb06020e4d9291 Mon Sep 17 00:00:00 2001 From: Tianyu Gao Date: Wed, 27 Nov 2024 17:29:58 +0800 Subject: [PATCH] [Workspace] feat: optimize recent items and filter out items whose workspace is deleted (#8900) * feat: optimize recent items and filter out items whose workspace is deleted Signed-off-by: tygao * Changeset file for PR #8900 created/updated * seperate link Signed-off-by: tygao * update filter sequence Signed-off-by: tygao --------- Signed-off-by: tygao Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com> --- src/core/public/chrome/ui/header/recent_items.tsx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/core/public/chrome/ui/header/recent_items.tsx b/src/core/public/chrome/ui/header/recent_items.tsx index fe48c7eb9d1..cdbbfef90f9 100644 --- a/src/core/public/chrome/ui/header/recent_items.tsx +++ b/src/core/public/chrome/ui/header/recent_items.tsx @@ -141,9 +141,17 @@ export const RecentItems = ({ onClick={() => { setIsPreferencesPopoverOpen((IsPreferencesPopoverOpe) => !IsPreferencesPopoverOpe); }} +<<<<<<< HEAD iconType="managementApp" data-test-subj="preferencesSettingButton" /> +======= + > + {i18n.translate('core.header.recent.preferences', { + defaultMessage: 'Preferences', + })} + +>>>>>>> c24d5bc842 ([Workspace] feat: optimize recent items and filter out items whose workspace is deleted (#8900)) } isOpen={isPreferencesPopoverOpen} anchorPosition="downLeft"