Previously, with the min width of 220px per item, several API list items were truncated. This commit increases the min width per item to 330px, which allows almost all items to have their full text shown. It also increases the API list page's max content width from 50em (800px) to 62.5em (1000px) to allow items to be shown on three columns despite their increased width. This increase in the content width shouldn't negatively affect UX, since the API list page uses a multi-column layout (i.e. it does not contain 1000px-lines of text.) Before: ![api-list before][1] After: ![api-list after][2] [1]: https://user-images.githubusercontent.com/8604205/109396457-5f5e1f00-793a-11eb-80cf-1418f409325a.png [2]: https://user-images.githubusercontent.com/8604205/109396659-499d2980-793b-11eb-95d3-f54250f7fab5.png PR Close #41051
Contributors page
We have an official accounting of who is on the Angular Team, who are "trusted collaborators" (see https://team.angular.io/collaborators), and so on.
The contributors.json
should be maintained to keep our "org chart" in a single consistent place.
GDE listings
There are two pages:
-
https://developers.google.com/experts/all/technology/angular (Googlers: source at http://google3/googledata/devsite/content/en/experts/all/technology/angular.html) which is maintained by Dawid Ostrowski based on a spreadsheet https://docs.google.com/spreadsheets/d/1_Ls2Kle7NxPBIG8f3OEVZ4gJZ8OCTtBxGYwMPb1TUVE/edit#gid=0.
-
Ours: https://angular.io/about?group=GDE which is derived from
contributors.json
.
About the data
- Keys in
contributors.json
should be GitHub handles. (Most currently are, but not all.) This will allow us to use GitHub as the default source for things like name, avatar, etc. - Keys are sorted in alphabetical order, please keep the sorting order when adding new entries.
- Pictures are stored in
aio/content/images/bios/<picture-filename>
.
Processing the data
Install https://stedolan.github.io/jq/ which is amazing.
for handle in $(jq keys[] --raw-output < aio/content/marketing/contributors.json)
do echo -e "\n$handle\n---------\n"; curl --silent -H "Authorization: token ${TOKEN}" https://api.github.com/users/$handle \
| jq ".message,.name,.company,.blog,.bio" --raw-output
done
Relevant scripts are stored in aio/scripts/contributors/
.