Skip to content

Commit

Permalink
Simplify new SidebarNav structure & usage
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalwengerter committed Dec 28, 2021
1 parent b06ff51 commit f9ec707
Show file tree
Hide file tree
Showing 16 changed files with 411 additions and 539 deletions.
48 changes: 48 additions & 0 deletions __fixtures__/sidebarNavItems.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
export default [
{
name: "All files",
iconMaterial: "folder",
route: {
name: "files-personal",
path: "/files/list/all"
},
active: true
},
{
name: "Shared with me",
iconMaterial: "shared-with-me",
route: {
name: "files-shared-with-me",
path: "/files/list/shared-with-me"
},
active: false
},
{
name: "Shared with others",
iconMaterial: "shared-with-others",
route: {
name: "files-shared-with-others",
path: "/files/list/shared-with-others"
},
active: false
},
{
name: "Shared via link",
iconMaterial: "link",
route: {
name: "files-shared-via-link",
path: "/files/list/shared-via-link"
},
active: false
},
{
name: "Deleted files",
iconMaterial: "delete",
route: {
name: "files-trashbin",
path: "/files/list/trash-bin"
},
active: false
}
]

2 changes: 0 additions & 2 deletions packages/web-app-files/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,6 @@ main {
}
.files-list-wrapper {
height: 100%;
max-height: 100%;
overflow-y: auto;
display: grid;
grid-template-columns: 1fr;
Expand Down

0 comments on commit f9ec707

Please sign in to comment.