clarkwinkelmann/flarum-ext-mass-actions

Mass actions for discussions

Installs: 3 473

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 2

Forks: 0

Open Issues: 0

Language:TypeScript

Type:flarum-extension

1.1.2 2022-08-17 07:18 UTC

This package is auto-updated.

Last update: 2024-04-17 11:07:18 UTC


README

MIT license Latest Stable Version Total Downloads Donate

This extension adds the ability to perform grouped actions on discussions through checkboxes. A future version might re-use the logic for users.

On the discussion list, use the checkbox control in the top left or hover a discussion to select. Once discussions are selected, the controls on the top right will change to show available mass actions.

The list of buttons appearing depends on the permissions the actor has.

Change "View mass selection controls" permission in the admin panel to configure who can see the checkboxes. This control is only visual, and doesn't impact REST API permissions or rate limiting.

Currently supported features:

  • Mark as read
  • Delete/restore (soft delete only)
  • Lock/unlock
  • Set tags (exact list)
  • Add tag (to existing list)

Technical details: current implementation uses existing REST API endpoints and loops through discussions client-side. All API requests are dispatched at the same time, so this means there could be rate limiting issues.

This version has not been optimized for mobile. It's probably a good idea to only make it visible to moderators for now.

The intent is to integrate this UI/feature into Flarum in a future release. Please leave feedback on your experience, so we can see what needs tweaking!

Installation

composer require clarkwinkelmann/flarum-ext-mass-actions

Support

This extension is under minimal maintenance.

It was developed for a client and released as open-source for the benefit of the community. I might publish simple bugfixes or compatibility updates for free.

You can contact me to sponsor additional features or updates.

Support is offered on a "best effort" basis through the Flarum community thread.

Links