diff --git a/__snapshots__/repo-summary-card--long-and-no-spaces.png b/__snapshots__/repo-summary-card--long-and-no-spaces.png index 3259356..40d13fe 100644 Binary files a/__snapshots__/repo-summary-card--long-and-no-spaces.png and b/__snapshots__/repo-summary-card--long-and-no-spaces.png differ diff --git a/__snapshots__/repo-summary-card--long-details.png b/__snapshots__/repo-summary-card--long-details.png index 83775c9..7ad551c 100644 Binary files a/__snapshots__/repo-summary-card--long-details.png and b/__snapshots__/repo-summary-card--long-details.png differ diff --git a/__snapshots__/repo-summary-card--multiple-maintainers.png b/__snapshots__/repo-summary-card--multiple-maintainers.png index a4a1472..106966e 100644 Binary files a/__snapshots__/repo-summary-card--multiple-maintainers.png and b/__snapshots__/repo-summary-card--multiple-maintainers.png differ diff --git a/__snapshots__/repo-summary-card--no-details.png b/__snapshots__/repo-summary-card--no-details.png index d83dd2d..1ac975b 100644 Binary files a/__snapshots__/repo-summary-card--no-details.png and b/__snapshots__/repo-summary-card--no-details.png differ diff --git a/__snapshots__/repo-summary-card--short-details.png b/__snapshots__/repo-summary-card--short-details.png index 6b67f5b..40d6bd5 100644 Binary files a/__snapshots__/repo-summary-card--short-details.png and b/__snapshots__/repo-summary-card--short-details.png differ diff --git a/__snapshots__/repo-summary-card.test.js.snap b/__snapshots__/repo-summary-card.test.js.snap index 8b6df8e..f55de3a 100644 --- a/__snapshots__/repo-summary-card.test.js.snap +++ b/__snapshots__/repo-summary-card.test.js.snap @@ -4,35 +4,35 @@ exports[`Repo/Summary/Card Long Details smoke-test 1`] = `
-

- - -

-
-
-
-
- Rather Long Display Name -
-
-
- Rather Long Display Name -
-
-
-
-

Long Name that goes on and on and on and on a... -

+

Lorem ipsum dolor sit amet, consectetur adipi...

+
+ +
`; @@ -40,35 +40,35 @@ exports[`Repo/Summary/Card Long and No Spaces smoke-test 1`] = `
-

- - -

-
-
-
-
- DanConwayDev -
-
-
- DanConwayDev -
-
-
-
-

LongNameLongNameLongNameLongNameLongNameLongN... -

+

LoremipsumLoremipsumLoremipsumLoremipsumLorem...

+
+ +
`; @@ -76,69 +76,69 @@ exports[`Repo/Summary/Card Multiple Maintainers smoke-test 1`] = `
-

- - -

-
-
-
-
- Will + + Short Name + +

+ short description +

+
+
    +
  • +
    +
    +
    +
    + Will +
    +
    +
    + Will
    -
    -
    - Will
    -
-
-
-
-
-
-
- DanConwayDev + +
  • +
    +
    +
    +
    + DanConwayDev +
    +
    +
    + DanConwayDev
    -
    -
    - DanConwayDev
    -
  • -
    -
    -
    -
    -
    -
    - sectore + +
  • +
    +
    +
    +
    + sectore +
    +
    +
    + sectore
    -
    -
    - sectore
    -
  • -
    -

    - - Short Name - -

    - short description -

    + + +
    `; @@ -146,31 +146,29 @@ exports[`Repo/Summary/Card No Details smoke-test 1`] = `
    -

    - - -

    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -

    Untitled -

    -

    +
    +
      +
    • +
      +
      +
      +
      +
      +
      +
      +
      +
      +
      +
      +
      +
    • +
    +
    `; @@ -178,35 +176,35 @@ exports[`Repo/Summary/Card Short Details smoke-test 1`] = `
    -

    - - -

    -
    -
    -
    -
    - Will -
    -
    -
    - Will -
    -
    -
    -
    -

    Short Name -

    +

    short description

    +
    +
      +
    • +
      +
      +
      +
      + Will +
      +
      +
      + Will +
      +
      +
      +
    • +
    +
    `; diff --git a/__snapshots__/repo-summary-list--default.png b/__snapshots__/repo-summary-list--default.png index 117082d..efceae1 100644 Binary files a/__snapshots__/repo-summary-list--default.png and b/__snapshots__/repo-summary-list--default.png differ diff --git a/__snapshots__/repo-summary-list--multiple-maintainers.png b/__snapshots__/repo-summary-list--multiple-maintainers.png index 93e8c84..456a8d8 100644 Binary files a/__snapshots__/repo-summary-list--multiple-maintainers.png and b/__snapshots__/repo-summary-list--multiple-maintainers.png differ diff --git a/__snapshots__/repo-summary-list--no-title.png b/__snapshots__/repo-summary-list--no-title.png index 5af19de..17dad34 100644 Binary files a/__snapshots__/repo-summary-list--no-title.png and b/__snapshots__/repo-summary-list--no-title.png differ diff --git a/__snapshots__/repo-summary-list--partially-loaded.png b/__snapshots__/repo-summary-list--partially-loaded.png index 1ac9289..ddcf9c1 100644 Binary files a/__snapshots__/repo-summary-list--partially-loaded.png and b/__snapshots__/repo-summary-list--partially-loaded.png differ diff --git a/__snapshots__/repo-summary-list.test.js.snap b/__snapshots__/repo-summary-list.test.js.snap index 413a31e..623117c 100644 --- a/__snapshots__/repo-summary-list.test.js.snap +++ b/__snapshots__/repo-summary-list.test.js.snap @@ -11,168 +11,168 @@ exports[`Repo/Summary/List Default smoke-test 1`] = `
    -

    - - -

    -
    -
    -
    -
    - Will -
    -
    -
    - Will -
    -
    -
    -
    -

    Short Name -

    +

    short description

    +
    +
      +
    • +
      +
      +
      +
      + Will +
      +
      +
      + Will +
      +
      +
      +
    • +
    +
    -

    - - -

    -
    -
    -
    -
    - Rather Long Display Name -
    -
    -
    - Rather Long Display Name -
    -
    -
    -
    -

    Long Name that goes on and on and on and on a... -

    +

    Lorem ipsum dolor sit amet, consectetur adipi...

    +
    +
      +
    • +
      +
      +
      +
      + Rather Long Display Name +
      +
      +
      + Rather Long Display Name +
      +
      +
      +
    • +
    +
    -

    - - -

    -
    -
    -
    -
    - DanConwayDev -
    -
    -
    - DanConwayDev -
    -
    -
    -
    -

    LongNameLongNameLongNameLongNameLongNameLongN... -

    +

    LoremipsumLoremipsumLoremipsumLoremipsumLorem...

    +
    +
      +
    • +
      +
      +
      +
      + DanConwayDev +
      +
      +
      + DanConwayDev +
      +
      +
      +
    • +
    +
    -

    - - -

    -
    -
    -
    -
    - Will + + Short Name + +

    + short description +

    +
    +
      +
    • +
      +
      +
      +
      + Will +
      +
      +
      + Will
      -
      -
      - Will
      -
    -
    -
    -
    -
    -
    -
    - DanConwayDev + +
  • +
    +
    +
    +
    + DanConwayDev +
    +
    +
    + DanConwayDev
    -
    -
    - DanConwayDev
    -
  • -
    -
    -
    -
    -
    -
    - sectore + +
  • +
    +
    +
    +
    + sectore +
    +
    +
    + sectore
    -
    -
    - sectore
    -
  • -
    -

    - - Short Name - -

    - short description -

    + + +
    @@ -238,102 +238,102 @@ exports[`Repo/Summary/List Multiple Maintainers smoke-test 1`] = `
    -

    - - -

    -
    -
    -
    -
    - Will + + Short Name + +

    + short description +

    +
    +
      +
    • +
      +
      +
      +
      + Will +
      +
      +
      + Will
      -
      -
      - Will
      -
    -
    -
    -
    -
    -
    -
    - DanConwayDev + +
  • +
    +
    +
    +
    + DanConwayDev +
    +
    +
    + DanConwayDev
    -
    -
    - DanConwayDev
    -
  • -
    -
    -
    -
    -
    -
    - sectore + +
  • +
    +
    +
    +
    + sectore +
    +
    +
    + sectore
    -
    -
    - sectore
    -
  • -
    -

    - - Short Name - -

    - short description -

    + + +
    -

    - - -

    -
    -
    -
    -
    - Rather Long Display Name -
    -
    -
    - Rather Long Display Name -
    -
    -
    -
    -

    Long Name that goes on and on and on and on a... -

    +

    Lorem ipsum dolor sit amet, consectetur adipi...

    +
    +
      +
    • +
      +
      +
      +
      + Rather Long Display Name +
      +
      +
      + Rather Long Display Name +
      +
      +
      +
    • +
    +
    @@ -345,68 +345,68 @@ exports[`Repo/Summary/List No Title smoke-test 1`] = `
    -

    - - -

    -
    -
    -
    -
    - Will -
    -
    -
    - Will -
    -
    -
    -
    -

    Short Name -

    +

    short description

    +
    +
      +
    • +
      +
      +
      +
      + Will +
      +
      +
      + Will +
      +
      +
      +
    • +
    +
    -

    - - -

    -
    -
    -
    -
    - Rather Long Display Name -
    -
    -
    - Rather Long Display Name -
    -
    -
    -
    -

    Long Name that goes on and on and on and on a... -

    +

    Lorem ipsum dolor sit amet, consectetur adipi...

    +
    +
      +
    • +
      +
      +
      +
      + Rather Long Display Name +
      +
      +
      + Rather Long Display Name +
      +
      +
      +
    • +
    +
    @@ -423,68 +423,68 @@ exports[`Repo/Summary/List Partially Loaded smoke-test 1`] = `
    -

    - - -

    -
    -
    -
    -
    - Will -
    -
    -
    - Will -
    -
    -
    -
    -

    Short Name -

    +

    short description

    +
    +
      +
    • +
      +
      +
      +
      + Will +
      +
      +
      + Will +
      +
      +
      +
    • +
    +
    -

    - - -

    -
    -
    -
    -
    - Rather Long Display Name -
    -
    -
    - Rather Long Display Name -
    -
    -
    -
    -

    Long Name that goes on and on and on and on a... -

    +

    Lorem ipsum dolor sit amet, consectetur adipi...

    +
    +
      +
    • +
      +
      +
      +
      + Rather Long Display Name +
      +
      +
      + Rather Long Display Name +
      +
      +
      +
    • +
    +
    {:else} -

    - - {#each maintainers as user} -

    - -
    - {/each} -

    {short_name} -

    - {short_descrption} -

    + {#if short_descrption.length > 0} +

    + {short_descrption} +

    + {/if} + +
    +
      + {#each maintainers as user} +
    • + +
    • + {/each} +
    +
    {/if}
    + +