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

Deep Links for catalog and notifications #238

Merged
merged 2 commits into from
Feb 22, 2018
Merged

Conversation

Ostrenkiy
Copy link
Contributor

Задача: #APPS-1765

Коротко для Release Notes, в формате «Сделали/Добавили/Исправили N»:
Обновление deeplink для catalog и notifications.

Описание:
Обновили диплинки для catalog и notifications. Паша обновит apple-app-site-association 1 марта, когда релиз будет у большинства пользователей. Без delay не работает, так как контроллеры во время didFinishLaunching еще не проинициализированы.

@Ostrenkiy Ostrenkiy added the main label Feb 18, 2018
@Ostrenkiy Ostrenkiy added this to the 1.53 milestone Feb 18, 2018
@Ostrenkiy Ostrenkiy self-assigned this Feb 18, 2018
@Ostrenkiy Ostrenkiy requested a review from kvld February 18, 2018 21:07

if components[1].lowercased() == "course" && components.count >= 3 {
if components.count == 2 && components[1].lowercased() == "catalog" {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

С components.count == 2 будет отброшена, например, ссылка https://stepik.org/catalog/trending. Судя по задаче, так и задумывалось?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Да, так и задумывается

guard let tabController = currentTabBarController else {
return
}
delay(0.05) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Здесь можно делать delay(0). А ещё лучше комментировать такие места, чтобы в будущем понимать, зачем эта обёртка нужна была.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+, сейчас переделаю

@Ostrenkiy Ostrenkiy merged commit 6ca1fdf into dev Feb 22, 2018
@Ostrenkiy Ostrenkiy deleted the feature/new-deeplink branch February 22, 2018 04:23
@Ostrenkiy Ostrenkiy mentioned this pull request Feb 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants