preview: add source context type and fields
Merge remote-tracking branch 'mhaberler/master'