Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
3a51374
feat(app_api): add initial state data for AppAPI UI part
andrey18106 Oct 9, 2024
475ce2e
feat(settings): migrate AppAPI ExApps management (1)
andrey18106 Oct 9, 2024
151a758
WIP: add Daemon badge in app sidebar (2)
andrey18106 Oct 11, 2024
18c9a03
WIP: use global mutation, since app_api_apps is namespaced
andrey18106 Oct 11, 2024
3d4f0f9
WIP: add missing state checks
andrey18106 Oct 11, 2024
9e694d1
WIP: minor fixes
andrey18106 Oct 11, 2024
a29e170
fix(ci): resolve eslint errors
andrey18106 Oct 14, 2024
fb4150e
fix(ci): suppress UndefinedClass for AppAPI related classes since it'…
andrey18106 Oct 14, 2024
c53f5c4
WIP: address review comments, small fixes
andrey18106 Oct 17, 2024
606a9a3
WIP: migrate to Pinia, minor fixes
andrey18106 Oct 21, 2024
d91a7fe
WIP: remove app_api_apps vuex store
andrey18106 Oct 21, 2024
67b4d3d
fix: address review comments
andrey18106 Oct 23, 2024
cac5be5
fix(ci): psalm, suppress undefined for viewApps
andrey18106 Oct 24, 2024
6be8cbd
fix(ci): fix eslint errors
andrey18106 Oct 24, 2024
41c61c3
fix: loading state reactivity
andrey18106 Oct 29, 2024
128b65e
fix(ci): eslint fix, minor correction after rebase
andrey18106 Oct 29, 2024
864376d
chore(assets): Recompile assets
nextcloud-command Oct 29, 2024
d66f0cc
chore(assets): Recompile assets
nextcloud-command Oct 29, 2024
824aa30
fix: add missing import after backport
andrey18106 Oct 29, 2024
487431f
chore(assets): Recompile assets
nextcloud-command Oct 29, 2024
0ee0e04
chore(assets): Recompile assets
nextcloud-command Oct 30, 2024
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
Prev Previous commit
Next Next commit
WIP: minor fixes
Signed-off-by: Andrey Borysenko <[email protected]>
  • Loading branch information
andrey18106 committed Oct 30, 2024
commit 9e694d12baa3ee70d650b3ef15d1bd4d00153bb2
7 changes: 6 additions & 1 deletion apps/settings/src/store/app_api_apps.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

import axios from '@nextcloud/axios'
import api from './api.js'
import Vue from 'vue'
import { generateUrl } from '@nextcloud/router'
Expand Down Expand Up @@ -195,7 +196,7 @@ const actions = {
return api.requireAdmin().then((response) => {
context.commit('startLoading', appId)
context.commit('startLoading', 'install')
return api.post(generateUrl(`/apps/app_api/apps/enable/${appId}`))
return axios.post(generateUrl(`/apps/app_api/apps/enable/${appId}`))
.then((response) => {
context.commit('stopLoading', appId)
context.commit('stopLoading', 'install')
Expand Down Expand Up @@ -374,6 +375,10 @@ const actions = {

updateAppsStatus(context) {
clearInterval(context.getters.getStatusUpdater) // clear previous interval if exists
const initializingOrDeployingApps = context.getters.getInitializingOrDeployingApps
if (initializingOrDeployingApps.length === 0) {
return
}
context.commit('setIntervalUpdater', setInterval(() => {
const initializingOrDeployingApps = context.getters.getInitializingOrDeployingApps
console.debug('initializingOrDeployingApps', initializingOrDeployingApps)
Expand Down