Open remstef opened 6 years ago
Hi @remstef, my current commits and merges to the master fix some bugs, and add new feature 'merge Nodes To Compound'. At the moment it works in the frontend, but unfortunately, it only saves one node in the backend. What I mean here, if we create new nodes with one compound, the backend only saves the compound one, not with its children. We can discuss further later when I come to the office.
SOLUTION: create a new resource with a list of resources.value: [] first with cid: -1 example: { "before": {"rid":1534,"value":[ {"rid":153456}, {"rid":153345} ], "metadata":{}}, "after": {"cid": 46, "rid":1534,"value":"djzjdt","metadata":{ "label": "asdasf"}} }
@alvinrindra whats the status on the open issues?
fs.js:1081
return binding.unlink(pathModule.toNamespacedPath(path));
^
Error: ENOENT: no such file or directory, unlink './uploads/Tcell.txt'
at Object.fs.unlinkSync (fs.js:1081:18)
at Request._callback (/opt/project/frontendserver/api/storage/storageEndpoint.js:95:12)
at Request.self.callback (/opt/project/frontendserver/node_modules/request/request.js:185:22)
at Request.emit (events.js:159:13)
at Request.
at Request.emit (events.js:159:13)
at IncomingMessage.node server.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the autolinks@1.0.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
╭─────────────────────────────────────╮ │ │ │ Update available 5.5.1 → 6.2.0 │ │ Run npm i -g npm to update │ │ │ ╰─────────────────────────────────────╯
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2018-07-19T13_32_23_445Z-debug.log
- Visualiztion test (search)
- [x] include loading indicator
- [x] cancel invoked relation adding
- [x] use rid as "label" for compound nodes without metadata label
- [x] adding a relation from a node outside of a compund node to a node which is inside a compound node creates a new node outside of the compound node after refreshing ---> expected behavior, show immediately
- [x] merge rename to "move into", make button on node itself
- [x] Compound rename to "create new comound"
- [x] clear -> also clear any temporary variables
- [ ] creating compound from nodes which are within compounds should not move them out of the first compound, #new compound node is created inside the previous parent of current children nodes
Hi @remstef, we still need to keep "CreateCompound" feature, since you said that we cannot change value type of resources. As we know, to create a compound node, we need to have resource values as array [ ] by default. If we create a compound node from an existing node by using "Move Into" feature to another nonparent target node, it means that we are going to change the value of that nonparent target node from "string" to [array], which is not possible by the backend.
-> SOLUTION: Make the compound to be the rid / metadata label if any for the compound, not the first index array anymore!!!!.
Hi @remstef , I have some issues from the backend. You now change every same label node with different rids.
What if a user wants to edit that annotation container? such update its label or even move to another compound nodes?
[ ] Only demo endpoint that only works in Demo Service. bar / baz{username} / foo are not working anymore.
[x] creating two compound nodes, that have different labels, under same parents give the same rid compounds. E.g: I want to merge a single node "A" to a single node "B" under "Z" compound. With our scenario, this will create another compound right? for "A" to "B". Now it's fine, compound "AB" is created for node "A" and "B" under "Z" with rid "149". Then I want to merge node "C" to "D" with compound name "CD", but I get the same rid which is "149". When I refresh the app, I got "CD" compound with children "A", "B", "C", and "D".
[ ] no sources/provenances in annotationResouces after interpreting the documents, it is only triggered when I call localSearch
[ ] Deploy to live
[ ] annotations problem ==> alt + a , to annotation mode
This issue for testing system
Mainnav
Grid Controller
delete, add, edit
Upload
Visualization:
Resource properies view (on the right)
Minor things:
Probably related: