Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore/message system catalina deprecation #16741

Draft
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

Lemonexe
Copy link
Contributor

@Lemonexe Lemonexe commented Jan 30, 2025

Description

Add message to warn Catalina users that they mustn't update their Suite to 25.3.x, as it'll probably stop working.

Although message-system does not yet support desktopOsVersion (from nodeJS, added in #15789), this is fine, because the issue was, that osVersion can't distinguish Big Sur and those above. So targetting Catalina and below can be done just with the userAgent osVersion 🙂

🚧 WIP test locally

  • yarn workspace @suite-common/message-system sign-config
  • yarn suite:dev
  • you shouldn't see the banner
  • in browser console, prepare the following line (but don't execute yet): window.OS_DEBUG_OVERRIDE = '10.15.1'
  • reload & enter the command without delay
  • see very mean banner 😮
  • do the same with window.OS_DEBUG_OVERRIDE = '10.16.1' and it'll be clear 👍

Related Issue

Resolve #16693

Screenshots:

How very mean! 😣 💔
Screenshot from 2025-01-30 21-24-41

@Lemonexe
Copy link
Contributor Author

@coderabbitai ignore

Copy link

coderabbitai bot commented Jan 30, 2025

✅ Actions performed

Reviews paused.

@trezor trezor deleted a comment from coderabbitai bot Jan 30, 2025
"conditions": [
{
"os": {
"macos": "<10.16.0",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should theoretically be correct, but it must be verified.
I guess that osVersion is using the first column in https://en.wikipedia.org/wiki/MacOS_version_history#Releases

So 10.15.x and below is what we want to target. Idk if Big Sur is 11 or 10.16, but it should work nevertheless.

This needs to be confirmed!

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.

Display deprecation message for macOS Catalina and earlier
1 participant