Update Tabulator (#104390)

Updates Tabulator package from 5.4 to 6.3

The relevant breaking change is the change of the `selectable` variable to `selectableRows`

Reviewed-on: https://projects.blender.org/studio/flamenco/pulls/104390
Reviewed-by: Sybren A. Stüvel <sybren@blender.org>
This commit is contained in:
Vivian Leung 2025-05-27 18:07:42 +02:00 committed by Sybren A. Stüvel
parent 3541575a75
commit c5785a7c97
8 changed files with 11 additions and 11 deletions

View File

@ -23,7 +23,7 @@
"pinia": "^2.0.13",
"socket.io-client": "2",
"superagent": "^7.1.2",
"tabulator-tables": "^5.4.3",
"tabulator-tables": "^6.3.0",
"vue": "^3.2.31",
"vue-router": "^4.0.14"
},

View File

@ -35,7 +35,7 @@ const tabOptions = {
height: 'calc(25vh - 3rem)', // Must be set in order for the virtual DOM to function correctly.
data: notifs.history,
placeholder: 'Notification history will appear here',
selectable: false,
selectableRows: false,
};
let tabulator = null;

View File

@ -25,7 +25,7 @@ const tabOptions = {
height: 'calc(25vh - 3rem)', // Must be set in order for the virtual DOM to function correctly.
data: taskLog.history,
placeholder: 'Task log will appear here',
selectable: false,
selectableRows: false,
};
let tabulator = null;

View File

@ -92,7 +92,7 @@ export default {
layoutColumnsOnNewData: true,
height: '720px', // Must be set in order for the virtual DOM to function correctly.
data: [], // Will be filled via a Flamenco API request.
selectable: false, // The active job is tracked by click events, not row selection.
selectableRows: false, // The active job is tracked by click events, not row selection.
};
this.tabulator = new Tabulator('#flamenco_job_list', options);
this.tabulator.on('rowClick', this.onRowClick);

View File

@ -89,7 +89,7 @@ export default {
height: '100%', // Must be set in order for the virtual DOM to function correctly.
maxHeight: '100%',
data: [], // Will be filled via a Flamenco API request.
selectable: false, // The active task is tracked by click events.
selectableRows: false, // The active and selected tasks are tracked by custom click events.
};
this.tabulator = new Tabulator('#flamenco_task_list', options);

View File

@ -77,7 +77,7 @@ export default {
layoutColumnsOnNewData: true,
height: '360px', // Must be set in order for the virtual DOM to function correctly.
data: [], // Will be filled via a Flamenco API request.
selectable: false, // The active worker is tracked by click events, not row selection.
selectableRows: false, // The active worker is tracked by click events, not row selection.
};
this.tabulator = new Tabulator('#flamenco_workers_list', options);
this.tabulator.on('rowClick', this.onRowClick);

View File

@ -167,7 +167,7 @@ export default {
layout: 'fitColumns',
layoutColumnsOnNewData: true,
height: '82%',
selectable: false,
selectableRows: false,
};
this.tabulator = new Tabulator('#tag-table-container', tag_options);

View File

@ -1237,10 +1237,10 @@ supports-preserve-symlinks-flag@^1.0.0:
resolved "https://registry.yarnpkg.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09"
integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==
tabulator-tables@^5.4.3:
version "5.4.3"
resolved "https://registry.yarnpkg.com/tabulator-tables/-/tabulator-tables-5.4.3.tgz#78127f263b5bf26d8dc15e1cd2fc6755fe51b8ca"
integrity sha512-XnQcfwd2LzHWKAo8ZzUVglKaQnzn3wZwH48ouYr1dDbfUcQiU1ESJjVhmVxPMr9tf0oDcV6qPViEHinAi/tqbw==
tabulator-tables@^6.3.0:
version "6.3.1"
resolved "https://registry.yarnpkg.com/tabulator-tables/-/tabulator-tables-6.3.1.tgz#648c2893167bfb1f531c52670fad92d6353b8b40"
integrity sha512-qFW7kfadtcaISQIibKAIy0f3eeIXUVi8242Vly1iJfMD79kfEGzfczNuPBN/80hDxHzQJXYbmJ8VipI40hQtfA==
text-table@^0.2.0:
version "0.2.0"