• Grzegorz Bizon's avatar
    Merge branch 'ux/improve-artifacts-browser' into 'master' · 7ccccfc6
    Grzegorz Bizon authored
    Improve UX in build artifacts browser
    
    This improves UX in build artifacts browser, and makes it more consistent with repository tree browser we already have.
    
    ---
    Before:
    
    ![ux_artifacts_before](/uploads/9869ff74afd5e6636f0df81c7823fb6f/ux_artifacts_before.png)
    
    ---
    After:
    
    ![ux_artifacts_after](/uploads/cdb68925f4489bb852fd701870e6d6a0/ux_artifacts_after.png)
    
    ---
    
    It is easier to click on a file/directory entry now, because we don't need to click on a entry's basename (that can be really short, like `..` parent directory). We also show `Compressed to` size that indicates how much storage does this entry really consume.
    
    Row for an entry is also highlighted on hover and we do not have Download button (clicking on a file row / file basename is enough to download a file).
    
    Closes #10242 
    
    See merge request !2477
    7ccccfc6
_tree_file.html.haml 434 Bytes