Non-diff commit comment should be creatable w/o having to navigate to the commit page
Description
This is a follow-up issue for #31847 (closed) after !12148 (merged) is merged.
Currently, once we click on a commit in a merge request, we are redirected to the Changes
tab, scoped upon this commit.
We can then create comments on that diff that will be contextual to the merge request. This is working as expected.
To commit on the metadata, you must click on the View details
button so you are redirected on the commit page.
Proposal
I think it might be interesting to be able to stay in the merge request layout for all the review process.
The proposal should also include to remove the need for the projects/commit/:sha?merge_request_iid=:id
which is only used to commit's comments.
Overview
Why should someone use this feature? Streamlining the review process when using a per-commit review workflow.
What is the underlying (business) problem? We need to navigate out of the merge request context to comment on a commit metadata in the merge request's context.
Use cases
Who is this for? Provide one or more use cases. See #39380 (closed), #35287 (closed)
Feature checklist
Make sure these are completed before closing the issue, with a link to the relevant commit.
-
Feature assurance -
Documentation -
Added to features.yml