Skip to content

Conversation

@Ostrenkiy
Copy link
Contributor

Задача: #APPS-1952

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

Описание:
Добавил скрипт для парсинга Kotlin runnable samples

@Ostrenkiy Ostrenkiy added the main label Jul 5, 2018
@Ostrenkiy Ostrenkiy added this to the 1.63 milestone Jul 5, 2018
@Ostrenkiy Ostrenkiy self-assigned this Jul 5, 2018
@Ostrenkiy Ostrenkiy requested a review from kvld July 5, 2018 17:37
}

let scriptsString = "\(Scripts.localTexScript)\(Scripts.clickableImagesScript)"
let scriptsString = "\(Scripts.localTexScript)\(Scripts.clickableImagesScript)\(Scripts.kotlinRunnableSamples)"
Copy link
Contributor

Choose a reason for hiding this comment

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

И этот скрипт будет подгружаться в каждом степе? К тому же он удаленный.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Не уверен, что там не кешируется ничего, но поправлю, да

Copy link
Contributor

@kvld kvld Jul 6, 2018

Choose a reason for hiding this comment

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

Даже если это локальный скрипт, то он может быть тяжелым довольно. А если учесть, что у нас в обычных степах (в адаптивных ок) нет никакого лоадера (просто не появляется текст, пока webview не догрузила) – это плохо.

}

let scriptsString = "\(Scripts.localTexScript)\(Scripts.clickableImagesScript)\(Scripts.kotlinRunnableSamples)"
var scriptsString = "\(Scripts.localTexScript)\(Scripts.clickableImagesScript)"
Copy link
Contributor

Choose a reason for hiding this comment

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

Ниже замечательный вызов buildHTMLStringWith, в которой похожие вещи делаются для аудио контрола. Давай туда это помещать.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Да, согласен.
Я лучше на следующей неделе отдельным PR-ом перепишу HTMLBuilder, добавив нормальный css туда

@kvld
Copy link
Contributor

kvld commented Jul 9, 2018

А как это потестить можно?

@Ostrenkiy Ostrenkiy merged commit 8bd121f into dev Jul 9, 2018
@kvld kvld mentioned this pull request Jul 11, 2018
@kvld kvld deleted the feature/kotlin-runnable-samples branch January 29, 2019 11:38
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.

3 participants