Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

[Release] Improve download interactions #6510

Merged
merged 7 commits into from
Jul 30, 2021

Commits on Jul 29, 2021

  1. Unify and improve download interactions

    With help from Palid.
    
    This does two major things:
    1. Makes the tile part of a file body clickable to trigger a download.
    2. Refactors a lot of the recyclable code out of the DownloadActionButton in favour of a utility. It's not a perfect refactoring, but it sets the stage for future work in the area (if needed).
    
    The refactoring still has a heavy reliance on being supplied an iframe, but simplifies the DownloadActionButton and a hair of the MFileBody download code. In future, we'd probably want to make the iframe completely managed by the FileDownloader rather than have it only sometimes manage a hidden iframe.
    turt2live committed Jul 29, 2021
    Configuration menu
    Copy the full SHA
    bde2f75 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    790696a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    15f6c63 View commit details
    Browse the repository at this point in the history
  4. Fix file name not ellipsizing

    Turns out the tooltip component doesn't copy over class names.
    turt2live committed Jul 29, 2021
    Configuration menu
    Copy the full SHA
    ac1014a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b1090a3 View commit details
    Browse the repository at this point in the history
  6. Appease the linter

    turt2live committed Jul 29, 2021
    Configuration menu
    Copy the full SHA
    a8ec8f4 View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2021

  1. Add file size to tooltip

    turt2live committed Jul 30, 2021
    Configuration menu
    Copy the full SHA
    c5c58a5 View commit details
    Browse the repository at this point in the history