Skip to content
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

Data change alerting #566

Draft
wants to merge 48 commits into
base: develop
Choose a base branch
from
Draft

Data change alerting #566

wants to merge 48 commits into from

Conversation

dvtschachinger
Copy link
Contributor

alert

This is how far I got by now. What I should fix next is the bugging accordion (which one should be open when) and that alerts are not "run" automatically when created.
Also removed the hard codings from the range filter.

There are still some lint errors I didn't know how to correct properly (build error).

@dvtschachinger
Copy link
Contributor Author

I know solved all the problems except the lint errors for the circleci builds.
Also improved the deep_diff output, improved the UI a bit and it now visualizes not only new ids but also details of the new objects, removed once and changed data.

@puehringer
Copy link
Contributor

@dvtschachinger Regarding the linting:
You can change the lint command in the package.json to tslint --fix ... to autofix all fixable issues. You shouldn't check it in though because then the linting happens during CI (i.e. nothing happens).
The variable names (react components exported as const) can be temporalily disabled via

// tslint:disable-next-line:variable-name

For the backend, you can always docker-compose exec api bash, then cd tdp_core and then flake8 to test the linting live.

dvmarkusvogl and others added 19 commits November 9, 2021 13:22
…alerting

# Conflicts:
#	tdp_core/cdc/schema/FieldFilterMixin.py
…omponentId to type

API: Move /test to /alert endpoint for easier testing, and enhance users
Fix checkbox filter
…ert + make checkbox- & textfilter fitting for the backend
Add email support and first email template
Fix filters (remove mydict)
Flake8 fix stuff
@puehringer puehringer marked this pull request as draft November 26, 2021 06:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants