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

Fix remaining apps management issues #10103

Merged
merged 5 commits into from
Jul 5, 2018

Conversation

juliusknorr
Copy link
Member

Fixes the rest of #9767

@juliusknorr juliusknorr added this to the Nextcloud 14 milestone Jul 4, 2018
@juliusknorr juliusknorr changed the title Bugfix/9767/apps management issues Fix remaining apps management issues Jul 4, 2018
@rullzer rullzer added the 3. to review Waiting for reviews label Jul 4, 2018
@@ -60,7 +60,8 @@
<multiselect v-if="isLimitedToGroups(app)" :options="groups" :value="appGroups" @select="addGroupLimitation" @remove="removeGroupLimitation" :options-limit="5"
:placeholder="t('settings', 'Limit app usage to groups')"
label="name" track-by="id" class="multiselect-vue"
:multiple="true" :close-on-select="false">
:multiple="true" :close-on-select="false"
@search-change="asyncFindGroup">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Did not know we could do that!

<input v-if="app.canUnInstall" class="uninstall" type="button" :value="t('settings', 'Remove')" v-on:click="remove(app.id)" :disabled="installing || loading(app.id)" />
<input v-if="app.active" class="enable" type="button" :value="t('settings','Disable')" v-on:click="disable(app.id)" :disabled="installing || loading(app.id)" />
<input v-if="!app.active" class="enable" type="button" :value="enableButtonText" v-on:click="enable(app.id)" v-tooltip.auto="enableButtonTooltip" :disabled="!app.canInstall || installing || loading(app.id)" />
<input v-if="app.update" class="update" type="button" :value="t('settings', 'Update to {update}', {update:app.update})" v-on:click.stop="update(app.id)" :disabled="installing || loading(app.id)" />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So nice to have such easy fix in vue! :')

@@ -54,6 +54,9 @@
}
},
methods: {
asyncFindGroup(query) {
return this.$store.dispatch('getGroups', {search: query, limit: 5, offset: 0});
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So we only show the 5 first matches?
I'm fine with it!

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it will fetch more results while typing.

Copy link
Member

@skjnldsv skjnldsv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome!!

@juliusknorr juliusknorr force-pushed the bugfix/9767/apps-management-issues branch from ed02fb8 to 2e3d78a Compare July 4, 2018 13:41
Signed-off-by: Julius Härtl <[email protected]>
@juliusknorr juliusknorr force-pushed the bugfix/9767/apps-management-issues branch from 2e3d78a to 1e1f164 Compare July 4, 2018 14:20
Copy link
Member

@MorrisJobke MorrisJobke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and works 👍

@MorrisJobke MorrisJobke merged commit 86d9528 into master Jul 5, 2018
@MorrisJobke MorrisJobke deleted the bugfix/9767/apps-management-issues branch July 5, 2018 08:37
@MorrisJobke MorrisJobke mentioned this pull request Jul 5, 2018
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants