Hover behavior is inconsistent between diagnostics and docs
- Lenguaje dominante
- Haskell
- Estrellas
- 1.3k
- Forks
- 201
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
There are two kinds of hover popups that are shown: (a) doc-on-hover for known symbols, and (b) error highlights. The two don't act the same. Error highlight popups follow the mouse pointer, but doc popups are positioned relative to the span being hovered on. These should act the same way. I prefer the doc behavior, where the popup is placed relative to the span, not the mouse pointer.
Not a big deal, but the inconsistency is not great for user experience.
@nixorn You implemented these, so if you've got time, this might be easier for you to fix than me.
Guía de contribución
Línea de trabajo
Localiza las implementaciones de los popups de doc-on-hover y error-highlight, y compara cómo determina cada una la posición del popup. Haz que los popups de error-highlight usen el comportamiento span-relative descrito para los popups de documentación, y verifica manualmente que ambos tipos de popup se comporten de forma coherente.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- haskell
- Área
- frontend
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100