Info

Open Website
WARNING! Clicking "Open Website" will launch a third-party app, use at your own risk. We do not recommend logging in with your main account.

Testing and Issues

You can test this app and submit issues during the testing period of the Javascript Contest, Stage 1 contest.

Entries with serious issues will not be able to win the contest, but even minor issues might be important for overall results.

Voting

26

Comments

GramJS library with fixes and improvements is used as MTProto Layer 105 implementation. A short list of improvements:
- WebWorkers support;
- BigInt polyfill (Safari support);
- Improved Factorization, 2FA and other crypto functions, etc.

Secure WebSockets (WSS) is used as a transfer protocol. The app supports updates from MTProto.

The approach of React-inspired Functional Components written in JSX is taken for the UI design. The app has its own implementation of Virual DOM with incremental updates which is connected with MTProto by the ReactN-inspired global state manager.

The mingzipped source code is 33 kb.
1
Important information for referees. Unfortunately, the latest build may not work for non-DC2 users. Please use DC 2 to sign in if it is possible. We are sorry for that last-minute issue.
Features list:

— Auth error handling
— Cloud password (2FA) support
— Infinite scroll for chats and messages
— Previously open chats with scroll position are cached
— Sending messages
— Receiving incoming messages
— Grouping messages by date, sender and time
— Sticky date separator
— Message content: support for line breaks, links and emoji-only messages
— The last open chat persists between app launches
— Various date formats for chats and messages
— The right column for users and groups is partly implemented
You have not added any comments yet...
by rating

Issues

Fair Mammoth Jan 10, 2020 at 02:32
Скорость работы приложения оказалась критически низкой – долгая загрузка на старте, долгий переход в аккаунт после ввода облачного пароля.

Часть конкурсного задания не выполнена – регистрация не реализована. Некоторые облачные чаты могут не отображаться в списке бесед.
Google Chrome 78.0.3904, macOS 10.15.2
20
I see that Jolly Cobra's solution here https://contest.com/javascript-web/entry1091 is using the same `teact` lib implementation as you do. Is it just the same person submitting twice? Have posted similar comment there. Sorry if I'm missing something here.
3
Shiny Yak Nov 18, 2019 at 20:13
Yes, we submitted two solutions with different MTProto implementations. This one is using improved GramJS library (which is based on Telethon), another one is using Tdweb.
B
Number inputs should have proper type(for better mobile ux)
No country autocomplete
Xiaomi Mi8
Not possible to change the country code by typing in a different number
B
Slow loading on good connection speed(>15sec.)
Xiaomi Mi8
The page for entering the phone number the same as in this app https://contest.com/javascript-web/entry1091. There is no possibility to check other pages.
Infinite loading after entering phone number
Chrome / Mac OS X
use std::twit::💩::*; [now with more utc+2/3] Nov 20, 2019 at 03:10
Same issue as Sacred Parrot. Perhaps you need to update your version of GramJS?
Chrome 78 / Windows 10
Nobody added any issues yet...