This repository has been archived by the owner on Nov 10, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 363
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: filter historical transactions (#3870)
* fix: update gateway sdk + add filter to `search` * fix: type collision * fix: fetch + show filtered results * fix: use address for module * fix: fetches after filtering + history pointers * fix: fetching filtered endpoints * fix: cleanup code * fix: repair lock file + add stricter typing * fix: drill filter + separate paging logic * fix: add tests * fix: only save certain query params * fix: filters and layout * fix: use native searchParams + add `executed` * fix: remove dev button, upgrade sdk + tests * fix: don't append second ampersand * fix: persist addresses * fix: add no results message * fix: remove date filtering + add tracking * fix: display date filters as coming soon * fix: don't apply the same filter twice + cleanup * fix: `isTxFilter`, catch URL + remove hidden field * fix: only check a subset of keys * fix: change icon * fix: add `box-shadow` + filter type to button * fix: change button style * fix: remove unnecessary flag + fix type * fix: remove unnecessary pointer * fix: convert `value to wei + always show clear * fix: test * fix: remove `recipient` from incoming filter
- Loading branch information
Showing
25 changed files
with
679 additions
and
368 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 4 additions & 1 deletion
5
src/logic/safe/store/actions/transactions/gatewayTransactions.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
import { createAction } from 'redux-actions' | ||
|
||
import { HistoryPayload, QueuedPayload } from 'src/logic/safe/store/reducer/gatewayTransactions' | ||
import { HistoryPayload, QueuedPayload, RemoveHistoryPayload } from 'src/logic/safe/store/reducer/gatewayTransactions' | ||
|
||
export const ADD_HISTORY_TRANSACTIONS = 'ADD_HISTORY_TRANSACTIONS' | ||
export const addHistoryTransactions = createAction<HistoryPayload>(ADD_HISTORY_TRANSACTIONS) | ||
|
||
export const REMOVE_HISTORY_TRANSACTIONS = 'REMOVE_HISTORY_TRANSACTIONS' | ||
export const removeHistoryTransactions = createAction<RemoveHistoryPayload>(REMOVE_HISTORY_TRANSACTIONS) | ||
|
||
export const ADD_QUEUED_TRANSACTIONS = 'ADD_QUEUED_TRANSACTIONS' | ||
export const addQueuedTransactions = createAction<QueuedPayload>(ADD_QUEUED_TRANSACTIONS) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.