Open gavinbarron opened 1 year ago
Hello gavinbarron, thank you for opening an issue with us!
I have automatically added a "needs triage" label to help get things started. Our team will analyze and investigate the issue, and escalate it to the relevant team if possible. Other community members may also look into the issue and provide feedback 🙌
@gavinbarron should we have this for all components that render items? Linking https://github.com/microsoftgraph/microsoft-graph-toolkit/issues/395
Similar to how I added a renderError to the baseCOmponent with Search, we might want to do something similar with renderNoData and have a default template that could support a text and very large icon?
Heck yeah @musale good thinking! And @sebastienlevert I like that idea.
Describe the bug When there are no items to display in a file list we should render a state that allows users to see that the query succeeded and returned no items
To Reproduce Go to https://mgt.dev/next/pr/2057/?path=/story/components-mgt-file-list-composite--use-grid-view Click on the attachments folder Not that nothing is rendered for the file list/grid
Expected behavior Suggest that we add a zero results rendering template (could be available as a named template for customization?) Should look something like this: