1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-10 13:56:47 +01:00
immich/web/src/lib/assets/empty-3.svg

1 line
9.4 KiB
XML
Raw Normal View History

feat(server): trash asset (#4015) * refactor(server): delete assets endpoint * fix: formatting * chore: cleanup * chore: open api * chore(mobile): replace DeleteAssetDTO with BulkIdsDTOs * feat: trash an asset * chore(server): formatting * chore: open api * chore: wording * chore: open-api * feat(server): add withDeleted to getAssets queries * WIP: mobile-recycle-bin * feat(server): recycle-bin to system config * feat(web): use recycle-bin system config * chore(server): domain assetcore removed * chore(server): rename recycle-bin to trash * chore(web): rename recycle-bin to trash * chore(server): always send soft deleted assets for getAllByUserId * chore(web): formatting * feat(server): permanent delete assets older than trashed period * feat(web): trash empty placeholder image * feat(server): empty trash * feat(web): empty trash * WIP: mobile-recycle-bin * refactor(server): empty / restore trash to separate endpoint * test(server): handle failures * test(server): fix e2e server-info test * test(server): deletion test refactor * feat(mobile): use map settings from server-config to enable / disable map * feat(mobile): trash asset * fix(server): operations on assets in trash * feat(web): show trash statistics * fix(web): handle trash enabled * fix(mobile): restore updates from trash * fix(server): ignore trashed assets for person * fix(server): add / remove search index when trashed / restored * chore(web): format * fix(server): asset service test * fix(server): include trashed assts for duplicates from uploads * feat(mobile): no dialog for trash, always dialog for permanent delete * refactor(mobile): use isar where instead of dart filter * refactor(mobile): asset provide - handle deletes in single db txn * chore(mobile): review changes * feat(web): confirmation before empty trash * server: review changes * fix(server): handle library changes * fix: filter external assets from getting trashed / deleted * fix(server): empty-bin * feat: broadcast config update events through ws * change order of trash button on mobile * styling * fix(mobile): do not show trashed toast for local only assets --------- Co-authored-by: Jason Rasmussen <jrasm91@gmail.com> Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2023-10-06 09:01:14 +02:00
<svg width="900" height="600" viewBox="0 0 900 600" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill="transparent" d="M0 0h900v600H0z"/><path d="M652.027 354.871c3.18 58.598-111.384 177.75-252.591 133.648-65.674-20.513-60.111-54.56-110.05-99.432-29.766-26.744-72.534-46.967-84.429-85.842-10.276-33.554-3.975-69.62 13.841-93.079 40.066-52.757 120.951-88.883 200.649-5.76 79.698 83.123 224.361-.663 232.58 150.465z" fill="url(#a)"/><path fill-rule="evenodd" clip-rule="evenodd" d="M518.801 457.714H368.937c-18.95 0-34.697-14.624-36.109-33.538l-16.235-219.855h254.009l-15.693 219.764c-1.357 18.95-17.122 33.629-36.108 33.629z" fill="#929292" stroke="#929292" stroke-width="24.404" stroke-linecap="round" stroke-linejoin="round"/><path d="M443.905 276.719v108.597" stroke="#fff" stroke-width="24.404" stroke-linecap="round" stroke-linejoin="round"/><path fill-rule="evenodd" clip-rule="evenodd" d="M299.109 204.321h289.592-289.592z" fill="#929292"/><path d="M299.109 204.321h289.592m-54.298 0-18.335-48.905a36.2 36.2 0 0 0-33.901-23.493h-76.524a36.2 36.2 0 0 0-33.901 23.493l-18.335 48.905" stroke="#929292" stroke-width="24.404" stroke-linecap="round" stroke-linejoin="round"/><path d="m505.987 276.719-7.783 108.597M381.823 276.719l7.783 108.597" stroke="#fff" stroke-width="24.404" stroke-linecap="round" stroke-linejoin="round"/><path d="M597.208 445.75c-.597-1.81-1.848-3.266-2.799-4.87-7.053-12.073-13.099-24.612-17.726-37.841-2.818-8.042-5.598-16.103-7.483-24.425-1.66-7.314-3.097-14.666-3.844-22.148-.391-3.882-.765-7.744-.895-11.644-.075-2.09-.429-4.179-.261-6.269.317-3.807.205-7.651 1.212-11.382.187-.691.374-1.4.653-2.053 1.587-3.825 5.15-4.59 8.173-1.81 1.456 1.344 2.501 2.986 3.471 4.684 4.497 7.855 8.229 16.084 11.531 24.499 5.075 12.912 9.647 26.011 13.901 39.203.765 2.388 1.512 4.795 2.594 7.165 0-1.287.187-2.612-.037-3.862-.355-1.81-.243-3.601-.355-5.393-.69-11.121-.597-22.26-.317-33.4.112-4.441.522-8.919 1.045-13.36.354-3.004.616-6.027 1.026-9.012 1.213-8.639 2.407-17.297 5.635-25.489.635-1.623 1.474-3.153 2.706-4.403 2.481-2.556 5.56-2.37 7.818.429 2.183 2.706 3.247 5.952 4.18 9.218 1.156 4.105 1.754 8.303 2.295 12.539.914 7.165 1.119 14.367 1.38 21.588.168 4.908.355 9.834.206 14.741-.168 5.486-.15 10.99-.448 16.476-.299 5.486-.485 10.953-.765 16.439 0 .149.037.28.093.616.746-1.213.84-2.463 1.12-3.62 3.452-14.573 7.874-28.847 13.714-42.636 3.62-8.528 7.632-16.868 13.174-24.369 2.239-3.042 4.627-5.953 7.93-7.893 1.754-1.026 3.601-1.829 5.747-1.269 2.239.578 3.545 2.108 4.329 4.18 1.119 2.966 1.399 6.064 1.138 9.161a131.902 131.902 0 0 1-2.034 14.554c-1.735 8.808-4.31 17.372-7.464 25.769-5.821 15.543-12.501 30.769-18.901 46.107-.28.653-.728 1.268-.579 2.052-.224.037-.336.168-.336.373 0 .056.131.112.206.168.056-.186.093-.354.149-.541 1.231-.858 1.81-2.239 2.612-3.396 4.385-6.288 8.901-12.464 13.864-18.304 4.833-5.673 9.852-11.177 16.252-15.17 2.276-1.418 4.609-2.725 7.426-2.706 3.191.019 5.356 1.455 6.363 4.534.653 1.997.821 4.012.579 6.158-.821 7.09-3.77 13.304-7.52 19.181-5.225 8.173-11.27 15.711-17.745 22.933-6.493 7.239-13.845 13.509-21.439 19.517-6.736 5.337-13.36 10.822-20.022 16.234-1.791 1.455-3.62 2.873-5.541 4.161-1.922 1.306-3.975 1.623-6.177 1.007-8.769-2.5-17.39-5.318-25.469-9.647-6.326-3.396-12.204-7.426-17.745-11.998-5.318-4.366-10.431-8.937-15.114-13.975-4.124-4.46-8.005-9.125-10.823-14.554-.895-1.717-1.306-3.508-1.119-5.43.186-1.941 1.661-3.583 3.601-3.769 1.642-.15 3.303-.131 4.926.391 4.348 1.4 8.005 3.994 11.476 6.83 7.706 6.325 15.356 12.707 22.67 19.48 2.165 2.015 4.423 3.937 6.643 5.896.28.243.56.467.933.504.093.336.224.616.597.728.019.056.037.112.075.149.018.019.074.019.112.019-.075-.056-.15-.094-.224-.15.093-.354-.037-.653-.373-.895zm-356.066 0c-.598-1.81-1.848-3.266-2.799-4.87-7.053-12.073-13.099-24.612-17.727-37.841-2.817-8.042-5.597-16.103-7.482-24.425-1.661-7.314-3.097-14.666-3.844-22.148-.392-3.882-.765-7.744-.895-11.644-.075-2.09-.429-4.179-.262-6.269.318-3.807.206-7.651 1.213-11.382.187-.691.374-1.4.653-2.053 1.586-3.825 5.15-4.59 8.173-1.81 1.456 1.344 2.5 2.986 3.471 4.684 4.497 7.855 8.228 1