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
Darren Burns
921a65816e
Ensuring new caches cleared, location mapping reset when clear called
2023-02-16 10:27:56 +00:00
Darren Burns
4ec5d3f9db
Migrate some DataTable tests from pilot.pause to wait_for_idle
2023-02-14 15:25:33 +00:00
Darren Burns
5cf1be1cbc
Adding test for HeaderSelected event in DataTable
2023-02-14 15:16:22 +00:00
Darren Burns
92087784df
Testing DataTable.get_column_at with invalid index
2023-02-14 13:28:48 +00:00
Darren Burns
3b7d24f9c0
Testing DataTable.get_column_at
2023-02-14 13:25:01 +00:00
Darren Burns
6d888af723
Testing DataTable.get_column with invalid column key
2023-02-14 13:22:07 +00:00
Darren Burns
af694ecb97
Testing DataTable.get_column
2023-02-14 13:18:19 +00:00
Darren Burns
fcdff48f0a
Testing invalid index and keys in DataTable.get_row*
2023-02-14 12:47:49 +00:00
Darren Burns
8d22ad6ff9
Adding a test for DataTable.get_row_at
2023-02-14 11:52:03 +00:00
Darren Burns
c37061cf18
Adding an explanatory comment to a test
2023-02-14 11:45:27 +00:00
Darren Burns
091adc9d8e
Testing get_row (by key) in DataTable
2023-02-14 11:44:35 +00:00
Darren Burns
8a6e44b010
Make DataTable.data private (it's now _data)
2023-02-14 11:00:43 +00:00
Darren Burns
12a58f838f
Exception on duplicate row and column keys
2023-02-13 14:09:33 +00:00
Darren Burns
84141630bc
Some renaming of API methods
2023-02-09 16:20:17 +00:00
Darren Burns
7ebc95fb54
Updating tests for DataTable
2023-02-09 11:16:14 +00:00
Darren Burns
a6f382660c
Fix imports in data table tests
2023-02-08 16:07:17 +00:00
Darren Burns
e4d2cde9cd
Unit test to ensure column cursor events posted correctly
2023-02-08 14:20:28 +00:00
Darren Burns
6ffeb5cd8a
Unit test to ensure event emission from row cursor correct in DataTable
2023-02-08 14:13:37 +00:00
Darren Burns
2fe73c0c28
Testing highlighted events via keyboard cursor movement
2023-02-08 14:01:42 +00:00
Darren Burns
64840daa0e
PEP8 in tests for data table
2023-02-08 13:36:42 +00:00
Darren Burns
54a29dd664
Fix attribute error with emit being remove, check ordered_rows is correct after sort
2023-02-08 13:20:53 +00:00
Darren Burns
10c3deb9d2
Testing reverse sort
2023-02-08 12:49:59 +00:00
Darren Burns
0949211ab6
Unit testing for sorting method
2023-02-08 12:44:02 +00:00
Darren Burns
3cf010ebe7
Testing to ensure the hover coordinate is updated
2023-02-07 11:23:02 +00:00
Darren Burns
0afcc8cd47
Add comment to a test
2023-02-07 11:09:51 +00:00
Darren Burns
3e451e8416
Testing that data inside DataTable events correct on click
2023-02-07 11:09:21 +00:00
Darren Burns
76d2ff2999
Testing clicks in DataTable
2023-02-07 10:49:01 +00:00
Darren Burns
998ee9b8a2
Test to ensure correct exception raised when converting to cell key from coordinate in DataTable
2023-02-02 15:44:25 +00:00
Darren Burns
62fb9d58bd
Testing conversion of coordinate to cell_key
2023-02-02 15:40:24 +00:00
Darren Burns
87808c63b2
Tidying some tests
2023-02-02 15:29:26 +00:00
Darren Burns
134ceffd11
Testing to ensure column size calculated correctly
2023-02-02 14:20:33 +00:00
Darren Burns
7748b69e95
Initial unit tests around column width updates
2023-02-02 14:12:14 +00:00
Darren Burns
990a6311bc
Extract common coordinate validation logic into method in DataTable
2023-02-02 13:09:11 +00:00
Darren Burns
77b94b005c
Testing case where you try to update cells which dont exist
2023-02-01 17:34:03 +00:00
Darren Burns
23a34030cd
Measuring string cells correctly
2023-02-01 17:10:59 +00:00
Darren Burns
fd4e13c988
Add tests for DataTable.get_cell_value
2023-02-01 15:43:36 +00:00
Darren Burns
3f463cb0ef
Store strings as strings
2023-02-01 14:54:33 +00:00
Darren Burns
abd35436fb
Some refactoring, and add cell_key to DataTable.CellSelected
2023-01-31 13:34:13 +00:00
Darren Burns
c34f4becfe
Fixing data table tests
2023-01-30 14:37:41 +00:00
Darren Burns
aee100ff10
Removing redundant data from DataTable.Row
2023-01-26 14:05:31 +00:00
Darren Burns
9d2ddfa86e
Remove DataTable Row.index
2023-01-26 13:56:40 +00:00
Darren Burns
3b1f869300
Update tests to support keyed rows
2023-01-24 16:00:53 +00:00
Darren Burns
a958c66671
Keys for columns in the DataTable
2023-01-24 14:17:29 +00:00
Darren Burns
2d498d516d
Remove pauses from DataTable tests
2023-01-24 13:04:49 +00:00
Darren Burns
b5e5a66e32
Some additional tests around row/col keys in DataTable
2023-01-24 12:52:31 +00:00
Darren Burns
0eb38e79da
Add test for adding columns to data table
2023-01-24 12:47:43 +00:00
Darren Burns
a4db3426b8
Rename a DataTable test
2023-01-24 11:35:30 +00:00
Darren Burns
12d429dbd0
Replace DataTable row_count with property, test improvements
2023-01-24 11:33:35 +00:00
Darren Burns
f338381b73
Testing around row key generation, add_rows etc
2023-01-23 15:47:25 +00:00