13 Commits

Author SHA1 Message Date
Adam Shiervani bfa7336bea fix(video): disable H.265 on Linux to avoid undecodable streams (#1435)
Many Linux browsers (Chrome on NVIDIA proprietary, Brave/Chromium on
Wayland, most Firefox builds) advertise H.265 in
RTCRtpReceiver.getCapabilities and in the SDP offer but cannot actually
decode the stream, leaving users stuck on a black "Loading video
stream..." screen (#1413).

On Linux desktop we now hide H.265 from the codec dropdown and strip it
from the video transceiver's setCodecPreferences immediately before
createOffer, so the existing server-side resolveCodec naturally
negotiates H.264. No protocol, backend, or persisted-preference changes.
2026-05-01 11:14:20 +02:00
Marc Brooks b1cdeb2826 Add missing languages and correct translations of languages. (#1161)
* Add missing languages and updated translations of languages

Japanese and Portuguese were not added to the translations.
Japanese locale strings need to be in Japanese.
Portuguese locale strings need to be in Portuguese.
 Chinese (Traditional) locale strings need to be in Chinese (Traditional).
Always use (bokmål) for "book language" Norwegian.
Resorted using `npm run i18n:resort`

* Update the documentation to guide addition.

Needed to document the steps for adding the other languages.

* Correct the Chinese locale options

They should be in the native language of the containing file.

* Correct path for settings.json

Sorted language codes (leaving English at top as default)
Address review comments.

* Added update instructions for updating the translation menu.

Japanese was never added.

* Removed requirement to update utils.ts

Added a generic helper function that maps localized messages to their inlang/paraglide formatting function.

* Add documentation on end-to-end testing.

* Slight tweak of documentation

* Replace Japanese spelling out bokmål
2026-01-28 20:30:39 +01:00
Johnny Sung e10208a7fd feat: Add Traditional Chinese localization (#1159) 2026-01-27 11:44:02 +01:00
Rubens Kleinschmidt Júnior e61567cc79 i18n: Adding pt-BR translations (#1157) 2026-01-27 11:42:52 +01:00
Adam Shiervani 140232c720 Update dependencies and improve code formatting (#1072) 2025-12-15 16:00:08 +01:00
Marc Brooks e7573b4abd Update eslint to current build structure for new vite projects (#962)
Co-authored-by: Adam Shiervani <adam.shiervani@gmail.com>
2025-12-15 14:53:32 +01:00
Adam Shiervani 32dd326df0 fix: handle versioned cloud URLs in reboot flow (#1048) 2025-12-10 10:41:05 +01:00
Aveline 136966a0a7 fix(ui): upload file size could not be parsed (#1011)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-27 10:52:08 +01:00
Adam Shiervani ce9f95b8c8 refactor: ota redirecting (#898)
* refactor: improve URL handling in RebootingOverlay component

* refactor: enhance redirect URL handling in TryUpdate function

* refactor: disable old ota rebooting method in new version

* refactor: streamline version retrieval logic and enhance error handling in useVersion hook

* refactor: rename to RedirectTo

* fix: force page reload when redirecting from reboot actions

* refactor: consolidate sleep utility and update usages across components

* refactor: update JsonRpcCallOptions to use maxAttempts and attemptTimeoutMs, implement exponential backoff for retries

---------

Co-authored-by: Adam Shiervani <adamshiervani@fastmail.com>
2025-10-27 16:21:11 +01:00
Marc Brooks 9a4d061034 Localize the client/browser UI with inlang paraglide-js (#864) 2025-10-23 14:27:29 +02:00
Adam Shiervani a7db0e8408 Enhance connection stats sidebar (#748)
* feat: add Metric component for data visualization

* refactor: update ConnectionStatsSidebar to use Metric component for improved data visualization

* feat: add someIterable utility function and update Metric components for consistent metric handling

- Introduced `someIterable` function to check for the presence of a metric in an iterable.
- Updated `CustomTooltip` and `Metric` components to use `metric` instead of `stat` for improved clarity.
- Refactored `StatChart` to align with the new metric naming convention.

* refactor: rename variable for clarity in Metric component

* docs: add JSDoc comments to createChartArray function in Metric component for better documentation

* feat: do an actual avg reference calc

* feat: Dont collect stats without a video track

* refactor: rename variables for clarity
2025-09-08 10:59:36 +02:00
Adam Shiervani 3b711db781 Apply and Upgrade Eslint (#288)
* Upgrade ESLINT and fix issues

* feat: add frontend linting job to GitHub Actions workflow

* Move UI linting to separate file

* More linting fixes

* Remove pull_request trigger from UI linting workflow

* Update UI linting workflow

* Rename frontend-lint workflow to ui-lint for clarity
2025-03-25 11:56:24 +01:00
Adam Shiervani 20780b65db Release 202412292127 2024-12-29 21:27:42 +01:00