Skip to content

Commit 87480c0

Browse files
committed
Add OCA.Files.Sidebar
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
1 parent eb092bb commit 87480c0

40 files changed

+12878
-102
lines changed

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,16 @@ clean-dev:
2323
clean:
2424
rm -rf apps/accessibility/js/
2525
rm -rf apps/comments/js/
26+
rm -rf apps/files/js/dist/
2627
rm -rf apps/files_sharing/js/dist/
2728
rm -rf apps/files_trashbin/js/
2829
rm -rf apps/files_versions/js/
2930
rm -rf apps/oauth2/js/
3031
rm -rf apps/systemtags/js/systemtags.js
31-
rm -rf apps/systemtags/js/systemtags.map
32+
rm -rf apps/systemtags/js/systemtags.js.map
3233
rm -rf apps/twofactor_backupcodes/js
3334
rm -rf apps/updatenotification/js/updatenotification.js
34-
rm -rf apps/updatenotification/js/updatenotification.map
35+
rm -rf apps/updatenotification/js/updatenotification.js.map
3536
rm -rf apps/workflowengine/js/
3637
rm -rf core/js/dist
3738
rm -rf settings/js/vue-*

apps/comments/src/filesplugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
actionHandler: function(fileName, context) {
107107
context.$file.find('.action-comment').tooltip('hide');
108108
// open sidebar in comments section
109-
context.fileList.showDetailsView(fileName, 'commentsTabView');
109+
context.fileList.showDetailsView(fileName, 'comments');
110110
}
111111
});
112112

apps/files/.babelrc.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
module.exports = {
2+
plugins: [
3+
[
4+
'@babel/plugin-proposal-class-properties',
5+
{ loose: true }
6+
]
7+
]
8+
}

apps/files/css/files.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,9 @@
8080
}
8181

8282
/* fit app list view heights */
83-
.app-files #app-content>.viewcontainer {
83+
.app-files #app-content > .viewcontainer {
8484
min-height: 0%;
85+
width: 100%;
8586
}
8687

8788
.app-files #app-content {

0 commit comments

Comments
 (0)