-
Notifications
You must be signed in to change notification settings - Fork 25
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
feat(ui): TE-2363 allow user to opt in to be notified for historical anomalies when creating a subscription #1476
base: master
Are you sure you want to change the base?
Conversation
@nalin-patidar PR looks good, but the title check is failing. The capital "A" in the title needs to be changed to lowercase + since only one commit in this PR, will need to Read about it at https://github.com/startreedata/thirdeye/blob/master/thirdeye-ui/CONTRIBUTING.md |
could we remove such constraint? I don't see the value in lower/upper case checks EDIT: seems it can be done here:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cyrilou242 the |
notifyHistoricalAnomalies: | ||
!!subscriptionGroup.notifyHistoricalAnomalies, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: for better readability
notifyHistoricalAnomalies: | |
!!subscriptionGroup.notifyHistoricalAnomalies, | |
notifyHistoricalAnomalies: | |
Boolean(subscriptionGroup.notifyHistoricalAnomalies), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
…anomalies when creating a subscription
…anomalies when creating a subscription
export const InfoLabel: FunctionComponent<InfoLabelProps> = ({ | ||
label, | ||
tooltipText = "", | ||
}) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should have similar component already?
how are we showing tooltips now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have commented about this in top of this file
I also see the label and info icon are not centred vertically |
…cription
Issue(s)
https://startree.atlassian.net/browse/TE-2363
Description
Added the ability for a user to subscribe to notification for historical anomalies.
Screenshots
https://github.com/startreedata/thirdeye/assets/174305
![Screenshot 2024-07-05 at 7 59 35 PM](https://private-user-images.githubusercontent.com/174305624/346154407-48b75e39-3663-4904-bb68-9e22ff655cf9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA4OTEzNDMsIm5iZiI6MTcyMDg5MTA0MywicGF0aCI6Ii8xNzQzMDU2MjQvMzQ2MTU0NDA3LTQ4Yjc1ZTM5LTM2NjMtNDkwNC1iYjY4LTllMjJmZjY1NWNmOS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzEzJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcxM1QxNzE3MjNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT05YzczZmJiM2JmZDgzYTM1N2ZkOTljNmU1MDgzOGI4ZGY4MDMxYmUwM2RjNDAzODJmZDI2MGU2YmJlY2NmMmYyJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.CZU2Ti7pzdeS6ddac4RnybFSMSXWOhayQd45viGVw_0)
624/132a709a-b67b-4577-bdbf-6929598dfda0