zhukov / webogram

Telegram web application, GPL v3
https://web.telegram.org
GNU General Public License v3.0
7.95k stars 2.36k forks source link

KaiOS Nokia 8110 4G #1756

Open sylvainblot opened 6 years ago

sylvainblot commented 6 years ago

Hello guys,

I've make a kaios app out of webogram. It's released here: https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!topic/bananahackers/oa0me7HSX3s

It could be great for telegram to work on feature phones with only a D-pad (https://developer.kaiostech.com/first-app/dpad-navigation)

I've enabled the emulated cursor, and use SoftLeft and SoftRight to scroll and the Call button to leave inputs, but that's not confortable, can someone add support of d-pad compliant navigation ?

Regards,

Sylvain

omkarnathsingh commented 5 years ago

@sylvainblot I can't find the app for Nokia. Is it deleted? Also release source, Thanks.

sylvainblot commented 5 years ago

https://drive.google.com/a/rentoo.immo/file/d/1ZWS8SdD1DpIDKEdU5E89uNp7gD_eXC4p/view?usp=drive_web

rodneyrod commented 5 years ago

What needs to happen to bring this feature over to webogram? Would be a huge boost if Telegram could be used by featurephone users.

sylvainblot commented 5 years ago

may be by implementing : https://github.com/amanboss9/naviboard

rodneyrod commented 5 years ago

@sylvainblot If that's a client facing library (I'm not good with HTML+JS apps) would it be difficult to add support for it into Webogram, and would there need to be any backend change to get it working?

Also, since I don't know how KaiOS does it, how does it handle notifications for minimised applications in the background, if you happen to know?

sylvainblot commented 5 years ago

to receive notifications with the build I made for kaios the app must be in foreground.

The changes will be only frontend related, the navigation lib (or any other implementation) must be integrated in the code and/or the html markup must be changed.

danjjl commented 4 years ago

Some styling should also be better adapted to work on a screen with a 240 x 320 pixels.

E.g login screen: 1) Phone number is truncated in first login screen Login screen 2) Code field is missing from login screen (step 2) Login screen - step 2

kortov commented 4 years ago

@sylvainblot well done but btw, do you put your work to opensource like public github repo? Because the webogram is under GPL 3.0 https://github.com/zhukov/webogram/blob/master/LICENSE

danjjl commented 4 years ago

I am interested in improving webogram for very small screens (e.g. Nokia 8110 4G) with the idea of repackaging it for KaiOS.

Here is a first commit that improves the first login screen.

Commit ba249a

Would this type of improvement be of interest for this repository? Should I submit it as a PR? What typical mobile device screen sizes should I check to make sure I am not deteriorating the experience of other users?

sylvainblot commented 4 years ago

hi @kortov I've no intention to keep it for myself, as you can see the code is linked in the issue. Look like it's also hosted here: https://sites.google.com/view/b-hackers-store/home/social?authuser=0 I don't recommend using it, it's poorly written, the webogram team can do much better.

kortov commented 4 years ago

@sylvainblot ok, I got it, but I don't think that storing sources on google drive is a good idea. And the code quality is not a reason not to store it on gihub/gitlab.

@danjjl glad to hear that you forked the repo. If you think that your changes improve the user experience, why not PR that changes? And maybe you'll got some review and comments (but only maybe) . Unfortunately I've got no clue in LESS, but I heard that it can be tweaked with @media . But I didn't find that in this code. But ofc your changes should not impact on other users, I think you can test your changes in chrome under "toggle device toolbar" functionality

vkentta commented 4 years ago

I would be interested to take part in making this work on KaiOS. IMO the biggest problem to solve is to make the navigation usable without the touch screen. Obviously the small layout is another sizeable problem too.

Aokromes commented 4 years ago

for sure zhukov will accept prs on this :)

strukturart commented 4 years ago

I implemented the notification with the alarmApi, the app can be downloaded here. at the moment i am trying to implement the navigation with tabindex but i don't know how to get the id's of the messages.

https://github.com/strukturart/telegram-kaios