Quivers with potentials and their stable envelopes