Open alainncls opened 2 days ago
For Issuer attestations: "Attestations from [Issuer name]"
Right now we don't have such a page, should we push that to an other ticket?
I was thinking of the page which is accessed through the button on the screenshot. So for instance at this URL
@arthur-remy very true! Thanks for reminding me! I'm amending the description then!
working on it, could you please assign it to me?
As a user, I want to see indication that I am currently looking at a filtered view of Attestations, So that this view is easier to understand
Problem
The current "Filtered Views," accessed from the Issuer page when users want to see all the Attestations from an Issuer or for a specific Attestation Type, do not indicate which category the displayed Attestations belong to.
Instead, the same heading/button from the page showing all Attestations is being displayed.
This leads to confusion for users regarding the content of the page.
Solution to implement
Replace the generic "Explore Attestations" title with specific text for each filter.
When filtering by Attestation Type
[Issuer name] - [Attestation Type]
.portal + schema
, fetch the corresponding Attestation Type name from the data file.portal + schema
filter doesn't yield any match in the dataset, the default title should beAttestations matching Portal "[Portal name]" for Schema "[Schema name]"
.When filtering by Issuer
Attestations from [Issuer name]
.portal_in
, fetch the corresponding Issuer name from the data file.portal_in
filter doesn't yield any match in the dataset, the default title should beAttestations from [Portal owner name]
(considering the first Portal in the array). In this case, a call to get the Portal is necessary to retrieve the owner’s name.