hashgraph / guardian

The Guardian is an innovative open-source platform that streamlines the creation, management, and verification of digital environmental assets. It leverages a customizable Policy Workflow Engine and Web3 technology to ensure transparent and fraud-proof operations, making it a key tool for transforming sustainability practices and carbon markets.
Apache License 2.0
105 stars 132 forks source link

Enhancements and Bugs of Indexer #3929

Open prernaadev01 opened 3 months ago

prernaadev01 commented 3 months ago

Problem description

As we have implemented Indexer in ticket #2629, still we have a scope of enhancing some features like showing progress bar, till it loads complete data and many more.

Requirements

We need to enhance Indexer feature by implementing following:

  1. Progress Bar to show the data loading to DB.
  2. token and search data should be sortable by time : image.png
image.png
  1. For NFTs it'd also be nice to see what policy/registry they're under. image.png

  2. For Policies it'd be nice to see the relationship tab of which policies relate to which tokens

    image.png
  3. Same for standard Registry to which policies, this should be in place when we do the feature for relating a single policy to many projects

    image.png
  4. For account ID this should be clickable, if we cannot get the account info data I'd ask we point to something like HashScan. If we can, maybe that can be a config option.

  5. For Standard Registries, could we get a name?

    image.png
  6. Can we make roles a filterable concept (by role and by registry associated)?

    image.png
  7. Can we also convert Hedera timestamps to local date/time (and maybe add a setting or click into Hedera timestamps that points to HashScan?)

  8. Scale values for X,Y axis to be added in the graph.

  9. Project locations pointers are missing in the map.

  10. Page only allows 10 at a time.

    image.png
  11. Maybe change it to Projects & Issuance and have a: Total Serialized Projects / (Assets Total) Total Fungible Projects / (Assets Total)

Definition of done

  1. Solving all the bugs reported in the requirements section
  2. Testing all the bugs.

Acceptance criteria

All the enhancements made to the indexer with working.

dubgeis commented 3 months ago

@prernaadev01 can we also convert Hedera timestamps to local date/time (and maybe add a setting or click into Hedera timestamps that points to HashScan?) cc: @sergmetelin @justin-atwell @Neurone

dubgeis commented 3 months ago

@artembuslaev ^

prernaadev01 commented 3 months ago

@dubgeis Sure. I have updated this in the requirement section. Thanks