wiki
wiki copied to clipboard
feat: New tree navigation
use treeview replace v-list component.
Online https://wiki.deepin.org/zh/home
Nice commit, I love it
OMG YES!!!!!
Nice
it's so great!
it's one good idea to put the toc bar to the right.
is it included in this PR?
it's so great!
it's one good idea to put the toc bar to the right.
is it included in this PR?
No, I did it with css override. You can copy the code to "Admin Area -> Theme -> Code injection -> css override"
.page-col-sd {
order: 2;
width: 240px
}
.page-col-content {
order: 1
}
@media (min-width: 1264px) {
.v-application--is-ltr .offset-lg-3 {
margin-left: 0!important
}
}
it's so great! it's one good idea to put the toc bar to the right.
is it included in this PR?
No, I did it with css override. You can copy the code to "Admin Area -> Theme -> Code injection -> css override"
.page-col-sd { order: 2; width: 240px } .page-col-content { order: 1 } @media (min-width: 1264px) { .v-application--is-ltr .offset-lg-3 { margin-left: 0!important } }
thanks very much!
one questions about this tree navi: if the level is deep or the title is long, does the left navigation show the horizontal scroll bar?
Not ready yet!
Not ready yet!
What's left to do?
No, it won't. Same as the old.
Not ready yet!
What's left to do?
I am not sure if people like it. This commit contains three types navigation(Static, Site Tree and new Site Tree). Maybe we should just keep a site tree?
I have a longer-term plan. Static Navigation also use treeview components and support multiple levels.
Not ready yet!
What's left to do?
I am not sure if people like it. This commit contains three types navigation(Static, Site Tree and new Site Tree). Maybe we should just keep a site tree?
I have a longer-term plan. Static Navigation also use treeview components and support multiple levels.
I definitely like it. It's great that the long-term goal is Static multi-levels. Because that is greatly needed. did you say static is already included in this commit or that's something you are still working on?
I just pulled it. I see now what you mean. I think we should make it an option on the admin page. Makes more sense that way. Then get it in a release and then work towards the static multi-level. There's more to change with that and getting this tree view may tie a lot of people over till static multi-level can be implemented.
I just pulled it. I see now what you mean. I think we should make it an option on the admin page. Makes more sense that way. Then get it in a release and then work towards the static multi-level. There's more to change with that and getting this tree view may tie a lot of people over till static multi-level can be implemented.
I finished!
Sweet! I can't wait till this can be implemented!
@NGPixel Do you have any timeline on this being implemented?
Could the tree navigation be folded?
I hope the page-col-sd elements be folded or removed as well. So that more space is used to display the page-col-content .
I use the following code to close page-col-sd, but page-col-content doesn't use the space of page-col-sd occupied originally.
.page-col-sd {
display:none
}
@NGPixel Do you have any timeline on this being implemented?
Would be nice if you could just have the folder element also be the index page, if it exists. I find it hard to put this into words-- But basically, you could expand it to view the subtree by clicking the arrow, and anywhere else would show the index page for that subtree. As an example, you wouldnt have to expand /a containing /a/b to access /a, you could just click it, and remove it visually from the subtree
I agree with @adroslice.
On another note. I found a bug @myml. if you have a folder that contains the name of another folder then it also opens that folder. lol. eg.
I have a folder/page /Shopware
and a folder/page /ShopwareDevDocs
. if I open the page for /ShopwareDevDocs
then the folder for /Shopware
also expands.