Skip to content

Replace "[AI]" with AI icon in FormTokenField's tokens #618

Description

@faisal-alvi

In #609, we introduced a pop-up for pre post classification purposes, showcasing terms generated by the AI alongside existing ones. To distinguish AI-generated terms, an "[AI]" prefix was added, as illustrated in the screenshot below:

image

Internally, there's a discussion about removing the "[AI]" prefix and replacing it with the default AI icon used elsewhere, such as in the "Classifai" panel within the post sidebar. The FormTokenField component is used to display terms, seems like it doesn't provide support to add icons to specific terms. To address this, customization or overwriting of the component may be required but better suggestions are welcome.

image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions