Skip to content

Mobile support  #17

Open
Open

Description

@adamhathcock

This actually seems to work well already on my iPhone. Just need a slightly better UI for it.

I may attempt this myself as I haven’t done much web front end dev

Activity

  1. codedread commented on Feb 17, 2018

    @codedread
    Owner

    That would be great! As far as I had thought, it would be nice to:

    That's about it - everything else seems to work.

  2. barais commented on Mar 26, 2020

    @barais

    Hi,
    Just add support of touch swiping here
    barais@3b4fb9e
    Please tell me if it could be relevant

    Regards

  3. codedread commented on Mar 26, 2020

    @codedread
    Owner

    Hi again - yes, this looks promising. I will take a look tonight. Does it properly work when you rotate the images (swipe down would become "next page" when rotated counter-clockwise)?

  4. codedread commented on Mar 26, 2020

    @codedread
    Owner

    Other things to fix:

    • buttons should not overflow and need to fit
    • probably need to disable rotations in mobile, the device controls that on mobile
    • all buttons need to be tappable (close buttons in reading stack are too small)
    • hide the shortcut key / help screen?
  5. barais commented on Mar 27, 2020

    @barais

    I just keep putting some ideas for the mobile version here
    https://olivier.barais.fr/kthoom/index.html if you want to test.

    • Hidden some buttons in Full Screen Mode
    • Support PWA offline and installable mode through service worker API (useful for chromebook), you can use kthoom as an installable app.
    • support swipe mode (small bug on screeen rotation for swipping to next page in swiping from bottom to top when you are at the end of a page after rotating the screen
    • put the full screen button on top right corner through css

    Do not hesitate to tell me if some feature could be useful, I can try to do clean pull request or do not hesitate to take some part of the code that could be useful in looking the commits.

    Thanks for your great project.

    Regards

  6. codedread commented on Mar 27, 2020

    @codedread
    Owner

    Thanks! Can you create a pull clean request for just the offline part (the service worker)? I looked at your code and tried out your site.

    • It actually fails to load comic books offline because you've missed caching some files (bitjs/archive/unzip.js, bitjs/archive/unrar.js and bitjs/archive/untar.js) which are fetched and invoked as a Web Worker when you try to load a comic book
    • Also, can you change to const/let instead of var?
    • Also, can you use arrow functions where possible?
    • Finally, can you use template strings for printing?

    All the latter three ES features are available in all browsers that support service workers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions