dashboard design refactoring