Skip to content

Commit

Permalink
Add OCA.Files.Sidebar
Browse files Browse the repository at this point in the history
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
  • Loading branch information
skjnldsv committed Jun 7, 2019
1 parent b968987 commit 32fc618
Show file tree
Hide file tree
Showing 22 changed files with 10,286 additions and 70 deletions.
2 changes: 1 addition & 1 deletion apps/comments/src/filesplugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
actionHandler: function(fileName, context) {
context.$file.find('.action-comment').tooltip('hide');
// open sidebar in comments section
context.fileList.showDetailsView(fileName, 'commentsTabView');
context.fileList.showDetailsView(fileName, 'comments');
}
});

Expand Down
8 changes: 8 additions & 0 deletions apps/files/.babelrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
module.exports = {
plugins: [
[
'@babel/plugin-proposal-class-properties',
{ loose: true }
]
]
}
3 changes: 2 additions & 1 deletion apps/files/css/files.scss
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,9 @@
}

/* fit app list view heights */
.app-files #app-content>.viewcontainer {
.app-files #app-content > .viewcontainer {
min-height: 0%;
width: 100%;
}

.app-files #app-content {
Expand Down
Loading

0 comments on commit 32fc618

Please sign in to comment.