Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mjwshared
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Extensions
mjwshared
Merge requests
!33
Add processor filter to webhooks list page
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Add processor filter to webhooks list page
artfulrobot/mjwshared:artfulrobot-add-processor-filter
into
master
Overview
2
Commits
1
Pipelines
0
Changes
2
Merged
Rich
requested to merge
artfulrobot/mjwshared:artfulrobot-add-processor-filter
into
master
2 years ago
Overview
2
Commits
1
Pipelines
0
Changes
2
Expand
Implements
#14 (closed)
Provides a drop-down to filter the received webhooks by the processor.
All processors are listed, with their type, name, live/test and a summary count of webhooks received.
(screencast below also includes an ID number before the type, name, but this was just for testing and is not included in the MR)
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
e30c4758
1 commit,
2 years ago
2 files
+
32
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
ang/mjwshared/PaymentprocessorWebhook.html
+
14
−
0
Options
@@ -6,6 +6,7 @@
<div
crm-ui-accordion=
"{title: ts('Filters')}"
>
<div
class=
"crm-block"
>
<div
class=
"crm-group"
>
<div
crm-ui-field=
"{name: 'myForm.statuses', title: ts('Status')}"
>
<select
type=
"text"
ng-model=
"$ctrl.statusFilter"
>
<option
value=
""
>
{{ts('- Any -')}}
</option>
@@ -16,6 +17,19 @@
</select>
</div>
<div
crm-ui-field=
"{name: 'myForm.processor', title: ts('Processor')}"
>
<select
type=
"text"
ng-model=
"$ctrl.processorFilter"
>
<option
value=
""
>
{{ts('- Any -')}}
</option>
<option
ng-repeat=
"processor in $ctrl.processors"
value=
"{{processor.id}}"
>
{{processor.processorType}}:
{{processor.processorName}}:
{{:: processor.isTest ? ts('Test') : ts('Live') }}
({{ts('%count webhooks', {count:processor.webhooksCount}) }})
</option>
</select>
</div>
<div
crm-ui-field=
"{name: 'myForm.event', title: ts('Event ID')}"
>
<input
crm-ui-id=
"myForm.event_id"
Loading