Skip to content

Add version_check_enabled config to skip version.js in UI#986

Open
pkrisko wants to merge 1 commit intoflippercloud:mainfrom
pkrisko:feat/add-version-check-enabled-config
Open

Add version_check_enabled config to skip version.js in UI#986
pkrisko wants to merge 1 commit intoflippercloud:mainfrom
pkrisko:feat/add-version-check-enabled-config

Conversation

@pkrisko
Copy link

@pkrisko pkrisko commented Mar 18, 2026

Summary

  • Adds version_check_enabled config option to Flipper::UI (default: true)
  • When set to false, skips loading version.js and removes the new-version badge from the layout

Background and Motivation

Use case outlined in Issue #985 : Useful when a strict Content Security Policy blocks connect-src to flippercloud.io, which causes browser console errors or triggers CSP reporting

Usage

Flipper::UI.configure do |config|
  config.version_check_enabled = false
end

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