Skip to content
#

variants

Here are 210 public repositories matching this topic...

unleash
romanvog
romanvog commented Aug 30, 2021

Is it possible to add a check if unleash variable is indeed a json, and disable the option of saving it unless it is?
For example, created a variable for a toggle and selected type to be a json, but I've inserted a string instead of a json and was able to save and pull the value.

{'name': 'test', 'payload': {'type': 'json', 'value': 'not a json'}, 'weightType': 'variable', 'enabled': True}

jamesscottbrown
jamesscottbrown commented Feb 2, 2022

The homepage now includes a nice tree showing the relationship between the variants.

It would be nice if a user could click on the circular nodes or text labels to navigate to the corresponding variant page.

This can be easily done by adding a tags within the SVG. However, there are two data-flow challenges:

cva
joe-bell
joe-bell commented Feb 1, 2022

Is your feature request related to a problem? Please describe.
It's all well and good recommending uses for cva but it would be reassuring to know these examples actually work 🥴
e.g. for React, Vue and Svelte.

Describe the solution you'd like
Expanding existing tests

Additional context
I did set out to include tests, but got put off by the amount of setup needed to run tes

Improve this page

Add a description, image, and links to the variants topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the variants topic, visit your repo's landing page and select "manage topics."

Learn more