From 9e49691bcbb123fcec5da9eccb2da085e0d42c72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20ROU=C3=8BN=C3=89?= Date: Fri, 3 Jan 2025 14:14:13 +0100 Subject: [PATCH] [4359] Fix an issue where two pagination forms where display in tables MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug: https://github.com/eclipse-sirius/sirius-web/issues/4359 Signed-off-by: Florian ROUËNÉ --- CHANGELOG.adoc | 2 +- .../sirius-components-tables/src/table/TableContent.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc index 09bbc6ed0e..faff5982d9 100644 --- a/CHANGELOG.adoc +++ b/CHANGELOG.adoc @@ -47,6 +47,7 @@ This may have some consequences for downstream applications which are embedding - https://github.com/eclipse-sirius/sirius-web/issues/3578[#3578] [diagram] Fix tooltip and menu visibility in a full screen mode. See https://github.com/mui/material-ui/issues/15618[this link] for additional details. - https://github.com/eclipse-sirius/sirius-web/issues/4360[#4360] [table] Prevent application crash when opening tables from a form +- https://github.com/eclipse-sirius/sirius-web/issues/4359[#4359] [table] Fix an issue where two pagination forms where display in tables === New Features @@ -57,7 +58,6 @@ See https://github.com/mui/material-ui/issues/15618[this link] for additional de Specifiers can contribute dedicated AQL services for this feature using implementations of `IInterpreterJavaServiceProvider` - https://github.com/eclipse-sirius/sirius-web/issues/4346[#4346] [core] The field `Object#iconURLs` has been added to the GraphQL schema in order to retrieve the icon of an object - https://github.com/eclipse-sirius/sirius-web/issues/4346[#4346] [query] Add some feedback for long running evaluations -Specifiers can contribute dedicated AQL services for this feature using implementations of `IInterpreterJavaServiceProvider`. - https://github.com/eclipse-sirius/sirius-web/issues/4338[#4338] [core] A Spring log group dedicated to performance issues has been created. As a result, one can use `logging.level.sirius.web.performance=DEBUG` in order to display key performance metrics in a Sirius Web instance. Some log messages have been updated in order to provide more information and make them easier to read to idenfity key performance issues. diff --git a/packages/tables/frontend/sirius-components-tables/src/table/TableContent.tsx b/packages/tables/frontend/sirius-components-tables/src/table/TableContent.tsx index c85bf29492..f1901da687 100644 --- a/packages/tables/frontend/sirius-components-tables/src/table/TableContent.tsx +++ b/packages/tables/frontend/sirius-components-tables/src/table/TableContent.tsx @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2024 Obeo. + * Copyright (c) 2024, 2025 Obeo. * This program and the accompanying materials * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at @@ -147,7 +147,7 @@ export const TableContent = memo( enableEditing: !readOnly, onColumnFiltersChange: setColumnFilters, enableStickyHeader: true, - enablePagination, + enablePagination: false, manualPagination: enablePagination, rowCount: table.paginationData.totalRowCount, enableRowActions: true,