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

feat(ui): Add matching rules card to alert builder #16014

Merged
merged 7 commits into from
Jan 2, 2020

Conversation

ebb-tide
Copy link
Contributor

@ebb-tide ebb-tide commented Nov 21, 2019

Closes #15806

Adds 'matching rules' card to check creation page, which displays any notification rules that "would match" the tags that are on statuses generated by the check. The back end work is in #16328.

  • CHANGELOG.md updated with a link to the PR (not the Issue)
  • Well-formatted commit messages
  • Rebased/mergeable
  • Tests pass
  • http/swagger.yml updated (if modified Go structs or API)
  • Documentation updated or issue created (provide link to issue/pr)
  • Signed CLA (if not already signed)

@ebb-tide ebb-tide requested a review from a team December 31, 2019 20:55
@ghost ghost requested review from asalem1 and hoorayimhelping and removed request for a team December 31, 2019 20:55

// API
import * as api from 'src/client'
import {getNotificationRules} from 'src/client'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did we establish that we'd follow an aliased convention of apiGetNotificationRules?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for reminder! :)

Copy link
Contributor

@asalem1 asalem1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just quick nit about conventions we're establishing for functions used from src/client

@ebb-tide ebb-tide merged commit acf73df into master Jan 2, 2020
alexpaxton pushed a commit that referenced this pull request Jan 9, 2020
* feat(ui): Add matching rules card to alert builder

* feat(checks): Add tags from query results to NR matching query parameters

* feat(ui): Update changelog

* feat(nr): Change api function to match import convention

* fix(ui): Fix changelog update mistake

* Click submit button after typing in time machine

* feat(notification rules): Add feature flag to matching notification rules
@mark-rushakoff mark-rushakoff deleted the feat-add-matching-NR-UI branch April 16, 2020 20:30
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.

Enable matching notification rules UI
2 participants