Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/release'
Browse files Browse the repository at this point in the history
  • Loading branch information
tm-kn committed Aug 6, 2024
2 parents b598c66 + efc1c8d commit ca8a05a
Show file tree
Hide file tree
Showing 41 changed files with 19,928 additions and 7 deletions.
6 changes: 4 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# Release History

## Unreleased
## 78.0 (2024-08-06)

- ...
Compare: <https://git.torchbox.com/buckinghamshire-council/bc/compare/77.0...78.0>

- [Directory search block](https://trello.com/c/09eNT1iH/6-fis-directory-search-widget-fe-and-be) ([Merge request #712](https://git.torchbox.com/buckinghamshire-council/bc/-/merge_requests/712))

## 77.0 (2024-07-29)

Expand Down
1,237 changes: 1,237 additions & 0 deletions bc/blogs/migrations/0019_add_directory_search_block.py

Large diffs are not rendered by default.

Large diffs are not rendered by default.

642 changes: 642 additions & 0 deletions bc/cases/migrations/0026_add_directory_search_block.py

Large diffs are not rendered by default.

Large diffs are not rendered by default.

628 changes: 628 additions & 0 deletions bc/events/migrations/0034_add_directory_search_block.py

Large diffs are not rendered by default.

Large diffs are not rendered by default.

214 changes: 214 additions & 0 deletions bc/family_information/migrations/0015_add_directory_search_block.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,214 @@
# Generated by Django 4.2.11 on 2024-07-19 11:25

from django.db import migrations
import wagtail.blocks
import wagtail.fields


class Migration(migrations.Migration):

dependencies = [
("family_information", "0014_merge_20240709_1347"),
]

operations = [
migrations.AddField(
model_name="categorypage",
name="directory_search",
field=wagtail.fields.StreamField(
[
(
"directory_search",
wagtail.blocks.StructBlock(
[
(
"title",
wagtail.blocks.CharBlock(
help_text="Title of the widget", required=True
),
),
(
"search_placeholder",
wagtail.blocks.CharBlock(
help_text="Placeholder text for the search input",
required=False,
),
),
(
"directory",
wagtail.blocks.ChoiceBlock(
choices=[
("send", "SEND"),
(
"familyinfo",
"Family Information Service",
),
],
help_text="Which directory to search",
),
),
(
"extra_query_params",
wagtail.blocks.CharBlock(
help_text="Extra query parameters to add to the search, e.g. ?collection=things-to-do&needs=autism",
required=False,
),
),
],
template="patterns/organisms/search-widget/search-widget.html",
),
)
],
blank=True,
),
),
migrations.AddField(
model_name="categorytypeonepage",
name="directory_search",
field=wagtail.fields.StreamField(
[
(
"directory_search",
wagtail.blocks.StructBlock(
[
(
"title",
wagtail.blocks.CharBlock(
help_text="Title of the widget", required=True
),
),
(
"search_placeholder",
wagtail.blocks.CharBlock(
help_text="Placeholder text for the search input",
required=False,
),
),
(
"directory",
wagtail.blocks.ChoiceBlock(
choices=[
("send", "SEND"),
(
"familyinfo",
"Family Information Service",
),
],
help_text="Which directory to search",
),
),
(
"extra_query_params",
wagtail.blocks.CharBlock(
help_text="Extra query parameters to add to the search, e.g. ?collection=things-to-do&needs=autism",
required=False,
),
),
],
template="patterns/organisms/search-widget/search-widget.html",
),
)
],
blank=True,
),
),
migrations.AddField(
model_name="categorytypetwopage",
name="directory_search",
field=wagtail.fields.StreamField(
[
(
"directory_search",
wagtail.blocks.StructBlock(
[
(
"title",
wagtail.blocks.CharBlock(
help_text="Title of the widget", required=True
),
),
(
"search_placeholder",
wagtail.blocks.CharBlock(
help_text="Placeholder text for the search input",
required=False,
),
),
(
"directory",
wagtail.blocks.ChoiceBlock(
choices=[
("send", "SEND"),
(
"familyinfo",
"Family Information Service",
),
],
help_text="Which directory to search",
),
),
(
"extra_query_params",
wagtail.blocks.CharBlock(
help_text="Extra query parameters to add to the search, e.g. ?collection=things-to-do&needs=autism",
required=False,
),
),
],
template="patterns/organisms/search-widget/search-widget.html",
),
)
],
blank=True,
),
),
migrations.AddField(
model_name="subsitehomepage",
name="directory_search",
field=wagtail.fields.StreamField(
[
(
"directory_search",
wagtail.blocks.StructBlock(
[
(
"title",
wagtail.blocks.CharBlock(
help_text="Title of the widget", required=True
),
),
(
"search_placeholder",
wagtail.blocks.CharBlock(
help_text="Placeholder text for the search input",
required=False,
),
),
(
"directory",
wagtail.blocks.ChoiceBlock(
choices=[
("send", "SEND"),
(
"familyinfo",
"Family Information Service",
),
],
help_text="Which directory to search",
),
),
(
"extra_query_params",
wagtail.blocks.CharBlock(
help_text="Extra query parameters to add to the search, e.g. ?collection=things-to-do&needs=autism",
required=False,
),
),
]
),
)
],
blank=True,
),
),
]
Loading

0 comments on commit ca8a05a

Please sign in to comment.