Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta
#8,608 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
45/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
javascript
Ambito
frontend, web-dev

Direzione di ricerca

Inizia individuando l’anteprima PDF incorporata e la relativa integrazione del visualizzatore PDF.js nel frontend JavaScript. Confronta l’anteprima attuale di dimensioni fisse con gli screenshot forniti, quindi determina come devono funzionare il ridimensionamento, l’assenza dei controlli del visualizzatore e del pannello laterale e l’apertura del documento in un’altra scheda. Il lavoro è completato quando l’anteprima offre le opzioni di visualizzazione richieste senza oscurare il documento.

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

Descrizione

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
Lingua principale
JavaScript
Stelle
665
Fork
133
Merge medio
1g 17h
PR unite (30g)
172

Preparare l'ambiente

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 nextcloud/text

Tutte le issue di nextcloud/text

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.