diff --git a/web/src/components/IncidentForm.vue b/web/src/components/IncidentForm.vue new file mode 100644 index 0000000..ea6b466 --- /dev/null +++ b/web/src/components/IncidentForm.vue @@ -0,0 +1,222 @@ + + + Tag New Incident + + + + + Description * + + Your literal description — used to find relevant log entries in the window. + + + + + When did it happen? + + {{ preset.label }} + Custom range… + + + + + Start + + + + End (leave blank if ongoing) + + + + + + Window: {{ windowSummary }} + + + + + + Issue type (optional) + + + + + + + + + + + + Severity + + Low + Medium + High + Critical + + + + Notes (optional) + + + + + + + + {{ submitting ? 'Tagging…' : 'Tag Incident' }} + + {{ submitError }} + + + + + + diff --git a/web/src/components/QuickCapture.vue b/web/src/components/QuickCapture.vue new file mode 100644 index 0000000..76dd91e --- /dev/null +++ b/web/src/components/QuickCapture.vue @@ -0,0 +1,250 @@ + + + + + + + Searching… + Go + + + + + + {{ error }} + + + + + + {{ summary.total }} entr{{ summary.total !== 1 ? 'ies' : 'y' }} + + {{ fmtTs(summary.window_start) }} → {{ fmtTs(summary.window_end) }} + + (last 60 min — no time detected) + {{ count }} {{ sev }} + + + + {{ String(src).split(':').pop() }} ({{ count }}) + + + + + + + + + + + + No log evidence found for "{{ lastQuery }}" + Check the Sources tab to confirm data is ingested, or try a broader description. + + + + + + {{ saving ? 'Saving…' : 'Save as incident' }} + + + add details… + + + + + + + + Severity + + Low + Medium + High + Critical + + + + Notes (optional) + + + + + + {{ saving ? 'Saving…' : 'Save' }} + + Cancel + + + + + + Saved — + view in Incidents + + + + +
Your literal description — used to find relevant log entries in the window.
+ Window: {{ windowSummary }} +
No log evidence found for "{{ lastQuery }}"
Check the Sources tab to confirm data is ingested, or try a broader description.