kolibri icon indicating copy to clipboard operation
kolibri copied to clipboard

Update browserslist config to the new support matrix

Open marcellamaki opened this issue 1 year ago • 3 comments

❌ This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.

Overview

Update the browserslist configuration to the new support matrix. Browser-stats review and the decision to drop ~0.08% of usage have already been done; this task is the mechanical config update.

Complexity: Low Target branch: develop

Context

Browserslist is defined at packages/browserslist-config-kolibri/index.js and consumed by kolibri/core/frontend/minimumBrowserRequirements.js, which redirects unsupported browsers to the unsupportedUrl. The current Android > 4.4.3 entry is obsolete — it targeted the pre-Chrome Android system WebView, which no longer exists on any supported Android version.

The Change

Replace the contents of packages/browserslist-config-kolibri/index.js with the new support matrix:

module.exports = [
  'Chrome >= 49',
  'ChromeAndroid >= 49',
  'Edge >= 79',
  'Firefox >= 52',
  'FirefoxAndroid >= 68',
  'iOS >= 10',
  'Opera >= 67',
  'QQAndroid >= 10.4',
  'Safari >= 11.1',
  'Samsung >= 5',
  'UCAndroid >= 12.12',
];

Notable deltas from the current list:

  • Drop Android > 4.4.3 (pre-Chrome WebView, no longer relevant)
  • Edge >= 18 → Edge >= 79 (drop EdgeHTML)
  • iOS >= 9.3 → iOS >= 10 (required for Proxy)
  • Samsung >= 4 → Samsung >= 5

Out of Scope

  • Changes to the unsupported-browser redirect page or user-facing messaging.
  • Further trimming or additions beyond the 11 entries listed above.
  • Any Vue 3 migration work itself — this task only updates the browserslist config.

Acceptance Criteria

  • [ ] packages/browserslist-config-kolibri/index.js exports exactly the 11 entries listed in "The Change", in that order.
  • [ ] The Android > 4.4.3 entry is removed.
  • [ ] browserslist-config-kolibri package version is bumped (minor) in packages/browserslist-config-kolibri/package.json.
  • [ ] minimumBrowserRequirements.js still parses every entry without throwing (all entries use > or >=, which the regex supports).
  • [ ] pnpm test-jest and pre-commit run --all-files pass.

AI usage

Used Claude to restructure the existing issue body into the Technical Task Issue template. The scope, decision, and target browser matrix were supplied by the issue author; Claude proposed section wording and surfaced mechanical details (file paths, deltas from current config) which were reviewed and confirmed before inclusion.

marcellamaki avatar Oct 21 '25 17:10 marcellamaki

@marcellamaki can i solve this issue

ayushsingh1js avatar Oct 26 '25 20:10 ayushsingh1js

Hi! 👋

Thanks so much for your interest! This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.

We really appreciate your willingness to help—you're welcome to find a more suitable issue, and let us know if you have any questions. 😊

learning-equality-bot avatar Oct 26 '25 20:10 learning-equality-bot

Plan: Replace the browserslist config with the new 11-entry support matrix, dropping the obsolete Android > 4.4.3 entry and tightening Edge, iOS, and Samsung minimums.

  • [ ] Update the browserslist config
  • [ ] Bump the package version and update consumers
  • [ ] Verify acceptance criteria

status


@rtibblesbot's comments are generated by an LLM, and should be evaluated accordingly

How was this generated?
  • Implemented code following the pre-approved plan using test-driven development (red-green-refactor)
  • Ran the project's full test suite and linter before committing
  • For UI changes: captured live screenshots to verify rendering
  • For backend changes: verified with example API/CLI output

rtibblesbot avatar Apr 21 '26 18:04 rtibblesbot