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

fix: fewer version warnings #26942

Merged
merged 3 commits into from
Dec 17, 2024
Merged

fix: fewer version warnings #26942

merged 3 commits into from
Dec 17, 2024

Conversation

pauldambra
Copy link
Member

a few users have reported that the version warning banner is tiring not helpful, because we release so much

and anecdotally, folk are opening tickets in support despite seeing that banner, so let's show it to people less often

@pauldambra pauldambra requested a review from a team December 16, 2024 15:32
Copy link
Contributor

github-actions bot commented Dec 16, 2024

Size Change: 0 B

Total Size: 1.11 MB

ℹ️ View Unchanged
Filename Size
frontend/dist/toolbar.js 1.11 MB

compressed-size-action

@pauldambra pauldambra enabled auto-merge (squash) December 16, 2024 18:55
Copy link
Contributor

@ioannisj ioannisj left a comment

Choose a reason for hiding this comment

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

Just a minor question

@@ -188,18 +189,14 @@ export const versionCheckerLogic = kea<versionCheckerLogicType>([
}

let level: 'warning' | 'info' | 'error' | undefined
if (diff.kind === 'major' || numVersionsBehind >= 20) {
if (diff.kind === 'major') {
level = 'info' // it is desirable to be on the latest major version, but not critical
Copy link
Contributor

Choose a reason for hiding this comment

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

I may be missing some context here, but isn't being a major version behind critical?

Copy link
Member Author

Choose a reason for hiding this comment

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

i think not until we start deprecating the old versions... i guess we're very unlikely to increment a major version in web sdk... although more likely in mobile. easy to change if we figure out a better setup :)

@pauldambra pauldambra merged commit 4e1e418 into master Dec 17, 2024
96 checks passed
@pauldambra pauldambra deleted the fix/fewer-warnings branch December 17, 2024 08:27
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.

2 participants