Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add button to filter transactions by type [web] #1324

Merged
merged 74 commits into from
Mar 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
f5baaf6
add filter icon
MonikaCat Jan 12, 2024
cf13ccd
wip: msg filter dialog
MonikaCat Jan 12, 2024
454ef4a
updated locales
MonikaCat Jan 12, 2024
55cc7ec
update FilterTxsByType handler
MonikaCat Jan 15, 2024
7b3d8d7
add filterMsgType to recoil
MonikaCat Jan 15, 2024
f17102d
add message_type query to graphql
MonikaCat Jan 19, 2024
25d1326
add useMessageTypesQuery and update form to display types from db
MonikaCat Jan 19, 2024
3c29a98
updated recoil filterMsgTypes to string[]
MonikaCat Jan 19, 2024
c218fe9
rm MsgTypeList from utils
MonikaCat Jan 19, 2024
3c87069
updated tx filter handlers
MonikaCat Jan 22, 2024
32fb4f9
mv msg and form handler to hooks.ts
MonikaCat Jan 22, 2024
7d33aec
export readFilterMsgTypes
MonikaCat Jan 22, 2024
0158139
sort msgs in alphabetical order
MonikaCat Jan 23, 2024
69ac379
filter txs on button click
MonikaCat Jan 23, 2024
b9cd2f1
updated filter options
MonikaCat Jan 23, 2024
771a001
add msg search
MonikaCat Jan 23, 2024
5e989cc
updated transactionQuery inside validator details
MonikaCat Jan 23, 2024
fd2059c
add MessagesByTypesListener subscription and MessagesByTypes query
MonikaCat Jan 23, 2024
364ec07
updated transactions page hooks
MonikaCat Jan 23, 2024
08ef750
updated general types
MonikaCat Jan 24, 2024
682a821
rm tx filter handler from react window
MonikaCat Jan 24, 2024
148198c
rm props from FilterTxsByType
MonikaCat Jan 24, 2024
509924b
updated transaction filtering
MonikaCat Jan 24, 2024
a39b478
updated transactions hooks
MonikaCat Jan 24, 2024
de00c1e
updated messages listener limit
MonikaCat Jan 24, 2024
7f6042e
store dialog open value in recoil
MonikaCat Jan 24, 2024
a898c94
updated styles
MonikaCat Jan 24, 2024
7130acf
updated hooks
MonikaCat Jan 24, 2024
7766394
add messages types queries to kyve general types
MonikaCat Jan 24, 2024
1401f4e
update recoil init state
MonikaCat Jan 26, 2024
5dd8397
fix re-rendering dialog issue in transaction page
MonikaCat Jan 26, 2024
f4ab03e
reset recoil state on page change and fix tx search filtering issue
MonikaCat Jan 26, 2024
fdd1fe8
move tx filter to transaction filter recoil
MonikaCat Jan 26, 2024
270463c
rename filterMsgTypes to filter
MonikaCat Jan 26, 2024
8d74183
refactor code
MonikaCat Jan 26, 2024
fe23121
rename msg search to transacttion type search
MonikaCat Jan 26, 2024
900a85c
rm unused import
MonikaCat Jan 26, 2024
ac03a0a
updated graphql schema for web, web-agoric, web-akash, web-archway, w…
MonikaCat Feb 5, 2024
c29c1a4
updated graphql schema for web-band, web-bitsong, web-cheqd, web-comd…
MonikaCat Feb 5, 2024
75b9b54
updated graphql schema for web-desmos, web-emoney, web-gitopia, web-h…
MonikaCat Feb 5, 2024
5aeda53
updated graphql schema for web-kyve, web-likecoin, web-neutron, web-nym
MonikaCat Feb 5, 2024
cd5d927
updated graphql schema for web-persistence, web-provenance, web-quasa…
MonikaCat Feb 5, 2024
2736fa0
updated graphql schema for web-regen, web-rizon, web-stride, web-worm…
MonikaCat Feb 5, 2024
835bdbb
updated graphql schema for ui
MonikaCat Feb 6, 2024
f758041
updated search icon
MonikaCat Feb 6, 2024
1c5ef00
updated locales
MonikaCat Feb 6, 2024
bf0ed15
updated dialog and checkbox
MonikaCat Feb 6, 2024
18319e5
add select all button
MonikaCat Feb 6, 2024
b167ff7
updated styles
MonikaCat Feb 6, 2024
15494a3
fix formatTypes hook
MonikaCat Feb 6, 2024
8e9c93a
updated styles
MonikaCat Feb 6, 2024
8a4de11
feat: update mergeMessagesByLabel and remove hardcoded msg values
MonikaCat Feb 7, 2024
8f8d5ff
updated graphql schema for web-evmos
MonikaCat Feb 7, 2024
02c5ace
updated MessagesByTypesListener limit to 7
MonikaCat Feb 7, 2024
6878703
Merge branch 'main' of https://github.com/forbole/big-dipper-2.0-cosm…
MonikaCat Feb 7, 2024
1bc9938
updated formatting
MonikaCat Feb 7, 2024
79d3233
updated transaction type filer component and hooks
MonikaCat Feb 7, 2024
0e0222b
fix web and web-osmosis grapghql schema
MonikaCat Feb 7, 2024
c569464
fix web-persistence graphql schema
MonikaCat Feb 7, 2024
096281d
fix: neutron screens
MonikaCat Feb 7, 2024
9e3b98c
add changeset entry
MonikaCat Feb 7, 2024
55f9979
fix: updated tests
MonikaCat Feb 7, 2024
eb1e34c
fix: rm unnecesary key and update locales common.json
MonikaCat Feb 8, 2024
2b582be
chore: cleanup
MonikaCat Feb 8, 2024
9caa987
update msg type options to be displayed in two columns
MonikaCat Feb 8, 2024
01ed90a
update Select All button position
MonikaCat Feb 8, 2024
6de5de5
rm unused import
MonikaCat Feb 8, 2024
2687eee
feat: keep checkbox options selected after closing dialog and after u…
MonikaCat Feb 9, 2024
642b566
Merge branch 'main' of https://github.com/forbole/big-dipper-2.0-cosm…
MonikaCat Feb 9, 2024
8da175b
feat: display tx header when there is no txs
MonikaCat Feb 27, 2024
ffa7251
updated grid ref
MonikaCat Feb 28, 2024
66164a9
feat: display available message types for given address inside the tx…
MonikaCat Feb 28, 2024
2a5747f
updated graphql schemas
MonikaCat Feb 28, 2024
a552098
updated chain.json for desmos
MonikaCat Feb 28, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions .changeset/gorgeous-squids-learn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
'shared-utils': minor
'web-assetmantle': minor
'web-persistence': minor
'web-quicksilver': minor
'web-provenance': minor
'web-crescent': minor
'web-humansai': minor
'web-likecoin': minor
'web-wormhole': minor
'web-archway': minor
'web-bitsong': minor
'web-gitopia': minor
'web-neutron': minor
'web-osmosis': minor
'web-agoric': minor
'web-comdex': minor
'web-coreum': minor
'web-cosmos': minor
'web-desmos': minor
'web-emoney': minor
'web-jackal': minor
'web-quasar': minor
'web-stride': minor
'web-akash': minor
'web-cheqd': minor
'web-evmos': minor
'web-regen': minor
'web-rizon': minor
'web-band': minor
'web-kyve': minor
'web-nym': minor
'ui': minor
'web': minor
---

add button to filter transactions by type
49 changes: 49 additions & 0 deletions apps/web-agoric/src/graphql/general/message_types.graphql
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
query MessageTypes{
msgTypes: message_type{
type
module
label
}
}

query MsgTypesByAddress($addresses: _text = "{}") {
msgTypes: messages_types_by_address(args: {addresses: $addresses}) {
message_type{
label
module
type
}
}
}

subscription MessagesByTypesListener($types: _text = "{}", $limit: bigint = 7, $offset: bigint = 0) {
messagesByTypes: messages_by_type(args: {types: $types, limit: $limit, offset: $offset}) {
transaction {
height
hash
success
messages
logs
block {
height
timestamp
}
}
}
}

query MessagesByTypes($types: _text = "{}", $limit: bigint = 7, $offset: bigint = 0) {
messagesByTypes: messages_by_type(args: {types: $types, limit: $limit, offset: $offset}) {
transaction {
height
hash
success
messages
logs
block {
height
timestamp
}
}
}
}
Loading
Loading