Skip to content

Launch custom code - #1152

Open
lylo wants to merge 3 commits into
mainfrom
launch-custom-code
Open

Launch custom code#1152
lylo wants to merge 3 commits into
mainfrom
launch-custom-code

Conversation

@lylo

@lylo lylo commented Aug 4, 2026

Copy link
Copy Markdown
Owner

Removes the feature toggle from #1146, so head and body code are available to every subscriber rather than to flagged users only.

  • config/features.rb: the custom_code flag is gone
  • Settings: the Scripts section is no longer conditional, and custom_code_editable? is inlined into custom_code_params now that it only checks the subscription
  • Marketing: the custom code rows on the home page, the five comparison pages, and llms.txt are unconditional
  • Tests: drops the flag from the joel fixture and removes the "without the feature flag" case, which no longer has anything to assert

Behaviour change: every subscriber gets head and body code, and the feature is advertised publicly. Nothing else moves – free and trial users are still limited to Custom CSS and the footer.

Deploy note: llms.txt and the comparison pages are page-cached and their output changes here, so this deploy needs rails cache:expire_static_pages, plus a Cloudflare purge for /.

Based on #1146 – merge that first.

Removes the feature toggle, so head and body code are available to every
subscriber and the feature appears on the marketing pages.
@lylo
lylo changed the base branch from custom-code to main August 5, 2026 06:23
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