You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -220,7 +220,7 @@ Receives commit messages from Telex and sends analysis results to slack.
220
220
221
221
### Integration Config
222
222
```
223
-
GET /api/v1/webhook/telex/integration/json
223
+
GET /integration.json
224
224
```
225
225
Returns integration configuration for Telex.
226
226
@@ -239,8 +239,8 @@ You can customize the analyzer through Telex integration settings:
239
239
#### Example Commits
240
240
```json
241
241
{
242
-
"feat": "feat(auth): implement OAuth2 with role-based access",
243
-
"fix": "fix(api): resolve data race in concurrent requests"
242
+
"feat": "feat(auth): implement OAuth2 with role-based access\n\nImplemented OAuth2 protocol with role-based control to enhance security and scalability.",
243
+
"fix": "fix(api): resolve data race in concurrent requests\n\nFixed a race condition by adding synchronization mechanisms to prevent concurrent data modifications."
Copy file name to clipboardExpand all lines: src/config/integration_config.py
+14-6Lines changed: 14 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -25,26 +25,34 @@ def generate_json_config():
25
25
"Instant notifications when commits need attention",
26
26
"Easy setup with pre-configured commit patterns"
27
27
],
28
+
"website": settings.app_logo_url,
28
29
"author": "iamprecieee",
29
30
"settings": [
30
31
{
31
-
"label": "Commit Types",
32
+
"label": "slack_url",
33
+
"type": "text",
34
+
"required": True,
35
+
"description": "Slack Webhook URL",
36
+
"default": "https://slack.com"
37
+
},
38
+
{
39
+
"label": "commit_types",
32
40
"type": "text",
33
-
"required": True,
41
+
"required": False,
34
42
"description": "Provide custom commit types mapped to keywords that indicate type of change. Format: {'type': ['keyword1', 'keyword2']}. Example: {'docs': ['document', 'readme']} means commits with 'document' or 'readme' suggest documentation changes.",
"description": "Set example commits for each custom commit type to guide new devs. These appear in suggestions when similar commits need fixing. Format: {'type1': 'example message1', 'type2': 'example message 2'}.",
42
50
"default": "{'feat': 'feat(auth): implement OAuth2 with role-based access\n\nImplemented OAuth2 protocol with role-based control to enhance security and scalability.', 'fix': 'fix(api): resolve data race in concurrent requests\n\nFixed a race condition by adding synchronization mechanisms to prevent concurrent data modifications.'}"
43
51
},
44
52
{
45
-
"label": "Training Data",
53
+
"label": "training_data",
46
54
"type": "text",
47
-
"required": True,
55
+
"required": False,
48
56
"description": "Add custom data to train the analyzer with commits that match preferred style. More examples = better suggestions. Format: {'type1': ['example1', 'example2'], 'type2': ['example3', 'example4']}. The analyzer learns from these to better match preferred conventions.",
49
57
"default": "{'feat': ['feat(auth): implement OAuth2 with role-based access\n\nImplemented OAuth2 protocol with role-based control to enhance security and scalability.','feat(search): implement elasticsearch integration\n\nIntegrated Elasticsearch to boost search performance and enhance result accuracy.']}"
0 commit comments