Add header to code list with latest commit info (OD-1923)
wojtek opened 2 years ago

To better know if the project is alive it would be nice to have a header like on github (https://github.com/theonedev/onedev) that shows last commit (without navigating to commits): Captura de pantalla 2024-05-28 a las 17.34.51.png

  • Robin Shen changed state to 'Closed' 2 years ago
    Previous Value Current Value
    Open
    Closed
  • Robin Shen commented 2 years ago

    This info can be accessed via history link like below:

    2024-06-06_21-25-48.png

    The last commit info is not directly shown at header of file list, as it will occupy another line to make the directory/file content area smaller.

  • wojtek commented 2 years ago

    This info can be accessed via history link like below:

    Indeed there is a link but it opens commit list and switches the context.

    The last commit info is not directly shown at header of file list, as it will occupy another line to make the directory/file content area smaller.

    In your screenshot it indeed it would be somewhat annoying but the same view on my machine:

    Captura de pantalla 2024-06-06 a las 16.13.18.png

    Is quite compact and I'd argue that additional header line wouldn't impact it negatively - contrary, it would bring in more contextual information.

    Alternatively option to choose column to sort (so one could select update date) could be an alternative (though header would be nicer)

  • Robin Shen commented 2 years ago

    Seems that you have a quite large screen, however on my mbp 13 laptop, the screen estate is much smaller and it does occupy obvious space… 

    在 2024年6月6日,22:15,Robin Shen <[email protected]> 写道:

    wojtek commented

    This info can be accessed via history link like below:

    Indeed there is a link but it opens commit list and switches the context.

    The last commit info is not directly shown at header of file list, as it will occupy another line to make the directory/file content area smaller.

    In your screenshot it indeed it would be somewhat annoying but the same view on my machine:

    Captura de pantalla 2024-06-06 a las 16.13.18.png

    Is quite compact and I'd argue that additional header line wouldn't impact it negatively - contrary, it would bring in more contextual information.

    Alternatively option to choose column to sort (so one could select update date) could be an alternative (though header would be nicer)


    Reply this email to post comment, or click this link for details
    You received this as you are participating in this topic. Mail to this address to unsubscribe
  • wojtek commented 2 years ago

    Seems that you have a quite large screen, however on my mbp 13 laptop, the screen estate is much smaller and it does occupy obvious space…

    I have regular MBP M1 15" 16"

    Captura de pantalla 2024-06-06 a las 16.29.51.png

    I'd argue that for work purposes majority of developers use at least 15" if not having secondary 22+" display.


    Btw. quoting email/html-formatted message makes it a bit more difficult to select relevant parts - maybe an attempt to strip the formatting and convert it to markdown?

    > <div class='no-color'>
    > 
    > 
    >  
    >   <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    >  
    >  
    >   <br id="lineBreakAtBeginningOfSignature">
    >   <div dir="ltr">
    >    Seems that you have a quite large screen, however on my mbp 13 laptop, the screen estate is much smaller and it does occupy obvious space…&nbsp;
    >   </div>
    >   <div dir="ltr">
    >    <br>
    >    <blockquote type="cite">
    >     在 2024年6月6日,22:15,Robin Shen &lt;[email protected]&gt; 写道:
    >     <br>
    >     <br>
    >    </blockquote>
    >   </div>
    >   <blockquote type="cite">
    >    <div dir="ltr">
    >     <b>wojtek commented</b>
    >     <br>
    >     <br>
    >     <blockquote data-sourcestart="0" data-sourceend="56">
    >      <p data-sourcestart="2" data-sourceend="56">This info can be accessed via history link like below:</p>
    >     </blockquote>
    >     <p data-sourcestart="60" data-sourceend="133">Indeed there is a link but it opens commit list and switches the context.</p>
    >     <blockquote data-sourcestart="137" data-sourceend="285">
    >      <p data-sourcestart="139" data-sourceend="285">The last commit info is not directly shown at header of file list, as it will occupy another line to make the directory/file content area smaller.</p>
    >     </blockquote>
    >     <p data-sourcestart="289" data-sourceend="380">In your screenshot it indeed it would be somewhat annoying but the same view on my machine:</p>
    >     <p data-sourcestart="384" data-sourceend="589"><img src="https://code.onedev.io/~downloads/projects/160/attachments/02700227-e17d-4d52-bc1f-7b870367bc05/Captura%20de%20pantalla%202024-06-06%20a%20las%2016.13.18.png?v=1717683202365&amp;authorization=CHlOsPp3vV0D4uId21lk9kRmoy9cwFvlFF_ZA3EeDHtRSNMALrMrunAwniDTT8yEUaKtJpJtx_vfFjsNBvtPyRTEiyM" alt="Captura de pantalla 2024-06-06 a las 16.13.18.png" style=";max-width:100%" data-unique-identifier=""></p>
    >     <p data-sourcestart="593" data-sourceend="740">Is quite compact and I'd argue that additional header line wouldn't impact it negatively - contrary, it would bring in more contextual information.</p>
    >     <p data-sourcestart="744" data-sourceend="878">Alternatively option to choose column to sort (so one could select update date) could be an alternative (though header would be nicer)</p>
    >     <br>
    >     <div>
    >      Reply this email to post comment, or click <a href="https://code.onedev.io/onedev/server/~issues/1923#IssueComment-7032"> this link</a> for details
    >     </div>
    >     <div style="border-top:1px solid #EEE; margin-top:1em; padding-top:1em; color:#666; font-size:0.9em;">
    >      You received this as you are participating in this topic. Mail to <a href="mailto:[email protected]?subject=Unsubscribe&amp;body=I would like not to get any notifications from this topic"> this address</a> to unsubscribe
    >     </div></div></blockquote>
    > 
    > </div>
    
  • Robin Shen commented 2 years ago

    Indeed there is a link but it opens commit list and switches the context.

    This will list all commits affecting current path.

  • wojtek commented 2 years ago

    Indeed there is a link but it opens commit list and switches the context.

    This will list all commits affecting current path.

    Yes, but the idea, when opening one repo (especially if you have lots of them) is to know the "freshness" of the repo (or particular branch/tag). For a cursory glance one usually doesn't require seeing the list of all commits.

  • @robin I know you closed this one, but I'd like to second it if there's an option. It's extremely useful for several different reasons, even on private repositories when there are multiple developers working on it.

    Thank you, again!

issue 1/1
Type
New Feature
Priority
Normal
Assignee
Labels
No labels
Issue Votes (1)
Watchers (3)
Reference
OD-1923
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover