{path}
+{path}
created{path}
+{path}
deleteddiff --git a/cypress/fixtures/projectIssues.json b/cypress/fixtures/projectIssues.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/cypress/fixtures/projectIssues.json @@ -0,0 +1 @@ +[] diff --git a/cypress/integration/project.spec.ts b/cypress/integration/project.spec.ts index c384a32d4..4571e7b92 100644 --- a/cypress/integration/project.spec.ts +++ b/cypress/integration/project.spec.ts @@ -58,6 +58,7 @@ describe("Project view", () => { cy.intercept("https://willow.radicle.garden:8777/v1/projects/bright-forest-protocol", { fixture: "projectInfo.json" }); cy.intercept("https://willow.radicle.garden:8777/v1/projects/rad:git:hnrk8mbpirp7ua7sy66o4t9soasbq4y8uwgoy", { fixture: "projectInfo.json" }); cy.intercept("https://willow.radicle.garden:8777/v1/projects/rad:git:hnrk8mbpirp7ua7sy66o4t9soasbq4y8uwgoy/remotes", { fixture: "projectRemotes.json" }); + cy.intercept("https://willow.radicle.garden:8777/v1/projects/rad:git:hnrk8mbpirp7ua7sy66o4t9soasbq4y8uwgoy/issues", { fixture: "projectIssues.json" }); cy.intercept("https://willow.radicle.garden:8777/v1/projects/rad:git:hnrk8mbpirp7ua7sy66o4t9soasbq4y8uwgoy/tree/56e4e029c294b08546386e1fb706b772c7433c49", { fixture: "projectTree56e4e02.json" }); cy.intercept("https://willow.radicle.garden:8777/v1/projects/rad:git:hnrk8mbpirp7ua7sy66o4t9soasbq4y8uwgoy/tree/cbf5df499ab4f4a908f1756fbe2c236a4530516a", { fixture: "projectTreecbf5df4.json" }); cy.intercept("https://willow.radicle.garden:8777/v1/projects/rad:git:hnrk8mbpirp7ua7sy66o4t9soasbq4y8uwgoy/remotes/hyndc7nx9keq76p1bkw9831arcndeeu3trwsc7kxt3osmpi6j9oeke", { fixture: "projectBranches.json" }); @@ -150,7 +151,7 @@ describe("Project view", () => { cy.location().should((location) => { expect(location.pathname).to.eq('/seeds/willow.radicle.garden/rad:git:hnrk8mbpirp7ua7sy66o4t9soasbq4y8uwgoy/remotes/hyndc7nx9keq76p1bkw9831arcndeeu3trwsc7kxt3osmpi6j9oeke/commits/cbf5df499ab4f4a908f1756fbe2c236a4530516a'); }); - cy.get("header .summary h3").should("have.text", "initial commit"); + cy.get("header .summary .text-medium").should("have.text", "initial commit"); cy.get("header pre.description").should("have.text", "this is the first commit of many"); cy.get("header .committer").should("have.text", "dabit3"); cy.get("div.changeset-summary").should("have.text", "1 file(s) changed\n with\n 0 addition(s)\n and\n 0 deletion(s)"); diff --git a/public/index.css b/public/index.css index e0d39812e..159bc0c7f 100644 --- a/public/index.css +++ b/public/index.css @@ -48,8 +48,9 @@ --color-negative-2: #623237; --color-negative-6: #ffd4d4; --color-foreground: #ffffff; - --color-foreground-90: #dddddd; - --color-foreground-80: #aaaaaa; + --color-foreground-90: #ddddee; + --color-foreground-80: #aaaab6; + --color-foreground-70: #9999aa; --color-foreground-faded: #777788; --color-foreground-subtle: #444455; --color-foreground-subtler: #333344; @@ -74,6 +75,7 @@ --font-weight-medium: 600; --font-weight-bold: 700; --border-radius: 50px; + --border-radius-medium: 0.25rem; --box-shadow-color: var(--color-secondary-2); --content-max-width: 1920px; --content-min-width: 480px; @@ -170,7 +172,7 @@ button { min-width: 8rem; } button:not([disabled]):hover { - color: var(--color-background) !important; + color: var(--color-background); background-color: var(--color-foreground); } button.waiting { @@ -212,6 +214,14 @@ button[disabled] { button[data-waiting] { cursor: wait !important; } +button.unstyled, button.unstyled:hover, button.unstyled:focus { + padding: 0; + margin: 0; + min-width: 0; + border: none; + color: var(--color-foreground); + background: transparent; +} button.text { color: var(--color-foreground-6); diff --git a/src/ReactionSelector.svelte b/src/ReactionSelector.svelte new file mode 100644 index 000000000..90c8ed6cc --- /dev/null +++ b/src/ReactionSelector.svelte @@ -0,0 +1,66 @@ + + + + + +
{path}
+{path}
created{path}
+{path}
deleted