Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Optimize PDF preview (bigger / scalable / hidden menu bar)

Abierto
#8,608 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
45/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Tranquilo
Stack tecnológico
javascript
Área
frontend, web-dev

Línea de trabajo

Comienza localizando la vista previa de PDF integrada y su integración del visor PDF.js en el frontend de JavaScript. Compara la vista previa actual de tamaño fijo con las capturas de pantalla proporcionadas y determina después cómo deben funcionar el redimensionamiento, la ocultación de los controles del visor y del panel lateral, y la apertura del documento en otra pestaña. La tarea estará terminada cuando la vista previa ofrezca las opciones de visualización solicitadas sin ocultar el documento.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

enhancement

Is your feature request related to a problem? Please describe.
The preview for embedded PDF files is still very limited and the size of the preview-window is fixed. It's not possible to see the whole page of a Document in a reasonable size. Also the menu of the PDF.js viewer and the miniature side-panel (which is on by default) take a lot of valuable page/screen space. This essentially limits the preview to a hint of what's inside the document, forcing the user to scroll a lot. Also, the button to open the document in another tab to have a better view is hard to find.

Default view
Image

"full width editor" and hidden miniature-view
Image

Describe the solution you'd like
I think it would make a lot of sense to provide options to:

  • scale the size of the PDF preview by dragging a corner with the mouse
  • optionally remove or hide the top menu bar of the PDF.js viewer (is that possible?)
  • open in another tab

Example: OneNote
In OneNote there is a very nice function, when you drag a PDF into a page, that lets you insert a "print" of the page. The view of the document then has zero border, menu, or anything distracting you from the actual page content:

Image
Lenguaje dominante
JavaScript
Estrellas
665
Forks
133
Merge medio
1 d 17 h
PR fusionados (30 d)
172

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de nextcloud/text

Todos los issues de nextcloud/text

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.