Fix buttons linking to tag contents instead of branch contents
For blob controls: - Add ref_type parameter to serialized blame_path and history_path - Include ref_type when querying for blobs for blob controls For tree view: - Update tree history link and breadcrumb links with ref_type For commits view: - Update commit breadcrumbs with ref_type Contributes to: https://gitlab.com/gitlab-org/gitlab/-/issues/419984
显示
- app/assets/javascripts/repository/components/blob_controls.vue 6 个添加, 0 个删除...ssets/javascripts/repository/components/blob_controls.vue
- app/assets/javascripts/repository/index.js 7 个添加, 4 个删除app/assets/javascripts/repository/index.js
- app/assets/javascripts/repository/queries/blob_controls.query.graphql 2 个添加, 2 个删除...avascripts/repository/queries/blob_controls.query.graphql
- app/controllers/projects/blame_controller.rb 1 个添加, 0 个删除app/controllers/projects/blame_controller.rb
- app/helpers/commits_helper.rb 3 个添加, 2 个删除app/helpers/commits_helper.rb
- app/presenters/blob_presenter.rb 2 个添加, 2 个删除app/presenters/blob_presenter.rb
- app/views/projects/blob/_breadcrumb.html.haml 3 个添加, 3 个删除app/views/projects/blob/_breadcrumb.html.haml
- spec/features/projects/blobs/blob_line_permalink_updater_spec.rb 44 个添加, 4 个删除...atures/projects/blobs/blob_line_permalink_updater_spec.rb
- spec/presenters/blob_presenter_spec.rb 31 个添加, 19 个删除spec/presenters/blob_presenter_spec.rb
加载中
想要评论请 注册 或 登录