The api seems to be missing a default behavior for popups. By default, I think it would be very convenient for all popup templates on features layers to have a default fieldInfos. This would be similar to the behavior in desktop apps like Pro, where you click on a feature, and it automatically shows you the table of fields that are visible. No config necessary.