feat: add manual feedback AI summaries and secure leaderboard scoring
Co-authored-by: Stephan Charles <[email protected]> Co-authored-by: Amelia Hernandez <[email protected]> Co-authored-by: Markus Franz <[email protected]> Co-authored-by: Sabrina Hota <[email protected]> Co-authored-by: Nilüfer Doğan <[email protected]>
This commit is contained in:
1 parent
407b878e23
commit
821907b164
37 files changed
+1640
-77
No files matched your search
@@ -11,6 +11,8 @@ import { Activity } from './views/Activity';
|
||||
import { Events } from './views/Events';
|
||||
import { Interfaces } from './views/Interfaces';
|
||||
import { Reports } from './views/Reports';
|
||||
import { Settings } from './views/Settings';
|
||||
import { Settings as SettingsIcon } from 'lucide-react';
|
||||
import { Spinner } from './components/ui';
|
||||
|
||||
export type View =
|
||||
@@ -22,7 +24,8 @@ export type View =
|
||||
| 'activity'
|
||||
| 'events'
|
||||
| 'interfaces'
|
||||
| 'reports';
|
||||
| 'reports'
|
||||
| 'settings';
|
||||
|
||||
const NAV: { id: View; label: string; ico: string }[] = [
|
||||
{ id: 'dashboard', label: 'Dashboard', ico: '📊' },
|
||||
@@ -34,6 +37,7 @@ const NAV: { id: View; label: string; ico: string }[] = [
|
||||
{ id: 'events', label: 'Events', ico: '📅' },
|
||||
{ id: 'interfaces', label: 'Interfaces', ico: '🔌' },
|
||||
{ id: 'reports', label: 'Reports', ico: '📤' },
|
||||
{ id: 'settings', label: 'Settings', ico: '' },
|
||||
];
|
||||
|
||||
function Shell() {
|
||||
@@ -67,7 +71,7 @@ function Shell() {
|
||||
className={`nav-item ${view === n.id ? 'active' : ''}`}
|
||||
onClick={() => setView(n.id)}
|
||||
>
|
||||
<span className="ico">{n.ico}</span>
|
||||
<span className="ico">{n.id === 'settings' ? <SettingsIcon size={19} aria-hidden="true" /> : n.ico}</span>
|
||||
{n.label}
|
||||
</button>
|
||||
))}
|
||||
@@ -103,6 +107,7 @@ function Shell() {
|
||||
{view === 'events' && <Events />}
|
||||
{view === 'interfaces' && <Interfaces />}
|
||||
{view === 'reports' && <Reports />}
|
||||
{view === 'settings' && <Settings />}
|
||||
</main>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user