Disable commenting on broken symlinks
- Symlinks won't have a valid diffPosition, so immediately bail on assigning discussions to those lines - Use brokenSymlink property to disable comments - Add specific tooltips when comments are disabled on symlinks - Add "greyed out" styles for disabled comment button
显示
- app/assets/javascripts/diffs/components/diff_content.vue 1 个添加, 1 个删除app/assets/javascripts/diffs/components/diff_content.vue
- app/assets/javascripts/diffs/components/diff_file.vue 1 个添加, 0 个删除app/assets/javascripts/diffs/components/diff_file.vue
- app/assets/javascripts/diffs/components/diff_table_cell.vue 40 个添加, 11 个删除app/assets/javascripts/diffs/components/diff_table_cell.vue
- app/assets/javascripts/diffs/store/utils.js 4 个添加, 0 个删除app/assets/javascripts/diffs/store/utils.js
- app/assets/stylesheets/pages/notes.scss 13 个添加, 3 个删除app/assets/stylesheets/pages/notes.scss
- changelogs/unreleased/symlink-comments-disable-symlink-comments.yml 6 个添加, 0 个删除.../unreleased/symlink-comments-disable-symlink-comments.yml
- locale/gitlab.pot 6 个添加, 0 个删除locale/gitlab.pot
- spec/frontend/diffs/components/diff_table_cell_spec.js 54 个添加, 0 个删除spec/frontend/diffs/components/diff_table_cell_spec.js
加载中
想要评论请 注册 或 登录