influxdata / influxdata/influxdb

Migrate feature flags to the backend

Open
#18,125 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

kind/feature-request team/ui
Dominant language
Rust
Stars
31.7k
Forks
3.7k
Avg merge
13h 37m
Merged PRs (30d)
8

Description

We currently have a lot of feature flags that exist only in the browser, meaning our fellow engineers on the backend only have a small glimpse into what's possible with the product. These are all defined here:
https://github.com/influxdata/influxdb/blob/master/ui/src/shared/selectors/flags.ts

the more of the OSS flags we move here:
https://github.com/influxdata/influxdb/blob/master/flags.yml

and Cloud flags we move here:
https://github.com/influxdata/idpe/blob/master/flags.yml

the better we can share functionality and unify logging across our services.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inventorying the browser-only flags in ui/src/shared/selectors/flags.ts, then compare them with flags.yml in influxdb and the linked Cloud flags.yml. Determine which OSS and Cloud flags belong in the backend locations and how the shared logging goal applies. Done means the applicable flags are represented in the backend configuration and functionality is shared across services.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
backend, frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.