villebro commented on a change in pull request #13606:
URL: https://github.com/apache/superset/pull/13606#discussion_r594217559



##########
File path: superset-frontend/src/datasource/DatasourceEditor.jsx
##########
@@ -918,6 +919,30 @@ class DatasourceEditor extends React.PureComponent {
                   />
                 }
               />
+              <Field
+                label={t('Deprecated at')}
+                fieldKey="deprecated_at"
+                description={t('The date this metric is or will be 
deprecated')}
+                control={
+                  <TextControl
+                    controlId="deprecated_at"
+                    placeholder="YYYY-MM-DD"
+                  />
+                }
+              />
+              <Field
+                label={t('Deprecation link')}
+                fieldKey="deprecation_link"
+                description={t(
+                  'A link with more details regarding the deprecation of this 
metric',
+                )}
+                control={
+                  <TextControl
+                    controlId="deprecation_link"
+                    placeholder="https://www.example.com";
+                  />
+                }
+              />

Review comment:
       I think having a freetext description field would be more convenient for 
most orgs. Instead of having a dedicated link field, could we have a general 
description field in which one can paste links if needed?




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to