Refactor super sidebar initialisation to use presenter

The super sidebar initialisation code could be a little better. It uses a lot of instance variables and passes them into several helpers. We could potentially refactor this into a presenter to have more clean, testable code.

See also this discussion: !140054 (comment 1698555585)

Edited by Lukas Eipert