-
Notifications
You must be signed in to change notification settings - Fork 297
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# What this PR does Direct user paging feature improvements ## Which issue(s) this PR fixes #1358 ## Checklist - [ ] Tests updated - [ ] Documentation added - [ ] `CHANGELOG.md` updated
- Loading branch information
Maxim Mordasov
authored
Mar 13, 2023
1 parent
15f6898
commit 82a9f8a
Showing
12 changed files
with
278 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
grafana-plugin/src/components/ManualAlertGroup/ManualAlertGroup.config.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import { FormItem, FormItemType } from 'components/GForm/GForm.types'; | ||
|
||
export const manualAlertFormConfig: { name: string; fields: FormItem[] } = { | ||
name: 'Manual Alert Group', | ||
fields: [ | ||
{ | ||
name: 'title', | ||
type: FormItemType.Input, | ||
label: 'Title', | ||
validation: { required: true }, | ||
}, | ||
{ | ||
name: 'message', | ||
type: FormItemType.TextArea, | ||
label: 'Description', | ||
validation: { required: true }, | ||
}, | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.