Skip to content

Refactor/activity list filters grid - #1131

Open
ako3131 wants to merge 30 commits into
masterfrom
refactor/activity-list-filters-grid
Open

ako3131 wants to merge 30 commits into
masterfrom
refactor/activity-list-filters-grid

Conversation

@ako3131

@ako3131 ako3131 commented Oct 19, 2026

Copy link
Copy Markdown

ref: https://app.clickup.com/t/9014802374/86bcbg72u

UI CHANGES:

  • Activity list now uses the MUI Data Grid: sticky column headers, drag-to-resize columns, pagination above and below the grid
  • Toolbar holds everything: Edit Selected, Saved Views, Add Activity, Import (MUX or CSV, one icon menu), Columns, Filters, Export, and Search (an icon that expands)
  • Saved Views is now a dropdown: pick, search, delete, clear, or save the current filters as a view
  • Columns panel replaces the "Select data to display" dropdown; every column except Actions can be hidden
  • Hidden default columns come back on the next visit; the optional columns you pick are remembered
  • Selection Status is now an optional column, hidden by default
  • The "All" and "All Companies" shortcuts are gone but the column selector panel Show/Hide all replaces "All"
  • Long cell text is cut to one line and rows grow only while being bulk-edited
  • A third click on a column header removes the sort and goes back to the default order

@ako3131
ako3131 requested review from santipalenque and smarcet and a balanced review from Copilot October 19, 2026 18:36
@ako3131 ako3131 self-assigned this Oct 19, 2026
@coderabbitai

coderabbitai Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 96d7ef2b-f08d-4e44-add6-8b84e0c621f7
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@ako3131

ako3131 commented Oct 19, 2026

Copy link
Copy Markdown
Author

/deploy-preview

@github-actions

Copy link
Copy Markdown

🚀 Deployed on https://pr-1131--show-admin-preview.netlify.app

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Bulk-edit relationship handling and unresolved search, visibility, and keyboard interaction defects affect core activity-list workflows.

5 open issues
What changed in this PR

Migrates the activity list to MUI Data Grid and consolidates its controls into a toolbar.

Changes:

  • Adds resizable columns, bulk editing, and top/bottom pagination.
  • Introduces searchable Saved Views and optional-column persistence.
  • Adds grid and saved-view interaction tests.
File Description
yarn.lock Locks Data Grid dependencies.
src/​reducers/​events/​event-list-reducer.js Stores optional-column selections.
src/​pages/​events/​summit-event-list-page/​index.js Integrates the grid and Saved Views.
src/​pages/​events/​summit-event-list-page/​helpers.js Makes Selection Status optional.
src/​pages/​events/​__tests__/​summit-event-list-page.test.js Tests column visibility and persistence.
src/​i18n/​en.json Updates toolbar and saved-view labels.
src/​components/​mui/​bulk-edit-data-grid.js Adds the reusable bulk-edit grid.
src/​components/​mui/​__tests__/​bulk-edit-data-grid.test.js Tests grid interactions.
src/​components/​filters/​saved-views/​index.js Adds saved-view selection and management.
src/​components/​filters/​saved-views/​__tests__/​saved-views.test.js Tests saved-view workflows.
src/​actions/​event-actions.js Adds the column-selection action.
package.json Adds MUI Data Grid.

Review effort: Balanced

const editField = (rowId, key, value) => {
setEditRows((current) => ({
...current,
[rowId]: { ...current[rowId], [key]: value }

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in d930c90

Comment on lines +158 to +159
const loadViews = (input) =>
queryFilterCriterias(summitId, context, input, setViews);
onChange={handleSearch}
placeholder={T.translate("general.placeholders.search")}
// the menu otherwise treats typing as item navigation
onKeyDown={(ev) => ev.stopPropagation()}

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in f632809

// its input and its clear button with nothing typed
onBlur={(ev) => {
if (ev.currentTarget.contains(ev.relatedTarget)) return;
if (!ev.currentTarget.querySelector("input").value) setExpanded(false);

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in ae71970

Comment on lines +489 to +491
field: "actions",
type: "actions",
headerName: T.translate("general.actions"),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants