Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mobile viewer #11

Open
thesamovar opened this issue Apr 26, 2021 · 4 comments
Open

mobile viewer #11

thesamovar opened this issue Apr 26, 2021 · 4 comments

Comments

@thesamovar
Copy link
Owner

How easy is it to make an html/js/css app into an Android/iOS app? I'm thinking a pdf viewer built from pdf.js that has some of the capabilities of this built into it.

@rorybyrne
Copy link
Collaborator

React has a sister-library React Native for the creation of Android/iOS apps. I haven't used it though (or done any mobile app development really).

I think it sounds reasonable to isolate some of this project's codebase so that it can be re-used in a mobile app project.

@thesamovar
Copy link
Owner Author

The way I see it working on mobile is that each time you click on a link, it creates a new view stacked to the right and moves to it. You can swipe left to go back to your previous view, or right to go forward to the last clicked point in the stack. Clicking a new item removes everything to the right in the stack.

This might also work for desktop actually as an alternative approach.

@rorybyrne
Copy link
Collaborator

rorybyrne commented Apr 26, 2021

The idea of a carousel that slides left-and-right is common, even in the regular HTML/JS/CSS world.

It might make more sense to build this as a mobile-designed ("responsive") website, rather than a native mobile app. It would be faster to build and easier to distribute as well ("go to this link", rather than "install this app"). It's surprisingly difficult to convince people to install a new app, esp. because many people have literally no disk space left on their phone to install anything.

In-fact, this could just be the mobile version of the current 3-panel desktop website right?

@thesamovar
Copy link
Owner Author

Yes, that makes sense. I think the interaction should be slightly different on mobile compared to desktop because on mobile you'd want to only see one bit of information at one time, but make it very easy (swipe) to flip back and forth. On desktop you'd want to show both at the same time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants