Allow ReactiveList to optionally render a sort label when using sortOptions
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Necesita aclaración
- Estado de actividad
- Estancado
- Stack tecnológico
- javascript, react
- Área
- frontend
Línea de trabajo
Comienza localizando la implementación de ReactiveList de sortOptions y renderSortOptions, y luego compara su prop renderResultStats y el comportamiento de innerClass. Determina si el label debe usar un render prop personalizado o una opción showSortLabel predeterminada, y define el comportamiento de renderizado esperado antes de revisar las pruebas relevantes de React.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Affected Projects
React
Is your feature request related to a problem? Please describe.
In our current application we make use of the ReactiveList sorting however this only produces the select dropdown and has no way to tap into the render process to add a custom label (i.e. Material UI Typography) named "Sort By".
Describe the solution you'd like
A few options would work. Simple option is to add a renderSortLabel prop which render the custom label and this is then referenced in the renderSortOptions function and if set renders the label before the select.
Or have a prop named showSortLabel that renders a default "Sort By" label.
Alternative option could be to replicate that of the renderResultStats function where a custom render function is passed in as a prop and would handles the complete generation of the sort although this does is make it a lot more complex due to the handleSortChange handler.
Describe alternatives you've considered
Will start looking the innerClass to see if it is possible to tap into the sortOptions this and use the ::before pseudo-element.
Additional context
- Lenguaje dominante
- JavaScript
- Estrellas
- 4.9k
- Forks
- 479
- Merge medio
- 4 d 10 h
- PR fusionados (30 d)
- 4
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
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 appbaseio/reactivesearch
-
ci: add Node.js version matrix, caching, and lint step to test workflowPosiblemente ocupada @Talha12Shiekh la tomó hace 70 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
appbaseio/reactivesearch#2322 ·
Los mantenedores suelen responder en 1 día
-
chore: add Dependabot config for automated dependency updatesPosiblemente ocupada @Talha12Shiekh la tomó hace 70 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
appbaseio/reactivesearch#2321 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
security: user-controlled URL params injected directly into Redux store via JSON.parsePosiblemente ocupada @Talha12Shiekh la tomó hace 70 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
appbaseio/reactivesearch#2319 ·
Los mantenedores suelen responder en 1 día
-
refactor: consolidate 12 near-identical SVG icon components into one patternPosiblemente ocupada @Talha12Shiekh la tomó hace 72 días. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
appbaseio/reactivesearch#2324 ·
Los mantenedores suelen responder en 1 día
-
refactor: SearchBox.js is 2692 lines — extract subcomponents for maintainabilityPosiblemente ocupada @Talha12Shiekh la tomó hace 70 días. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 55/100
appbaseio/reactivesearch#2323 ·
Los mantenedores suelen responder en 1 día
Todos los issues de appbaseio/reactivesearch
Issues similares
-
Remove: Fox Deportes SDAbiertocheck:passed feeds:remove
Dificultad 1/5 Menos de una hora Aptitud para principiantes 65/100
iptv-org/database#37176 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 9 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
hawk-digital-environments/HAWKI#443 ·
Los mantenedores suelen responder en 1 día
-
documentation v2
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
modelcontextprotocol/python-sdk#3662 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día
-
feedback simulation workshop
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
githubnext/gh-aw-workshop#4370 ·
Los mantenedores suelen responder en 1 día