how to quantize straight and Triplet notes in one go ?

You can speed things up a bit by adding a key command to the quantize item,
“Toggle Quantize Triplet.”
I use this all the time! This just switches the quantize setting between Triplets and Straight.

Alternatively, you could copy the instrument’s pad in Groove Agent and then using
the Drum Editor, set each pad to its own quantize setting. One for triplets, one for straight.