Commit Graph

185 Commits

Author SHA1 Message Date
ventywing cf26387ed8 Support empty view in snapshot tests
Support empty view in snapshot tests
2022-09-26 14:36:44 +03:00
pkurchatov 2ad5df874a fixed DivKit Playground version 2022-09-26 13:54:38 +03:00
4eb0da 445964eed9 Wait images in tests 2022-09-26 13:11:08 +03:00
valeriahil bfe81a52ef save subscription to tint color after rebind
save subscription to tint color after rebind

При ребаинде пропадает подписка на tint color, если image url не изменился.  Исправляю это здесь.
Примечание: сейчас логика применения тинта такая: https://st.yandex-team.ru/#61922c55ecd1dd5006ac6565
2022-09-26 13:05:33 +03:00
robot-dts-analyst 0c08f80139 Rebalancing autocheck partitions and distbuild clusters.
The process of preparing changes https://sandbox.yandex-team.ru/task/1461772447/view
2022-09-26 10:57:34 +03:00
laringv d8f45a00e8 Use thread-safe ObserverList 2022-09-23 18:19:09 +03:00
nikita-kladov c70ff6a9a9 move lottie animation to s3 and fix ResProvider 2022-09-23 18:15:15 +03:00
grechka62 d6abf150b6 Implement wrap layout
Implement wrap layout
2022-09-23 18:03:05 +03:00
grechka62 d73672347d Android screenshots for input 2022-09-23 17:07:35 +03:00
grechka62 a3f6569638 Support match_parent of root view in android snapshot tests 2022-09-23 10:29:09 +03:00
4eb0da 011a77f3f3 Rename reference prop 2022-09-22 15:10:08 +03:00
ventywing fb498bf297 Fix wrap_content height of horizontal container
Было:
https://jing.yandex-team.ru/files/ventywing/Screen%20Shot%202022-09-21%20at%2018.22.46.png
Стало:
https://jing.yandex-team.ru/files/ventywing/Screen%20Shot%202022-09-21%20at%2018.20.22.png
JSON https://paste.yandex-team.ru/15dafb05-4b4b-4d6d-bb9a-aba5b1bb93b5
2022-09-22 12:49:20 +03:00
pkurchatov 6b878713d5 updated test data readme 2022-09-22 11:14:47 +03:00
4eb0da c0ca4013c9 Upd json-builder version 2022-09-21 20:32:06 +03:00
ventywing 310b5fe043 First height calculating for vertical container
First height calculating for vertical container
2022-09-21 15:18:33 +03:00
ventywing 4ded834bc6 Support match_parent height in snapshot tests
Support match_parent height in snapshot tests
2022-09-21 14:43:52 +03:00
ventywing 88d12eea9a Support match_parent children in wrap-container
Пример с горизонтальным контейнером:
https://jing.yandex-team.ru/files/ventywing/Screen%20Shot%202022-09-20%20at%2016.33.12.png
2022-09-21 14:12:43 +03:00
grechka62 828df4e2e4 Bump version to 8.0.0 2022-09-20 18:25:17 +03:00
alex-kozyakov 8d4d86bfe6 PR from branch users/alex-kozyakov/wp//0
Fix video SurfaceView z-order and bg color
2022-09-20 17:27:37 +03:00
grechka62 2cd2a0d61e Fix native_interface drawing in input 2022-09-20 17:17:31 +03:00
grechka62 a527d43009 Bind div input type for accessibility 2022-09-20 17:09:53 +03:00
4eb0da ef8c4108f4 Rework container layout 2022-09-20 17:03:51 +03:00
nikita-kladov 9667b47fd9 add image change subscription 2022-09-20 17:00:00 +03:00
ivanovsky-v 67d55bf08d fix pager children layout when width is too small 2022-09-20 15:45:17 +03:00
i-ts 048d3d449c fix regression screen at release builds of demo-app 2022-09-20 13:14:14 +03:00
evgeek 859e4e00f7 Moved observeTintColor into bind method.
Changing tint color stopped working after rebind if
image url remained same because we are calling
view.closeAllSubscription() in bindView and didn't
call observeTintColor when imageUrl was same due to
if (isImageLoaded && newImageUrl == imageUrl) {
   return
}
in applyImage
2022-09-20 13:11:31 +03:00
ivanovsky-v 095b7a32fb build tests 2022-09-19 20:17:38 +03:00
timatifey 5673b34bca change 0/1 to false/true into test_data
change 1/0 to true/false into test_data
2022-09-19 19:23:04 +03:00
pazus cbbdee6557 Add kotlin lombok plugin support 2022-09-19 18:34:28 +03:00
morevsavva b448801554 Fix divkit pod compitability.
Fix divkit pod compitability.
2022-09-19 16:20:22 +03:00
timatifey f68bdc5bc3 pydivkit
pydivkit
2022-09-19 15:47:22 +03:00
4eb0da 105bc4fbbd Fix regress case 2022-09-19 14:41:53 +03:00
ventywing 667a284e36 Add resolving LayoutMode
Add resolving LayoutMode
2022-09-19 14:20:37 +03:00
pkurchatov 0a663f6046 fixed test data format 2022-09-19 13:18:14 +03:00
4eb0da bd0d5b3a50 BooleanInt props now accepts bools too 2022-09-19 12:58:02 +03:00
smirnov-maxim 5c43113d02 Refactored DivBorderDrawer 2022-09-19 12:27:58 +03:00
edubinskaya 540de6bb47 parsing patch from JSON
parsing patch from JSON

deleted BenderActivity
2022-09-19 08:13:59 +03:00
pkurchatov 18da889c19 fixed boolean variables parsing in tests
Поддержка 0/1/false/true в тестах.
2022-09-18 20:18:39 +03:00
pkurchatov 7f76c507b7 fixed DivContainer errors 2022-09-16 16:06:09 +03:00
nikita-kladov 764e8f95b7 fix image blinking on rebind
Сейчас у нас при ребинде происходит повторная установка всех полей, поэтому заново создается и устанавливается бекграунд, что и вызывает мерцание.
Почему именно здесь и так:
- можно было бы обернуть вызов в applyIfNotEquals, но тогда при ребинде отвалятся подписки на переменные в полях
- можно было бы добавить поле вне колбека и смотреть на него, но при ребинде это поле сбросится в null и мы вернемся к той же проблеме
- сравнивать два drawable мы не можем. Они могут быть визуально одинаковы, но ссылка, по которой идет сравнение, будет разной

Сравнивать просто 2 списка с бг мы не можем, потому что там переменные, а нам надо иметь статичное состояние. Поэтому пришлось прибегнуть к созданию стейтов текущих бг и сравнивать уже их.
2022-09-16 15:46:24 +03:00
timatifey f8e1341f32 change host tag
remove host tag from demo-app manifest
2022-09-16 15:08:05 +03:00
timatifey b4c0fb0a36 flags for hash files
flags for enabling checking & saving hash files
1) flags --savehash --checkhash
2) kotlin dsl update config for python generator
3) update README.md
2022-09-16 15:06:12 +03:00
grechka62 3c73168f72 Implement text alignment for input 2022-09-16 14:51:29 +03:00
i-ts ac43738a8a disable bind on attach 7.0.0 2022-09-16 10:59:27 +03:00
ventywing 2d060db2a7 Support interactive_snapshot_test_data
Support interactive_snapshot_test_data
2022-09-16 09:25:35 +03:00
ivanovsky-v a599555740 downgrade babel-preset-jest 2022-09-15 18:34:00 +03:00
ivanovsky-v 4780b597aa fix zero-values in action_animation 2022-09-15 18:33:28 +03:00
pkurchatov a0b9723719 clean up 2022-09-15 17:34:46 +03:00
nikita-kladov d0f75153d9 fix extensions reuse 2022-09-15 12:22:06 +03:00
akhmetsafin 08642225c7 Fix transition in animation distance
Fix transition in animation distance
2022-09-15 12:04:05 +03:00