diff --git a/changelog/unreleased/add-create-form.md b/changelog/unreleased/add-create-form.md new file mode 100644 index 000000000..702cd4a08 --- /dev/null +++ b/changelog/unreleased/add-create-form.md @@ -0,0 +1,6 @@ +Enhancement: Add create account form + +We've added a form to create new users above the accounts list. + +https://github.com/owncloud/product/issues/148 +https://github.com/owncloud/ocis-accounts/pull/115 diff --git a/changelog/unreleased/add-delete-action.md b/changelog/unreleased/add-delete-action.md new file mode 100644 index 000000000..19df8aec7 --- /dev/null +++ b/changelog/unreleased/add-delete-action.md @@ -0,0 +1,6 @@ +Enhancement: Add delete accounts action + +We've added an action into the actions dropdown to enable admins to delete users. + +https://github.com/owncloud/product/issues/148 +https://github.com/owncloud/ocis-accounts/pull/115 diff --git a/ui/components/App.vue b/ui/components/App.vue index 57007e094..c7b7e67a6 100644 --- a/ui/components/App.vue +++ b/ui/components/App.vue @@ -3,7 +3,7 @@

- + + |
@@ -42,11 +43,7 @@

@@ -56,9 +53,11 @@ diff --git a/ui/components/accounts/AccountsListNewAccountRow.vue b/ui/components/accounts/AccountsListNewAccountRow.vue index 9af732ac0..3c6fc7bec 100644 --- a/ui/components/accounts/AccountsListNewAccountRow.vue +++ b/ui/components/accounts/AccountsListNewAccountRow.vue @@ -1,53 +1,64 @@ + + diff --git a/ui/tests/acceptance/pageobjects/accountsPage.js b/ui/tests/acceptance/pageobjects/accountsPage.js index 3e91cc81c..52a7c98a3 100644 --- a/ui/tests/acceptance/pageobjects/accountsPage.js +++ b/ui/tests/acceptance/pageobjects/accountsPage.js @@ -76,7 +76,7 @@ module.exports = { return this .waitForElementVisible('@actionsDropdownTrigger') .click('@actionsDropdownTrigger') - .click('@newAccountButtonConfirm') + .click('@deleteAction') }, selectUsers: function (usernames) { @@ -168,6 +168,9 @@ module.exports = { }, accountsNewAccountTrigger: { selector: '#accounts-new-account-trigger' + }, + deleteAction: { + selector: '#accounts-actions-dropdown-action-delete' } } }