diff --git a/backend/src/appenlight/models/alert_channel.py b/backend/src/appenlight/models/alert_channel.py index d9310d3..fd910e7 100644 --- a/backend/src/appenlight/models/alert_channel.py +++ b/backend/src/appenlight/models/alert_channel.py @@ -210,7 +210,7 @@ class AlertChannel(Base, BaseModel): tmpl_vars["confirmed_total"] = len(reports) tmpl_vars["report_type"] = "error reports" - tmpl_vars["url_report_type"] = 'report' + tmpl_vars["url_report_type"] = 'report/list' alert_type = tmpl_vars.get('alert_type', '') if 'slow_report' in alert_type: diff --git a/backend/src/appenlight/static/js/appenlight.js b/backend/src/appenlight/static/js/appenlight.js index c9ab9da..5594949 100644 --- a/backend/src/appenlight/static/js/appenlight.js +++ b/backend/src/appenlight/static/js/appenlight.js @@ -2681,6 +2681,9 @@ angular.module('appenlight.components', [ 'appenlight.components.appenlightHeader', 'appenlight.components.indexDashboardView', 'appenlight.components.logsBrowserView', + 'appenlight.components.reportView', + 'appenlight.components.reportsBrowserView', + 'appenlight.components.reportsSlowBrowserView', 'appenlight.components.eventBrowserView', 'appenlight.components.userProfileView', 'appenlight.components.userIdentitiesView', @@ -4609,1459 +4612,1574 @@ function kickstartAE(initialUserData) { ); - $templateCache.put('components/views/settings-view/settings-view.html', - "
Here you can configure your alert channels.
\n" + + "An alert channel serves as means of delivery of notifications about important events that happen in your applications.
\n" + + "{{ channel.channel_visible_value }} | \n" + - "\n" +
- " \n" +
- " \n" +
- " \n" +
- " \n" +
- " Alerts\n" +
- " \n" +
- " \n" +
- " Daily digests\n" +
- " \n" +
+ " \n" +
+ " Mark fixed\n" +
"\n" +
- " \n" +
- " Remove\n" +
- " \n" +
- " \n" +
+ " \n" +
+ " \n" +
+ " Integrations\n" +
+ " \n" +
+ "
| \n" +
- "
Occurences | \n" + + "{{$ctrl.report.group.occurences}} | \n" + + "
HTTP status | \n" + + "{{$ctrl.report.http_status}} | \n" + + "
Priority | \n" + + "{{$ctrl.report.group.priority}} | \n" + + "
Public URL | \n" + + "\n" + + " \n" + + " | \n" + + "
URL | \n" + + "{{$ctrl.report.url}} | \n" + + "
Remote IP | \n" + + "{{$ctrl.report.ip}} | \n" + + "
User Agent | \n" + + "{{$ctrl.report.user_agent}} | \n" + + "
Message | \n" + + "{{$ctrl.report.message}} | \n" + + "
Duration | \n" + + "\n" + + " {{$ctrl.report.duration}}s\n" + + " | \n" + + "
First occured | \n" + + "\n" +
+ " | \n" +
+ "
Last occured | \n" + + "\n" +
+ " | \n" +
+ "
Description | \n" + - "Created | \n" + - "Expires | \n" + - "\n" + - " |
---|---|---|---|
\n" + - " | \n" + - " | \n" + - " | \n" + - " |
{{token.description}} \n" + - "{{token.token| limitTo:token.limit}}...\n" + - " | \n" +
- " {{token.creation_date | isoToRelativeTime}} | \n" + - "{{token.expires | isoToRelativeTime}}\n" + - " Never | \n" + - "\n" + - " \n" + - " \n" + - " \n" + - " \n" + - " | \n" + - "
Username/UIDView NameServer Name{{ tag }}\n" + + " | \n" + + "{{ value }} | \n" + + "
No external providers linked yet
\n" + - "Report history
\n" + "\n" + - "