Skip to content

Commit 89d6a7b

Browse files
authored
ref(stories): rename sections (to core + product) (#95562)
- For clarity: renames sidebar and search sections to "core components" and "product components" - Bug fix: close story search on blur
1 parent 321954f commit 89d6a7b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

static/app/stories/view/storySearch.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ export function StorySearch() {
7373
if (shared.length > 0) {
7474
sections.push({
7575
key: 'shared',
76-
label: 'Shared',
76+
label: 'Product',
7777
options: shared,
7878
});
7979
}
@@ -172,7 +172,7 @@ function SearchComboBox(props: SearchComboBoxProps) {
172172
inputValue,
173173
onInputChange: setInputValue,
174174
defaultFilter: filter,
175-
shouldCloseOnBlur: false,
175+
shouldCloseOnBlur: true,
176176
allowsEmptyCollection: false,
177177
onSelectionChange: handleSelectionChange,
178178
});

static/app/stories/view/storySidebar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export function StorySidebar() {
2222
<StoryTree nodes={core} />
2323
</li>
2424
<li>
25-
<h3>Shared</h3>
25+
<h3>Product</h3>
2626
<StoryTree nodes={shared} />
2727
</li>
2828
</ul>

0 commit comments

Comments
 (0)