(core) Tests and bug fixes for bidirectional linking

Summary:
- Adding tests for bidirectional linking
- Fixing loop bug for bidirectional linking in custom widgets which use row filtering

Test Plan: New tests

Reviewers: JakubSerafin

Reviewed By: JakubSerafin

Differential Revision: https://phab.getgrist.com/D4070
This commit is contained in:
Jarosław Sadziński
2023-10-10 14:54:50 +02:00
parent a8e0f96813
commit 083a20417e
7 changed files with 439 additions and 80 deletions

View File

@@ -77,11 +77,12 @@ export const allowSelectBy = viewApi.allowSelectBy;
*/
export const setSelectedRows = viewApi.setSelectedRows;
/**
* Sets the cursor position in a linked section.
*/
export const setCursorPos = viewApi.setCursorPos;
/**
* Fetches data backing the widget as for [[GristView.fetchSelectedTable]],
* but decoding data by default, replacing e.g. ['D', timestamp] with