Skip to content

Commit 34e2823

Browse files
committed
Bump version to 1.104.0 and add duplicate action to configurations component stories
- fix stories
1 parent 59109c9 commit 34e2823

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

‎apps/browser/src/manifest.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"name": "Autofill for Code Web Chat",
55
"short_name": "CWC",
66
"description": "Got tired with copy and paste? Enable prompt autofill!",
7-
"version": "1.103.0",
7+
"version": "1.104.0",
88
"homepage_url": "https://github.com/robertpiosik/CodeWebChat",
99
"icons": {
1010
"16": "icons/icon-16.png",

‎packages/ui/src/components/editor/panel/Configurations/Configurations.stories.tsx‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ const mock_translations = {
3535
unpin_tooltip: 'Unpin',
3636
insert_tooltip: 'Insert a new configuration below/above',
3737
edit_tooltip: 'Edit',
38-
delete_tooltip: 'Delete'
38+
delete_tooltip: 'Delete',
39+
duplicate_tooltip: 'Duplicate'
3940
}
4041

4142
export const Default = () => {
@@ -58,6 +59,9 @@ export const Default = () => {
5859
on_delete={(id) => {
5960
console.log('on_delete', id)
6061
}}
62+
on_duplicate={(id) => {
63+
console.log('on_duplicate', id)
64+
}}
6165
on_reorder={(configs) => {
6266
console.log('on_reorder', configs)
6367
}}
@@ -89,6 +93,9 @@ export const Empty = () => (
8993
on_delete={(id) => {
9094
console.log('on_delete', id)
9195
}}
96+
on_duplicate={(id) => {
97+
console.log('on_duplicate', id)
98+
}}
9299
on_reorder={(configs) => {
93100
console.log('on_reorder', configs)
94101
}}

0 commit comments

Comments
 (0)