diff --git a/client/src/app/pages/applications/applications-table-analyze/applications-table-analyze.tsx b/client/src/app/pages/applications/applications-table-analyze/applications-table-analyze.tsx index 9db1edbe8c..5bf9bfc07e 100644 --- a/client/src/app/pages/applications/applications-table-analyze/applications-table-analyze.tsx +++ b/client/src/app/pages/applications/applications-table-analyze/applications-table-analyze.tsx @@ -196,6 +196,11 @@ export const ApplicationsTableAnalyze: React.FC = () => { analysis: "Analysis", tags: "Tags", }, + isFilterEnabled: true, + isSortEnabled: true, + isPaginationEnabled: true, + isSelectionEnabled: true, + isActiveRowEnabled: true, sortableColumns: ["name", "description", "businessService", "tags"], initialSort: { columnKey: "name", direction: "asc" }, getSortValues: (app) => ({ @@ -324,7 +329,6 @@ export const ApplicationsTableAnalyze: React.FC = () => { ], initialItemsPerPage: 10, hasActionsColumn: true, - isSelectionEnabled: true, }); const { diff --git a/client/src/app/pages/applications/applications-table-assessment/applications-table-assessment.tsx b/client/src/app/pages/applications/applications-table-assessment/applications-table-assessment.tsx index 012f2731ee..6ea23ced37 100644 --- a/client/src/app/pages/applications/applications-table-assessment/applications-table-assessment.tsx +++ b/client/src/app/pages/applications/applications-table-assessment/applications-table-assessment.tsx @@ -243,6 +243,10 @@ export const ApplicationsTable: React.FC = () => { review: "Review", tags: "Tags", }, + isFilterEnabled: true, + isSortEnabled: true, + isPaginationEnabled: true, + isActiveRowEnabled: true, sortableColumns: ["name", "description", "businessService", "tags"], initialSort: { columnKey: "name", direction: "asc" }, getSortValues: (app) => ({ diff --git a/client/src/app/pages/archetypes/archetypes-page.tsx b/client/src/app/pages/archetypes/archetypes-page.tsx index 86cb30b97f..69c013c9b8 100644 --- a/client/src/app/pages/archetypes/archetypes-page.tsx +++ b/client/src/app/pages/archetypes/archetypes-page.tsx @@ -114,6 +114,11 @@ const Archetypes: React.FC = () => { applications: t("terms.applications"), }, + isFilterEnabled: true, + isSortEnabled: true, + isPaginationEnabled: true, + isActiveRowEnabled: true, + filterCategories: [ { key: "name", @@ -135,8 +140,6 @@ const Archetypes: React.FC = () => { name: archetype.name ?? "", }), initialSort: { columnKey: "name", direction: "asc" }, - - isPaginationEnabled: true, }); const { currentPageItems, diff --git a/client/src/app/pages/assessment-management/assessment-settings/assessment-settings-page.tsx b/client/src/app/pages/assessment-management/assessment-settings/assessment-settings-page.tsx index e5c6d02485..5689856f04 100644 --- a/client/src/app/pages/assessment-management/assessment-settings/assessment-settings-page.tsx +++ b/client/src/app/pages/assessment-management/assessment-settings/assessment-settings-page.tsx @@ -113,7 +113,9 @@ const AssessmentSettings: React.FC = () => { rating: "Rating", createTime: "Date imported", }, - isSelectionEnabled: false, + isFilterEnabled: true, + isSortEnabled: true, + isPaginationEnabled: true, hasActionsColumn: true, filterCategories: [ { @@ -135,7 +137,6 @@ const AssessmentSettings: React.FC = () => { createTime: questionnaire.createTime || "", }), initialSort: { columnKey: "name", direction: "asc" }, - isPaginationEnabled: true, isLoading: isFetching, }); const { diff --git a/client/src/app/pages/assessment/components/assessment-actions/components/questionnaires-table.tsx b/client/src/app/pages/assessment/components/assessment-actions/components/questionnaires-table.tsx index fc1e1aa18d..f13f5ecd18 100644 --- a/client/src/app/pages/assessment/components/assessment-actions/components/questionnaires-table.tsx +++ b/client/src/app/pages/assessment/components/assessment-actions/components/questionnaires-table.tsx @@ -40,8 +40,6 @@ const QuestionnairesTable: React.FC = ({ columnNames: { questionnaires: tableName, }, - hasActionsColumn: false, - isPaginationEnabled: false, variant: "compact", }); diff --git a/client/src/app/pages/controls/stakeholders/stakeholders.tsx b/client/src/app/pages/controls/stakeholders/stakeholders.tsx index ce9a4e8e6e..48d61a1d9f 100644 --- a/client/src/app/pages/controls/stakeholders/stakeholders.tsx +++ b/client/src/app/pages/controls/stakeholders/stakeholders.tsx @@ -103,6 +103,10 @@ export const Stakeholders: React.FC = () => { jobFunction: "Job function", groupCount: "Group count", }, + isFilterEnabled: true, + isSortEnabled: true, + isPaginationEnabled: true, + isExpansionEnabled: true, expandableVariant: "single", hasActionsColumn: true, filterCategories: [ @@ -165,7 +169,6 @@ export const Stakeholders: React.FC = () => { jobFunction: item.jobFunction?.name || "", }), initialSort: { columnKey: "name", direction: "asc" }, - isPaginationEnabled: true, isLoading: isFetching, }); diff --git a/client/src/app/pages/dependencies/dependencies.tsx b/client/src/app/pages/dependencies/dependencies.tsx index e388a09d5e..a873cb0ee9 100644 --- a/client/src/app/pages/dependencies/dependencies.tsx +++ b/client/src/app/pages/dependencies/dependencies.tsx @@ -49,6 +49,10 @@ export const Dependencies: React.FC = () => { sha: "SHA", version: "Version", }, + isFilterEnabled: true, + isSortEnabled: true, + isPaginationEnabled: true, + isActiveRowEnabled: true, sortableColumns: ["name", "foundIn", "labels"], initialSort: { columnKey: "name", direction: "asc" }, filterCategories: [ diff --git a/client/src/app/pages/dependencies/dependency-apps-table.tsx b/client/src/app/pages/dependencies/dependency-apps-table.tsx index 35d2630b02..ca3420b1e9 100644 --- a/client/src/app/pages/dependencies/dependency-apps-table.tsx +++ b/client/src/app/pages/dependencies/dependency-apps-table.tsx @@ -42,6 +42,9 @@ export const DependencyAppsTable: React.FC = ({ // management (3rd party or not boolean... parsed from labels) relationship: "Relationship", }, + isFilterEnabled: true, + isSortEnabled: true, + isPaginationEnabled: true, sortableColumns: ["name", "version"], initialSort: { columnKey: "name", direction: "asc" }, filterCategories: [ diff --git a/client/src/app/pages/external/jira/trackers.tsx b/client/src/app/pages/external/jira/trackers.tsx index aafdf60bcf..f8f49dc3de 100644 --- a/client/src/app/pages/external/jira/trackers.tsx +++ b/client/src/app/pages/external/jira/trackers.tsx @@ -100,6 +100,9 @@ export const JiraTrackers: React.FC = () => { kind: `${t("terms.instance")} type`, connection: "Connection", }, + isFilterEnabled: true, + isSortEnabled: true, + isPaginationEnabled: true, filterCategories: [ { key: "name", @@ -131,7 +134,6 @@ export const JiraTrackers: React.FC = () => { url: tracker.url || "", }), sortableColumns: ["name", "url"], - isPaginationEnabled: true, isLoading: isFetching, }); const { diff --git a/client/src/app/pages/issues/affected-applications/affected-applications.tsx b/client/src/app/pages/issues/affected-applications/affected-applications.tsx index 1b9cffea4c..9623255a28 100644 --- a/client/src/app/pages/issues/affected-applications/affected-applications.tsx +++ b/client/src/app/pages/issues/affected-applications/affected-applications.tsx @@ -62,6 +62,10 @@ export const AffectedApplications: React.FC = () => { effort: "Effort", incidents: "Incidents", }, + isFilterEnabled: true, + isSortEnabled: true, + isPaginationEnabled: true, + isActiveRowEnabled: true, sortableColumns: ["name", "businessService", "effort", "incidents"], initialSort: { columnKey: "name", direction: "asc" }, filterCategories: useSharedAffectedApplicationFilterCategories(), diff --git a/client/src/app/pages/issues/issue-detail-drawer/file-incidents-detail-modal/file-all-incidents-table.tsx b/client/src/app/pages/issues/issue-detail-drawer/file-incidents-detail-modal/file-all-incidents-table.tsx index b95f9ae670..ce4946edbe 100644 --- a/client/src/app/pages/issues/issue-detail-drawer/file-incidents-detail-modal/file-all-incidents-table.tsx +++ b/client/src/app/pages/issues/issue-detail-drawer/file-incidents-detail-modal/file-all-incidents-table.tsx @@ -32,6 +32,8 @@ export const FileAllIncidentsTable: React.FC< line: "Line #", message: "Message", }, + isSortEnabled: true, + isPaginationEnabled: true, sortableColumns: ["line", "message"], initialSort: { columnKey: "line", direction: "asc" }, initialItemsPerPage: 10, diff --git a/client/src/app/pages/issues/issue-detail-drawer/issue-affected-files-table.tsx b/client/src/app/pages/issues/issue-detail-drawer/issue-affected-files-table.tsx index ebfd8628ef..a4c7c58411 100644 --- a/client/src/app/pages/issues/issue-detail-drawer/issue-affected-files-table.tsx +++ b/client/src/app/pages/issues/issue-detail-drawer/issue-affected-files-table.tsx @@ -43,6 +43,9 @@ export const IssueAffectedFilesTable: React.FC< incidents: "Incidents", effort: "Effort", }, + isFilterEnabled: true, + isSortEnabled: true, + isPaginationEnabled: true, sortableColumns: ["file", "incidents", "effort"], initialSort: { columnKey: "file", direction: "asc" }, filterCategories: [ diff --git a/client/src/app/pages/migration-waves/components/manage-applications-form.tsx b/client/src/app/pages/migration-waves/components/manage-applications-form.tsx index 4c49e9cc3a..c452d67c93 100644 --- a/client/src/app/pages/migration-waves/components/manage-applications-form.tsx +++ b/client/src/app/pages/migration-waves/components/manage-applications-form.tsx @@ -108,9 +108,12 @@ export const ManageApplicationsForm: React.FC = ({ businessService: "Business service", owner: "Owner", }, + isFilterEnabled: true, + isSortEnabled: true, + isPaginationEnabled: true, + isExpansionEnabled: true, isSelectionEnabled: true, initialSelected: assignedApplications, - isExpansionEnabled: true, expandableVariant: "compound", hasActionsColumn: true, filterCategories: [ @@ -170,7 +173,6 @@ export const ManageApplicationsForm: React.FC = ({ owner: application.owner?.name || "", }), initialSort: { columnKey: "name", direction: "asc" }, - isPaginationEnabled: true, }); const { currentPageItems, diff --git a/client/src/app/pages/migration-waves/components/stakeholders-table.tsx b/client/src/app/pages/migration-waves/components/stakeholders-table.tsx index 0337fc1157..125245baae 100644 --- a/client/src/app/pages/migration-waves/components/stakeholders-table.tsx +++ b/client/src/app/pages/migration-waves/components/stakeholders-table.tsx @@ -27,6 +27,8 @@ export const WaveStakeholdersTable: React.FC = ({ email: "Email", groups: "Stakeholder groups", }, + isSortEnabled: true, + isPaginationEnabled: true, hasActionsColumn: true, getSortValues: (stakeholder) => ({ name: stakeholder.name || "", @@ -35,7 +37,6 @@ export const WaveStakeholdersTable: React.FC = ({ email: stakeholder.email, }), sortableColumns: ["name", "jobFunction", "role", "email"], - isPaginationEnabled: true, variant: "compact", }); const { diff --git a/client/src/app/pages/migration-waves/components/wave-applications-table.tsx b/client/src/app/pages/migration-waves/components/wave-applications-table.tsx index 161ac0cda4..ed543cbdc0 100644 --- a/client/src/app/pages/migration-waves/components/wave-applications-table.tsx +++ b/client/src/app/pages/migration-waves/components/wave-applications-table.tsx @@ -35,6 +35,8 @@ export const WaveApplicationsTable: React.FC = ({ businessService: "Business service", owner: "Owner", }, + isSortEnabled: true, + isPaginationEnabled: true, hasActionsColumn: true, getSortValues: (app) => ({ appName: app.name || "", @@ -42,7 +44,6 @@ export const WaveApplicationsTable: React.FC = ({ owner: app.owner?.name || "", }), sortableColumns: ["appName", "businessService", "owner"], - isPaginationEnabled: true, variant: "compact", }); const { diff --git a/client/src/app/pages/migration-waves/components/wave-status-table.tsx b/client/src/app/pages/migration-waves/components/wave-status-table.tsx index 7649d3cdc5..1d56e74afe 100644 --- a/client/src/app/pages/migration-waves/components/wave-status-table.tsx +++ b/client/src/app/pages/migration-waves/components/wave-status-table.tsx @@ -53,15 +53,15 @@ export const WaveStatusTable: React.FC = ({ status: "Status", issue: "Issue", }, - hasActionsColumn: true, isSortEnabled: true, + isPaginationEnabled: true, + hasActionsColumn: true, getSortValues: (app) => ({ appName: app.name || "", status: app.comments || "", issue: "", }), sortableColumns: ["appName", "status", "issue"], - isPaginationEnabled: true, variant: "compact", }); const { diff --git a/client/src/app/pages/migration-waves/migration-waves.tsx b/client/src/app/pages/migration-waves/migration-waves.tsx index c213dcba6f..5cc7c0e3da 100644 --- a/client/src/app/pages/migration-waves/migration-waves.tsx +++ b/client/src/app/pages/migration-waves/migration-waves.tsx @@ -188,6 +188,10 @@ export const MigrationWaves: React.FC = () => { stakeholders: "Stakeholders", status: "Status", }, + isFilterEnabled: true, + isSortEnabled: true, + isPaginationEnabled: true, + isExpansionEnabled: true, isSelectionEnabled: true, expandableVariant: "compound", hasActionsColumn: true, @@ -212,7 +216,6 @@ export const MigrationWaves: React.FC = () => { endDate: migrationWave.endDate || "", }), initialSort: { columnKey: "startDate", direction: "asc" }, - isPaginationEnabled: true, isLoading: isFetching, }); const {