add send patch panel

This commit is contained in:
2026-09-02 15:26:50 +07:00
parent c03ce50c82
commit b9054346f7
9 changed files with 422 additions and 94 deletions
+6 -6
View File
@@ -10,11 +10,11 @@ use signed_core::RepoStatus;
pub fn status_badge(status: RepoStatus, cx: &App) -> AnyElement {
let (icon, label, tooltip, bg, fg) = match status {
RepoStatus::Open => (
CustomIconName::GitIssueDone,
CustomIconName::GitIssueOpen,
"open",
"Issue is open",
cx.theme().primary,
cx.theme().primary_foreground,
cx.theme().secondary,
cx.theme().secondary_foreground,
),
RepoStatus::Closed => (
CustomIconName::GitIssueClosed,
@@ -31,11 +31,11 @@ pub fn status_badge(status: RepoStatus, cx: &App) -> AnyElement {
cx.theme().accent_foreground,
),
RepoStatus::Applied => (
CustomIconName::GitIssueOpen,
CustomIconName::GitIssueDone,
"applied",
"Issue is completed",
cx.theme().secondary,
cx.theme().secondary_foreground,
cx.theme().primary,
cx.theme().primary_foreground,
),
};