Skip to content

Commit

Permalink
Merge pull request #1078 from rodekruis/develop
Browse files Browse the repository at this point in the history
Create v24.07.1
  • Loading branch information
elwinschmitz committed Jul 18, 2024
2 parents 7f6b843 + ece0cfd commit f23b1a9
Show file tree
Hide file tree
Showing 18 changed files with 2,960 additions and 2,660 deletions.
12 changes: 11 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,15 @@ This project uses the [`CalVer`](https://calver.org/#scheme)-format: `YY.0M.MICR

---

## [Unreleased](https://github.com/rodekruis/helpful-information/compare/v24.07.0...main)
## [Unreleased](https://github.com/rodekruis/helpful-information/compare/v24.07.1...main)

---

## 2024-07-18: [v24.07.1](https://github.com/rodekruis/helpful-information/releases/tag/v24.07.1)

### Added

- Offers can be grouped on Sub-Category-pages by setting an (optional!) "Chapter Name" for each Offer.

---

Expand All @@ -17,6 +25,8 @@ This project uses the [`CalVer`](https://calver.org/#scheme)-format: `YY.0M.MICR

- Duplicate page-views and/or unique-users tracking/logging prevented. (Mostly)

---

## 2024-06-28: [v24.06.1](https://github.com/rodekruis/helpful-information/releases/tag/v24.06.1)

### Added
Expand Down
14 changes: 9 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,21 +222,23 @@ classDiagram
}
class Offer {
int offerId
slug
int subCategoryID
int categoryID
int subCategoryID
chapterName
chapterSlug
bool isVisible
int offerId
slug
offerName
icon
+ ...many more properties
}
class QASet {
int id
int subCategoryID
int categoryID
int subCategoryID
bool isVisible
int id
slug
parentSlug
question
Expand Down Expand Up @@ -337,6 +339,8 @@ Each Offer
- can have a URL-slug (`[a-z0-9._-]`);
This _needs_ to be unique within its parent Sub-Category _only_.
- can be hidden by setting the "**Visible?**"-column to `Hide`.
- can have a Chapter-name (in plain/normal text);
This will be used to group Offers within their parent Sub-Category.
- can have some multi-line fields, [Markdown syntax](#text-formatting) can be used for structure/formatting in those.

### Q&A features
Expand Down
53 changes: 52 additions & 1 deletion data/test-sheet-id-1/values/Offers.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
[
"\nSelect Sub-Category:",
"Sub-Category ID\n#SUBCATEGORY",
"Category ID\n#CATEGORY\"",
"Category ID\n#CATEGORY",
"Chapter Name\n#CHAPTER",
"Offer ID\n#ID",
"Visible?\n#VISIBLE",
"Unique URL (only \"a-z 0-9\" or \"-\")\n#SLUG",
Expand All @@ -25,6 +26,7 @@
"Sub-Category",
"1",
"1",
"",
"1",
"Show",
"the-servicename",
Expand All @@ -44,6 +46,7 @@
"Sub-Category",
"1",
"1",
"",
"2",
"Show",
"another-service",
Expand All @@ -63,6 +66,7 @@
"Sub-Category",
"1",
"1",
"",
"3",
"Show",
"",
Expand All @@ -80,6 +84,7 @@
"Single Level",
"4",
"4",
"",
"4",
"Show",
"single-service",
Expand All @@ -91,6 +96,7 @@
"Sub-Category",
"1",
"1",
"",
"5",
"Hide",
"temporary-service",
Expand All @@ -101,6 +107,7 @@
"Another Sub-Category",
"2",
"1",
"",
"4",
"Show",
"evil-service",
Expand All @@ -115,6 +122,50 @@
"",
"",
"javascript:alert('evil #MOREINFO!');"
],
[
"Sub-Category",
"1",
"1",
"Chapter C",
"5",
"Show",
"",
"",
"A service in Chapter C"
],
[
"Sub-Category",
"1",
"1",
"Chapter B",
"7",
"Show",
"",
"",
"A service in Chapter B"
],
[
"Sub-Category",
"1",
"1",
"Chapter C",
"6",
"Show",
"",
"",
"Another service in Chapter C"
],
[
"Sub-Category",
"1",
"1",
"Chapter B",
"8",
"Show",
"",
"",
"Another service in Chapter B"
]
]
}
2 changes: 1 addition & 1 deletion data/test-sheet-id-1/values/Sub-Categories.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"Sub-Category",
"sub-category",
"Show",
"The description of this sub-category.",
"The description of this sub-category.\n\n### Sub-heading\n\n...",
"data:image/svg+xml,%3Csvg xmlns='http:https://www.w3.org/2000/svg' viewBox='0 0 100 50'%3E%3Crect width='100' height='50' x='0' y='0' fill='%23ddd'%3E%3C/rect%3E%3C/svg%3E"
],
[
Expand Down
Loading

0 comments on commit f23b1a9

Please sign in to comment.