feat: combine saved queries and history