Skip to content

Ask the update notes in the browser's language - #656

Merged
pierre-b merged 1 commit into
devfrom
feat/update-notes-browser-language
Nov 19, 2026
Merged

pierre-b merged 1 commit into
devfrom
feat/update-notes-browser-language

Conversation

@pierre-b

Copy link
Copy Markdown
Contributor

The update card asks updates.notifuse.com for its notes in the first of the browser's languages the console speaks (navigator.languages; exact match such as pt-BR, else the base language, any Portuguese as pt-BR), and in English otherwise, instead of the console's active language.

Tests: browserLocale cases (order, pt mapping, fallback, navigator.languages), the hook asks with the locale browserLocale gives. No CHANGELOG entry: the update check is unreleased 44.0 work.

@codecov

codecov Bot commented Nov 19, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.44%. Comparing base (051f959) to head (df3f22c).

Additional details and impacted files
@@           Coverage Diff           @@
##              dev     #656   +/-   ##
=======================================
  Coverage   90.44%   90.44%           
=======================================
  Files         392      392           
  Lines       76497    76497           
=======================================
  Hits        69189    69189           
  Misses       4745     4745           
  Partials     2563     2563           
Flag Coverage Δ
unit 90.44% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@pierre-b
pierre-b merged commit 3b79f59 into dev Nov 19, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant