Uploaded image for project: 'JCommune'
  1. JCommune
  2. JC-2400

Search users that should be added to usergroup

    Details

      Description

      As Administrator I'd like to be able to search users that I want to add to the list of users in usergroup:

      Acceptance Criteria:

      1. Floating action button (FAB) should be present on the bottom right corner of users in usergroup page:
        • FAB has circle shape (blue color, size 56x56dp) and interior icon ("+") inside (white color, size 24x24dp).
        • FAB size should change from the default (56dp) to the mini size (40dp) when the screen width is 460dp or less.
        • FAB should be placed 16dp minimum from the edge on mobile and 24dp minimum on tablet/desktop.
        • FAB should change its color when it is focused.
        • A tool tip "Add users to group" should appear above FAB once it is focused.
        • FAB should always stay on the same place on desktop/mobile screen while page scrolling - near right bottom corner.
      2. After FAB pressing popup window with search field and is displaying.
      3. When administrator types in search field, the autocomplete list should be shown after the second typed symbol.
      4. Search is performed by username and email which are displayed in autocomplete list.
      5. Search should be performed both by local part and domain part of the email address.
      6. Search is case-insensitive.
      7. Max count of users in autocomplete list is 10.
      8. Users in autocomplete list are sorted by username in alphabetical case-insensitive order.
      9. If username or email that is being searched belongs to user that is already a member of usergroup, this user should not appear in autocomplete list.
      10. When administrator clicks on user in autocomplete list, she is added to the top of the users in group table on page. Search input is cleaned, autocomplete list is cleared.

      Known problems

      Bug link Fixed
      FAB tool tip is absent link
      Change user adding to group pop up UI and functionality link
      Open the autocomplete list after entering any character link
      Check field length error message is shown for 51 symbols entered link
      No blue highlighting for new user in group link
      The autocomplete list does not appear after the user data entry is started, if a space is entered before entering data link
      Error displaying FAB button on mobile device screens using the Web Developer Tool link
      Different place for FAB tooltip link
      After entering two characters and the list of autocomplete appears, users are sorted in the autocomplete list not in the order link
      Length error when entering two spaces in a row link

        Attachments

        1. 2017-03-12 12.50.png
          2017-03-12 12.50.png
          38 kB
        2. 2017-03-12 12.50.bmml
          5 kB
        3. 2017-03-12 12.50.bmml
          5 kB
        4. 2017-03-12 12.50.bmml
          5 kB
        5. 2017-03-12 12.50.bmml
          4 kB
        6. 2017-02-22 18.41.png
          2017-02-22 18.41.png
          47 kB
        7. 2017-02-22 18.41.bmml
          10 kB

          Issue Links

            Activity

            Hide
            varro Artem R added a comment -

            Different place for FAB tooltip
            Steps to reproduce
            1. Check FAB tooltip location on different languages

            Actual result
            RU tooltip is on the left of the FAB, EN and UA tooltips are on the top of the FAB

            Expected result
            All tooltips should be on the top of the FAB

            Show
            varro Artem R added a comment - Different place for FAB tooltip Steps to reproduce 1. Check FAB tooltip location on different languages Actual result RU tooltip is on the left of the FAB, EN and UA tooltips are on the top of the FAB Expected result All tooltips should be on the top of the FAB
            Hide
            Alexander Suraikin added a comment - - edited

            After entering two characters and the list of autocomplete appears, users are sorted in the autocomplete list not in the order
            Steps to reproduce:

            1. Go to Administration->User Groups
            2. Click on any user group name
            3. Click on FAB
            4. Enter the Latin characters "ab"

            Actual results:
            Users in the autocomplete list are sorted not out of order
            link title

            Expected result:
            Waiting for the autocomplete list to start with the "AbarlreurA"

            Show
            Alexander Suraikin added a comment - - edited After entering two characters and the list of autocomplete appears, users are sorted in the autocomplete list not in the order Steps to reproduce: Go to Administration->User Groups Click on any user group name Click on FAB Enter the Latin characters "ab" Actual results: Users in the autocomplete list are sorted not out of order link title Expected result: Waiting for the autocomplete list to start with the "AbarlreurA"
            Hide
            Alexander Suraikin added a comment -

            Length error when entering two spaces in a row

            Steps to reproduce:

            1. Go to Administration->User Groups
            2. Click on any user group name
            3. Click on FAB
            4. Enter two spaces in a row

            Actual results:
            Error message appears "Search length must be between 2 and 50 characters"

            Expected result:
            Nothing happens

            Show
            Alexander Suraikin added a comment - Length error when entering two spaces in a row Steps to reproduce: Go to Administration->User Groups Click on any user group name Click on FAB Enter two spaces in a row Actual results: Error message appears "Search length must be between 2 and 50 characters" Expected result: Nothing happens
            Hide
            julik Julia Atlygina added a comment -

            reopened because of amount of small issues, please check comments above

            Show
            julik Julia Atlygina added a comment - reopened because of amount of small issues, please check comments above
            Hide
            Alexander Suraikin added a comment -

            The autocomplete list disappears after entering a space after entering the user's login
            Steps to reproduce:

            1. Go to Administration->User Groups
            2. Click on any user group name
            3. Click on FAB
            4. Enter the user's login, followed by a space

            Actual results:
            Autocomplete list with user data disappears

            Expected result:
            Autocomplete list with user data does not disappear
            The user whose data is entered remains in the autocomplete list

            Show
            Alexander Suraikin added a comment - The autocomplete list disappears after entering a space after entering the user's login Steps to reproduce: Go to Administration->User Groups Click on any user group name Click on FAB Enter the user's login, followed by a space Actual results: Autocomplete list with user data disappears Expected result: Autocomplete list with user data does not disappear The user whose data is entered remains in the autocomplete list

              People

              • Assignee:
                Unassigned
                Reporter:
                nata_ck Natalia Boryakova
              • Votes:
                0 Vote for this issue
                Watchers:
                Start watching this issue

                Dates

                • Created:
                  Updated:

                  Structure Helper Panel