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 Patch [Outdated] #240

Closed
wants to merge 11 commits into from
Closed

Mobile Patch [Outdated] #240

wants to merge 11 commits into from

Conversation

0ip
Copy link
Member

@0ip 0ip commented Nov 26, 2011

This patch modifies ep-lite as shown in the pictures below, in order to get full mobile support.
Tested on iOS 3, Android (SDK) 2.3 and 4.0. See Comparison
Note Modified Icons not included.

@0ip
Copy link
Member Author

0ip commented Nov 26, 2011

  • wider buttons
  • flexible dialogs

@markreg
Copy link

markreg commented Nov 26, 2011

Is there something for IOS on the iPhone? :D This is exciting.

@0ip
Copy link
Member Author

0ip commented Nov 26, 2011

Thanks.
Even my old iPod touch 1G (iOS 3.1) displays it almost* correct. So, it will look the same as on Android or even better on modern iPhones. :)

* rounded corners, gradients

@Pita
Copy link
Contributor

Pita commented Nov 27, 2011

Maybe we should remove the bar at the bottom(and all the buttons on it) + chat. They take to much space imho

@Pita
Copy link
Contributor

Pita commented Nov 27, 2011

//cc @johnyma22

@JohnMcLear
Copy link
Member

0ip still working on this FYI, we decided to group buttons etc.

@markreg
Copy link

markreg commented Nov 28, 2011

For some reason I can't get my iPhone to type in the mobile etherpad-lite.

@0ip
Copy link
Member Author

0ip commented Nov 28, 2011

Are you sure that you're either on "pad.factor.cc" or "factor.cc/pad" ?
Atm, only I have this patch applied.

@markreg
Copy link

markreg commented Nov 28, 2011

Yeah, I'm on pad.factor.cc and when I create a new pad I can highlight and cut/delete the existing text but the iPhone's keyboard is not invoked to allow me to actually type into the pad. i suspect this has to do with the crappy MobileSafari support for the pad. I'm on ios 4.3.3. I think Apple made quite a few changes to MobileSafari in ios 5 that increases support for many commonplace HTML 5 standards.

@JohnMcLear
Copy link
Member

Yes you need to have the latest iOS version. iOS5+

-----Original Message-----
From: markreg [mailto:[email protected]]
Sent: 28 November 2011 16:49
To: John McLear
Subject: Re: [etherpad-lite] Mobile Patch (#240)

Yeah, I'm on pad.factor.cc and when I create a new pad I can highlight and cut/delete the existing text but the iPhone's keyboard is not invoked to allow me to actually type into the pad. i suspect this has to do with the crappy MobileSafari support for the pad. I'm on ios 4.3.3. I think Apple made quite a few changes to MobileSafari in ios 5 that increases support for many commonplace HTML 5 standards.


Reply to this email directly or view it on GitHub:
https://github.com/Pita/etherpad-lite/pull/240#issuecomment-2901038
This email and its attachments may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of the organisation from which this email originated. If you are not the intended recipient of this email and its attachments, you must take no action based upon them, nor must you copy or show them to anyone. Please contact the sender if you believe you have received this email in error. This email was sent by School Email - Safe Webmail and Hosted Email for Schools

@markreg
Copy link

markreg commented Nov 28, 2011

This seems interesting for possibly solving this problem: http://www.quora.com/Mobile-Safari-iPhone-or-iPad-with-JavaScript-how-can-I-launch-the-on-screen-keyboard

PS: I'm typing into github through MobileSafari.

@0ip
Copy link
Member Author

0ip commented Nov 28, 2011

Yeah, GitHub uses inputs or textfields. Every phone can type through these elements.
But synchronisation using these wouldn't be possible. That's why ep-lite uses something like editable <div>s. And that's not widely supported.

@markreg
Copy link

markreg commented Nov 28, 2011

I see. Well, I guess I'll have to upgrade to ios 5 soon then. Waiting for the jailbreak for now...

@0ip
Copy link
Member Author

0ip commented Nov 28, 2011

By the way: would you change something on the layout? E.g. hide some buttons, ...?

@markreg
Copy link

markreg commented Nov 29, 2011

Ok so after further testing with the pad on pad.factor.cc I have found some problems with it on ios 4.3.3 which may be common to ios 5 as well. Also I have some recommendations as to which buttons' positions should be changed and some buttons which should be removed altogether.

Problems observed on ios 4.3.3 MobileSafari:

  1. Switching from portrait to landscape mode causes the pad and buttons to permanently misalign and render the pad not usable including all popup overlays from embed, import/export, people and chat.

  2. The chat window's size and button needs to be decreased.

  3. The embed popup covers the embed toggle button. Maybe a separate ios menu should be made thay simply shows an option select list within the ios gui? Also the upload/import file buttons are extraneous for ios since you can't upload documents...unless you can somehow activate them for people that are on jailbroken iPhones and can navigate through the root of their phone.

In another note there is a bug with the ios keyboard not closing after clicking on the embed toggle button to close the embed popup box. This ties in to problem 6.

  1. Make row number column on left somewhat smaller to maximize text area.

  2. I'm not sure if this has been discussed already but the eye button doesn't really seem to do anything. Maybe it should be removed?

  3. I think that all the popup boxes should have "X's" to close the popup without having to click the toggle button in ios. I think it would make it easier to to close the popups on such a small screen in the first place.

I think the button sizes are good and would be difficult to press if they were made smaller without zooming in.

Feature request:

When I click on the embed button would it be possible to select the wholr link by clicking anywhere within the link and then automatically copy it? Kind of like how github's git links get highlighted with one click but with tw added function of auto copy. That would save a couple of "select all/copy" button presses.

The main problem is when the phone rotates...things really get messed up then.

@JohnMcLear
Copy link
Member

  1. eye has already been removed

-----Original Message-----
From: markreg [mailto:[email protected]]
Sent: 29 November 2011 02:40
To: John McLear
Subject: Re: [etherpad-lite] Mobile Patch (#240)

Ok so after further testing with the pad on pad.factor.cc I have found some problems with it on ios 4.3.3 which may be common to ios 5 as well. Also I have some recommendations as to which buttons' positions should be changed and some buttons which should be removed altogether.

Problems observed on ios 4.3.3 MobileSafari:

  1. Switching from portrait to landscape mode causes the pad and buttons to permanently misalign and render the pad not usable including all popup overlays from embed, import/export, people and chat.

  2. The chat window's size and button needs to be decreased.

  3. The embed popup covers the embed toggle button. Maybe a separate ios menu should be made thay simply shows an option select list within the ios gui? Also the upload/import file buttons are extraneous for ios since you can't upload documents...unless you can somehow activate them for people that are on jailbroken iPhones and can navigate through the root of their phone.

In another note there is a bug with the ios keyboard not closing after clicking on the embed toggle button to close the embed popup box. This ties in to problem 6.

  1. Make row number column on left somewhat smaller to maximize text area.

  2. I'm not sure if this has been discussed already but the eye button doesn't really seem to do anything. Maybe it should be removed?

  3. I think that all the popup boxes should have "X's" to close the popup without having to click the toggle button in ios. I think it would make it easier to to close the popups on such a small screen in the first place.

I think the button sizes are good and would be difficult to press if they were made smaller without zooming in.

Feature request:

When I click on the embed button would it be possible to select the wholr link by clicking anywhere within the link and then automatically copy it? Kind of like how github's git links get highlighted with one click but with tw added function of auto copy. That would save a couple of "select all/copy" button presses.

The main problem is when the phone rotates...things really get messed up then.


Reply to this email directly or view it on GitHub:
https://github.com/Pita/etherpad-lite/pull/240#issuecomment-2911296
This email and its attachments may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of the organisation from which this email originated. If you are not the intended recipient of this email and its attachments, you must take no action based upon them, nor must you copy or show them to anyone. Please contact the sender if you believe you have received this email in error. This email was sent by School Email - Safe Webmail and Hosted Email for Schools

@markreg
Copy link

markreg commented Nov 29, 2011

I guess OP needs to update from this repo again and additional patches to that to show recent changes. I was looking at pad.factor.cc...

@0ip
Copy link
Member Author

0ip commented Nov 29, 2011

@markreg

  1. Can you post a screenshot how it looks?
  2. Same as 1), but I'm not going to make specific changes for iOS - Android users can upload afaik (-1 for Apple)
  3. That's dynamic to fit the length of the line number. (eg. line 13895)
  4. This requires additional pixels and therefor isn't really necessary.

@markreg
Copy link

markreg commented Nov 30, 2011

@0ip

Will post screenshots soon.

I came across this JS framework which may be of particular interest to you and is extremely relevant to the topic at hand:

http://www.lungojs.com/

Take a look and see if this makes it easier to fix some of the orientation problems and possibly do more on Android and IOS and etherpad-lite.

@markreg
Copy link

markreg commented Dec 2, 2011

Here are the images from MobileSafari on my iPhone 4 running 4.3.3:

-> Initial load of new pad in vertical orientation (1) and immediate change to horizontal orientation (2).

(1)

(2)

-> Zoom out from horizontal orientation (3) and immediate scroll down (4).

(3)

(4)

Scroll up and open chat box (5) and immediately change orientation then zoom out (6).

(5)

(6)

-> Immediately scroll right (7).

(7)

Also i want to mention again that lungojs looks like a good avenue to solve all these problems having to do with orientation and specifically working with the ios and android mobile platforms.

@0ip
Copy link
Member Author

0ip commented Dec 2, 2011

sigh

Android doesn't even allow you to scroll.
It also breaks text correctly after you have rotated your display.

LungoJS looks good btw, but imho it's not appropriate for ep-l.
It's way too heavy and adds in addition more unnecessary code.

@markreg
Copy link

markreg commented Dec 2, 2011

Here are some more images with the embed and import/export popup overlay boxes open:

Also the document export gives an error on the iPhone for some reason.

@0ip
Copy link
Member Author

0ip commented Dec 2, 2011

This misalignment (QR-code) has been fixed. 👍

Also the document export gives an error on the iPhone for some reason.

Can you try it again and name the error message?

@markreg
Copy link

markreg commented Dec 3, 2011

QR code is still misaligned and very big. I think embed, and import/export option popups need to be downsized a lot in order to fit on the screen and leave plenty of room to click on the embed or import/export button again to close the popup. Furthermore, I hope you would agree that having any other options besides plain text, microsoft word, opendocument, and pdf are irrelevant and should be removed.

Also have you managed to fix the orientation and alignment issues with the pad and toolbars on ios?

@JohnMcLear
Copy link
Member

If we were to remove options they need to be re-renabled with an option and a parameter

-----Original Message-----
From: markreg [mailto:[email protected]]
Sent: 03 December 2011 00:00
To: John McLear
Subject: Re: [etherpad-lite] Mobile Patch (#240)

QR code is still misaligned and very big. I think embed, and import/export option popups need to be downsized a lot in order to fit on the screen and leave plenty of room to click on the embed or import/export button again to close the popup. Furthermore, I hope you would agree that having any other options besides plain text, microsoft word, opendocument, and pdf are irrelevant and should be removed.


Reply to this email directly or view it on GitHub:
https://github.com/Pita/etherpad-lite/pull/240#issuecomment-2997650
This email and its attachments may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of the organisation from which this email originated. If you are not the intended recipient of this email and its attachments, you must take no action based upon them, nor must you copy or show them to anyone. Please contact the sender if you believe you have received this email in error. This email was sent by School Email - Safe Webmail and Hosted Email for Schools

@markreg
Copy link

markreg commented Dec 3, 2011

Word document export on iPhone 4 4.3.3 MobileSafari says:

@JohnMcLear
Copy link
Member

And on a Windows Mobile device?

-----Original Message-----
From: markreg [mailto:[email protected]]
Sent: 03 December 2011 00:17
To: John McLear
Subject: Re: [etherpad-lite] Mobile Patch (#240)

Word document export on iPhone 4 4.3.3 MobileSafari says:

<img src"http://img14.imageshack.us/img14/7633/img0808.png">


Reply to this email directly or view it on GitHub:
https://github.com/Pita/etherpad-lite/pull/240#issuecomment-2997796
This email and its attachments may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of the organisation from which this email originated. If you are not the intended recipient of this email and its attachments, you must take no action based upon them, nor must you copy or show them to anyone. Please contact the sender if you believe you have received this email in error. This email was sent by School Email - Safe Webmail and Hosted Email for Schools

@0ip
Copy link
Member Author

0ip commented Dec 3, 2011

QR code is still misaligned and very big.

Not possible ;) Try to empty your cache and open a new pad.

Word document export [...] gives an error

Another weird bug...

@markreg
Copy link

markreg commented Dec 3, 2011

ok QR code is not misaligned after clearning my cache and respringing. But my problem still lies with not being able to close the embed or the import/export popup boxes when they are opened because they cover the original button?? How am I supposed to close them? And what is the point of the QR code on mobile devices anyway?

Are there api options to disable/enable the showing of the QR code? Are there api options to remove options from the export menu?

@0ip
Copy link
Member Author

0ip commented Dec 3, 2011

@johnyma22 qr-code yes or no?

@markreg
Atm there are no options to disable ui elements.
You're right. I'll make those dropdowns fullscreen and add close buttons.

@JohnMcLear
Copy link
Member

So I'm working on a pad, and my buddy sat next to me wants to join the pad, he simply scans the QR code from my mobile device and hes on the same pad. That's the point of the QR Code on mobile devices.

There are currently no APi options to ensable/disable the QR code, this can be put it in as a feature request and passed via a parameter. Happy to do that tomorrow for you. Same applies for the options from the export menu. Please be as verbose as possible in the feature request.

Thanks

-----Original Message-----
From: markreg [mailto:[email protected]]
Sent: 03 December 2011 03:20
To: John McLear
Subject: Re: [etherpad-lite] Mobile Patch (#240)

ok QR code is no misaligned after clearning my cache and respringing. But my problem still lies with not being able to close the embed or the import/export popup boxes when they are opened because they cover the original button?? How am I supposed to close them? And what is the point of the QR code on mobile devices anyway?

Are there api options to disable/enable the showing of the QR code? Are there api options to remove options from the export menu?


Reply to this email directly or view it on GitHub:
https://github.com/Pita/etherpad-lite/pull/240#issuecomment-2998804
This email and its attachments may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of the organisation from which this email originated. If you are not the intended recipient of this email and its attachments, you must take no action based upon them, nor must you copy or show them to anyone. Please contact the sender if you believe you have received this email in error. This email was sent by School Email - Safe Webmail and Hosted Email for Schools

@markreg
Copy link

markreg commented Dec 3, 2011

@0ip

The device orientation is still partly messed up (I can post screenshots if you want). Also (I didn't see it in the revisions) but did you add the close buttons on the popups yet?

@johnyma22 @0ip

Yeah I understand the need for the QR code. I guess I was mainly a bit overwhelmed by the size of the code box on my phone that I started to wonder when I would ever use it in the first place.

I have submitted a joint feature request for the enable/disable QR code and export/import options.

Also going back to a request I had earlier: Can you change the behavior of the share link and embed link to automatically select the whole link on a single click from any point on the link. And maybe even automatically copy the link to the user's clipboard too? Should I put this in as a separate request or should I just post it here because I really want the share and embed links to work this way on my mobile device and computer.

Thanks.

@markreg
Copy link

markreg commented Dec 3, 2011

@0ip @johnyma22

I'm not sure if any of you guys agree with this but the timeslider icon in the mobile device doesn't really integrate seamlessly within the entire mobile framework. I mean it redirects to a full size page and then it just becomes difficult to use on a mobile screen since you have to zoom in a lot to press the buttons and interact with it. Maybe this should be taken out all together for practicality reasons?

Also is there an option or parameter that I don;t know about which disables the clock icon for the timeslider within the pad anyways? (mobile or non-mobile)

@Pita
Copy link
Contributor

Pita commented Dec 3, 2011

imho all buttons on the bottom panel are useless on a mobile

@markreg
Copy link

markreg commented Dec 3, 2011

@Pita

Yeah, I agree with you.

@0ip @johnyma22

Is there any way that the "clear authorship colors" button can be removed when the noColors=true parameter is passed int he url on mobile and non-mobile? IMHO there need to be api calls or at least parameters that can remove all buttons within the mobile/non-mobile interface on-demand when creating the pad.

Also I think that the left bar with the colomn numbers is too wide and takes up more space than it needs to.

@0ip
Copy link
Member Author

0ip commented Dec 3, 2011

@markreg
Like I said (https://github.com/Pita/etherpad-lite/pull/240#issuecomment-2949581):
These line numbers are dynamic and can't have a fixed width.

@0ip
Copy link
Member Author

0ip commented Dec 3, 2011

@johnyma22 vs. @Pita & @markreg :)

And now?

If we remove that bottom bar, what happens with the user button?
Squeezing it in the top bar is not a good idea.

John said: [...] he simply scans the QR code from my mobile device and hes on the same pad

Yeah - it's a nice function. But same problem as mentioned above.

@markreg
Copy link

markreg commented Dec 4, 2011

I hope we're referring to the same width that I've put a red rectangular outline around...right?

@0ip
Copy link
Member Author

0ip commented Dec 4, 2011

Yep

Generate some text (http://www.loremipsum.de/index_e.html) and copy/paste it in the pad.
See what happens with the numbers on the left...

Do you think a 4/5 digit line number would fit into a 5px wide bar?

I quote John: "It's a small fish..." ;)

@JohnMcLear
Copy link
Member

Yes, please create a separate feature request for that.

-----Original Message-----
From: markreg [mailto:[email protected]]
Sent: 03 December 2011 22:16
To: John McLear
Subject: Re: [etherpad-lite] Mobile Patch (#240)

@Pita

Yeah, I agree with you.

@0ip @johnyma22

Is there any way that the "clear authorship colors" button can be removed when the noColors=true parameter is passed int he url on mobile and non-mobile?


Reply to this email directly or view it on GitHub:
https://github.com/Pita/etherpad-lite/pull/240#issuecomment-3003469
This email and its attachments may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of the organisation from which this email originated. If you are not the intended recipient of this email and its attachments, you must take no action based upon them, nor must you copy or show them to anyone. Please contact the sender if you believe you have received this email in error. This email was sent by School Email - Safe Webmail and Hosted Email for Schools

@0ip
Copy link
Member Author

0ip commented Dec 6, 2011

See new pull req.

@0ip 0ip closed this Dec 6, 2011
muxator added a commit that referenced this pull request Nov 25, 2019
This upgrade solves the high-severity vulnerabilities regarding
https-proxy-agent that were still present in 8e6bca4.

The output of `npm audit` goes from this:
  found 29 vulnerabilities (3 low, 26 high) in 13338 scanned packages
    run `npm audit fix` to fix 4 of them.
    1 vulnerability requires semver-major dependency updates.
    24 vulnerabilities require manual review. See the full report for details.

To this:
found 5 vulnerabilities (3 low, 2 high) in 13338 scanned packages
  1 vulnerability requires semver-major dependency updates.
  4 vulnerabilities require manual review. See the full report for details.


Changelog:
- https://github.com/npm/cli/releases

6.13.1 (2019-11-18)
    BUG FIXES
    938d6124d #472 fix(fund): support funding string shorthand (@ruyadorno)
    b49c5535b #471 should not publish tap-snapshot folder (@ruyadorno)
    3471d5200 #253 Add preliminary WSL support for npm and npx (@infinnie)
    3ef295f23 #486 print quick audit report for human output (@isaacs)

    TESTING
    dbbf977ac #278 added workflow to trigger and run benchmarks (@mikemimik)
    b4f5e3825 #457 feat(docs): adding tests and updating docs to reflect changes in registry teams API. (@nomadtechie)
    454c7dd60 #456 fix git configs for git 2.23 and above (@isaacs)

    DEPENDENCIES
    661d86cd2 [email protected] (@claudiahdz)

6.13.0 (2019-11-05)
    NEW FEATURES
    4414b06d9 #273 add fund command (@ruyadorno)

    BUG FIXES
    e4455409f #281 delete ps1 files on package removal (@NoDocCat)
    cd14d4701 #279 update supported node list to remove v6.0, v6.1, v9.0 - v9.2 (@ljharb)

    DEPENDENCIES
    a37296b20 [email protected]
    d3cb3abe8 [email protected]

    TESTING
    688cd97be #272 use github actions for CI (@JasonEtco)
    9a2d8af84 #240 Clean up some flakiness and inconsistency (@isaacs)
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

Successfully merging this pull request may close these issues.

4 participants