CommunityToolkit / Graph-Controls

Set of Helpers and Controls for Windows development using the Microsoft Graph.
https://docs.microsoft.com/en-us/windows/communitytoolkit/graph/overview
Other
154 stars 39 forks source link

[Feature] GraphPresenter should listen for updates to properties #56

Open michael-hawker opened 3 years ago

michael-hawker commented 3 years ago

Describe the problem this feature would solve

Currently GraphPresenter only runs once on initialization. We should instead listen to updates of properties/requestbuilder/queryoptions, etc... in order to update more dynamically.

Additional context & Screenshots

A good test case would be to have one GraphPresenter showing a ComboBox of Team's Teams/Channels and then having that drive another GraphPresenter with the messages from that channel...

ghost commented 3 years ago

Hello michael-hawker, 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 🙌

shweaver-MSFT commented 2 years ago

I think we could accomplish this with a refresh interval property. That is how the mgt-get component works, which is a fair analog to GraphPresenter.

It's called polling-rate: https://docs.microsoft.com/en-us/graph/toolkit/components/get