frigate/web/src/utils
Otto 423ee2fe72
Feature: Share Timestamped URL for Camera Footage History (#22537)
* Initial copy timestamp url implementation

* revise url format

* Implement share timestamp dialog

* Use translations

* Add comments

* Add validations to shared link

* Switch to searchEffect implementation

* Add missing accessibility related dialog description

* Change URL format to unix timestamps

* Remove unnecessary useEffect

* Remove duplicated dialog title

* Fixes/improvements based off PR review comments

* Add missing cancel button & separators to dialog

* Make share description clearer

* Bugfix: guard against showing toasts twice
Because this effect ends up running multiple times

* Clamp future timestamps to now

* Revert "Bugfix: guard against showing toasts twice"

This reverts commit 99fa5e1dee.

* Use normal separator

Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>

* Fixes based off PR review comments

* Bugfix: Share dialog was not receiving the player timestamp after removing key that triggered remounts

* Defer `setRecording` and return true from hook for cleanup

* Remove timeout defer hack in favor of refactored hook

* Attempt to replay video muted on NotAllowedError

* Use separate persistent mute and temporary forced mute states

* Align cancel button with other dialogs

* Prevent wrapping on dialog title

* Remove extra "back" button on mobile drawer

* Fix back navigation when coming from direct shared timestamp links

* Use new timeformat hook

* Simplify dialog radio buttons

* Apply suggestions from code review

Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>

---------

Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>
2026-04-20 06:35:25 -06:00
..
browserUtil.ts Refactor and clean up i18n (#17198) 2025-03-17 06:26:01 -06:00
cameraUtil.ts Merge remote-tracking branch 'origin/master' into dev 2026-03-22 17:34:11 -05:00
canvasUtil.ts Snap points to edges and create object mask from bounding box (#16488) 2025-02-11 09:08:28 -07:00
chatUtil.ts Chat improvements (#22823) 2026-04-09 14:31:37 -06:00
colorUtil.ts Replace individual storage graphs with combined graph (#13438) 2024-08-30 07:56:55 -06:00
configUtil.ts Miscellaneous improvements (#22714) 2026-03-31 13:45:04 -05:00
credentialMask.ts Add go2rtc streams to settings UI (#22531) 2026-03-19 10:33:42 -06:00
dateUtil.ts i18n miscellaneous fixes (#21614) 2026-01-12 09:15:27 -06:00
go2rtcFfmpeg.ts Add go2rtc streams to settings UI (#22531) 2026-03-19 10:33:42 -06:00
i18n.ts Frontend fixes (#22309) 2026-03-07 06:43:00 -07:00
iconUtil.tsx Miscellaneous fixes (0.17 beta) (#21934) 2026-02-12 13:42:08 -07:00
isIFrame.ts Prevent settings menu scroll on iOS proxy iframe from shifting entire UI (#17024) 2025-03-08 10:13:07 -06:00
isPWA.ts Mobile/PWA spacing fixes (#11403) 2024-05-16 16:00:14 -06:00
lifecycleUtil.ts I18N Miscellaneous Fixes (#21573) 2026-01-08 14:28:18 -07:00
logUtil.ts Improve UI logs (#16434) 2025-02-10 08:38:56 -07:00
passwordUtil.ts i18n workflow improvements and tweaks (#22586) 2026-03-23 08:48:02 -05:00
profileColors.ts Camera profile support (#22482) 2026-03-19 09:47:57 -05:00
recordingReviewUrl.ts Feature: Share Timestamped URL for Camera Footage History (#22537) 2026-04-20 06:35:25 -06:00
snapshotUtil.ts Add ability to download on demand snapshots (#20488) 2025-10-14 14:05:35 -05:00
storageUtil.ts Add camera bandwidth back in storage metrics (#13436) 2024-08-30 07:11:54 -06:00
stringUtil.ts Miscellaneous Fixes (#20841) 2025-11-08 05:44:30 -07:00
timelineUtil.tsx Fix motion timeline offset (#19185) 2025-07-17 08:17:58 -06:00
videoUtil.ts Feature: Share Timestamped URL for Camera Footage History (#22537) 2026-04-20 06:35:25 -06:00
wsUtil.ts Debug replay (#22212) 2026-03-04 10:07:34 -06:00
zoneEdutUtil.ts New mask/zone editor and motion tuner (#11020) 2024-04-19 05:34:07 -06:00