Flagsmith / Flagsmith/flagsmith

UX Audit - Improve the trait input field when creating segment definitions

Open
#343 8 comments 0 reactions 2 assignees Assigned to @matthewelwell View on GitHub
api feature improvement
Dominant language
Python
Stars
6.6k
Forks
567
Avg merge
1d 13h
Merged PRs (30d)
121

Description

The trait field:

![image](https://user-images.githubusercontent.com/173290/134345741-29f0a6ad-f27e-435d-b3f1-5bc0469dda86.png)

Should be better/more intelligent. It should be a combined autocomplete/dropdown/free text element.

## Populating the drop down

With the global API this is going to be tricky as we don't store a canonical list of trait keys. A 99% solution would be to grab ~50 identities at random and create a list of distinct trait keys from that data. This would be a significant improvement over the current implementation.

We would need to create an API endpoint to return this list.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.