Skip to content

Commit 566b305

Browse files
committed
fix changelog multiple spaces
1 parent e0dd7d2 commit 566b305

File tree

2 files changed

+67
-15
lines changed

2 files changed

+67
-15
lines changed

docs/changelog/changelog.mdx

+65-13
Original file line numberDiff line numberDiff line change
@@ -22,35 +22,87 @@ Thanks to our community contributor [@n-sviridenko](https://github.com/n-sviride
2222

2323
<ul>
2424

25-
- [New] Simpler onboarding flow on [deploy.rowy.app](https://deploy.rowy.app) to get started even faster
26-
- [New] Syntax validation for Derivative, Action, and dynamic default value functions
27-
- [New] Evaluate individual Derivative cells from the context menu on demand, without waiting for builds
28-
- [New] Code completion for JSON fields in code editors based on table data
29-
- [New] Shortcuts to Secret Manager and Cloud Functions on Google Cloud Console from code editor
30-
- [New] `rowy` utility class for fetching secrets, simplified storage uploads, and access to environment metadata
31-
- [New] Duplicate and delete row from the context menu
25+
<li><span className="changelog-tag" data-tag="New">New</span>
26+
27+
Simpler onboarding flow on [deploy.rowy.app](https://deploy.rowy.app) to get started even faster
28+
29+
</li>
30+
<li><span className="changelog-tag" data-tag="New">New</span>
31+
32+
Syntax validation for Derivative, Action, and dynamic default value functions
33+
34+
</li>
35+
<li><span className="changelog-tag" data-tag="New">New</span>
36+
37+
Evaluate individual Derivative cells from the context menu on demand, without waiting for builds
38+
39+
</li>
40+
<li><span className="changelog-tag" data-tag="New">New</span>
41+
42+
Code completion for JSON fields in code editors based on table data
43+
44+
</li>
45+
<li><span className="changelog-tag" data-tag="New">New</span>
46+
47+
Shortcuts to Secret Manager and Cloud Functions on Google Cloud Console from code editor
48+
49+
</li>
50+
<li><span className="changelog-tag" data-tag="New">New</span>
51+
52+
`rowy` utility class for fetching secrets, simplified storage uploads, and access to environment metadata
53+
54+
</li>
55+
<li><span className="changelog-tag" data-tag="New">New</span>
56+
57+
Duplicate and delete row from the context menu
58+
59+
</li>
3260

3361
</ul>
3462

3563

3664
<ul>
3765

38-
- [Improved] Fixed errors and bugs when using Rowy without Rowy Run deployed
39-
- [Improved] Display error snackbar when Firebase Storage permissions denied
66+
<li><span className="changelog-tag" data-tag="Improved">Improved</span>
67+
68+
Fixed errors and bugs when using Rowy without Rowy Run deployed
69+
70+
</li>
71+
<li><span className="changelog-tag" data-tag="Improved">Improved</span>
72+
73+
Display error snackbar when Firebase Storage permissions denied
74+
75+
</li>
4076

4177
</ul>
4278

4379
<ul>
4480

45-
- [Removed] Aggregate field type, which was unusable and undocumented
81+
<li><span className="changelog-tag" data-tag="Removed">Removed</span>
82+
83+
Aggregate field type, which was unusable and undocumented
84+
85+
</li>
4686

4787
</ul>
4888

4989
<ul>
5090

51-
- [Fixed] Single select fields pointing to a nested field key will not write the value to the database, but updates the value in the UI by [@n-sviridenko](https://github.com/n-sviridenko) in [#659](https://github.com/rowyio/rowy/issues/659)
52-
- [Fixed] Duplicate and Delete row buttons not appearing in read-only tables for ADMINs
53-
- [Fixed] Filters not displaying zero results
91+
<li><span className="changelog-tag" data-tag="Fixed">Fixed</span>
92+
93+
Single select fields pointing to a nested field key will not write the value to the database, but updates the value in the UI by [@n-sviridenko](https://github.com/n-sviridenko) in [#659](https://github.com/rowyio/rowy/issues/659)
94+
95+
</li>
96+
<li><span className="changelog-tag" data-tag="Fixed">Fixed</span>
97+
98+
Duplicate and Delete row buttons not appearing in read-only tables for ADMINs
99+
100+
</li>
101+
<li><span className="changelog-tag" data-tag="Fixed">Fixed</span>
102+
103+
Filters not displaying zero results
104+
105+
</li>
54106

55107
</ul>
56108

generate-changelog.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ fetch("https://api.github.com/repos/rowyio/rowy/releases")
3030
const body =
3131
release.body
3232
.replace(/##.*/gm, "<ul>")
33-
.replace(/(- .*$)\r\n\r\n/gm, "$1\n\n</ul>\n\n")
33+
.replace(/(-\s+.*$)\r\n\r\n/gm, "$1\n\n</ul>\n\n")
3434
.replace("## ")
3535
.replace(
36-
/- \[([\w]+)\] (.*)$/gm,
36+
/-\s+\[([\w]+)\] (.*)$/gm,
3737
`<li><span className="changelog-tag" data-tag="$1">$1</span>\n\n$2\n\n</li>`
3838
)
3939
.replace(/#(\d+)/g, "[#$1](https://github.com/rowyio/rowy/issues/$1)")

0 commit comments

Comments
 (0)