Introduce the `sidebar_refactor` feature flag
This MR introduces the feature flag to consolidate the works for &5647 (closed).
Both backend and frontend are supposed to use the same flag in the course of three milestones.
Edited by Francisco Javier López