Improve ImageZoom target selection, dragging behaviour and selection frame styling
I maintainer di solito rispondono entro 7 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 52/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Tranquilla
- Stack tecnologico
- typescript
- Ambito
- frontend
Direzione di ricerca
Inizia dal componente ImageZoom e ispeziona la logica esistente di selezione del target, interazione con il mouse e stile del riquadro di selezione. Verifica che i clic e il trascinamento tenendo premuto il pulsante all’interno del riquadro riposizionino continuamente il target e che il riquadro utilizzi un colore neutro senza modificare l’interfaccia.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- TypeScript
- Stelle
- 9
- Fork
- 3
- Merge medio
- 8g 6h
- PR unite (30g)
- 28
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di DiamondLightSource/sci-react-ui
-
needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
DiamondLightSource/sci-react-ui#325 · 1 commento ·
I maintainer di solito rispondono entro 7 giorni
-
accepted
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
DiamondLightSource/sci-react-ui#283 ·
I maintainer di solito rispondono entro 7 giorni
-
needs-triage
Difficoltà 3/5 1-2 giorni Idoneità per principianti 65/100
DiamondLightSource/sci-react-ui#334 ·
I maintainer di solito rispondono entro 7 giorni
-
needs-triage
Difficoltà 5/5 Più di una settimana Idoneità per principianti 38/100
DiamondLightSource/sci-react-ui#332 ·
I maintainer di solito rispondono entro 7 giorni
-
needs-triage
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
DiamondLightSource/sci-react-ui#331 ·
I maintainer di solito rispondono entro 7 giorni
Tutte le issue di DiamondLightSource/sci-react-ui
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
I maintainer di solito rispondono entro 1 giorno
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:other issue-rating: 🦞 diamond lobster no-stale P2
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
openclaw/openclaw#168089 · 2 commenti · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
✨ enhancement needs-discussion
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
-
[Bug]: [MCP/CLI] Bare loopback IP addresses (127.0.0.1:port) and hosts with ports fail to navigate due to erroneous scheme inferenceForse già presa @alok-108 l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
microsoft/playwright#43263 ·
I maintainer di solito rispondono entro 1 giorno
-
area:studio type:security
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno