Skip to content

Unify select mechanisms/widgets #1831

Open
@jancborchardt

Description

@jancborchardt

Currently we use 4 different things:

  1. <select> – simplest from the browser directly
  2. select2 – allows for tag widgets for example
  3. jQuery autocomplete – used in sharing and Mail app autocomplete
  4. our core/js/multiselect.js – used mostly in user mgmt for group memberships because it allows you to add new elements (like for the Github labels and Milestones dropdown).

@nextcloud/javascript & @nextcloud/designers would it be possible to maybe decide on one or maximum two to use consistently?

Also cc @georgehrke @ChristophWurst @schiessle @Henni @icewind1991 because these things are heavily used in apps and user management.

Where are they used:

  • /apps/user_ldap/vendor/ui-multiselect/src/jquery.multiselect.js in the LDAP app:

bildschirmfoto 2018-06-25 um 11 23 14

  • select2 core:
    • files_external
    • systemtags
    • workflowengine
    • settings (group select)
  • select2 apps:
    • announcementcenter
    • bookmarks
    • circles
    • contacts
    • dicomviewer
    • files_automatedtagging
    • files_retention
    • richdocuments
    • sensorlogger
    • spreed

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions