how to get user name in a view instead of uid
it's in the advanced configuration (click on add relationship):



search and select the uid field (this applies also for entity references for instance)



add a new field to the output, select User: name



select the relationship you created earlier (you can have multiple relationships, e.g. if you have multiple entity references)