mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-06 04:44:21 +01:00
feat(schedules): add unread run report notifications and run search
This commit is contained in:
1 parent
7cac8baade
commit
5a8a81419c
43 files changed
+2463
-798
No files matched your search
@@ -88,15 +88,17 @@ export interface SideDrawerHeaderProps {
|
||||
title: string
|
||||
onClose: () => void
|
||||
meta?: React.ReactNode
|
||||
actions?: React.ReactNode
|
||||
}
|
||||
|
||||
export function SideDrawerHeader({ title, onClose, meta }: SideDrawerHeaderProps) {
|
||||
export function SideDrawerHeader({ title, onClose, meta, actions }: SideDrawerHeaderProps) {
|
||||
return (
|
||||
<div className="flex-shrink-0 border-b border-border bg-background px-4 py-2 flex items-center justify-between gap-3">
|
||||
<div className="min-w-0 flex-1">
|
||||
<h2 className="text-lg font-semibold text-foreground leading-none">{title}</h2>
|
||||
{meta ? <div className="mt-1 min-w-0">{meta}</div> : null}
|
||||
</div>
|
||||
{actions ? <div className="flex shrink-0 items-center gap-1">{actions}</div> : null}
|
||||
<button
|
||||
type="button"
|
||||
onClick={onClose}
|
||||
|
||||
Reference in new issue
Block a user