-
Notifications
You must be signed in to change notification settings - Fork 915
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[MD] Support conditional rendering with global config #1978
Comments
what's the proposed config item name, please provide this, so other component owner could mock in their code before feature is implemented? |
data_source.enabled |
we should have very simple switcher datasource.enabled: false
|
@zengyan-amazon @zhongnansu @kristenTian @mpabba3003 @yibow98 @KrooshalUX @kgcreative here is the feature flag to enable/disable data source feature, would please review and comment if different opinion, otherwise we will go with it. |
Aligned with all but the code block under 1 will not apply in our case since PluginConfigDescriptor interface and |
good to know. let's cut feature request issue to track for long term solution to unblock this, what's proposal? have we consider introduce plugin level flag?
|
There're 2 places we need conditional rendering.
I agree to have only 1 switch in the data source plugin, and have
As for how to access the global switch value. There can be 2 ways.
|
Thanks Zhongnan, there are some difference in detail, feel free to check my PR :P |
No description provided.
The text was updated successfully, but these errors were encountered: