All posts

Launch switches: how to hide a feature without deleting it

Feature flags let you turn parts of your app on and off from an admin screen, with no new release. Here's how business owners can use them to launch calmly, test safely and change their minds.

Close to launch, the same request comes up again and again: "Can we just hide that for now?"

Maybe a feature isn't quite right yet. Maybe it's fine, but you'd rather not support it on day one. Maybe the business has changed its mind about what goes on the pricing page. The old answer was to remove it from the code, release a new version, and put it back later with another release. That's slow, and every release is a chance to break something else.

The better answer is a launch switch.

What a launch switch is

A launch switch is an on/off setting that controls whether part of your app shows. Developers call them feature flags. The feature is still built and still in the code; the switch decides whether people see it.

The important part for a business owner is where the switch lives: on an admin screen you can reach yourself, not buried in the code.

In the weeks before the Equine180 launch, the client asked us to hide a few things for day one, including a second style of report and a data download button. Each became a switch in the Admin Centre, set to off. None of it was deleted, and either can come back with one click and no release. A feature they planned for later went back on screen as a "Coming soon" card, behind its own switch.

Five ways businesses use them

  1. Hide what isn't ready. Launch with the features you're confident in. The rest stays built, behind a switch, until you are.
  2. Soften a feature without removing it. A "Coming soon" card can keep a place for something you plan to offer, without anything to click.
  3. Try it on staff first. Turn a new feature on for admins only, use it for real, then open it to everyone.
  4. Change a business rule on the spot. Whether members can downgrade, whether a region is open for sign-ups, how many members you accept. These are business decisions, so they belong on an admin screen.
  5. Switch off a problem fast. If something misbehaves after launch, turning it off takes seconds. Fixing it can then happen calmly.

The maintenance switch

One switch deserves its own mention. A maintenance switch puts up a friendly full-page message ("We're updating, back in a few minutes") while a new version goes out. The admin screens, sign-in and payments can keep working behind it, so your team can check the new version before anyone else sees it.

Pair it with two habits and releases stop being scary:

  • One person publishes, at a quiet time, and knows how to roll back.
  • Every release is tested before it goes live, so the switch is a safety net, not the plan.

What to watch out for

Switches are cheap to add and easy to forget. A few rules keep them useful:

RuleWhy
Name them plainly"Launch switch: Diet CSV download" tells you exactly what it does. "flag_7" doesn't.
Decide who can flip themAdmins only, and ideally with a record of who changed what and when.
Test both positionsA feature that's switched off must leave the page looking finished, with no gaps or broken links.
Clean upOnce a feature is permanently on (or permanently gone), remove the switch so the code stays simple.

Common questions

Is a launch switch the same as deleting the feature?

No, and that's the point. The feature stays built, tested and ready. Turning it back on is a setting change, not a new project.

Will switched-off features slow the app down?

Not in any way a person would notice. Checking a setting is one of the cheapest things an app does.

Can you add switches to an app that's already live?

Usually, yes. We'd start with the parts of your app you change your mind about most often. If someone else built your app and has moved on, our software maintenance work starts with getting it back under control.

How do we know which features should get a switch?

Ask what you'd want to turn off at short notice: anything new, anything tied to pricing or plans, and anything that depends on an outside service. Tell us about your app and we'll suggest a short list.

Want this looked at for your business?

A short call, no pitch. Tell us how things run today and we'll tell you honestly what's worth doing first.