Skip to content

Commit 542aedc

Browse files
committed
feat(viewManager): allow copy / move with subfolders
Allow moving and copying with override option. Make deleting single-flavored views a noop instead of moving to default flavor (safer). Make view update operations parallel.
1 parent b5e0458 commit 542aedc

File tree

6 files changed

+160
-105
lines changed

6 files changed

+160
-105
lines changed

package-lock.json

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@
100100
"node-jsgraph": "2.4.15",
101101
"numeral": "^2.0.6",
102102
"openchemlib": "^9.20.0",
103+
"p-map": "^7.0.4",
103104
"papaparse": "^5.5.3",
104105
"pouchdb": "^3.6.0",
105106
"quill": "2.0.2",

rollup.config.mjs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,14 @@ export default [
5959
exports: 'named',
6060
},
6161
},
62+
{
63+
input: 'node_modules/p-map/index.js',
64+
output: {
65+
file: 'src/browserified/p-map/index.js',
66+
format: 'amd',
67+
exports: 'named',
68+
}
69+
},
6270
{
6371
input: 'node_modules/rxn-renderer/lib/index.js',
6472
output: {

src/css/overwrite_styles.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.ui-menu {
2-
width: 150px;
2+
width: 180px;
33
}
44

55
.ui-menu a {

src/init.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ require.config({
4343
'nmr-simulation': 'components/nmr-simulation/dist/nmr-simulation',
4444
numeral: 'node_modules/numeral/min/numeral.min',
4545
openchemlib: 'browserified/openchemlib/openchemlib',
46+
'p-map': 'browserified/p-map/index',
4647
papaparse: 'node_modules/papaparse/papaparse.min',
4748
plot: 'lib/plot/plot',
4849
pouchdb: 'node_modules/pouchdb/dist/pouchdb.min',

0 commit comments

Comments
 (0)