+
{#if editingTitle}
+ 0}
bind:value={updatedTitle}
@@ -419,7 +437,17 @@
{:else}
+
+
-
+
(editingTitle = !editingTitle)} />
diff --git a/src/views/repo/Issues.svelte b/src/views/repo/Issues.svelte
index fa386b4..0629c14 100644
--- a/src/views/repo/Issues.svelte
+++ b/src/views/repo/Issues.svelte
@@ -14,6 +14,7 @@
import IssueTeaser from "@app/components/IssueTeaser.svelte";
import IssuesSecondColumn from "@app/components/IssuesSecondColumn.svelte";
import Sidebar from "@app/components/Sidebar.svelte";
+ import Border from "@app/components/Border.svelte";
interface Props {
repo: RepoInfo;
@@ -28,19 +29,22 @@
@@ -57,41 +61,52 @@
{/snippet}
{#snippet secondColumn()}
-
{/snippet}
-
+
+
{#if roles.isDelegateOrAuthor( config.publicKey, repo.delegates.map(delegate => delegate.did), issue.body.author.did, )}
+
+
+
-
-
+
-
Issues
-
-
+
-
+
-
+
- Issues
+
+
+
- {#each issues as issue}
-
- {/each}
+
diff --git a/src/views/repo/Layout.svelte b/src/views/repo/Layout.svelte
index 9f972a3..05f998a 100644
--- a/src/views/repo/Layout.svelte
+++ b/src/views/repo/Layout.svelte
@@ -108,22 +108,18 @@
.sidebar {
grid-column: 1 / 2;
- width: 40px;
- margin: 0 1rem;
+ padding: 1rem;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
- margin-top: 13px;
- margin-bottom: 1rem;
}
.secondColumn {
grid-column: 2 / 3;
- margin: 1rem 0 0 0;
max-width: 28rem;
min-width: 14rem;
- margin-right: 1rem;
+ padding: 1rem 1rem 1rem 0;
}
.content {
@@ -139,12 +135,16 @@
+ {#each issues as issue}
+
+ {/each}
- {#if issues.length === 0}
-
+
+ {/if}
+
- {#if status === "all"}
- No issues.
- {:else}
- No {status} issues.
- {/if}
-
- {/if}
+ {#if issues.length === 0}
+
+
+
+
+ {#if status === "all"}
+ No issues.
+ {:else}
+ No {status} issues.
+ {/if}
+
+
+
{@render sidebar()}
diff --git a/src/views/repo/Patch.svelte b/src/views/repo/Patch.svelte
index 4df9b12..cee8c29 100644
--- a/src/views/repo/Patch.svelte
+++ b/src/views/repo/Patch.svelte
@@ -9,7 +9,11 @@
import type { Revision } from "@bindings/cob/patch/Revision";
import * as roles from "@app/lib/roles";
- import { formatOid } from "@app/lib/utils";
+ import {
+ formatOid,
+ patchStatusBackgroundColor,
+ patchStatusColor,
+ } from "@app/lib/utils";
import { invoke } from "@app/lib/invoke";
import { nodeRunning } from "@app/lib/events";
@@ -169,7 +173,16 @@
font-weight: var(--font-weight-medium);
-webkit-user-select: text;
user-select: text;
- margin-bottom: 1rem;
+ display: flex;
+ align-items: center;
+ word-break: break-all;
+ min-height: 40px;
+ }
+ .status {
+ padding: 0;
+ margin-right: 0.75rem;
+ height: 2rem;
+ width: 2rem;
}
.patch-list {
margin-top: 0.5rem;
@@ -179,7 +192,7 @@
padding-bottom: 1rem;
}
.content {
- padding: 1.5rem 1rem 1rem 0;
+ padding: 1rem 1rem 1rem 0;
}
.patch-body {
@@ -232,7 +245,7 @@
+ style:min-height="40px">
{project.data.name}
Patches
@@ -251,8 +264,18 @@
{/snippet}
-
-
+
diff --git a/src/views/repo/Patches.svelte b/src/views/repo/Patches.svelte
index 75f1c4b..59f8077 100644
--- a/src/views/repo/Patches.svelte
+++ b/src/views/repo/Patches.svelte
@@ -8,10 +8,12 @@
import { invoke } from "@app/lib/invoke";
import CopyableId from "@app/components/CopyableId.svelte";
+ import Icon from "@app/components/Icon.svelte";
import Layout from "./Layout.svelte";
import PatchTeaser from "@app/components/PatchTeaser.svelte";
import PatchesSecondColumn from "@app/components/PatchesSecondColumn.svelte";
import Sidebar from "@app/components/Sidebar.svelte";
+ import Border from "@app/components/Border.svelte";
interface Props {
repo: RepoInfo;
@@ -51,19 +53,21 @@
@@ -81,26 +85,37 @@
{/snippet}
{#snippet secondColumn()}
-
{/snippet}
-
+
+
+
+
+
+
-
-
+ Patches
-
-
- {#each items as patch}
-
- {/each}
-
- {#if patches.content.length === 0}
-
- {#if status === undefined}
- No patches.
- {:else}
- No {status} patches.
- {/if}
-
- {/if}
+
+
Patches
+
+
+ {#each items as patch}
+
+ {/each}
+
+ {#if patches.content.length === 0}
+
+
+ {/if}
+
+
+
+
+ {#if status === undefined}
+ No patches.
+ {:else}
+ No {status} patches.
+ {/if}
+
+