-
Notifications
You must be signed in to change notification settings - Fork 100
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
Contract Explorer: Contract storage filters #1233
Conversation
…contract-storage-filters
Preview is available here: |
src/app/(sidebar)/smart-contracts/contract-explorer/components/ContractStorage.tsx
Show resolved
Hide resolved
Preview is available here: |
Preview is available here: |
|
src/app/(sidebar)/smart-contracts/contract-explorer/components/ContractStorage.tsx
Show resolved
Hide resolved
src/app/(sidebar)/smart-contracts/contract-explorer/components/ContractStorage.tsx
Show resolved
Hide resolved
Preview is available here: |
1 similar comment
Preview is available here: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added some questions but looks great. low key worried about big contract data entries getting larger and larger 😅
Preview is available here: |
@quietbits great work! some thoughts:
Could we have the Clear Filter and Apply buttons be fixed at the bottom of the menu and the filters be scrollable? This will be clearer to the user to apply their filters instead of scrolling all the way to the bottom of a potentially long list to apply filters.
Can we set a max-height of 320px on the filter menus and make them scrollable?
|
…contract-storage-filters
Preview is available here: |
|
Preview is available here: |
value
filters? I'm using object keys from decodedvalue
XDR, and we might end up with numbers. For example,CAS3FL6TLZKDGGSISDBWGGPXT3NRR4DYTZD7YOD3HMYO6LTJUVGRVEAM
(Mainnet).key
filters are much more predictable thanvalue
, which can be pretty much anything.CDVQVKOY2YSXS2IC7KN6MNASSHPAO7UN2UR2ON4OI2SKMFJNVAMDX6DP
(Mainnet) has a very long list ofvalue
filters.CDVQVKOY2YSXS2IC7KN6MNASSHPAO7UN2UR2ON4OI2SKMFJNVAMDX6DP
(Mainnet) with 6k+ records at this time, seems OK. It takes a few seconds on the initial load, and then the loader is displayed when sorting. But the UI doesn't feel sluggish; it just takes longer to load the result.