Problem/Motivation

UX for user subscribe config form is inefficient. Requires inputting the Group ID

Steps to reproduce

  1. Select users
  2. Submit form
  3. Fill out GID form field with name of group
  4. Submit form and note error message
  5. Input GID into field
  6. Submit form and note success message

Proposed resolution

Change the GID form field to the core entity autocomplete type

Remaining tasks

N/A

User interface changes

Form will autocomplete the GID of desired group. (e.g. typing `fen` autocompletes to `Fencing`)

API changes

None

Data model changes

None

CommentFileSizeAuthor
#6 Screenshot 2024-10-24 at 09.23.31.png32.01 KBmxh
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

nielsonm created an issue. See original summary.

nielsonm’s picture

mxh’s picture

Thanks for creating the issue and the merge request. Is it ready for "Needs review"?

nielsonm’s picture

Status: Active » Needs review

Should be ready for review. Thanks.

mxh’s picture

Status: Needs review » Needs work
StatusFileSize
new32.01 KB

Unfortunately this breaks the existing functionality for entering ID / UUID only.

mxh’s picture

Assigned: Unassigned » mxh
mxh’s picture

Assigned: mxh » Unassigned
Status: Needs work » Needs review

Resolved #6, setting back to NR.

nielsonm changed the visibility of the branch 3481519-add-autocomplete-to to hidden.

nielsonm changed the visibility of the branch 3481519-add-autocomplete-to to hidden.

mxh changed the visibility of the branch 3481519-add-autocomplete-to to active.

mxh’s picture

Status: Needs review » Reviewed & tested by the community

I briefly tested with '#tags' enabled, however multiple groups are not yet working. It is currently only adding to one group.

I'm going to merge this one as it works on my testing and already gives some UX improvements. Support for multiple groups may be addressed by a separate issue.

Thank you @nielsonm for kicking this off and helping out.

mxh’s picture

mxh credited graber.

mxh’s picture

  • mxh committed 92a599c0 on 1.0.x authored by nielsonm
    Issue #3481519 by nielsonm, graber: Add autocomplete to Group member add...
mxh’s picture

Status: Reviewed & tested by the community » Fixed
mxh’s picture

Version: 1.0.x-dev » 1.2.0

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.