[pdf-viewer] Sidebar with page thumbnails
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 12/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- javascript
- Ambito
- accessibility, frontend, performance
Direzione di ricerca
The payload names no source files or tests, so start from the requirement checklist and the open questions, which need a design decision before code. Use the vcf-pdf-viewer demos (thumbnails open and thumbnails listener) as reference for the expected behaviour. Done means each checklist item works, the sidebar is keyboard and screen-reader accessible, and the PR records memory and time-to-first-thumbnail for a 500-page document.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Motivation
Part of #7669
Part of vaadin/platform#9815
As a user of a long document, I want small images of the pages, so that one click takes me to the page I need.
Supported by vcf-pdf-viewer add-on: thumnbails open, thumbnails listener.
Requirements
- Toolbar button shows and hides the sidebar.
-
sidebarOpenedboolean property,notify: truefiressidebar-opened-changed. -
sidebarButtonHiddenproperty to toggle the sidebar button visibility. - The sidebar shows one thumbnail for each page, at the start side of the pages.
- The thumbnail of the current page is marked and stays in view.
- Click, Enter or Space on a thumbnail goes to its page.
- The thumbnails have one tab stop. Arrow keys, Home and End move between them.
- Focus moves to the sidebar button when the sidebar closes or a new document loads.
- Only thumbnails near the visible part of the list render. A thumbnail out of view frees its canvas and its pdf.js page data.
- The PR records memory and the time to the first thumbnail for a document with 500 pages.
- VoiceOver, NVDA, JAWS read each thumbnail as "Page N" and announce which one is current.
-
i18nhas the textssidebar,thumbnailsandthumbnailLabel(optional - can usepageLabel)
Out of scope
Related requests to be reported in follow-up issues:
- The outline and the sidebar shown as overlay over the pages of a narrow viewer.
- The page announcement after user activates a thumbnail via
announce().
Open questions
- Is one DOM element for each page fine, or do long documents need a virtual list?
- Do thumbnails share the render queue of the pages, or keep their own loop at a lower priority?
- Does Flow need an event when the user picks a thumbnail?
- Add-on uses
addThumbnailClickedListener()
- Add-on uses
- Lingua principale
- JavaScript
- Stelle
- 585
- Fork
- 105
- Merge medio
- 12h 51m
- PR unite (30g)
- 231
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un 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 vaadin/web-components
-
bug DX Impact: Low Severity: Major vaadin-date-picker
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
vaadin/web-components#12605 · 2 commenti · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
bug Impact: High requires new major Severity: Minor v26 vaadin-grid
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
vaadin/web-components#12486 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
documentation internal vaadin-upload
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
vaadin/web-components#12114 ·
I maintainer di solito rispondono entro 1 giorno
-
a11y aura vaadin-grid
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
vaadin/web-components#11972 ·
I maintainer di solito rispondono entro 1 giorno
-
refactor theme v26 vaadin-context-menu vaadin-overlay
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
vaadin/web-components#11874 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di vaadin/web-components
Issue simili
-
入群码过期Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 84/100
aliyun/ai-agent-handbook#29 · 1 commento ·
-
docs documentation need-triage SaaS
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
apache/cloudstack#14719 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno