featurevisor / featurevisor

Feature flags, experiments, and remote config management with GitOps

Home Page:https://featurevisor.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Site: rules section toggle with single segment as string is wrongly rendered

pawdat opened this issue · comments

When toggle have segments defined directly as a segment string for ex:

description: toggle description

tags:
  - someTag

bucketBy: userId

environments:
  staging:
    rules:
      - key: "0"
        segments: SegmentName
        percentage: 0

  production:
    rules:
      - key: "0"
        segments: "*"
        percentage: 0

rules section on Featurevisor site will report that rule as bellow:
image

It looks like the handling for string as a segment value is not there.