Pin a legend or shape group to the editor viewport

Aperta
#5,847 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
javascript
Ambito
design, frontend

Direzione di ricerca

Start by locating the editor’s viewport and selection handling, then trace how shapes and groups are positioned and scaled during pan and zoom. The issue names no files or tests, so first identify the relevant entry points and existing ways to keep content visible. Done means a selected shape or group can be pinned at a chosen viewport position and fixed screen size, then unpinned.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement

Problem
When navigating a large diagram, the legend moves off-screen as I pan or zoom. I have to return to the legend to check what a color or symbol means, then find my place again.

Requested enhancement
Add a “Pin to viewport” option for a selected shape or group. For example, I could pin a legend to the upper-right corner of the editor and keep it readable at a fixed on-screen size while I pan or zoom. An Unpin action would dismiss the view.

Alternatives considered
Locking the legend prevents accidental edits, but the legend still moves with the canvas. A Scratchpad copy can stay in the sidebar, but the preview may be too small to read.

I searched the issue tracker for matching feature requests and found no duplicate.

Lingua principale
JavaScript
Stelle
9.4k
Fork
1.4k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di jgraph/drawio

Tutte le issue di jgraph/drawio

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.