wip: improve search highlight experience
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- git, typescript
- Área
- developer-experience, search
Línea de trabajo
Start by reading the existing diff and context-plugin code, then inspect how whiteboard’s data model represents regions and evidence; the issue does not name specific files or tests. The proposal spans a new diffr search command, diff caching, and whiteboard integration, so clarify the interface and scope before taking it on. Done means highlighted regions can be surfaced in code peeks and diff lenses, with the surrounding diff folded appropriately.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
We need support for actual highlights within regions in both code peeks + diff lenses. Example - you might imagine that the model may only want to show you lines 22-28 of this, but you're forced to see the whole thing:
In the sense that a model is going to select a region of code to show you - it may not be the entire diff. But showing only those lines is sad because you lose context for the surrounding code (which is sad as you start to get a feeling for the system).
A tentative approach:
-
a 'diffr search' subcommand that:
- takes in 'git grep' shaped input (commit:fileName:lineNo: text)
- joins that with diffr-computed diffs
- runs the context plugin to only show the region highlighted (within the context of the larger diff)
- i'd imagine you'd only want to show the highlighted region at first, but should treat e.g. a highlighted region within a changed region as ok.
-
some wiring into whiteboard so that the data model accepts this
- i think the mcp structure for "give me a region to show within a diff" is also a bit weird.
- right now the model needs to give you precise line numbers etc.
- instead, you could imagine the model could run:
git grep <pattern> | diffr searchand pipe that into whiteboard as evidence- diffr search returns a list of hits (so we can work in a decision model somehow)
-
other notes: computing diffs is expensive / slow. so i thought we could read cached diffs from
.cache/diffror something like that (the XDG standard or whatever) -
internally, i broke up search into 'hydrate' -> 'postprocess' to resemble a normal search pipeline. this would let us insert e.g. jev/openai decisions at parts in the pipeline to filter results if we wanted to !
- Lenguaje dominante
- TypeScript
- Estrellas
- 2.9k
- Forks
- 145
- Merge medio
- 16 h 28 min
- PR fusionados (30 d)
- 553
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 devdotfast/whiteboard
-
Privacy page missingPosiblemente ocupada @sidkmenon la tomó hace 17 días. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
devdotfast/whiteboard#1091 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Feature request: wider tablesAbierto
Dificultad 3/5 Medio día Aptitud para principiantes 42/100
devdotfast/whiteboard#1429 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Native BYOK support for visual reviews and Ask without an external coding agentPosiblemente ocupada @thesiti92 la tomó hace 11 días. Abierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
devdotfast/whiteboard#1218 · 2 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Add Kotlin as an optional language group in Whiteboard DesktopPosiblemente ocupada @sidkmenon la tomó hace 15 días. Abierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
devdotfast/whiteboard#1092 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Feature request: Github CommentsAbierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
devdotfast/whiteboard#1090 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de devdotfast/whiteboard
Issues similares
-
bug ready-for-agent
Dificultad 2/5 1-3 horas Aptitud para principiantes 73/100
PhyberApex/kuroshiro#1687 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 73/100
microsoft/monaco-editor#5563 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 86/100
awslabs/visual-asset-management-system#937 ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100