Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use app name that reflect app path #642

Merged
merged 1 commit into from
Aug 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.

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.

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,9 +23,10 @@

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"

Vue.mixin(Nextcloud)

Expand Down
Loading