You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Forward user's real name to missing person list in new enroll
The user can enter "Real Name" <email@exampple.com> (and variations)
into the search box. This captures the real name of users that don't
exist and pre-populates the name text box if they choose to create this
user on the fly. This way they can copy/paste large lists from a
spreadsheet and not have to enter anything.
Well it turns out that some schools (I'm looking at you Boston College)
want to paste in a list of emails only and let us create and invite
those people w/o a real name, which they can add later.
It also turns out that we need a Select All checkbox so the user doesn't
have to check each and every row.
I'm sorry that this commit got large, but it kind of grew organically
fixes CNVS-35149
fixes CNVS-35137
test plan:
1. users names are automatically forwarded
- go to course people page (/courses/#/users)
- click on +People
- enter (or copy/paste) into the textbox
"A User" <auser@example.com>
"B User" buser@example.com
cuser@example.com C User
"User, D" <duser@example.com>
euser@example.com
- click Next
> expected: the modal shows all 5 users as missing
- check the "select all" checkbox in the header row of the table
> expected: A, B C and D User's names are pre-populated in the name
text box. euser's text box prompts for a "New user's name"
the next button is enabled
2. the checkboxes work as expected
- the select all (and all row checkboxes) are currently checked
- uncheck one of the checkboxes next to a user
> Expected: the select all checkbox unchecks. everything else remains
the same
- check the checkbox
> Expected: the select all checkbox checks.
- uncheck the select all checkbox
> expecte: all the row checkboxes uncheck.
3. users are created and invited correctly
- check the auser@example.com and euser@exaple.com checkboxes
- click next
> expected: A User is ready to enroll and has her name and email
euser is ready to enroll and her name and email are
euser@example.com
Change-Id: I5dd944488bff89279d3d8e405b900c4aa307d919
Reviewed-on: https://gerrit.instructure.com/103075
Tested-by: Jenkins
Reviewed-by: Felix Milea-Ciobanu <fmileaciobanu@instructure.com>
QA-Review: Deepeeca Soundarrajan <dsoundarrajan@instructure.com>
Product-Review: McCall Smith <mcsmith@instructure.com>
0 commit comments