immich/web/src/lib/utils
Min Idzelis 2fd05e8447
feat: preload and cancel images with a service worker (#16893)
* feat: Service Worker to preload/cancel images and other resources

* Remove caddy configuration, localhost is secure if port-forwarded

* fix e2e tests

* Cache/return the app.html for all web entry points

* Only handle preload/cancel

* fix e2e

* fix e2e

* e2e-2

* that'll do it

* format

* fix test

* lint

* refactor common code to conditionals

---------

Co-authored-by: Alex <alex.tran1502@gmail.com>
2025-04-28 14:23:05 +00:00
..
actions.ts fix(web): update stack state in timeline (#17021) 2025-03-21 12:42:36 -05:00
album-utils.ts feat: rtl (#17860) 2025-04-28 08:53:53 -05:00
asset-utils.spec.ts feat: optimize copy image to clipboard (#12366) 2024-09-06 08:16:59 -05:00
asset-utils.ts refactor: convert download manager into a state class (#17491) 2025-04-10 16:48:21 +00:00
auth.ts refactor: event manager (#17862) 2025-04-25 08:36:31 -04:00
byte-units.spec.ts refactor(web): byte unit utils (#10332) 2024-06-14 17:27:46 +00:00
byte-units.ts fix(web): Make date-time formatting follow locale (#17899) 2025-04-28 08:53:26 -05:00
cancellable-task.ts fix: occasional empty buckets, after canceled loads (#17552) 2025-04-13 07:50:24 -05:00
context-menu.ts feat: persistent memories (#15953) 2025-02-21 12:31:37 -06:00
context.ts chore(web): prettier (#2821) 2023-06-30 23:50:47 -05:00
date-time.spec.ts fix(web): shared link date range (#15802) 2025-01-30 18:36:45 -05:00
date-time.ts feat: persistent memories (#15953) 2025-02-21 12:31:37 -06:00
dipatch.ts feat(web,server): search people (#5703) 2024-01-27 19:54:31 -05:00
duplicate-utils.spec.ts feat(web): Improve duplicate suggestion (#14947) 2025-01-07 18:30:11 +00:00
duplicate-utils.ts feat(web): Improve duplicate suggestion (#14947) 2025-01-07 18:30:11 +00:00
eventemitter.ts refactor(web): websocket events (#7152) 2024-02-16 15:43:40 -05:00
executor-queue.spec.ts fix(web): fix lost scrollpos on deep link to timeline asset, scrub stop (#16305) 2025-03-04 20:34:53 -06:00
executor-queue.ts chore(web): cleanup promise handling (#7382) 2024-02-27 10:37:37 -06:00
exif-utils.spec.ts feat(web): Improve duplicate suggestion (#14947) 2025-01-07 18:30:11 +00:00
exif-utils.ts feat(web): Improve duplicate suggestion (#14947) 2025-01-07 18:30:11 +00:00
file-uploader.ts fix(web): do not throw error when hash fails (#15740) 2025-01-28 03:54:56 +00:00
focus-util.ts fix: responsive: timeline glitch and keyboard-accessible scrubber (#17556) 2025-04-14 11:56:40 -05:00
generate-id.ts chore(web): simpler unique ID generation (#9945) 2024-06-02 12:41:44 -04:00
handle-error.ts fix(server): http error parsing on endpoints without a default response (#12927) 2024-09-25 12:05:03 -04:00
i18n.ts feat(web): use browser language by default (#10849) 2024-07-04 22:56:54 -05:00
layout-utils.ts feat: timeline performance (#16446) 2025-03-18 09:14:46 -05:00
license-utils.ts chore: update deps (#14755) 2024-12-18 14:19:48 +00:00
metadata-search.ts fix(web): broken links to places search (#7208) 2024-02-19 14:55:54 -06:00
navigation.ts chore(web): Revert slight fade in animation when open/close asset-viewer (#16262) (#16306) 2025-02-25 09:27:34 -06:00
people-utils.ts feat(web): Option to assign people to unassigned faces (#9773) 2024-06-05 07:26:00 +00:00
person.ts chore: object shorthand linting rule (#12152) 2024-08-30 14:38:53 -04:00
places-utils.ts feat(web): revamp places (#12219) 2025-02-06 20:54:01 +00:00
purchase-utils.ts chore(web): change license wording and other things (#11309) 2024-07-26 10:34:35 -05:00
server.ts fix: only load rtl plugin once (#12365) 2024-09-05 14:29:41 -04:00
slideshow-history.ts fix(web): prevent fetching asset info twice (#8486) 2024-04-03 21:20:54 -04:00
string-utils.ts feat(web): render component in notifications (#10990) 2024-07-10 09:05:04 -05:00
sw-messaging.ts feat: preload and cancel images with a service worker (#16893) 2025-04-28 14:23:05 +00:00
thumbnail-util.spec.ts chore: move weblate translations to root directory (#13604) 2024-10-22 15:39:28 +00:00
thumbnail-util.ts fix(web): Make date-time formatting follow locale (#17899) 2025-04-28 08:53:26 -05:00
timeline-util.spec.ts fix(web): time zone dependent test (#13859) 2024-11-07 10:05:55 -05:00
timeline-util.ts fix(web): Make date-time formatting follow locale (#17899) 2025-04-28 08:53:26 -05:00
timesince.ts feat(web,server): activity (#4682) 2023-10-31 22:13:34 -05:00
tree-utils.ts refactor(web): folders store (#14305) 2024-11-23 13:22:13 -06:00
tunables.ts feat: timeline performance (#16446) 2025-03-18 09:14:46 -05:00