Improve ImageZoom target selection, dragging behaviour and selection frame styling
Los mantenedores suelen responder en 2 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 52/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Tranquilo
- Stack tecnológico
- typescript
- Área
- frontend
Línea de trabajo
Comienza por el componente ImageZoom e inspecciona la lógica existente de selección del objetivo, interacción con el ratón y estilo del marco de selección. Verifica que los clics y el arrastre manteniendo pulsado el botón dentro del marco reposicionen el objetivo continuamente, y que el marco use un color neutro sin cambiar la interfaz.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Change Proposal: Improve ImageZoom target selection, dragging behaviour, and selection frame styling
What is being proposed?
Update ImageZoom so the zoom target can be changed by clicking anywhere inside the selected frame, updated continuously while dragging the mouse (clicking and moving with the mouse button held down), and displayed using a more neutral selection frame colour.
Why is this needed?
Currently, when the user clicks inside the selected frame but on a different point, the zoom target does not update.
To select a nearby point, the user has to click outside the box first, then click the desired spot. This makes precise zoom targeting feel awkward and less intuitive.
The current behaviour is also limiting when the user wants to refine the zoom target by dragging. Once a frame is selected, moving the mouse while holding the button down does not continuously reposition the target, making it harder to quickly explore nearby areas and find the exact point of interest.
For clarity, this proposal refers specifically to dragging (click-and-move), not simply moving the mouse cursor over the image.
In addition, the current red selection frame may imply an error, warning, or invalid state. Since the frame represents a normal interaction state, a more neutral colour would better align with common UI expectations and reduce unnecessary visual emphasis.
What will change?
Behaviour:
- The zoom target should update when the user clicks a new point inside the current frame
- The zoom target should update continuously while the user drags the mouse within the frame (with the mouse button held down)
Visuals:
- Replace the current red selection frame with a more neutral colour.
- The current red styling may imply an error or warning state, whereas the selection frame represents a normal interaction state.
- A neutral colour would better align with common UI expectations and reduce unnecessary visual emphasis.
Interface changes (if any)
No interface changes are expected.
Breaking change?
- Yes
- No
Next steps
A maintainer will review this issue.
If accepted, it will be marked as accepted and a PR may then be opened.
- Lenguaje dominante
- TypeScript
- Estrellas
- 9
- Forks
- 3
- Merge medio
- 6 d 7 h
- PR fusionados (30 d)
- 20
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Sin Dockerfile ni archivo de Docker Compose
- Sin 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 DiamondLightSource/sci-react-ui
-
needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
DiamondLightSource/sci-react-ui#325 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
accepted
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
DiamondLightSource/sci-react-ui#283 ·
Los mantenedores suelen responder en 2 días
-
needs-triage
Dificultad 3/5 1-2 días Aptitud para principiantes 65/100
DiamondLightSource/sci-react-ui#334 ·
Los mantenedores suelen responder en 2 días
-
needs-triage
Dificultad 5/5 Más de una semana Aptitud para principiantes 38/100
DiamondLightSource/sci-react-ui#332 ·
Los mantenedores suelen responder en 2 días
-
needs-triage
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
DiamondLightSource/sci-react-ui#331 ·
Los mantenedores suelen responder en 2 días
Todos los issues de DiamondLightSource/sci-react-ui
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
umbraco/Umbraco-CMS-MCP-Dev#512 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
wimpysworld/sidra#290 ·
Los mantenedores suelen responder en 1 día
-
defuFn invokes function values for inherited default propertiesPosiblemente ocupada @xiehuanyi la tomó hoy. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
-
feature request good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
TabularisDB/tabularis#853 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 Menos de una hora Aptitud para principiantes 85/100
capricorn86/happy-dom#2474 ·
Los mantenedores suelen responder en 2 días