Giter Site home page Giter Site logo

thesaurex's People

Contributors

angusleboeuf avatar derntl avatar dirkseidensticker avatar hvitgar avatar v1r0x avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

thesaurex's Issues

add concept and then narrowers fails

  • add a new concept
  • in the new concept details, add a narrower concept using the "Narrower Concepts" box on the right-hand side
  • The result is that the concept is created, but not shown in the GUI and in the console we see an error Error: main.tree[treeName].concepts[parentId] is undefined

Button to go to Spacialist

If ThesauRex paired with Spacialist, there should be a link in the menu bar to go to the Spacialist instance

search fails in thesaurus

searching in either master or project thsaurus delivers an error:

Error: httpPostFactory is not defined
expandElement@http://localhost/thesaurex/controllers/treeCtrl.js:194:9
$scope.expandElement@http://localhost/thesaurex/controllers/treeCtrl.js:250:9

Change passwort delivers error

Clickin "change password" in user management delivers:

Error: modalFactory.editUserModal is not a function
$scope.openEditUserDialog@https://.../thesaurex/controllers/userCtrl.js:94:9
...

add child concept

add a concept under a top level concept. nothing happens visually, after reload i see it was added.

not sure by the way how the "Enable Editing" checkbox affects the delete & add concepts operations. Even if the checkbox is unckecked, I can remove concepts, add concepts.

So when "Enable Editing" is off, it should not be possible to do anything but does this make sense? What was the idea of this checkbox again? If it stays, it needs to prevent any edit. If it only affects drag & drop edits, it should be relabeled to reflect this.

Tree isn't folding out correctly when selecting an item from the search

Steps to reproduce

  1. Search for a concept
  2. Select concept from the search results

Expected behaviour

The tree should expand to the position of the selected concept.

Actual behaviour

Only the first level gets expanded.

Server configuration

Operating system:

Web server:

Database:

PHP version:

Lumen Version:

ThesauRex version:

List of activated modules:

Module List

Are you using external storage, if yes which one: local/ftp/aws/...

Client configuration

Browser:

Operating system:

Logs

Webserver error log

Webserver error log ``` Insert your webserver log here ```

Lumen log (lumen/storage/lumen.log)

Lumen log
Insert your Lumen log here

Browser log

Browser log
Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log
c) ...

new broader concepts will not be saved

Right now if you select a concept and add a new broader concept via the search bar and refresh - the new broader concept will not be saved. This functions with narrower concepts quite well

problem with adding preflabel

  • Click an element in the tree, which has a german preflabel
  • Add an English preflabel
  • Add a German altlabel (if it does not exist yet)
  • Remove the German preflabel
  • Reload
  • Now the tree displays the altlabel (good!) --- if it didn't have a German altlabel, the element would disappear from the tree (not good, see #60 !)
  • Anyway it is now impossible to add a German preflabel to the element any more

mass-create new concepts

@AngusLeBoeuf suggested that it would be helpful to have the possibility to create multiple concepts at once. Currently the user has to click on create new top-concept or Rightclick>add new concept for each individual concept. Instead, it would be better to extend the Add new concept popup so that the user can enter multiple concepts.

problem when adding a broader or narrower

  • Click any concept in the tree that has a broader concept
  • Add an additional broader concept. Then the tree will get updated, but the list of broader concepts does not update. Same with narrower concepts.

add user error

Adding a user delivers Error: modalFactory.addUserModal is not a function in the console and nothing happens

no pref/alt labels after drag&drop

drag a concept from the master to the project tree. in the concept details, no detail is shown (broaders, narrowers, alt, pref all empty)

sorting of child contexts

child contexts are seemlingy sorted randomly. there seem to be 2 orders: the leafs appear in order and the contexts with children too, but there is no overall order.

Highlight element - selected search item

#113 fixed the tree unfolding bug, but introduced a new small bug. If the user selects a search result it only gets highlighted if this branch is already unfolded or a top concept.

narrower concepts apear with their alt labels

After selecting one concept in the tree - in the view on the right side some of the narrower concepts apear with their alt labels instead of th pref label. The coice semms to be random

descendants are not copied when moving

If one connects an existing concept with descendants to an existing broader concept (by selecting the broader Concept and add the narrower with the search bar) the concept moves correctly with all the descendants to the new broader concepts but looses all its deswcendants in the former concept. The descendants move and are not copied to both concepts.

top level concept delete weird

delete a top level concept (with children). it works, but:

  • in the master tree, nothing happens visually
  • in the project tree, all descendants are removed but the top level concept remains visible.

Language dropdown

  1. Dropdown in altLabel section does not work (references to an object of $scope which does not exist)
  2. English language has a ?-flag instead of a uk/us flag

Delete or move concept - color issue

when deleting (and selecting to move children one level up) or when moving a concept the coloring is not updated, thus not reflecting the new nesting level

bugs with alt and prf labels

Changes, erasure (by pressing the x-button) as well as giving new alt or pref labels are not working. If you enter an text in order to add a new label, this text will appear in the box even if you select another concept.

Search in master-tree doesn't work

The search doesn't work in the master-tree properly. Suggestions are presented but the result is not displayed: the tree doesn't expand.

Delete element

There should be three variants of deleting an element

  • Delete element and all its descendants
  • Delete element and move all descendants one level up
  • Delete element and move all descendants to the top level

Import/Export

Currently there is no proper import and export functionality. Currently I'm using two python scripts, but one has to set the database connection values as hardcoded string in the file or as parameter. If we only want one function/script for all instances we should either call the script from php and get the values from the .env file or re-implement it in php. First solution would be easier, but it is a bit ugly...
Nethertheless we need the following functionality:

  • Import tree
    • leave existing concepts as they are + add new concepts from the upload
    • update existing concepts based on the upload + add new concepts from the upload
    • purge all existing concepts + add new concepts from the upload
  • Export tree
    • Export selected element and it's descendants
  • Disable GUI during import/export (because it takes long)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.