mirror of
https://github.com/go-gitea/gitea
synced 2025-07-27 20:58:36 +00:00
Add commits dropdown in PR files view and allow commit by commit review (#25528)
This PR adds a new dropdown to select a commit or a commit range (shift-click like github) of a Pull Request. After selection of a commit only the changes of this commit will be shown. When selecting a range of commits the diff of this range is shown. This allows to review a PR commit by commit or by viewing only commit ranges. The "Show changes since your last review" mechanism github uses is implemented, too. When reviewing a single commit or a commit range the "Viewed" functionality is disabled. ## Screenshots ### The commit dropdown  ### Selecting a commit range  ### Show changes of a single commit only  ### Show changes of a commit range  Fixes https://github.com/go-gitea/gitea/issues/20989 Fixes https://github.com/go-gitea/gitea/issues/19263 --------- Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: KN4CK3R <admin@oldschoolhack.me> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: delvh <dev.lh@web.de>
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,2 @@
|
||||
x<01><>A
|
||||
<EFBFBD>0E]<5D><14>$<24><><EFBFBD>D<><44>'<27>If<49>`<60><><EFBFBD><EFBFBD><EFBFBD>O<><4F><EFBFBD><EFBFBD><EFBFBD><EFBFBD>e<EFBFBD><65><EFBFBD>v<><76>U<>C<EFBFBD>\Q;_%V<>H<EFBFBD><48><EFBFBD>DS<44>ڻ7/<2F>jP<6A><50><EFBFBD>JV<4A><56>T<EFBFBD> <09>$>ԮzC<7A>Fo<>1/pSᵍ<53><E1B58D>o<><6F>y<EFBFBD><79><EFBFBD><EFBFBD><EFBFBD><EFBFBD>><3E><><<3C>y<EFBFBD>@HÐ#E8z<38><7A><EFBFBD>v?<3F><><EFBFBD><EFBFBD><19>tmйJ<>N<EFBFBD>
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,2 @@
|
||||
x<01><>M
|
||||
<EFBFBD>0F]<5D><14><17>䧝 <09>x<EFBFBD><78>`<60>L<EFBFBD>`<60><><EFBFBD><EFBFBD><EFBFBD>O<><4F><EFBFBD><07><>M<EFBFBD><4D><EFBFBD>\<5C><><EFBFBD><EFBFBD><EFBFBD>c;<3B>R<EFBFBD>`<60><>8Oԫ<4F><D4AB><EFBFBD>bVĐ<1D>g<EFBFBD><67>-<2D><>*L<>X<EFBFBD>)<06><14>q9<71><39>><3E>><3E><><EFBFBD><05>"9<>c<EFBFBD>`<60>${<7B><><05><1C><>e<EFBFBD>N<EFBFBD><4E><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>u<EFBFBD><75><1D>j
|
Binary file not shown.
@@ -0,0 +1,3 @@
|
||||
x<01><>A
|
||||
<EFBFBD>0E]<5D><14><17>L'MR<10>=<3D>$<24>h<EFBFBD>Zi<5A><69><17><>Շ<EFBFBD><EFBFBD><7F><EFBFBD>e<EFBFBD>+<2B><>NuS<75><53>SN<53><4E>e(D^ƾp<C6BE><70><EFBFBD>FEF"<22><><1D>y˦<79>
|
||||
<EFBFBD><EFBFBD><EFBFBD>#<0F><>A+<2B><><EFBFBD><EFBFBD>>8Qreԑ9'#G}<7D>Le<><65><EFBFBD>`<60>C7<43><37><EFBFBD><EFBFBD><EFBFBD><1F><><17><>]Z<>+<2B><0B><><EFBFBD>=<3D>{D<>h;[<5B><><EFBFBD><D78C>W<18>ȵM
|
@@ -0,0 +1,2 @@
|
||||
x+)JMU067`040031Qrut<75>u<EFBFBD><75>Ma<4D><61><EFBFBD><EFBFBD><EFBFBD>!<21><>E~<0F>ӏG<D38F>YM<EEA487>**I-.1<EFBFBD>+<2B>(axs<78>ﭘF<EFAD98><46>w<EFBFBD>S<EFBFBD><1E><>%<25>gS<03>"#<23>"ˬ<><CBAC>)<><7F>BS<42>
|
||||
p<EFBFBD><EFBFBD>ؙs<EFBFBD>)<29>"c<><63>K<EFBFBD>S<1F><><EFBFBD><EFBFBD><EFBFBD>̬k<CCAC><6B>Z<EFBFBD>x<EFBFBD>v<EFBFBD>?<3F>"<13><><EFBFBD><<3C><>K<>f؇<66><D887>Z<EFBFBD>u"<22><><EFBFBD><0F>#)2+2<>`'<27><><EFBFBD><EFBFBD>O<EFBFBD><4F>3<EFBFBD>fEs/Z<><5A><EFBFBD><EFBFBD><0C><>Y<EFBFBD><59><EFBFBD>ť-+<2B>w5<77>N߬+<2B><>B<EFBFBD>4<EFBFBD>"s<><73><EFBFBD>Y*<2A><><EFBFBD><EFBFBD>KZ<4B><5A><EFBFBD><EFBFBD><EFBFBD>n)<29><>d><3E><><EFBFBD><02><>+<2B><><EFBFBD>LѲ%<25>D<>x,9]K*<2A><><0C>"K<>"<22>Y<0F><><EFBFBD>譻<EFBFBD>A<EFBFBD>|<7C>Ėɉ<C496>ZvۓG
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,2 @@
|
||||
x<01><>A
|
||||
<EFBFBD>0E]<5D><14><17>4I3<10>=<3D>$L<>`<60>4<EFBFBD><34><EFBFBD>O<><4F><EFBFBD><EFBFBD><EFBFBD><EFBFBD>y<EFBFBD>u<EFBFBD>`<60>x<EFBFBD><78>*<2A>%L=ӈAE<41>T<EFBFBD>F<1E><><EFBFBD>)b<><62><EFBFBD><EFBFBD>-<2D><>:p<>Z<EFBFBD>P"<22>\<5C><18>G<EFBFBD>P0<50>iv<>H<EFBFBD><48><19><>c<EFBFBD>`<60>$<24>/<2F><>Yv<59><76>Ҿ<18>O<EFBFBD><4F>U<EFBFBD><55><EFBFBD><EFBFBD>z<EFBFBD>1<EFBFBD><18>:rpF<70>h{<7B><>G<EFBFBD><EFBFBD><D78C>:8<><01>EL<45>
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
||||
|
Reference in New Issue
Block a user