Mobile/Projects/PDF.js support: Difference between revisions

m
Line 17: Line 17:


== User stories ==
== User stories ==
{{Note|Initial draft only - to be reviewed with UX since they've been thinking about how this needs to change for mobile more than I have}}
See designs here: {{Bug|938235}}.
* As a user, I want Firefox for Android to download and display any PDF documents I open while on the Web so I do not have to use a third-party app.
* As a user, I want to be able to save a PDF document that is open in Firefox, so I can view them again later, even if I am offline.
* As a user, I want to be able to share a PDF document that is open in Firefox using the standard Android sharing system.
* As a user, I want to be able to print a PDF document that is open in Firefox via an existing printer that I have previously set up to work with my device.
* As a user, I want to be able to zoom/unzoom pages and images in a PDF document that is open in Firefox, so I'm better able to see the image content.
* As a user, I want panning and scrolling in a PDF document that is open in Firefox to be smooth so it's easier for my eye to track my current location while moving the page around.
* As a user, I want to be able to send a PDF document that is open in Firefox to another app on my device, in case Firefox doesn't seem to be displaying it properly.
* As a user, I want the option of "paging down" and "paging up" within a PDF document that is open in Firefox, but I want the "pages" to be displayed screens, not the actual pages in the PDF document.
* As a user, I want the option of using my volume up/down button for "paging up" and "paging down" within a PDF document that is open in Firefox for Android, so I don't have to use the touchscreen and end up blocking content with my finger.
* As a user, I want a way to quickly change the zoom level for a PDF document in Firefox, including:
** Automatic zoom
** Actual size (??)
** Page fit
** Page width
** 50%
** 75%
** 100%
** 125%
** 150%
** 200%
* As a user, I want to be able to quickly see what page I'm on in a PDF document open in Firefox.
* As a user, I want the option of showing a list of thumbnails of pages or a text-based list of pages for the PDF document open in Firefox, and I want to be able to use that list to navigate quickly between parts of the document.  I want this list to be smart and able to auto-hide itself if I'm in portrait mode, but have the option of pinning it open if I'm in landscape mode.
* As a user, I expect my back button and tab closing to work as normal when displaying a PDF document in Firefox.
* As a user, I would like the option of displaying PDF documents in Firefox in "night mode" (light text on a dark background).
* As a user, I would like the option of having the display of PDF documents in Firefox automatically switch between "day mode" and "night mode" based on the ambient light in the room/space I am in (like our readability mode).
* As a user, I would like tap-to-zoom to also work on PDF documents displayed in Firefox, so I can just use my known Firefox behaviours to tap-to-zoom PDF documents in my browser.
* As a user, I expect "find in page" to work as normal in PDF documents displayed in Firefox, so I can just use my known Firefox behaviours to search PDF documents in my browser.
 
* ''Possible?'': As a user, I want the option of having text reflow to fit the view screen when zooming/unzooming so I don't have to pan across and back to see full lines.


== UX design ==
== UX design ==
canmove, Confirmed users, Bureaucrats and Sysops emeriti
6,906

edits