Skip to content
This repository has been archived by the owner on Jan 27, 2021. It is now read-only.

Add enable and disable batch actions #109

Merged
merged 8 commits into from
Sep 7, 2020
Merged

Conversation

LukasHirt
Copy link
Contributor

@LukasHirt LukasHirt commented Sep 2, 2020

Description

We've added batch actions into the accounts listing to provide options to enable and disable accounts.

Related issues

Screenshots

image
image
image
image

@LukasHirt LukasHirt added the enhancement New feature or request label Sep 2, 2020
@LukasHirt LukasHirt self-assigned this Sep 2, 2020
@update-docs
Copy link

update-docs bot commented Sep 2, 2020

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

Copy link
Member

@kulmann kulmann left a comment

Choose a reason for hiding this comment

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

Things I noticed in the UI:

  • we should add a clear selection link like in the files app
  • when you select all users, switch to the files app and come back to the accounts app, the selection of the rows is cleared, but the select all checkbox is still checked and the bulk action row (6 selected users and the actions dropdown) is still visible. One funny thing about this: if you select one more user (which is possible because the checkboxes are not checked), the bulk action row goes to 7 selected users, while we only have 6, and the select all checkbox is unchecked (because the selection doesn't equal the overall number of users anymore)

Also, see comments :-)
Most of the code looks really good already, thank you!

ui/components/App.vue Show resolved Hide resolved
ui/components/App.vue Show resolved Hide resolved
ui/components/App.vue Outdated Show resolved Hide resolved
ui/components/App.vue Outdated Show resolved Hide resolved
ui/components/accounts/AccountsList.vue Outdated Show resolved Hide resolved
ui/store/index.js Outdated Show resolved Hide resolved
ui/store/index.js Outdated Show resolved Hide resolved
@LukasHirt LukasHirt marked this pull request as ready for review September 7, 2020 15:54
Copy link
Member

@kulmann kulmann left a comment

Choose a reason for hiding this comment

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

🚀

@sonarcloud
Copy link

sonarcloud bot commented Sep 7, 2020

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@LukasHirt LukasHirt merged commit 6323618 into master Sep 7, 2020
@LukasHirt LukasHirt deleted the feature/batch-actions branch September 7, 2020 16:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add enable / disable to user listing in accounts UI for admin users
2 participants