zadjii-msft / PowerToys

Windows system utilities to maximize productivity
MIT License
3 stars 2 forks source link

Updates to lists for better dynamic lists, pagination, async #142

Closed zadjii-msft closed 1 week ago

zadjii-msft commented 2 weeks ago

As discussed in #77.

Biggest change is that IDynamicListPage doesn't have GetItems(String query) anymore. Instead, the host will call the SearchText setter, and the list can raise ItemsChanged to let the host know to call GetItems again

See src/modules/cmdpal/Exts/EverythingExtension/Pages/EverythingExtensionPage.cs for an example of how to update dynamic extensions.

Closes #131 Closes #77