jekyll-report-dashboard 0.1.5 → 0.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: af76d4dd8cad5308598a767d18590f93a1a1849595a5331923f5162956a927d0
4
- data.tar.gz: c6fd42880da9f74ccc411eff4fa297f57599eb51c68fc1893fa79f37de070b3c
3
+ metadata.gz: 7ae5c43dbbd2263908c187fd1ca2b731319de54a3ae39536100858344ff29139
4
+ data.tar.gz: 3f3e825f990ec21ae5bfeaed9540a8d7796e731b773547db42832bb9aa0980a8
5
5
  SHA512:
6
- metadata.gz: 6ab1bba2dd0a533c8ded24f0aa2e661fc26734744e2277f2af5fddef690cfedfc535ae698517ac04829cc0f00a91fe47c41ee0ec7450ddf2a6ce498195389b81
7
- data.tar.gz: 9104a7ad76c90e87f99522d16d6e79a4324321c737f3fbd302c16e5cf8aa2b89ff5db9da2bb7896a770094dc1e4ab687f7db154abe016cda7d2603f6b6968d4a
6
+ metadata.gz: 4e1d311660c053ea169325c8886e86d8bca61a7868ee494179b3157edcc62483980bbdf05360701732767bb31bcefd592141db3f211ecce328d3861ea56e1c54
7
+ data.tar.gz: 8e14190ac88e47c980026d502bab2e12f87786986ee089406c072ceaba8cc7962cb86e0daf0e0c330c73920884150ab0be838d64326017bcc83476acb17f99f2
data/_layouts/page.html CHANGED
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  layout: default
3
3
  ---
4
+
4
5
  <article>
5
6
 
6
7
  <header class="mb-8">
data/_layouts/post.html CHANGED
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  layout: default
3
3
  ---
4
+
4
5
  <article>
5
6
 
6
7
  <header class="mb-8">
data/coverage.markdown CHANGED
@@ -1,8 +1,14 @@
1
1
  ---
2
- layout: coverage-report
2
+ layout: page
3
3
  # the header for the page
4
4
  title: "Code Coverage Report"
5
5
  # the link to page https://jekyllrb.com/docs/permalinks/
6
6
  permalink: coverage-report/
7
7
  ---
8
8
 
9
+ <div>
10
+ <!-- Get the data from the `total` field in `_data/coverage/coverage-summary.json` and assign it to a variable called `total`. -->
11
+ {% assign total = site.data.coverage.coverage-summary.total %}
12
+ <!-- Include the html snippet in `_includes/coverage-summary.html` with the parameters "main" as `branch` and the totals from the data as `total`. -->
13
+ {% include coverage-summary.html branch="main" total=total %}
14
+ </div>
data/index.markdown CHANGED
@@ -1,5 +1,48 @@
1
1
  ---
2
- layout: home
2
+ layout: default
3
3
  ---
4
4
 
5
+ <div class="md:grid md:grid-cols-3 md:gap-8 md:items-start md:justify-center">
6
+ <div class="md:col-start-1 md:col-span-2">
7
+ <div class="">
8
+ <h2 class="md:mt-0">Main</h2>
5
9
 
10
+ <h3>Code Coverage</h3>
11
+ <!--
12
+ Jekyll provides access to YAML, JSON, CSV, and TSV in the `_data` directory using `site.data`. It supports retrieving data nested in directories, files, and objects. https://jekyllrb.com/docs/datafiles/
13
+
14
+ Get the data from the `total` field in `_data/coverage/coverage-summary.json` and assign it to a variable called `total`.
15
+ -->
16
+ {% assign total = site.data.coverage.coverage-summary.total %}
17
+ <!--
18
+ Jekyll uses includes to create reusable snippets of html code. Data can be passed through to the snippet using parameters. https://jekyllrb.com/docs/includes/
19
+
20
+ Include the html snippet in `_includes/coverage-summary.html` with the parameters "main" as `branch` and the totals from the data as `total`.
21
+ -->
22
+ {% include coverage-summary.html branch="main" total=total %}
23
+
24
+ <!-- Playwright dashboard added earlier -->
25
+ <h3>Playwright</h3>
26
+ <!-- Get the data from `_data/playwright-reports/main.json` and assign it to a variable called `data`. -->
27
+ {% assign data = site.data.playwright-reports.main %}
28
+ <!-- Jekyll uses Liquid filters to provide helper functions. https://jekyllrb.com/docs/liquid/filters/ -->
29
+ <!--
30
+ Include the html snippet in `_includes/playwright-summary.html` with the parameters "main" as `branch`,
31
+ the data variable as `data`, and "/playwright-reports/main.html" as `url`.
32
+ -->
33
+ {% include playwright-summary.html branch="main" data=data url="/playwright-reports/main.html" %}
34
+ </div>
35
+
36
+ <div class="">
37
+ <h2>Latest Reports from Branches</h2>
38
+ <!-- Include the html snippet from `_includes/playwright-branch-list.html` -->
39
+ {% include playwright-branch-list.html %}
40
+ </div>
41
+ </div>
42
+
43
+ <div class="md:mt-[-2rem] md:col-start-3">
44
+ {% for post in site.categories["release"] limit: 3 %}
45
+ {% include release-note.html post=post content=post.content %}
46
+ {% endfor %}
47
+ </div>
48
+ </div>
@@ -1,7 +1,12 @@
1
1
  ---
2
- layout: playwright-branch-list
2
+ layout: page
3
3
  # the header for the page
4
4
  title: "Playwright Reports for Branches"
5
5
  # the link to page https://jekyllrb.com/docs/permalinks/
6
6
  permalink: playwright-reports/branches/
7
7
  ---
8
+
9
+ <div>
10
+ <!-- Include the html snippet in `_includes/playwright-branch-list.html` -->
11
+ {% include playwright-branch-list.html %}
12
+ </div>
@@ -1,7 +1,26 @@
1
1
  ---
2
- layout: playwright-reports
2
+ layout: page
3
3
  # the header for the page
4
4
  title: "Playwright Reports"
5
5
  # the link to page https://jekyllrb.com/docs/permalinks/
6
6
  permalink: playwright-reports/
7
7
  ---
8
+
9
+ <div>
10
+ <h2>Main
11
+ </h2>
12
+ <!-- Get the data from `_data/playwright-reports/main.json` and assign it to a variable called `data`. -->
13
+ {% assign data = site.data.playwright-reports.main %}
14
+ <!--
15
+ Include the html snippet in `_includes/playwright-summary.html` with the parameters "main" as `branch`,
16
+ the data variable as `data`, and "/playwright-reports/main.html" as `url`.
17
+ -->
18
+ {% include playwright-summary.html branch="main" data=data url="/playwright-reports/main.html" %}
19
+
20
+ <div class="mt-8">
21
+ <h2>Latest Reports from Branches
22
+ </h2>
23
+ <!-- Include the html snippet in `_includes/playwright-branch-list.html` -->
24
+ {% include playwright-branch-list.html %}
25
+ </div>
26
+ </div>
data/releases.markdown CHANGED
@@ -1,5 +1,9 @@
1
1
  ---
2
- layout: release-notes
2
+ layout: page
3
3
  title: Release Notes
4
4
  permalink: releases/
5
5
  ---
6
+
7
+ {% for post in site.categories["release"] %}
8
+ {% include release-note.html post=post content=post.content %}
9
+ {% endfor %}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-report-dashboard
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tiffany Forkner
@@ -66,16 +66,11 @@ files:
66
66
  - _includes/playwright-stat.html
67
67
  - _includes/playwright-summary.html
68
68
  - _includes/release-note.html
69
- - _layouts/coverage-report.html
70
69
  - _layouts/default.html
71
- - _layouts/home.html
72
70
  - _layouts/page.html
73
- - _layouts/playwright-branch-list.html
74
71
  - _layouts/playwright-branch.html
75
- - _layouts/playwright-reports.html
76
72
  - _layouts/post.html
77
73
  - _layouts/release-note.html
78
- - _layouts/release-notes.html
79
74
  - _plugins/playwright-branch-index-generator.rb
80
75
  - assets/css/styles.css
81
76
  - coverage.markdown
@@ -1,9 +0,0 @@
1
- ---
2
- layout: page
3
- ---
4
- <div>
5
- <!-- Get the data from the `total` field in `_data/coverage/coverage-summary.json` and assign it to a variable called `total`. -->
6
- {% assign total = site.data.coverage.coverage-summary.total %}
7
- <!-- Include the html snippet in `_includes/coverage-summary.html` with the parameters "main" as `branch` and the totals from the data as `total`. -->
8
- {% include coverage-summary.html branch="main" total=total %}
9
- </div>
data/_layouts/home.html DELETED
@@ -1,47 +0,0 @@
1
- ---
2
- layout: default
3
- ---
4
- <div class="md:grid md:grid-cols-3 md:gap-8 md:items-start md:justify-center">
5
- <div class="md:col-start-1 md:col-span-2">
6
- <div class="">
7
- <h2 class="md:mt-0">Main</h2>
8
-
9
- <h3>Code Coverage</h3>
10
- <!--
11
- Jekyll provides access to YAML, JSON, CSV, and TSV in the `_data` directory using `site.data`. It supports retrieving data nested in directories, files, and objects. https://jekyllrb.com/docs/datafiles/
12
-
13
- Get the data from the `total` field in `_data/coverage/coverage-summary.json` and assign it to a variable called `total`.
14
- -->
15
- {% assign total = site.data.coverage.coverage-summary.total %}
16
- <!--
17
- Jekyll uses includes to create reusable snippets of html code. Data can be passed through to the snippet using parameters. https://jekyllrb.com/docs/includes/
18
-
19
- Include the html snippet in `_includes/coverage-summary.html` with the parameters "main" as `branch` and the totals from the data as `total`.
20
- -->
21
- {% include coverage-summary.html branch="main" total=total %}
22
-
23
- <!-- Playwright dashboard added earlier -->
24
- <h3>Playwright</h3>
25
- <!-- Get the data from `_data/playwright-reports/main.json` and assign it to a variable called `data`. -->
26
- {% assign data = site.data.playwright-reports.main %}
27
- <!-- Jekyll uses Liquid filters to provide helper functions. https://jekyllrb.com/docs/liquid/filters/ -->
28
- <!--
29
- Include the html snippet in `_includes/playwright-summary.html` with the parameters "main" as `branch`,
30
- the data variable as `data`, and "/playwright-reports/main.html" as `url`.
31
- -->
32
- {% include playwright-summary.html branch="main" data=data url="/playwright-reports/main.html" %}
33
- </div>
34
-
35
- <div class="">
36
- <h2>Latest Reports from Branches</h2>
37
- <!-- Include the html snippet from `_includes/playwright-branch-list.html` -->
38
- {% include playwright-branch-list.html %}
39
- </div>
40
- </div>
41
-
42
- <div class="md:mt-[-2rem] md:col-start-3">
43
- {% for post in site.categories["release"] limit: 3 %}
44
- {% include release-note.html post=post content=post.content %}
45
- {% endfor %}
46
- </div>
47
- </div>
@@ -1,4 +0,0 @@
1
- <div>
2
- <!-- Include the html snippet in `_includes/playwright-branch-list.html` -->
3
- {% include playwright-branch-list.html %}
4
- </div>
@@ -1,22 +0,0 @@
1
- ---
2
- layout: page
3
- ---
4
-
5
- <div>
6
- <h2>Main
7
- </h2>
8
- <!-- Get the data from `_data/playwright-reports/main.json` and assign it to a variable called `data`. -->
9
- {% assign data = site.data.playwright-reports.main %}
10
- <!--
11
- Include the html snippet in `_includes/playwright-summary.html` with the parameters "main" as `branch`,
12
- the data variable as `data`, and "/playwright-reports/main.html" as `url`.
13
- -->
14
- {% include playwright-summary.html branch="main" data=data url="/playwright-reports/main.html" %}
15
-
16
- <div class="mt-8">
17
- <h2>Latest Reports from Branches
18
- </h2>
19
- <!-- Include the html snippet in `_includes/playwright-branch-list.html` -->
20
- {% include playwright-branch-list.html %}
21
- </div>
22
- </div>
@@ -1,6 +0,0 @@
1
- ---
2
- layout: page
3
- ---
4
- {% for post in site.categories["release"] %}
5
- {% include release-note.html post=post content=post.content %}
6
- {% endfor %}