[pdf-viewer] Sidebar with page thumbnails
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 12/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- javascript
- Área
- accessibility, frontend, performance
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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
- Lenguaje dominante
- JavaScript
- Estrellas
- 585
- Forks
- 105
- Merge medio
- 12 h 51 min
- PR fusionados (30 d)
- 231
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una 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 vaadin/web-components
-
bug DX Impact: Low Severity: Major vaadin-date-picker
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
vaadin/web-components#12605 · 2 comentarios · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
bug Impact: High requires new major Severity: Minor v26 vaadin-grid
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
vaadin/web-components#12486 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
documentation internal vaadin-upload
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
vaadin/web-components#12114 ·
Los mantenedores suelen responder en 1 día
-
a11y aura vaadin-grid
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
vaadin/web-components#11972 ·
Los mantenedores suelen responder en 1 día
-
refactor theme v26 vaadin-context-menu vaadin-overlay
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
vaadin/web-components#11874 ·
Los mantenedores suelen responder en 1 día
Todos los issues de vaadin/web-components
Issues similares
-
accepted enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
Bug: Unused media visibility check and missing useMemo dependencies cause stale/invalid actions in MessageToolbox.jsPosiblemente ocupada @yashsarvaiya45 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
RocketChat/EmbeddedChat#1437 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día