-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tree new - unable to browse the tree structure without page loading #300
Comments
Do you have a picture of such a tree? I can consider if an icon must load or not, eventually trying to make it consistent between old and new tree.. |
Hi, definitely in old version icon did not load the page. In the new version it does nothing I think. I used a default template for a test. |
Sure you see the new tree, and not the nojs tree? What happens if you click on: about namespace nodes:
about page node:
Are there any errors in the Console of your browser? |
I have recorded the video showing how it works, one for treenew and the other without treenew. I suspect this could have something to do with the skins. As you can see, without the skin defined, it works ok. When I define a skin, then it is extremely hard to click to expand. It is only possible when I precisely hit the middle of the marker. https://drive.google.com/drive/folders/1ByYl17pqtwHLNQjY_y6M-doE3fE6am-d?usp=drive_link |
Thanks for the movies. That helps a lot. #doku2 exists only as 'theme' for the js treeold. The js treenew has that one not available as 'skin'. I should do two separate checks: if it is treeold, check if the theme-name exists as 'theme', or if it is treenew that it exists as 'skin'. Now these approaches are mixed, such that it find a hit for treeold, but most of these does not exist for treenew. Next it try to show the not existing 'doku2'-skin for treenew. But because it does not exist, you see a bare tree, that looks even a kind of decent, but works rather bad because it misses a lot of relevant css code. At certain point you see a syntax error on a node. I guess that is a separate issue than the layouting issue. Could you open the network tab of the Developer tool, reload the page, and navigate to this point in the tree again. If that error occurs, could you check what is returned as Response by the ajax.php call? I guess it returns something that starts different than default. e.g. it starts with an error text or something like that.. |
Hi @Klap-in , sorry for the delay. This is the response.
Here is the full log
I think this does not play well with this plugin: https://github.com/ConX/dokuwiki-plugin-prettytables/ |
And as for
Should I do anything? I followed the docs to put the icons into the images folder. Not sure if there should a new folder named skins? When I check in admin panel index menu utils, I see no templates there :/ |
this is an issue, for which a hotfix release of DokuWiki is released. I guess you have not yet installed that hotfix release? if you use the |
Thanks @Klap-in , |
Hi,
I tried the treenew option and immediate reaction was that I am unable to browse the indexmenu tree without the page being reloaded every time I click to expand. In the previous version I was able to expand to n-th level of the namespaces and then click the name to open the page... is it gone or I am doing something wrong?
The text was updated successfully, but these errors were encountered: