Skip to content

Commit

Permalink
Use app name that reflect app path
Browse files Browse the repository at this point in the history
Signed-off-by: Louis Chemineau <louis@chmn.me>
  • Loading branch information
artonge committed Aug 18, 2023
1 parent 6ef22d3 commit 8efd064
Show file tree
Hide file tree
Showing 13 changed files with 14 additions and 13 deletions.
1 change: 0 additions & 1 deletion js/files_recommendation-dashboard.js.map

This file was deleted.

1 change: 0 additions & 1 deletion js/files_recommendation-main.js.map

This file was deleted.

Large diffs are not rendered by default.

File renamed without changes.
1 change: 1 addition & 0 deletions js/recommendations-dashboard.js.map

Large diffs are not rendered by default.

Large diffs are not rendered by default.

File renamed without changes.
1 change: 1 addition & 0 deletions js/recommendations-main.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/Dashboard/RecommendationWidget.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public function load(): void {
if ($user === null) {
return;
}
Util::addScript(Application::APP_ID, 'files_recommendation-dashboard');
Util::addScript(Application::APP_ID, 'recommendations-dashboard');
}

public function getItems(string $userId, ?string $since = null, int $limit = 7): array {
Expand Down
2 changes: 1 addition & 1 deletion lib/Listeners/FilesLoadAdditionalScriptsListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ public function handle(Event $event): void {
return;
}

Util::addScript(Application::APP_ID, 'files_recommendation-main');
Util::addScript(Application::APP_ID, 'recommendations-main');
}
}
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "files_recommendation",
"name": "recommendations",
"description": "Shows recommended files in Nextcloud",
"private": true,
"scripts": {
Expand Down Expand Up @@ -46,4 +46,4 @@
"browserslist": [
"extends @nextcloud/browserslist-config"
]
}
}
3 changes: 2 additions & 1 deletion src/dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@

import Vue from 'vue'

import Nextcloud from './mixins/Nextcloud'
import Nextcloud from './mixins/Nextcloud.js'

import Dashboard from './components/Dashboard'

Check warning on line 28 in src/dashboard.js

View workflow job for this annotation

GitHub Actions / eslint

Missing file extension "vue" for "./components/Dashboard"
import store from './store/store'

Check warning on line 29 in src/dashboard.js

View workflow job for this annotation

GitHub Actions / eslint

Missing file extension "js" for "./store/store"

Expand Down

0 comments on commit 8efd064

Please sign in to comment.