Comments (5)
I'm currently working on this one and the results looking good for
- Context menu > Add new concept
- Add broader concept
- Add narrower concept
But what should happen after one deletes a concept using the options from the context menu?
- Delete concept and descendants
- Delete concept and move descendants one level up
- Delete concept and move descendants to the top level
My idea for 1. was to remove the concept completely, which would be easy to implement. But I couldn't think of a good behaviour for 2. and 3. Do you have any idea @dirkseidensticker @AngusLeBoeuf ?
from thesaurex.
As there are hypothetical use cases for this, I would suggest the following:
- in any case there should be a warning, stating that deleting a concept that has multiple broader or narrower concepts results in the following ...
- this warning must be accepted "'yes' i will delete them'
- cases:
- is good as you proposed
- should only work on the selected element in the tree (the one you clicked)
- is not necessary and can be removed
from thesaurex.
I encountered several problems with our ideas.
One problem is your case 2 for an element as 'Textilverarbeitung'.
Example
- Path 1:
Fund > Artefakt > Form > Werkzeug > Textilverarbeitung
- Path 2:
Facetten > Artefakt (thematisch) > Werkzeug > Textilverarbeitung
It has only one parent ('Werkzeug'), but 'Werkzeug' has two parents. Thus, moving the children of 'Textilverarbeitung' in Path 1 would move them in Path 2 as well.
Another problem is ('Textilverarbeitung' again) that the current implementation for an element with one parent, but two parents can not compute the exact path to this element in the tree.
We should discuss this in person next week.
from thesaurex.
Thanks to #63 I think this has been fixed. Can someone confirm this please? @eScienceCenter/spacialists
from thesaurex.
🎱
from thesaurex.
Related Issues (20)
- sorting of child contexts HOT 2
- indentation of multiline lables in the tree ugly
- form should void when deleting a concept that is currently being edited
- mass-create new concepts HOT 4
- tree closes after adding a new concept HOT 1
- add user error
- box for alternative lables isn't cleared after labeling
- Tree isn't folding out correctly when selecting an item from the search
- Highlight element - selected search item HOT 1
- Materialize ThesauRex! HOT 1
- Change passwort delivers error
- Internal server error when exporting RDF HOT 2
- Button to go to Spacialist HOT 1
- Update migrations to match updated spacialist migrations
- Add notes to concepts
- Delete and move descendants one level up not working HOT 2
- Use Spacialist pref(s) HOT 1
- Broader and Narrower won't be displayed if German language file isn't there HOT 1
- Enable Drag & Drop checkbox is missing! HOT 5
- Concepts got lost after editing parents concpets HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from thesaurex.