Skip to content

feat: add history filter#610

Open
ECWireless wants to merge 5 commits intomainfrom
feat/add-history-filter
Open

feat: add history filter#610
ECWireless wants to merge 5 commits intomainfrom
feat/add-history-filter

Conversation

@ECWireless
Copy link
Copy Markdown
Collaborator

See #513 for all details. Original PR created by @Roaring30s .

Screenshot 2026-03-30 at 10 07 34 AM Screenshot 2026-03-30 at 10 07 40 AM

Roaring30s and others added 4 commits March 30, 2026 07:47
* feat: add history filter to user account

* fix: apply linter and prettier

* fix: add margin on popover from window

* fix: add UI changes to filter

* fix: remove auto scroll

* fix: remove lint error

---------

Co-authored-by: ECWireless <40322776+ECWireless@users.noreply.github.com>
Copilot AI review requested due to automatic review settings March 30, 2026 16:08
@vercel
Copy link
Copy Markdown
Contributor

vercel bot commented Mar 30, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
explorer-arbitrum-one Ready Ready Preview, Comment Mar 30, 2026 5:48pm

Request Review

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds an event-type filter UI to the Account History view so users can narrow the displayed history entries by transaction/event type.

Changes:

  • Introduces a useHistoryFilter hook to manage selected event types, filtered results, and popover open/close behavior.
  • Adds a HistoryFilter popover component (with a new filter icon) and wires it into components/HistoryView.
  • Updates history rendering to use the filtered event list and show an empty-state message when no events match.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
hooks/index.tsx Re-exports the new history filter hook from the hooks barrel.
hooks/filter/useHistoryFilter.ts Implements filter state + memoized filtering + auto-close behavior on outside scroll.
components/Icons/FilterIcon.tsx Adds a small SVG filter icon used by the filter button.
components/HistoryView/index.tsx Integrates the filter hook/component and switches rendering from mergedEvents to filteredEvents.
components/HistoryView/HistoryFilter.tsx Implements the filter popover UI (trigger, header actions, event-type list).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Triage

Development

Successfully merging this pull request may close these issues.

3 participants