improved 'share link' for repo/file-view, fixed 'star' bug for file-view