@opencloning/ui 1.9.0 → 1.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -0
- package/package.json +3 -3
- package/src/components/MainSequenceEditor.jsx +12 -0
- package/src/version.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @opencloning/ui
|
|
2
2
|
|
|
3
|
+
## 1.9.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#715](https://github.com/OpenCloning/OpenCloning_frontend/pull/715) [`e4d9515`](https://github.com/OpenCloning/OpenCloning_frontend/commit/e4d9515a7f6fcad09e5c196f3cb090f70fe3a156) Thanks [@manulera](https://github.com/manulera)! - Allow to copy features when editing annotation
|
|
8
|
+
|
|
9
|
+
- Updated dependencies []:
|
|
10
|
+
- @opencloning/store@1.9.1
|
|
11
|
+
- @opencloning/utils@1.9.1
|
|
12
|
+
|
|
3
13
|
## 1.9.0
|
|
4
14
|
|
|
5
15
|
### Minor Changes
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"license": "MIT",
|
|
3
3
|
"name": "@opencloning/ui",
|
|
4
|
-
"version": "1.9.
|
|
4
|
+
"version": "1.9.1",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/index.js",
|
|
7
7
|
"scripts": {
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"@mui/icons-material": "^5.18.0",
|
|
40
40
|
"@mui/material": "^5.18.0",
|
|
41
41
|
"@mui/x-data-grid": "^8.28.5",
|
|
42
|
-
"@opencloning/store": "1.9.
|
|
43
|
-
"@opencloning/utils": "1.9.
|
|
42
|
+
"@opencloning/store": "1.9.1",
|
|
43
|
+
"@opencloning/utils": "1.9.1",
|
|
44
44
|
"@teselagen/bio-parsers": "^0.4.38",
|
|
45
45
|
"@teselagen/ove": "^0.8.42",
|
|
46
46
|
"@teselagen/range-utils": "^0.3.20",
|
|
@@ -73,6 +73,18 @@ function MainSequenceEditor() {
|
|
|
73
73
|
"--",
|
|
74
74
|
"editFeature",
|
|
75
75
|
"deleteFeature",
|
|
76
|
+
{
|
|
77
|
+
text: "Duplicate Feature",
|
|
78
|
+
disabled: props.readOnly,
|
|
79
|
+
onClick: () => {
|
|
80
|
+
const { id, ...rest } = annotation;
|
|
81
|
+
props.upsertFeature({
|
|
82
|
+
...rest,
|
|
83
|
+
// omit id → upsertDeleteActionGenerator assigns a new shortid
|
|
84
|
+
name: annotation.name ? `${annotation.name} (copy)` : undefined,
|
|
85
|
+
});
|
|
86
|
+
},
|
|
87
|
+
},
|
|
76
88
|
"showRemoveDuplicatesDialogFeatures",
|
|
77
89
|
"--",
|
|
78
90
|
"toggleCdsFeatureTranslations",
|
package/src/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Version placeholder - replaced at publish time via prepack script
|
|
2
|
-
export const version = "1.9.
|
|
2
|
+
export const version = "1.9.1";
|