Repository navigation
Commit f68b254
table: Cover DataTable builder and focus ring configuration (#3572)
## Description
The DataTable `FocusableExt` implementation requested by #3538 already
landed in #3565. This PR now supplements that implementation with the
missing DataTable builder test.
The branch merges current main, retaining its focus-ring implementation
and keyboard-focus interaction tests. The new test checks the default
focus-ring setting, disabling and re-enabling it on the same configured
table, and composition with the other table builders.
## Public API
No additional public API changes relative to main. `impl<D:
TableDelegate> FocusableExt for DataTable<D>` is already available
through #3565.
## Validation
- `cargo test -p gpui-component --lib --features test-support table::
--locked`: 6 passed.
- `cargo clippy -p gpui-component --lib --tests --features test-support
--locked -- --deny warnings`: passed.
- `cargo fmt -p gpui-component -- --check`: passed.
- No manual story-gallery verification; this PR adds test coverage only.
AI assistance: the original change was AI-assisted. Codex resolved the
merge conflict, adapted the builder test to main, and ran the checks
above.
Co-authored-by: Jason Lee <huacnlee@gmail.com>1 parent e971783 commit f68b254
1 file changed
Lines changed: 31 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
304 | 304 | | |
305 | 305 | | |
306 | 306 | | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
307 | 338 | | |
308 | 339 | | |
309 | 340 | | |
| |||
0 commit comments