Added hint to participate for rules creation via GitHub

This commit is contained in:
Oliver Kieselbach
2026-03-11 12:46:00 +01:00
parent 276b5e8ab5
commit d01f7bf4c7
3 changed files with 39 additions and 0 deletions
@@ -383,6 +383,19 @@ export default function AnalyzeRulesPage() {
</div>
) : (
<div className="space-y-6">
{/* Community Contribution Hint */}
<div className="bg-blue-50 border border-blue-200 rounded-lg p-4 flex items-start space-x-3">
<svg className="w-5 h-5 text-blue-500 mt-0.5 flex-shrink-0" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z" />
</svg>
<p className="text-sm text-blue-800">
Missing a rule, found a bug, or have an improvement idea? Help make Autopilot Monitor better —{" "}
<a href="https://github.com/okieselbach/Autopilot-Monitor/issues" target="_blank" rel="noopener noreferrer" className="font-medium underline hover:text-blue-900">
open a GitHub issue
</a>.
</p>
</div>
{/* Summary Stats */}
<div className="grid grid-cols-2 md:grid-cols-6 gap-4">
<StatCard label="Total" value={totalRules} />
@@ -435,6 +435,19 @@ export default function GatherRulesPage() {
</div>
)}
{/* Community Contribution Hint */}
<div className="bg-blue-50 border border-blue-200 rounded-lg p-4 flex items-start space-x-3">
<svg className="w-5 h-5 text-blue-500 mt-0.5 flex-shrink-0" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z" />
</svg>
<p className="text-sm text-blue-800">
Missing a rule, found a bug, or have an improvement idea? Help make Autopilot Monitor better —{" "}
<a href="https://github.com/okieselbach/Autopilot-Monitor/issues" target="_blank" rel="noopener noreferrer" className="font-medium underline hover:text-blue-900">
open a GitHub issue
</a>.
</p>
</div>
{/* Summary Stats */}
<div className="grid grid-cols-2 sm:grid-cols-4 gap-4">
<StatCard label="Total Rules" value={totalRules} />
@@ -257,6 +257,19 @@ export default function ImeLogPatternsPage() {
</div>
)}
{/* Community Contribution Hint */}
<div className="bg-blue-50 border border-blue-200 rounded-lg p-4 flex items-start space-x-3">
<svg className="w-5 h-5 text-blue-500 mt-0.5 flex-shrink-0" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z" />
</svg>
<p className="text-sm text-blue-800">
Missing a pattern, found a bug, or have an improvement idea? Help make Autopilot Monitor better —{" "}
<a href="https://github.com/okieselbach/Autopilot-Monitor/issues" target="_blank" rel="noopener noreferrer" className="font-medium underline hover:text-blue-900">
open a GitHub issue
</a>.
</p>
</div>
{/* Summary Stats */}
<div className="grid grid-cols-2 sm:grid-cols-5 gap-4">
<StatCard label="Total Patterns" value={totalPatterns} />