dalpo / rails_admin_nestable

RailsAdmin drag & drop custom action sorting list and tree (using the Ancestry gem) :gem:
http://andreadalponte.com/rails_admin_nestable/
MIT License
104 stars 71 forks source link

gets too slow for nodes > 10000 #28

Open xxxazxxx opened 10 years ago

xxxazxxx commented 10 years ago

My ancestry tree contains more than 10000 nodes.

Is there any way to display only a part of the subtree say suppose all the children under a particular node, also with an option to add a new node to this subtree by search for its name in the entire tree or maybe add a new node and add it to this subtree as a child?

dalpo commented 10 years ago

Hi @xxxazxxx, now in rails_admin_nestable is not possible to filter by a subtree. I'm planning to refactor all the code, to support many adapters to manage tree, like awesome_nested_set or mondodb database.

Moreover I want to add filter feature to manage only a subnode.

But it will take a little of time before that everything will be ready...

marksiemers commented 9 years ago

For list sorting, using something like ranked_model could drastically improve performance when dealing with large data sets.

ain commented 7 years ago

Performance is only one aspect. The other is UX. Scoping would solve it.