Fix project overview bugs when default branch collides with tag
Fix problems around commit messages and last commits: - upcase ref_type for graphql requests - make ref_type case insensitive for api requests - make project overview implicitly request a branch ref_type Fix problems around buttons for adding files: - make head_tree always refer to a branch (the default branch) rather than situationally to a tag Contributes to: https://gitlab.com/gitlab-org/gitlab/-/issues/419973 Changelog: fixed
显示
- app/assets/javascripts/repository/index.js 1 个添加, 1 个删除app/assets/javascripts/repository/index.js
- app/assets/javascripts/repository/router.js 3 个添加, 0 个删除app/assets/javascripts/repository/router.js
- app/models/repository.rb 1 个添加, 1 个删除app/models/repository.rb
- app/views/projects/blob/show.html.haml 1 个添加, 1 个删除app/views/projects/blob/show.html.haml
- lib/extracts_ref.rb 2 个添加, 2 个删除lib/extracts_ref.rb
- spec/features/projects/project_overview_spec.rb 59 个添加, 0 个删除spec/features/projects/project_overview_spec.rb
- spec/lib/extracts_ref_spec.rb 6 个添加, 0 个删除spec/lib/extracts_ref_spec.rb
- spec/presenters/tree_entry_presenter_spec.rb 9 个添加, 6 个删除spec/presenters/tree_entry_presenter_spec.rb
加载中
想要评论请 注册 或 登录