Skip to content

Add user friendly view of storage data #1414

Merged
smiasojed merged 22 commits intomasterfrom
sm/storage
Jan 9, 2024
Merged

Add user friendly view of storage data #1414
smiasojed merged 22 commits intomasterfrom
sm/storage

Conversation

@smiasojed
Copy link
Contributor

@smiasojed smiasojed commented Nov 29, 2023

Summary

Related #101

  • y/n | Does it introduce breaking changes?
  • y/n | Is it dependent on the specific version of ink or pallet-contracts?

Add a user-friendly view of contract storage data in the form of a table

Description

Example output:

Screenshot 2023-12-11 at 10 54 09

Screenshot 2023-12-11 at 11 09 09

Checklist before requesting a review

  • My code follows the style guidelines of this project
  • I have added an entry to CHANGELOG.md
  • I have commented my code, particularly in hard-to-understand areas
  • I have added tests that prove my fix is effective or that my feature works
  • Any dependent changes have been merged and published in downstream modules

@smiasojed smiasojed marked this pull request as ready for review December 15, 2023 14:00
Copy link
Collaborator

@ascjones ascjones left a comment

Choose a reason for hiding this comment

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

WIP review, will finish when I return from Christmas!

Copy link
Collaborator

@ascjones ascjones left a comment

Choose a reason for hiding this comment

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

Overall looks good. contract_storage.rs is starting to be quite a large file, so might benefit from breaking up files for different concerns e.g. fetching vs displaying the data.

Copy link
Collaborator

@ascjones ascjones left a comment

Choose a reason for hiding this comment

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

LGTM. Can you add to CHANGELOG please?

@smiasojed smiasojed merged commit 1990746 into master Jan 9, 2024
@smiasojed smiasojed deleted the sm/storage branch January 9, 2024 15:09
@smiasojed smiasojed mentioned this pull request Feb 8, 2024
@smiasojed smiasojed mentioned this pull request Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants