Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add missing context menu items #1951

Closed
wants to merge 30 commits into from

Commits on Apr 13, 2023

  1. Configuration menu
    Copy the full SHA
    f124bdc View commit details
    Browse the repository at this point in the history
  2. feat: add copy stream and file download

    File download are just ported legacy code, might want to fix it
    
    Also context menu aren't properly showing it on home screen
    noaione committed Apr 13, 2023
    Configuration menu
    Copy the full SHA
    79f9171 View commit details
    Browse the repository at this point in the history
  3. cleanup

    noaione committed Apr 13, 2023
    Configuration menu
    Copy the full SHA
    04c3295 View commit details
    Browse the repository at this point in the history
  4. change URL in file-download

    noaione committed Apr 13, 2023
    Configuration menu
    Copy the full SHA
    0d1658c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e99d1b4 View commit details
    Browse the repository at this point in the history
  6. feat: add delete media button

    noaione committed Apr 13, 2023
    Configuration menu
    Copy the full SHA
    b414d0b View commit details
    Browse the repository at this point in the history
  7. cleanup console log usages

    noaione committed Apr 13, 2023
    Configuration menu
    Copy the full SHA
    971b848 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    6d29232 View commit details
    Browse the repository at this point in the history
  9. feat: add Instant mix

    noaione committed Apr 13, 2023
    Configuration menu
    Copy the full SHA
    2877ccf View commit details
    Browse the repository at this point in the history
  10. chore: cleanup legacy code and i18n strings

    Removed the fallback clipboard copy code since it looks like the whole project is targeting es2022.
    
    Also cleanup/restructure some i18n strings
    noaione committed Apr 13, 2023
    Configuration menu
    Copy the full SHA
    65442ec View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2023

  1. refactor: handle clipboard and download with native Tauri API for Tau…

    …ri app
    
    Added the following packages:
    - tauri-apps/api
    - tauri_plugin_upload (handle stream download)
    
    Both clipboard and file download should now use their respective native API.
    Clipboard use either the navigator or tauri clipboard API
    File download use the <a> download trick or use the downloader from tauri_plugin_upload
    since using stream download would be better so it does not eat memory.
    
    Added a new task to handle file download announcement (Tauri only)
    Maybe add a way to announce error to the task manager.
    Also cleaned up old legacy code for file download.
    noaione committed Apr 14, 2023
    Configuration menu
    Copy the full SHA
    6c706cd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3fc935f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f6dd577 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    53d0821 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4951efe View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    3057959 View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2023

  1. chore: half revert "refactor: handle clipboard and download with nati…

    …ve Tauri API for Tauri app"
    
    This half reverts commit 6c706cd.
    
    Only remove the Tauri part since it would be better to make separate PR for it.
    noaione committed Apr 15, 2023
    Configuration menu
    Copy the full SHA
    19969c4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4ac2be3 View commit details
    Browse the repository at this point in the history
  3. feat: add EmbeddedImage to Media info

    Also did some refactoring
    noaione committed Apr 15, 2023
    Configuration menu
    Copy the full SHA
    28225c7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3db6081 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    95e45c1 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    8dd6711 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    f1962a4 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    172e4da View commit details
    Browse the repository at this point in the history
  9. fix: do not include Year search if type is BoxSet and Person

    More inline with jf-web since they did not include it
    noaione committed Apr 15, 2023
    Configuration menu
    Copy the full SHA
    6e57b40 View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2023

  1. Configuration menu
    Copy the full SHA
    fb43ba5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0797928 View commit details
    Browse the repository at this point in the history
  3. refactor: use MediaSources for media info button check

    Instead of manually using item check, this works much better and consistently.
    Just need to add the item fields to relevant request.
    noaione committed Apr 16, 2023
    Configuration menu
    Copy the full SHA
    1f5788b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0615e97 View commit details
    Browse the repository at this point in the history
  5. feat: support multiple streams for all the context menu

    The following context menu has been adjusted for multiple media streams:
    - Delete (should correctly delete the selected stream)
    - Identify (should correctly applied to selected stream)
    - Media Info (should show ONLY the selected stream)
    - Metadata editor (should correctly show/edit the selected stream)
    
    The multi-supported context menu would only show on the following:
    - Item page
    - Playback bar (audio mode)
    
    If a multiple streams got selected outside the item page, it will show the first stream information only. (with the exception of Media info)
    noaione committed Apr 16, 2023
    Configuration menu
    Copy the full SHA
    524d268 View commit details
    Browse the repository at this point in the history