Support toggling lazyLayout after layout attributes are applied (DISABLED_canToggleLazyLayout)
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 75/100
Hướng nghiên cứu
Read valdi/test/runtime/ViewNode_tests.cpp, especially DISABLED_canToggleLazyLayout, and inspect the ViewNode layout state handling it exercises. Run bazel test //valdi:test_runtime --test_filter='ViewNode.*canToggleLazyLayout' --test_arg=--gtest_also_run_disabled_tests to reproduce the failure. Update the layout state handling so toggling lazyLayout after attributes are applied restores the correct layout, remove the DISABLED_ prefix, and confirm the test passes.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
ViewNode.DISABLED_canToggleLazyLayout in valdi/test/runtime/ViewNode_tests.cpp is disabled. Switching a node from regular layout to lazyLayout, after its layout attributes have already been applied, doesn't recover: the node's layout is wrong after the switch.
What to do: make the view node rebuild its layout state correctly when lazyLayout is turned on or off after layout attributes have been applied. Then remove the DISABLED_ prefix.
How to run
bazel test //valdi:test_runtime --test_filter='ViewNode.*canToggleLazyLayout' --test_arg=--gtest_also_run_disabled_tests
Done when: the test runs without DISABLED_ and passes.
See CONTRIBUTING.md before opening a pull request.
- Ngôn ngữ chính
- C++
- Star
- 16.4k
- Fork
- 539
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Snapchat/Valdi
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Rust codegen: RustMethodResolver fails to unwrap .nullable on optional interface/module methodsĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của Snapchat/Valdi
Issue tương tự
-
RTL-SDR: re-enumerating while streaming removes the in-use entry from the device selection dialogCó thể đã có người làm @dpc00 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
throneproj/Throne#2227 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
deepseek-ai/DeepGEMM-Ascend#49 ·
Maintainer thường phản hồi trong vòng 1 ngày