Closed Ikeret closed 1 year ago
Warnings | |
---|---|
:warning: | Oops! We have found some issues. It's better to fix them to keep code clean |
Severity | File | Reason |
---|---|---|
Warning | AccessibilityItemWrapper.swift:18 | Redundant explicit declaration of default types should be avoided (redundant_default_type ) |
Warning | AccessibilityItem+Invalidation.swift:90 | Line should be 145 characters or less: currently 158 characters (line_length ) |
Generated by :no_entry_sign: Danger Swift against 72f69d735383322d9e15a7c35b40d58ec76c3f37
Осталось:
Patch coverage: 58.83
% and project coverage change: +26.70
:tada:
Comparison is base (
d604813
) 36.56% compared to head (eca573b
) 63.26%.:exclamation: Current head eca573b differs from pull request most recent head 0a4f73b. Consider uploading reports for the commit 0a4f73b to get more accurate results
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
Апдейт
Апдейт
✅ придумать удобный способ задания UIAccessibilityCustomActions
Создана AccessibilityActionsStrategy
и структура враппер AccessibilityAction
Применение в ПР appTemplate
✅ 50/50 подумать над частичной инвалидацией параметров
Добавлен базовый инвалидатор, который не лезет за генератором. Полезно в playbook например.
Инвалидацию label, value, traits, actions отдельно друг от друга мешает сделать AccessibilityModifier
который берет все из AccessibilityItem
Оптимизируем этот момент в 8.0
Осталось 🛠️ добавить/обновить документацию по новой логике
Переделал включенный по-умолчанию acessibilityPlugin Поправил документацию Готово к review
Что сделано?
Зачем это сделано?
На что обратить внимание?
Пример:
Если раньше стратегии задавались очень длинно и нагроможденно
то теперь станет это проще