add a timeline view in front-end