conda-incubator / conda-store-ui

conda-store-ui is a frontend for conda-store powered by react
https://conda-incubator.github.io/conda-store-ui/
BSD 3-Clause "New" or "Revised" License
13 stars 18 forks source link

[BUG] - UI can't accept or display `*=` syntax #398

Open kcpevey opened 2 months ago

kcpevey commented 2 months ago

Describe the bug

The UI doesn't properly handle the valid syntax:

- libopencv *=headless*

This means any version (first *) with a build string starting with headless

This shows up incorrectly in the UI as: image and image

The only way to use this syntax is via the yaml editor. I don't mind that since its an advanced syntax but the UI looks strange since its splitting the *= characters.

Expected behavior

I expect the UI to look more similar to the way I specified this via yaml

How to Reproduce the problem?

Build an env with:

channels:
  - conda-forge
dependencies:
  - python=3.10
  - libopencv *=headless*

and view the UI.

Output

No response

Versions and dependencies used.

No response

Anything else?

No response