API Center Portal - Predefined Choice-based filters broken
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 68/100
Línea de trabajo
Start in the API Center portal through Portal Settings, reproduce the issue with a predefined choice metadata field, and inspect how the filter uses the selected description versus its value. Done means the filter shows both value and description distinctly, displays the selected value, and returns assets matching that value.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Description
When exposing custom metadata fields (specifically predefined choices) to the portal, descriptions are used as values instead of values themselves. Selecting the option appears to filter by the description and will not find any results
I have at least one test API where "None" is selected, but selecting the equivalent description in the filter yeilds no results:
Reproduction steps
Steps to reproduce the behavior:
- Create a custom predefined choice metadata field
- Make sure one or more assets have the field populated with an expected value
- Make sure the metadata item is exposed in portal under "Portal Settings" tab
- Open portal, and attempt to filter on the metadata definition
Expected behavior
- Value and description are shown for selection in the filter so there's clarity in what's being selected (e.g. value is in bold, or description is smaller text size, something to make them visually distinct)
- On selecting a filter item the value is shown in the portal, and the assets are correctly filtered
Actual behavior
- Only descriptions of items are displayed, no values
- Resulting search appears to be looking for the value to be equal to the description (at least visually)
- Filter doesn't show the expected API list
Screenshots
See above
Additional context
N/A
- Lenguaje dominante
- PowerShell
- Estrellas
- 46
- Forks
- 21
- Merge medio
- 21 min
- PR fusionados (30 d)
- 1
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de Azure/api-center
-
Feature request Untriaged
Dificultad 3/5 1-2 días Aptitud para principiantes 52/100
Azure/api-center#96 ·
-
Feature request Untriaged
Dificultad 5/5 Más de una semana Aptitud para principiantes 48/100
Azure/api-center#93 · 1 comentario ·
-
Bug Untriaged
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
Azure/api-center#92 · 1 reacción ·
-
Bug Untriaged
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
Azure/api-center#91 · 1 comentario ·
-
Feature request Untriaged
Dificultad 3/5 1-2 días Aptitud para principiantes 68/100
Azure/api-center#90 · 1 comentario · 1 reacción ·
Todos los issues de Azure/api-center
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
modelcontextprotocol/python-sdk#3648 ·
Los mantenedores suelen responder en 1 día
-
fix: txId branch of the contract-state streams drops every state after the named transactionAbiertobot:ai-assisted status:untriaged
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
midnightntwrk/midnight-js#1424 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Los mantenedores suelen responder en 1 día
-
Claiming namespace `apleno`Abiertonamespace operations
Dificultad 1/5 Menos de una hora Aptitud para principiantes 75/100
EclipseFdn/open-vsx.org#13830 ·
Los mantenedores suelen responder en 1 día
-
Make branch and label autocomplete matching locale-independentPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
jenkinsci/gitlab-plugin#1950 ·