From 34775cb18b89981f5340e7876ff88fd7f9767351 Mon Sep 17 00:00:00 2001 From: Lucas Azevedo Date: Wed, 6 Sep 2023 12:12:14 -0300 Subject: [PATCH] Move inline tag rendering to the systemtags app Signed-off-by: Lucas Azevedo --- apps/files/src/main.ts | 1 - .../src/actions/inlineSystemTagsAction.spec.ts | 0 apps/{files => systemtags}/src/actions/inlineSystemTagsAction.ts | 0 .../{files => systemtags}/src/css/fileEntryInlineSystemTags.scss | 0 apps/systemtags/src/systemtags.js | 1 + 5 files changed, 1 insertion(+), 1 deletion(-) rename apps/{files => systemtags}/src/actions/inlineSystemTagsAction.spec.ts (100%) rename apps/{files => systemtags}/src/actions/inlineSystemTagsAction.ts (100%) rename apps/{files => systemtags}/src/css/fileEntryInlineSystemTags.scss (100%) diff --git a/apps/files/src/main.ts b/apps/files/src/main.ts index 579381da485..8bcfacf953a 100644 --- a/apps/files/src/main.ts +++ b/apps/files/src/main.ts @@ -5,7 +5,6 @@ import './actions/deleteAction' import './actions/downloadAction' import './actions/editLocallyAction' import './actions/favoriteAction' -import './actions/inlineSystemTagsAction' import './actions/openFolderAction' import './actions/openInFilesAction.js' import './actions/renameAction' diff --git a/apps/files/src/actions/inlineSystemTagsAction.spec.ts b/apps/systemtags/src/actions/inlineSystemTagsAction.spec.ts similarity index 100% rename from apps/files/src/actions/inlineSystemTagsAction.spec.ts rename to apps/systemtags/src/actions/inlineSystemTagsAction.spec.ts diff --git a/apps/files/src/actions/inlineSystemTagsAction.ts b/apps/systemtags/src/actions/inlineSystemTagsAction.ts similarity index 100% rename from apps/files/src/actions/inlineSystemTagsAction.ts rename to apps/systemtags/src/actions/inlineSystemTagsAction.ts diff --git a/apps/files/src/css/fileEntryInlineSystemTags.scss b/apps/systemtags/src/css/fileEntryInlineSystemTags.scss similarity index 100% rename from apps/files/src/css/fileEntryInlineSystemTags.scss rename to apps/systemtags/src/css/fileEntryInlineSystemTags.scss diff --git a/apps/systemtags/src/systemtags.js b/apps/systemtags/src/systemtags.js index ab2f8ff4126..03a70e79004 100644 --- a/apps/systemtags/src/systemtags.js +++ b/apps/systemtags/src/systemtags.js @@ -24,5 +24,6 @@ import './app.js' import './systemtagsfilelist.js' import './css/systemtagsfilelist.scss' +import './actions/inlineSystemTagsAction' window.OCA.SystemTags = OCA.SystemTags