Area
Other
Is there new design needed?
Yes
What?
Adjust the metadata validation approach in the following sections:
- DRep Directory
- Live Governance Actions
- Governance Outcomes
Instead of validating each item before displaying content in the browser, items should be listed as quickly as possible, while validation occurs asynchronously in the background. Items still undergoing validation should display a clear visual indicator to signal their "in-progress" status.
Why?
- Significantly improves the initial load time, especially in production where the initial list query takes approximately 3 seconds.
- Ensures the majority of items are displayed promptly, enhancing user experience.
- Provides a clear visual cue to distinguish between validated and unvalidated items, maintaining transparency for users.
How?
- Modify the current logic to:
- List all items immediately after the initial query completes.
- Perform asynchronous metadata validation for each item in the background.
- Introduce a visual indicator (e.g., spinner, icon, or label) to denote items still undergoing validation.
- Ensure the visual indicator is replaced with confirmation (e.g., checkmark) once validation is completed.
- Make sure that the current error handling is retained.
(Optional) User Story with acceptance criteria
Area
Other
Is there new design needed?
Yes
What?
Adjust the metadata validation approach in the following sections:
Instead of validating each item before displaying content in the browser, items should be listed as quickly as possible, while validation occurs asynchronously in the background. Items still undergoing validation should display a clear visual indicator to signal their "in-progress" status.
Why?
How?
(Optional) User Story with acceptance criteria