Skip to content

Commit

Permalink
feat: add button to filter transactions by type [web] (#1324)
Browse files Browse the repository at this point in the history
## Description

Closes: #XXXX

[BDU-1150](https://forbole.atlassian.net/browse/BDU-1150)

<!-- Add a description of the changes that this PR introduces and the
files that
are the most critical to review. -->

---

### Author Checklist

_All items are required. Please add a note to the item if the item is
not applicable and
please add links to any relevant follow up issues._

I have...

- [x] ran linting via `yarn lint`
- [x] wrote tests where necessary
- [x] included the correct [type
prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json)
in the PR title
- [x] targeted the correct branch
- [x] provided a link to the relevant issue or specification
- [x] reviewed "Files changed" and left comments if necessary
- [x] confirmed all CI checks have passed
- [x] added a changeset via [`yarn && yarn
changeset`](https://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md)


[BDU-1150]:
https://forbole.atlassian.net/browse/BDU-1150?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
  • Loading branch information
MonikaCat authored Mar 1, 2024
1 parent 6bcf9eb commit d6ff70b
Show file tree
Hide file tree
Showing 119 changed files with 19,240 additions and 1,311 deletions.
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

0 comments on commit d6ff70b

Please sign in to comment.