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.




# Monkey

Something went wrong with monkey animation queue. She is supposed to look at the spinner at the Code screen and if code is incorrect, return looking at the code. If code is fine, she must animate to happy face first and only then close the eyes.

Right now looking at the spinner is delayed, so for incorrect code it performs something like "No" gestures.
When Code is correct, the remaining animation is skipped, unfortunately. And closed eyes monkey is showed without any animation.

# Add To Home Screen / Install

The app is a PWA and it's installable on Android / Chrome Desktop. But it isn't working correctly, unfortunately. Relative path in the manifest.json is incorrect and start URL becomes /favicons/, instead of /.
# Mobile Optimized

This telegram app is ready to be used on mobile phones. Even though the task didn't mention anything about mobile -- the world is mobile-first now. This is also clearly seen with the contest participants trying to use/test submissions on mobile phones.

# MTProto / API

This app doesn't use TDLib, however, as with the TDLIb, it runs everything API related: network requests, unzipping, encoding, decoding runs in a Worker, for the best performance. No API related junks on UI thread.
Layer 105.

# Logging in

Logging in may not work with a DC other than 2. There is a bug in setting default / current DC.
You have not added any comments yet...
by rating


Fair Quokka Jan 10, 2020 at 02:44
Процесс входа в приложения реализован без должного внимания к деталям. В часть аккаунтов оказалось невозможно залогиниться, так как кнопка 'Next' не появляется. При вводе верного облачного пароля приложение зависает на 'Please wait', не возвращая соответствующих ошибок.
Google Chrome 78.0.3904, macOS 10.15.2
Sexy Fly Jan 10, 2020 at 09:28
Похоже в моей реализации баг с входом в аккаунты с DC != 2. К сожалению проверить эту теорию возможности нет. Во все аккаунты с DC2 получилось зайти.

При вводе _верного_ пароля должен происходить вход. На последнем этапе входа (2fa) присутствуют 2 вида обработки ошибок: "Неверный пароль" и "Что-то пошло не так" в остальных случаях. Действительно после того как случается ошибка, кнопка не восстанавливается (Please wait не убирается).

Обратите внимание, что перед каждым входом лучше очищать данные браузера -- localStorage и IDB, так как logout не реализован.
An error on first auth step
Xiaomi Mi8
Sexy Fly Nov 18, 2019 at 20:42
It's good that the app can handle it. Something wrong happens there, other than incorrect phone number. Maybe that phone number is banner or something else. It can be just network error as well.

Thinking of it more, it may be a bug though, if it fails to authorize with a DC other than 2.
Nobody added any issues yet...