Commit Graph

1219 Commits

Author SHA1 Message Date
Dave Pearson
8c5fb38851 Merge branch 'main' into toggle-boxen 2023-02-27 10:31:06 +00:00
darrenburns
cbe2ab87c6 Datatable labelling rows (#1868)
* Renaming some component classes in DataTable

* Some more renaming of DataTable component classes

* Separate styling for fixed rows/columns from labels

* Highlight fixed rows/cols affected by colour differently

* Tweaking styles for fixed data in DataTable

* Update DataTable snapshots

* Add row label to Row metadata

* Wiring up some labelled row logic behind flags

* Renaming variable in DataTable

* Variable renaming in DataTable

* [no ci] Labelling rows progress

* Add RenderedRow abstraction to DataTable

* Computing label widths

* Use the Column object to represent row label column

* Ability to toggle row labels reactively

* Adjust width calculation for label widths

* Add DataTable.RowLabelSelected

* Posting the RowLabelClick message

* Hovering of row labels applies new style

* Remove a print

* Ensure horizontal scrolling with column cursor accounts for row label column

* Account for possible row labels in cell cursor horizontal scrolling

* Ensure cursor highlighting is correct on row label cells

* Document component class for DataTable label hover

* Test to ensure clicking row label emits correct event

* Add snapshot test for DataTable with fixed rows/cols and row labels

* Using pilot pause instead of wait_for_idle directly

* Update CHANGELOG

* Add a docstring

* Add a note to CHANGELOG.md about RowLabelSelected
2023-02-27 10:29:17 +00:00
Dave Pearson
7bfed019c9 Improve the wording of a test description 2023-02-27 10:08:45 +00:00
Dave Pearson
445e29ff26 Improve the wording of a test description 2023-02-27 10:07:59 +00:00
Dave Pearson
db9b9e1c5d Fix a typo 2023-02-27 10:07:25 +00:00
Dave Pearson
7f90e4e850 Add a test for adding multiple on buttons to a radioset 2023-02-27 10:06:50 +00:00
Dave Pearson
e6e46d0825 Merge branch 'main' into toggle-boxen 2023-02-27 08:53:30 +00:00
Will McGugan
96370b1fd8 Merge pull request #1873 from Textualize/screen-children-fix
fix walk children
2023-02-24 12:36:58 +00:00
Will McGugan
5a77e3493d add test 2023-02-24 10:13:58 +00:00
Dave Pearson
24ce819867 Add snapshot tests for the toggle button examples 2023-02-23 22:05:47 +00:00
Dave Pearson
719c831e3b Add some unit testing for RadioSet 2023-02-23 21:50:14 +00:00
Dave Pearson
d341b8b1b8 Fix a couple of copy/paste-o docstrings 2023-02-23 21:30:06 +00:00
Dave Pearson
236266248d Add CSS class tests for check boxes and radio buttons 2023-02-23 21:10:21 +00:00
Dave Pearson
7c6522e634 Add initial radio button tests 2023-02-23 21:07:39 +00:00
Dave Pearson
cfe7be3abe Some initial Checkbox unit testing
Lots more to come.
2023-02-23 16:46:58 +00:00
Will McGugan
7d99d168ff prevent implementation 2023-02-23 13:49:07 +00:00
Will McGugan
402ef0887d Merge pull request #1860 from Textualize/cache-internals
Cache internals
2023-02-22 16:06:35 +00:00
Will McGugan
07d728382d fix test 2023-02-22 15:59:34 +00:00
Will McGugan
32eb6ee075 test fix 2023-02-22 15:47:28 +00:00
Will McGugan
5686147909 comment 2023-02-22 14:33:23 +00:00
Will McGugan
3c9e89d778 snapshots 2023-02-22 14:21:25 +00:00
Will McGugan
c63cab728b force pause 2023-02-22 14:08:54 +00:00
Will McGugan
edd1c28b79 restore css bases 2023-02-22 13:41:05 +00:00
Will McGugan
801051b70b garantee order 2023-02-22 13:32:49 +00:00
Will McGugan
408342bc0b snapshots 2023-02-22 11:46:50 +00:00
Will McGugan
8152b2af2d snapshot 2023-02-22 09:59:29 +00:00
Will McGugan
d0d50e4981 cache on 3.9 only 2023-02-22 09:49:10 +00:00
Will McGugan
ab3e523aab Merge pull request #1841 from Textualize/reactive-get
Reactive get
2023-02-21 10:43:23 +00:00
Will McGugan
4c9326f66f Merge pull request #1832 from Textualize/batch-update
Batch update
2023-02-21 10:42:31 +00:00
Will McGugan
068d7513b8 Merge pull request #1823 from Textualize/optimize-scroll
Optimize scroll with a Spatial Map
2023-02-21 10:41:04 +00:00
Will McGugan
e4b38f2341 Rename 2023-02-21 09:58:12 +00:00
Will McGugan
453070032e Merge pull request #1785 from davep/promote-disabled
Promote disabled to `Widget` level
2023-02-21 09:56:01 +00:00
Will McGugan
ae498d49c8 Merge branch 'main' into optimize-scroll 2023-02-21 09:40:42 +00:00
Dave Pearson
e666ee7286 Fix variable name typo
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com>
2023-02-20 21:25:12 +00:00
Dave Pearson
e8e00b1920 Fix variable name typo
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com>
2023-02-20 21:25:03 +00:00
Dave Pearson
8ec13c3aba Fix variable name typo
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com>
2023-02-20 21:24:48 +00:00
Dave Pearson
f785a51769 Add combined type CSS parsing tests 2023-02-20 10:08:02 +00:00
Will McGugan
52e522b2e8 test 2023-02-19 22:26:07 +00:00
Will McGugan
d18c794e69 call compute on demand 2023-02-19 22:24:28 +00:00
Will McGugan
433e371dc9 changelog and snapshots 2023-02-19 10:05:37 +00:00
Will McGugan
ff65748992 comment on test 2023-02-18 10:24:45 +00:00
Will McGugan
b9375c5a14 Added test for batch update 2023-02-18 10:22:29 +00:00
Will McGugan
31c8fb2818 tests 2023-02-17 18:14:18 +00:00
Will McGugan
0ac7eef4b5 docstrings and types 2023-02-17 18:14:18 +00:00
Will McGugan
32a1b576a0 merged changelog 2023-02-17 12:37:53 +00:00
Will McGugan
c65e52be53 tests 2023-02-17 12:36:35 +00:00
Will McGugan
edf00a7d0b fix for spatial calculation 2023-02-17 11:36:01 +00:00
Will McGugan
11d10db1ab fast path for scrolling 2023-02-17 10:42:42 +00:00
Dave Pearson
7ba64c7199 Fix docstring typo
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com>
2023-02-16 11:40:52 +00:00
Darren Burns
921a65816e Ensuring new caches cleared, location mapping reset when clear called 2023-02-16 10:27:56 +00:00