30 Commits
Author SHA1 Message Date
ventywing ccea6e38f9 Support tighten width for text
commit_hash:664227719b35cc0b0cdbead9f1291c1c8c4f67be
2024-09-26 08:31:23 +03:00
ventywing a059fee091 Fix max_size for long text
commit_hash:6ca283752a6ce3f8b7a4da3375f29bb6c4889eb1
2024-09-19 16:46:54 +03:00
babaevmm 0c31bbafc1 reconfigure generic view if content is not child
14cdb13eb08f5adfab7a1405ebac9fb6c433c38b
2024-07-23 16:02:21 +03:00
babaevmm 3068da0c9b add reuseId
Тк reuseId добавили в div-base, решил сделать так:
1) Для Block добавил `reuseId: String?` с дефолтной реализацией nil
2) Добавил хранимое свойство reв DecoratingBlock
3) Присваиваю это свойство в applyBaseProperties предпоследним шагом перед экстеншенами
4) Добавил вычисляемые свойства к `WrapperBlock`,  `
4) Для `TabsView` удалил CollectionCellModel, там все время был один reuseId для всех типов, форс касты `Block` к этому типу
5) Для `GalleryView` и `TabView`: регистрирую `reuse_id` блоков в collectionView, если они ранее не были зареганы
6) Для того, чтобы reuseId работал в `Grid`,  добавил reuseId в DecoratingBlock Model
https://arcanum.yandex-team.ru/arcadia/divkit/public-ios/LayoutKit/LayoutKit/UI/Blocks/DecoratingBlock+UIViewRenderableBlock.swift?rev=rXXXXXX#L17
dbbb8fd9aeb382b18821a8a5289ff2b0314c1f01
2024-07-23 11:53:37 +03:00
booster 87661fb69b Fixed merge conflicts
9f72c6074568681cc42128d00b32d8a43ad0ff24
2024-07-13 16:43:36 +03:00
denlvovich e001d74afe Update to VGSL6.0
4f8b5f480ade3f347d5f0a2d01a1618069bcb846
2024-07-12 20:33:42 +03:00
denlvovich 485c11c8d4 Fixed loss of weight of items when updating state of GridBlock
92159146a06a5bdcc0f91f4ee5a15f5839bf2711
2024-07-10 01:06:12 +03:00
pkurchatov af422f28dd Applied swiftformat 2024-01-10 02:08:08 +03:00
morevsavva 1406381d24 removed restriction on empty list of items. 2023-12-13 14:08:52 +03:00
pkurchatov e7818f7b02 Applied formatter 2023-10-30 17:06:56 +03:00
pkurchatov 15831d7e39 Xcode 15 support in tests 2023-10-19 18:13:22 +03:00
mariyshka737 b3b630ec8e new format for all errors, combine elements errors as a cause in empty array error 2023-08-27 16:51:46 +03:00
pkurchatov c94842d640 Moved swiftlint config 2023-08-21 13:17:18 +03:00
bugperson e294aefc3e add axial alignment 2023-06-04 14:54:45 +03:00
booster f62aa36d46 Fixed layout for zero height 2023-04-28 12:20:16 +03:00
pkurchatov b26ac84569 added aspect support for vertical wrap container 2023-03-30 22:32:25 +03:00
akhmetsafin 7ee66f1f65 Rename base modules 2023-03-28 12:17:21 +03:00
pkurchatov d37caa91af fixed DivGallery actions 2023-03-23 22:59:53 +03:00
ventywing bbb55a69e5 Support overflow parameter for tabs. 2023-03-17 14:24:18 +03:00
ventywing 77598b9501 Changed content alignment in wrap container
Changed content alignment in wrap container
2023-02-27 19:36:52 +03:00
morevsavva 100c0c7b89 Fixed compilation for OSX test target 2023-01-19 12:48:21 +03:00
morevsavva c4025a6edc supported min/max for constrained blocks 2023-01-16 19:26:38 +03:00
morevsavva 6e60922f71 Moved container tests
Подготовительный пр
Вынес тесты на ContainerBlockLayout в отдельный файл + подпричесал остальные тесты, что увидел.
2023-01-09 03:36:18 +03:00
morevsavva 52ccd56888 Format files by codestyle.
Прогнал форматтер на всех файлах.
2022-12-22 16:21:24 +03:00
dashapalshau 4bbd68fe39 add min/max sizes for wrap_content constrained = false
Add min/max sizes for wrap_content constrained = false
2022-12-16 15:02:26 +03:00
pkurchatov a25df8b4d6 moved ContainerBlockLayout file 2022-12-12 17:50:41 +03:00
ventywing 42dd278b52 Add baseline alignment
Add baseline alignment
2022-11-14 16:30:34 +03:00
ventywing fd1debcaa3 Wrap container tests
Wrap container tests
2022-09-26 20:54:09 +03:00
morevsavva d8650ed0fd Add wrap container implementation
Добавил реализацию wrap в ContainerBlock, пока без снепшотов, отсматривал свои кейсы в семпл аппе.
2022-09-05 17:41:20 +03:00
divkit-github f1563c9890 chore(html-reporter): up version
Initial commit

Add notification for divkit

Allow overwrite for migration

[migration] browser/bitbucket/personal/booster/divkit

Note: mandatory check (NEED_CHECK) was skipped

DivKit files moved

dIVKIT-0: Fix ts builder build

update div-gallery visibility screenshots

update div-gallery visibility screens

a.yaml cleanup

updated codegen scripts

change gallery alignment

change internal types in expressions

removed copyrights

remove permissions

TemplatesSupportTests refactoring

Ничего не поменялось. Отрефакторил и почистил тесты.

Split package.json

send all public

removed yandex-team links

URL added type as ArgumentType

added camera permission description

safe area insets for errors count view

`EdgeInsets` for debug view with errors count. Needed for fullscreen divs. Naming corresponds to mapping `EdgeInsets` to div-variables.

Will be used here: https://nda.ya.ru/t/Lhr5Lxgb5KN6nX

fixed compiler warnings

fix DivKitComponents variables setup, add update func

fix DivKitComponents variables setup, add update func

authors clean up

Удалил коллег из инфраструктуры, тестирования и мессенджера. Половину людей я вообще тут не знаю. Список какой-то косячный, в нём, например, @booster и @askvortsov нет. Предлагаю заново вручную составить и записать туда тех, кто точно дивкитом занимался, а не просто мимо проходил.

Fix DivKit pods compilability

Fix DivKit pods compilability

use only english in demo app

translate divKit demo app russian text

Scroll when keyboard opened

Scroll when keyboard opened

Fix gallery scroll in a11y

Это копия пр-а, который я делал в репо алискита:

https://bitbucket.browser.yandex-team.ru/projects/ML/repos/mobile-alice-library-android/pull-requests/18808/overview

authors clean up2

SwiftGenerator

flake8 errors fix & ya.make edit

swift generation tests

swift references

swift generator implementation

init swift generator

code refactoring
1) rename to modeling
2) rename kind to PropertyType
3) delete apply_pluralization_rules
4) description default value is empty string
5) remove entity_type_field_alias, typename_alias, client_optional, profileEntities, ignore_properties, generate_plain_constructor
6) remove client prefix

Add XcodeBuild in ignore

Add XcodeBuild in ignore

introduce new global variable api

introduce new global variable api

Revert commit bdcbc0081395ebe44ed7fe24bf5f4b25569c6df0

LayoutKitSnapshotTests

Fix sandboxRelease dependencies.

support zero value for width and height

remove unused css variables

"CONTRIBUTING.md"

README draft

updated gitignore/arcignore

introduce color type in expressions

introduce color type in expressions

added xcconfig files

fixed swift formatting

fail tests if updating references

Чтобы уж точно не забыть вернуть False.

Layout changes

Fix expression parsing

don't change clickable state in a11y

don't change clickable state in a11y

Update items checks

Parse description references to translations

add licence file link

fixed expression properties generation

add ability to track requests to global variables

Добавляем в GlobalVariableController возможность подписаться на запросы к глобальным переменным.
Нужно дляОткрыт Накопительная палитра , а так же в целом полезная функциональность, через которую можно делать ленивый прогрев глобальных переменных

Changelog

Minor fixes

bump divkit version up to 3.0.0

fixed snapshot tests depdendencies

Иногда не запускалась сборка SnapshotTestsHostApp перед стартом тестов.

used new api-generator

deserialization refactoring

removed gitignore

samples text fixes

fixed samples text

remove theme button

remove theme button

demo activity redesign

demo activity redesign

habr sample app

change deleted images in screenshot tests

change deleted images in screenshot tests

new ic_launcher

new ic_launcher

more readme

Binding variable for div input

Biding variable for div input

Implement documentation generator

Rename max_lines to max_visible_lines

Rename max_lines to max_visible_lines

add habr and medium

fix div-functions doc

Fix link in description

Text selecting for demo app enabled

Text selecting for demo app enabled

KotlinGenerator

kotlin code generation

kotlin generation tests

kotlin generation references

add gradle wrapper to kotlin json builder

add gradle wrapper to kotlin json builder

DemoApp redesign

fixed codegen scripts

debugView safeAreaInsets

DebugView safe area insets

TypeScript Generator

ya.make changes

TypeScript generator

TypeScript tests

TypeScript test references

fix enumeration aliases

debugInfoParams fix compile

Fix black box flicker in video-custom

Fixed stub image showing by moving it away from PlayerView.
Increased stub loading speed by adding VideoViewModel warmup.
Fixed redundant redraws by combining stub visibility and
bitmap data.
PlayerView background was set to transparent.

DivExpression fix

DivExpression fix

Implement translations

Save & share

bind globalVariableController to divContext

bind variableController to divContext

used new TypeScript generator

Подключил генератор на питоне. Изменения в сгенерированных файлах связаны в основном с переводом описаний на английский язык.

moved LivePreview

Перенёс LivePreview из отдельного модуля в DivKitDemoApp. Добавил сканер кодов в UrlInputView. Удалил часть дублирующегося кода.

remove sms and phone_state permission

fix links interception

fix links interception

Fix link in documentation

remove site from "config.stable.json"

Support highlight_color and keyboardType in div input

Support highlight_color in div input

Action animation fix for iOS
2022-08-25 21:21:49 +03:00