frameworks/base: implement app sidebar (1/2)