fix(views): move function and menu items out of file typecloud view

fixes #7397