Most of a workbench power supplies designed by hobbists and makers use the next topology

Pontiometers are used for setup current and voltage. Sometimes it's OK. But sometimes, when you need adjust voltage or curren precisely it's not the best idea to use resistive potentiometers.

You can replace few components in this circuit by one MCU and you get somthing like this

In this way you can add digital control even to the power supply based on LM317

Or you can use OPA548 to simplify your design

OPA548 datasheet