-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Change "Site Tree" navigation to redirect to folder landing pages #2933
base: main
Are you sure you want to change the base?
Change "Site Tree" navigation to redirect to folder landing pages #2933
Conversation
This would be very valuable as a standard or alternative to the current tree navigation which to many is non-intuitive. It might be an evidence of the fact that there (in my humble opinion) probably is a deeper, almost philosophical, discussion to be had to make Wiki.js the best wiki, but that should probably be taken somewhere else. On the feature request list? |
I've tried this PR out and I must say it pretty much nails it. I'm not sure why you consider it of "patched nature" ;-) It does change some earlier behaviour, yes, so I guess it needs to be discussed in view of that change, but to us it fits the bill and would be happy to see this in. |
I think the main concern is that this should be an option. Either an entirely new navigation mode, either an option on the "Site Tree" mode. Since that's a bit of work, we wanted to make sure that @NGPixel is on board conceptually. |
Personally, I can't see how anyone could not see this as an improvement on the current tree navigation, but again, that's just me ;-) I totally agree that we need @NGPixel onboard here, especially since I've seen a few other aspects that probably would benefit from a change in this direction (where new pages are assumed to end up, what page a link goes to by default when you click on a folder, ...) But all those can be completely separate, smaller, changes. Me and a few others at my company might be willing to do what we can to help if this is the direction Wiki.js navigation is going. |
This will be the default behavior in 3.0. |
@douglaslassance Thank you very much for this PR. I merged it into my fork and it will definitely stay! |
@NGPixel What will be the release date of version 3.0? |
|
One other instance with this feature :D Thanks @douglaslassance ! Thanks a lot for wikijs @NGPixel and courage for the 3.0 ! 🚀 |
This is the only thing missing in WikiJS Edit: Thanks for this patch! I will introduce wikijs to the team just because of it :) |
Also found this really confusing. I was thinking it was some kind of bug or that I did something wrong in the setup, but now I found this PR I understand it is confusing by design :-). Is there some easy way to introduce this patch into a container (k8s) setup? |
@jonaskello Just create a fork, merge this PR into your fork and then build the docker image on your own as described in the wiki. If you don't need a fork or version control just checkout the repository and apply the patch of this PR from here: 2933.patch using the git command |
After deploying Wiki.js in our company, we had a lot of feedback from confused users when using the "Site Tree" navigation. This revealed to be due to a couple of interaction facts:
We have explored the other types of navigation but the ability for the "Site Tree" to dynamically display sub-pages was just too valuable. As a result, we decided to patch it by making sure that clicking on a folder would redirect you to that folder's landing page. We also modified the tree to represent the home page as the root and added a redirect to it.
We have no hope or desire to see this request merged in its current state since we are aware of the patched nature of the change. That being said, we thought this could be a great platform to discuss the validity of the feature and the way you'd see it implemented. We obviously would like to avoid having to maintain a fork and are ready to put in the necessary work.
Thank you.