diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2cb5324836..6df87c888e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -12,6 +12,7 @@
* Use govuk-spacing for highlight answer govspeak component ([PR #4515](https://github.com/alphagov/govuk_publishing_components/pull/4515))
* Add context option to heading component ([PR #4510](https://github.com/alphagov/govuk_publishing_components/pull/4510))
* Add option for organisation logos to hide the link underline until it's hovered ([PR #4509](https://github.com/alphagov/govuk_publishing_components/pull/4509))
+* Remove chat entry component ([PR #4512](https://github.com/alphagov/govuk_publishing_components/pull/4512))
## 46.4.0
diff --git a/app/assets/stylesheets/govuk_publishing_components/_all_components.scss b/app/assets/stylesheets/govuk_publishing_components/_all_components.scss
index d76fe887ae..5a1c87e09f 100644
--- a/app/assets/stylesheets/govuk_publishing_components/_all_components.scss
+++ b/app/assets/stylesheets/govuk_publishing_components/_all_components.scss
@@ -19,7 +19,6 @@
@import "components/button";
@import "components/cards";
@import "components/character-count";
-@import "components/chat-entry";
@import "components/checkboxes";
@import "components/contents-list";
@import "components/contextual-guidance";
diff --git a/app/assets/stylesheets/govuk_publishing_components/components/_chat-entry.scss b/app/assets/stylesheets/govuk_publishing_components/components/_chat-entry.scss
deleted file mode 100644
index e53dda7d0d..0000000000
--- a/app/assets/stylesheets/govuk_publishing_components/components/_chat-entry.scss
+++ /dev/null
@@ -1,39 +0,0 @@
-@import "govuk_publishing_components/individual_component_support";
-
-.gem-c-chat-entry {
- display: flex;
- align-items: flex-start;
- background-color: govuk-tint(govuk-colour("blue"), 90%);
- padding: govuk-spacing(4);
-}
-
-.gem-c-chat-entry--margin-top-until-tablet {
- @include govuk-media-query($until: tablet) {
- margin-top: 35px;
- }
-}
-
-.gem-c-chat-entry--border-top {
- border-top: 2px solid govuk-colour("blue");
- padding-top: govuk-spacing(5);
-}
-
-.gem-c-chat-entry--border-bottom {
- border-bottom: 2px solid govuk-colour("blue");
- padding-bottom: govuk-spacing(5);
-}
-
-.gem-c-chat-entry__image {
- flex-shrink: 0;
- height: 40px;
- margin-right: govuk-spacing(3);
- width: 40px;
-}
-
-.gem-c-chat-entry__heading {
- margin: 0 0 govuk-spacing(2);
- font-size: 19px;
- font-size: govuk-px-to-rem(19);
- line-height: 1.25;
- @include govuk-typography-common;
-}
diff --git a/app/views/govuk_publishing_components/components/_chat_entry.html.erb b/app/views/govuk_publishing_components/components/_chat_entry.html.erb
deleted file mode 100644
index 4d93701f31..0000000000
--- a/app/views/govuk_publishing_components/components/_chat_entry.html.erb
+++ /dev/null
@@ -1,55 +0,0 @@
-<%
- add_gem_component_stylesheet("chat-entry")
- local_assigns[:margin_bottom] ||= 6
- shared_helper = GovukPublishingComponents::Presenters::SharedHelper.new(local_assigns)
- href ||= "/chat"
- heading_text ||= t("components.chat_entry.heading")
- description_text ||= t("components.chat_entry.description")
- border_top ||= false
- border_bottom ||= false
- disable_ga4 ||= false
- margin_top_until_tablet ||= false
- local_assigns[:margin_bottom] ||= 6
-
- component_helper = GovukPublishingComponents::Presenters::ComponentWrapperHelper.new(local_assigns)
- component_helper.add_class("gem-c-chat-entry")
- component_helper.add_class("gem-c-chat-entry--border-top") if border_top
- component_helper.add_class("gem-c-chat-entry--border-bottom") if border_bottom
- component_helper.add_class("gem-c-chat-entry--margin-top-until-tablet") if margin_top_until_tablet
- component_helper.add_data_attribute({ module: "ga4-link-tracker" }) unless disable_ga4
-
- unless disable_ga4
- ga4_link_data = {
- ga4_link: {
- event_name: "navigation",
- type: "callout",
- section: "GOV.UK Chat entry",
- }.to_json
- }
- end
-%>
-
-<%= tag.div(**component_helper.all_attributes) do %>
-
-
-
- <%= content_tag(shared_helper.get_heading_level, class: "gem-c-chat-entry__heading") do %>
- <%= link_to heading_text, href, class: "govuk-link", data: ga4_link_data %>
- <% end %>
-
- <% if description_text %>
-
<%= description_text %>
- <% end %>
-
-<% end %>
diff --git a/app/views/govuk_publishing_components/components/docs/chat_entry.yml b/app/views/govuk_publishing_components/components/docs/chat_entry.yml
deleted file mode 100644
index 48ec66e120..0000000000
--- a/app/views/govuk_publishing_components/components/docs/chat_entry.yml
+++ /dev/null
@@ -1,45 +0,0 @@
-name: Chat entry
-description: Entry point for GOV.UK Chat
-accessibility_criteria: |
- The heading must:
-
- - be part of a correct heading structure for a page
- - be semantically represented as a heading
- - convey the heading level
-uses_component_wrapper_helper: true
-shared_accessibility_criteria:
- - link
-examples:
- default:
- data:
- with_custom_href,_heading_and_or_description:
- data:
- href: /chat
- heading_text: Go to GOV.UK Chat
- description_text: Get answers to your business questions
- with_a_different_heading_level:
- description: Chat entry has a `h2` by default, but this can be changed. The heading level does not change any styling.
- data:
- heading_level: 3
- with_a_border_top:
- data:
- border_top: true
- with_a_border_bottom:
- data:
- border_bottom: true
- with_a_border_top_and_a_border_bottom:
- data:
- border_top: true
- border_bottom: true
- with_margin_bottom:
- data:
- margin_bottom: 3
- with_margin_top_until_tablet:
- description: Adds a `.gem-c-chat-entry--margin-top-until-tablet` class that applies `margin-top:35px` on smaller screen sizes (i.e. tablets and below)
- data:
- margin_top_until_tablet: true
- without_ga4_tracking:
- description: |
- Disables GA4 tracking on the component. Tracking is enabled by default. This adds a data module and data-attributes with JSON data. See the [ga4-link-tracker documentation](https://github.com/alphagov/govuk_publishing_components/blob/main/docs/analytics-ga4/ga4-link-tracker.md) for more information.
- data:
- disable_ga4: true
diff --git a/config/locales/ar.yml b/config/locales/ar.yml
index d256e86b0b..ff1ca5c2ae 100644
--- a/config/locales/ar.yml
+++ b/config/locales/ar.yml
@@ -41,9 +41,6 @@ ar:
accessibility_html:
accessibility_link:
table_dropdown:
- chat_entry:
- description:
- heading:
checkboxes:
or: أو
contents_list:
diff --git a/config/locales/az.yml b/config/locales/az.yml
index 41ebadd774..53312fc16b 100644
--- a/config/locales/az.yml
+++ b/config/locales/az.yml
@@ -37,9 +37,6 @@ az:
accessibility_html:
accessibility_link:
table_dropdown:
- chat_entry:
- description:
- heading:
checkboxes:
or: və ya
contents_list:
diff --git a/config/locales/be.yml b/config/locales/be.yml
index 4ae6eb9ec0..cd0b6c232a 100644
--- a/config/locales/be.yml
+++ b/config/locales/be.yml
@@ -39,9 +39,6 @@ be:
accessibility_html:
accessibility_link:
table_dropdown:
- chat_entry:
- description:
- heading:
checkboxes:
or: або
contents_list:
diff --git a/config/locales/bg.yml b/config/locales/bg.yml
index 8a108d7933..5122e8f898 100644
--- a/config/locales/bg.yml
+++ b/config/locales/bg.yml
@@ -37,9 +37,6 @@ bg:
accessibility_html:
accessibility_link:
table_dropdown:
- chat_entry:
- description:
- heading:
checkboxes:
or: или
contents_list:
diff --git a/config/locales/bn.yml b/config/locales/bn.yml
index 82ee0aa438..dfd2ba4440 100644
--- a/config/locales/bn.yml
+++ b/config/locales/bn.yml
@@ -37,9 +37,6 @@ bn:
accessibility_html:
accessibility_link:
table_dropdown:
- chat_entry:
- description:
- heading:
checkboxes:
or: অথবা
contents_list:
diff --git a/config/locales/cs.yml b/config/locales/cs.yml
index 40f8b20620..d9e51216ed 100644
--- a/config/locales/cs.yml
+++ b/config/locales/cs.yml
@@ -38,9 +38,6 @@ cs:
accessibility_html:
accessibility_link:
table_dropdown:
- chat_entry:
- description:
- heading:
checkboxes:
or: nebo
contents_list:
diff --git a/config/locales/cy.yml b/config/locales/cy.yml
index a5e6a6cb76..65340c0e6e 100644
--- a/config/locales/cy.yml
+++ b/config/locales/cy.yml
@@ -41,9 +41,6 @@ cy:
accessibility_html:
accessibility_link:
table_dropdown:
- chat_entry:
- description:
- heading:
checkboxes:
or: neu
contents_list:
diff --git a/config/locales/da.yml b/config/locales/da.yml
index 0926a8392e..29112626b2 100644
--- a/config/locales/da.yml
+++ b/config/locales/da.yml
@@ -37,9 +37,6 @@ da:
accessibility_html:
accessibility_link:
table_dropdown:
- chat_entry:
- description:
- heading:
checkboxes:
or: eller
contents_list:
diff --git a/config/locales/de.yml b/config/locales/de.yml
index bdaca69a25..bdc4f01881 100644
--- a/config/locales/de.yml
+++ b/config/locales/de.yml
@@ -37,9 +37,6 @@ de:
accessibility_html:
accessibility_link:
table_dropdown:
- chat_entry:
- description:
- heading:
checkboxes:
or: oder
contents_list:
diff --git a/config/locales/dr.yml b/config/locales/dr.yml
index 0d3856061a..f0ad32b84f 100644
--- a/config/locales/dr.yml
+++ b/config/locales/dr.yml
@@ -40,9 +40,6 @@ dr:
accessibility_html:
accessibility_link:
table_dropdown:
- chat_entry:
- description:
- heading:
checkboxes:
or: یا
contents_list:
diff --git a/config/locales/el.yml b/config/locales/el.yml
index dd6019ca89..839f0b495a 100644
--- a/config/locales/el.yml
+++ b/config/locales/el.yml
@@ -37,9 +37,6 @@ el:
accessibility_html:
accessibility_link:
table_dropdown:
- chat_entry:
- description:
- heading:
checkboxes:
or: ή
contents_list:
diff --git a/config/locales/en.yml b/config/locales/en.yml
index 7d8f1beebc..d553e95bf4 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -37,9 +37,6 @@ en:
accessibility_html: This chart is a visual representation of the data available in the table.
accessibility_link: Skip to "%{chart_heading}" data table
accessibility_heading: Data table for "%{chart_heading}"
- chat_entry:
- heading: Ask GOV.UK Chat
- description: Get quick, tailored answers to your business questions with GOV.UK’s new AI tool
checkboxes:
or: or
contents_list:
diff --git a/config/locales/es-419.yml b/config/locales/es-419.yml
index 6bbeaee799..2ffb0aeb0f 100644
--- a/config/locales/es-419.yml
+++ b/config/locales/es-419.yml
@@ -37,9 +37,6 @@ es-419:
accessibility_html:
accessibility_link:
table_dropdown:
- chat_entry:
- description:
- heading:
checkboxes:
or: o
contents_list:
diff --git a/config/locales/es.yml b/config/locales/es.yml
index 5d8856329d..34c0654f67 100644
--- a/config/locales/es.yml
+++ b/config/locales/es.yml
@@ -37,9 +37,6 @@ es:
accessibility_html:
accessibility_link:
table_dropdown:
- chat_entry:
- description:
- heading:
checkboxes:
or: o bien
contents_list:
diff --git a/config/locales/et.yml b/config/locales/et.yml
index 3f7904d286..52760e9823 100644
--- a/config/locales/et.yml
+++ b/config/locales/et.yml
@@ -37,9 +37,6 @@ et:
accessibility_html:
accessibility_link:
table_dropdown:
- chat_entry:
- description:
- heading:
checkboxes:
or: või
contents_list:
diff --git a/config/locales/fa.yml b/config/locales/fa.yml
index bcb754647d..9b8f6af07b 100644
--- a/config/locales/fa.yml
+++ b/config/locales/fa.yml
@@ -37,9 +37,6 @@ fa:
accessibility_html:
accessibility_link:
table_dropdown:
- chat_entry:
- description:
- heading:
checkboxes:
or: یا
contents_list:
diff --git a/config/locales/fi.yml b/config/locales/fi.yml
index 0c68504070..25cb428037 100644
--- a/config/locales/fi.yml
+++ b/config/locales/fi.yml
@@ -37,9 +37,6 @@ fi:
accessibility_html:
accessibility_link:
table_dropdown:
- chat_entry:
- description:
- heading:
checkboxes:
or: tai
contents_list:
diff --git a/config/locales/fr.yml b/config/locales/fr.yml
index 85d8a3ea96..5ad2add344 100644
--- a/config/locales/fr.yml
+++ b/config/locales/fr.yml
@@ -37,9 +37,6 @@ fr:
accessibility_html:
accessibility_link:
table_dropdown:
- chat_entry:
- description:
- heading:
checkboxes:
or: ou
contents_list:
diff --git a/config/locales/gd.yml b/config/locales/gd.yml
index fec02fcf92..3781e70c79 100644
--- a/config/locales/gd.yml
+++ b/config/locales/gd.yml
@@ -39,9 +39,6 @@ gd:
accessibility_html:
accessibility_link:
table_dropdown:
- chat_entry:
- description:
- heading:
checkboxes:
or: Cá háit
contents_list:
diff --git a/config/locales/gu.yml b/config/locales/gu.yml
index a7b7f56f07..709b266f9f 100644
--- a/config/locales/gu.yml
+++ b/config/locales/gu.yml
@@ -37,9 +37,6 @@ gu:
accessibility_html:
accessibility_link:
table_dropdown:
- chat_entry:
- description:
- heading:
checkboxes:
or: અથવા
contents_list:
diff --git a/config/locales/he.yml b/config/locales/he.yml
index 5853491375..0aeaa7549b 100644
--- a/config/locales/he.yml
+++ b/config/locales/he.yml
@@ -37,9 +37,6 @@ he:
accessibility_html:
accessibility_link:
table_dropdown:
- chat_entry:
- description:
- heading:
checkboxes:
or: או
contents_list:
diff --git a/config/locales/hi.yml b/config/locales/hi.yml
index 7a8ed49371..98ac89b32e 100644
--- a/config/locales/hi.yml
+++ b/config/locales/hi.yml
@@ -37,9 +37,6 @@ hi:
accessibility_html:
accessibility_link:
table_dropdown:
- chat_entry:
- description:
- heading:
checkboxes:
or: या
contents_list:
diff --git a/config/locales/hr.yml b/config/locales/hr.yml
index e7971313f2..f8f69571cd 100644
--- a/config/locales/hr.yml
+++ b/config/locales/hr.yml
@@ -38,9 +38,6 @@ hr:
accessibility_html:
accessibility_link:
table_dropdown:
- chat_entry:
- description:
- heading:
checkboxes:
or: ili
contents_list:
diff --git a/config/locales/hu.yml b/config/locales/hu.yml
index f385436f49..501fc8973b 100644
--- a/config/locales/hu.yml
+++ b/config/locales/hu.yml
@@ -37,9 +37,6 @@ hu:
accessibility_html:
accessibility_link:
table_dropdown:
- chat_entry:
- description:
- heading:
checkboxes:
or: vagy
contents_list:
diff --git a/config/locales/hy.yml b/config/locales/hy.yml
index 27f4ddacb5..0019189cb3 100644
--- a/config/locales/hy.yml
+++ b/config/locales/hy.yml
@@ -39,9 +39,6 @@ hy:
accessibility_html:
accessibility_link:
table_dropdown:
- chat_entry:
- description:
- heading:
checkboxes:
or: կամ
contents_list:
diff --git a/config/locales/id.yml b/config/locales/id.yml
index e7ed79da1b..0461d0dfea 100644
--- a/config/locales/id.yml
+++ b/config/locales/id.yml
@@ -36,9 +36,6 @@ id:
accessibility_html:
accessibility_link:
table_dropdown:
- chat_entry:
- description:
- heading:
checkboxes:
or: atau
contents_list:
diff --git a/config/locales/is.yml b/config/locales/is.yml
index addf04f07a..bf4a87034d 100644
--- a/config/locales/is.yml
+++ b/config/locales/is.yml
@@ -37,9 +37,6 @@ is:
accessibility_html:
accessibility_link:
table_dropdown:
- chat_entry:
- description:
- heading:
checkboxes:
or: eða
contents_list:
diff --git a/config/locales/it.yml b/config/locales/it.yml
index 33514b9ae9..8aab656cd2 100644
--- a/config/locales/it.yml
+++ b/config/locales/it.yml
@@ -37,9 +37,6 @@ it:
accessibility_html:
accessibility_link:
table_dropdown:
- chat_entry:
- description:
- heading:
checkboxes:
or: o
contents_list:
diff --git a/config/locales/ja.yml b/config/locales/ja.yml
index de98f85877..8346946940 100644
--- a/config/locales/ja.yml
+++ b/config/locales/ja.yml
@@ -36,9 +36,6 @@ ja:
accessibility_html:
accessibility_link:
table_dropdown:
- chat_entry:
- description:
- heading:
checkboxes:
or: または
contents_list:
diff --git a/config/locales/ka.yml b/config/locales/ka.yml
index bd8fe522fe..6a738fd430 100644
--- a/config/locales/ka.yml
+++ b/config/locales/ka.yml
@@ -37,9 +37,6 @@ ka:
accessibility_html:
accessibility_link:
table_dropdown:
- chat_entry:
- description:
- heading:
checkboxes:
or: ან
contents_list:
diff --git a/config/locales/kk.yml b/config/locales/kk.yml
index 63eec21b8e..bcfa077dfd 100644
--- a/config/locales/kk.yml
+++ b/config/locales/kk.yml
@@ -37,9 +37,6 @@ kk:
accessibility_html:
accessibility_link:
table_dropdown:
- chat_entry:
- description:
- heading:
checkboxes:
or: немесе
contents_list:
diff --git a/config/locales/ko.yml b/config/locales/ko.yml
index cae52a674c..49af5766a8 100644
--- a/config/locales/ko.yml
+++ b/config/locales/ko.yml
@@ -36,9 +36,6 @@ ko:
accessibility_html:
accessibility_link:
table_dropdown:
- chat_entry:
- description:
- heading:
checkboxes:
or:
contents_list:
diff --git a/config/locales/lt.yml b/config/locales/lt.yml
index cdedb86d62..2ec53815e7 100644
--- a/config/locales/lt.yml
+++ b/config/locales/lt.yml
@@ -38,9 +38,6 @@ lt:
accessibility_html:
accessibility_link:
table_dropdown:
- chat_entry:
- description:
- heading:
checkboxes:
or: arba
contents_list:
diff --git a/config/locales/lv.yml b/config/locales/lv.yml
index 43d0c888e6..04d82f7ed5 100644
--- a/config/locales/lv.yml
+++ b/config/locales/lv.yml
@@ -37,9 +37,6 @@ lv:
accessibility_html:
accessibility_link:
table_dropdown:
- chat_entry:
- description:
- heading:
checkboxes:
or: vai
contents_list:
diff --git a/config/locales/ms.yml b/config/locales/ms.yml
index 100d01cf02..fe5966fc10 100644
--- a/config/locales/ms.yml
+++ b/config/locales/ms.yml
@@ -36,9 +36,6 @@ ms:
accessibility_html:
accessibility_link:
table_dropdown:
- chat_entry:
- description:
- heading:
checkboxes:
or: atau
contents_list:
diff --git a/config/locales/mt.yml b/config/locales/mt.yml
index 5fed8d2b03..c65045bf52 100644
--- a/config/locales/mt.yml
+++ b/config/locales/mt.yml
@@ -39,9 +39,6 @@ mt:
accessibility_html:
accessibility_link:
table_dropdown:
- chat_entry:
- description:
- heading:
checkboxes:
or: jew
contents_list:
diff --git a/config/locales/nl.yml b/config/locales/nl.yml
index c0ee246bc4..d8ccfb9648 100644
--- a/config/locales/nl.yml
+++ b/config/locales/nl.yml
@@ -37,9 +37,6 @@ nl:
accessibility_html:
accessibility_link:
table_dropdown:
- chat_entry:
- description:
- heading:
checkboxes:
or: of
contents_list:
diff --git a/config/locales/no.yml b/config/locales/no.yml
index 269da6799c..3b5c8496d4 100644
--- a/config/locales/no.yml
+++ b/config/locales/no.yml
@@ -37,9 +37,6 @@
accessibility_html:
accessibility_link:
table_dropdown:
- chat_entry:
- description:
- heading:
checkboxes:
or: eller
contents_list:
diff --git a/config/locales/pa-pk.yml b/config/locales/pa-pk.yml
index 54ed349e3c..2fdfa992af 100644
--- a/config/locales/pa-pk.yml
+++ b/config/locales/pa-pk.yml
@@ -37,9 +37,6 @@ pa-pk:
accessibility_html:
accessibility_link:
table_dropdown:
- chat_entry:
- description:
- heading:
checkboxes:
or: یا
contents_list:
diff --git a/config/locales/pa.yml b/config/locales/pa.yml
index 7b43d1e2f5..cc975f8841 100644
--- a/config/locales/pa.yml
+++ b/config/locales/pa.yml
@@ -37,9 +37,6 @@ pa:
accessibility_html:
accessibility_link:
table_dropdown:
- chat_entry:
- description:
- heading:
checkboxes:
or: ਜਾਂ
contents_list:
diff --git a/config/locales/pl.yml b/config/locales/pl.yml
index 126216374b..23317de86b 100644
--- a/config/locales/pl.yml
+++ b/config/locales/pl.yml
@@ -39,9 +39,6 @@ pl:
accessibility_html:
accessibility_link:
table_dropdown:
- chat_entry:
- description:
- heading:
checkboxes:
or: lub
contents_list:
diff --git a/config/locales/ps.yml b/config/locales/ps.yml
index a9c82be466..cd3c07d084 100644
--- a/config/locales/ps.yml
+++ b/config/locales/ps.yml
@@ -37,9 +37,6 @@ ps:
accessibility_html:
accessibility_link:
table_dropdown:
- chat_entry:
- description:
- heading:
checkboxes:
or: یا
contents_list:
diff --git a/config/locales/pt.yml b/config/locales/pt.yml
index 755f3a7794..2f299bec18 100644
--- a/config/locales/pt.yml
+++ b/config/locales/pt.yml
@@ -37,9 +37,6 @@ pt:
accessibility_html:
accessibility_link:
table_dropdown:
- chat_entry:
- description:
- heading:
checkboxes:
or: ou
contents_list:
diff --git a/config/locales/ro.yml b/config/locales/ro.yml
index d18e52e4c2..479cf653af 100644
--- a/config/locales/ro.yml
+++ b/config/locales/ro.yml
@@ -38,9 +38,6 @@ ro:
accessibility_html:
accessibility_link:
table_dropdown:
- chat_entry:
- description:
- heading:
checkboxes:
or: sau
contents_list:
diff --git a/config/locales/ru.yml b/config/locales/ru.yml
index e79f253d01..a6ea1a2af4 100644
--- a/config/locales/ru.yml
+++ b/config/locales/ru.yml
@@ -39,9 +39,6 @@ ru:
accessibility_html:
accessibility_link:
table_dropdown:
- chat_entry:
- description:
- heading:
checkboxes:
or: или
contents_list:
diff --git a/config/locales/si.yml b/config/locales/si.yml
index 07fe2f522d..ffe75dec61 100644
--- a/config/locales/si.yml
+++ b/config/locales/si.yml
@@ -37,9 +37,6 @@ si:
accessibility_html:
accessibility_link:
table_dropdown:
- chat_entry:
- description:
- heading:
checkboxes:
or: හෝ
contents_list:
diff --git a/config/locales/sk.yml b/config/locales/sk.yml
index a0a8d60bb1..2d72b6ae96 100644
--- a/config/locales/sk.yml
+++ b/config/locales/sk.yml
@@ -38,9 +38,6 @@ sk:
accessibility_html:
accessibility_link:
table_dropdown:
- chat_entry:
- description:
- heading:
checkboxes:
or: alebo
contents_list:
diff --git a/config/locales/sl.yml b/config/locales/sl.yml
index c532386b4d..4420e6d69f 100644
--- a/config/locales/sl.yml
+++ b/config/locales/sl.yml
@@ -41,9 +41,6 @@ sl:
accessibility_html:
accessibility_link:
table_dropdown:
- chat_entry:
- description:
- heading:
checkboxes:
or: ali
contents_list:
diff --git a/config/locales/so.yml b/config/locales/so.yml
index 8b57fce6fd..a69910f63d 100644
--- a/config/locales/so.yml
+++ b/config/locales/so.yml
@@ -37,9 +37,6 @@ so:
accessibility_html:
accessibility_link:
table_dropdown:
- chat_entry:
- description:
- heading:
checkboxes:
or: ama
contents_list:
diff --git a/config/locales/sq.yml b/config/locales/sq.yml
index 4f2999f3b1..c95e604f39 100644
--- a/config/locales/sq.yml
+++ b/config/locales/sq.yml
@@ -37,9 +37,6 @@ sq:
accessibility_html:
accessibility_link:
table_dropdown:
- chat_entry:
- description:
- heading:
checkboxes:
or: ose
contents_list:
diff --git a/config/locales/sr.yml b/config/locales/sr.yml
index 2c6101671a..9092e0b4d7 100644
--- a/config/locales/sr.yml
+++ b/config/locales/sr.yml
@@ -38,9 +38,6 @@ sr:
accessibility_html:
accessibility_link:
table_dropdown:
- chat_entry:
- description:
- heading:
checkboxes:
or: ili
contents_list:
diff --git a/config/locales/sv.yml b/config/locales/sv.yml
index 126265f5ca..71f29a0957 100644
--- a/config/locales/sv.yml
+++ b/config/locales/sv.yml
@@ -37,9 +37,6 @@ sv:
accessibility_html:
accessibility_link:
table_dropdown:
- chat_entry:
- description:
- heading:
checkboxes:
or: eller
contents_list:
diff --git a/config/locales/sw.yml b/config/locales/sw.yml
index 8b408689c5..20003de4cb 100644
--- a/config/locales/sw.yml
+++ b/config/locales/sw.yml
@@ -37,9 +37,6 @@ sw:
accessibility_html:
accessibility_link:
table_dropdown:
- chat_entry:
- description:
- heading:
checkboxes:
or: au
contents_list:
diff --git a/config/locales/ta.yml b/config/locales/ta.yml
index bc75c024ee..c04465ddb5 100644
--- a/config/locales/ta.yml
+++ b/config/locales/ta.yml
@@ -37,9 +37,6 @@ ta:
accessibility_html:
accessibility_link:
table_dropdown:
- chat_entry:
- description:
- heading:
checkboxes:
or: அல்லது
contents_list:
diff --git a/config/locales/th.yml b/config/locales/th.yml
index 451f45f29e..9d307ad294 100644
--- a/config/locales/th.yml
+++ b/config/locales/th.yml
@@ -36,9 +36,6 @@ th:
accessibility_html:
accessibility_link:
table_dropdown:
- chat_entry:
- description:
- heading:
checkboxes:
or: หรือ
contents_list:
diff --git a/config/locales/tk.yml b/config/locales/tk.yml
index 9e4461471c..e78b092c30 100644
--- a/config/locales/tk.yml
+++ b/config/locales/tk.yml
@@ -37,9 +37,6 @@ tk:
accessibility_html:
accessibility_link:
table_dropdown:
- chat_entry:
- description:
- heading:
checkboxes:
or: ýa-da
contents_list:
diff --git a/config/locales/tr.yml b/config/locales/tr.yml
index 7f2efd573a..7e8d058c4f 100644
--- a/config/locales/tr.yml
+++ b/config/locales/tr.yml
@@ -37,9 +37,6 @@ tr:
accessibility_html:
accessibility_link:
table_dropdown:
- chat_entry:
- description:
- heading:
checkboxes:
or: veya
contents_list:
diff --git a/config/locales/uk.yml b/config/locales/uk.yml
index 9f3f9a3fdc..40e9b94138 100644
--- a/config/locales/uk.yml
+++ b/config/locales/uk.yml
@@ -39,9 +39,6 @@ uk:
accessibility_html:
accessibility_link:
table_dropdown:
- chat_entry:
- description:
- heading:
checkboxes:
or: або
contents_list:
diff --git a/config/locales/ur.yml b/config/locales/ur.yml
index 13f254059a..2434294627 100644
--- a/config/locales/ur.yml
+++ b/config/locales/ur.yml
@@ -37,9 +37,6 @@ ur:
accessibility_html:
accessibility_link:
table_dropdown:
- chat_entry:
- description:
- heading:
checkboxes:
or: یا
contents_list:
diff --git a/config/locales/uz.yml b/config/locales/uz.yml
index e141d284e4..9bc248a530 100644
--- a/config/locales/uz.yml
+++ b/config/locales/uz.yml
@@ -37,9 +37,6 @@ uz:
accessibility_html:
accessibility_link:
table_dropdown:
- chat_entry:
- description:
- heading:
checkboxes:
or: ёки
contents_list:
diff --git a/config/locales/vi.yml b/config/locales/vi.yml
index 68d7ac320a..087c0410fc 100644
--- a/config/locales/vi.yml
+++ b/config/locales/vi.yml
@@ -36,9 +36,6 @@ vi:
accessibility_html:
accessibility_link:
table_dropdown:
- chat_entry:
- description:
- heading:
checkboxes:
or: hoặc
contents_list:
diff --git a/config/locales/zh-hk.yml b/config/locales/zh-hk.yml
index c4d04dd28a..e1608dcabf 100644
--- a/config/locales/zh-hk.yml
+++ b/config/locales/zh-hk.yml
@@ -36,9 +36,6 @@ zh-hk:
accessibility_html:
accessibility_link:
table_dropdown:
- chat_entry:
- description:
- heading:
checkboxes:
or: 或
contents_list:
diff --git a/config/locales/zh-tw.yml b/config/locales/zh-tw.yml
index 2ea3bbc796..d1b6620bc4 100644
--- a/config/locales/zh-tw.yml
+++ b/config/locales/zh-tw.yml
@@ -36,9 +36,6 @@ zh-tw:
accessibility_html:
accessibility_link:
table_dropdown:
- chat_entry:
- description:
- heading:
checkboxes:
or: 或
contents_list:
diff --git a/config/locales/zh.yml b/config/locales/zh.yml
index 00b944a0da..8943d6acf0 100644
--- a/config/locales/zh.yml
+++ b/config/locales/zh.yml
@@ -36,9 +36,6 @@ zh:
accessibility_html:
accessibility_link:
table_dropdown:
- chat_entry:
- description:
- heading:
checkboxes:
or: 或
contents_list:
diff --git a/spec/components/chat_entry_spec.rb b/spec/components/chat_entry_spec.rb
deleted file mode 100644
index bec94aca8c..0000000000
--- a/spec/components/chat_entry_spec.rb
+++ /dev/null
@@ -1,84 +0,0 @@
-require "rails_helper"
-
-describe "Chat entry", type: :view do
- def component_name
- "chat_entry"
- end
-
- it "renders the chat entry component" do
- render_component({})
-
- assert_select ".gem-c-chat-entry"
- assert_select "h2.gem-c-chat-entry__heading [href]", href: "/chat", text: "Ask GOV.UK Chat"
- assert_select ".gem-c-chat-entry__description .govuk-body", text: "Get quick, tailored answers to your business questions with GOV.UK’s new AI tool"
- end
-
- it "renders the chat entry component with a custom href, heading and description" do
- render_component({
- href: "/govuk-chat",
- heading_text: "Go to GOV.UK Chat",
- description_text: "Get answers to your business questions",
- })
-
- assert_select ".gem-c-chat-entry"
- assert_select "h2.gem-c-chat-entry__heading [href]", href: "/govuk-chat", text: "Go to GOV.UK Chat"
- assert_select ".gem-c-chat-entry__description .govuk-body", text: "Get answers to your business questions"
- end
-
- it "renders the chat entry component with a different heading level" do
- render_component({
- heading_level: 3,
- })
-
- assert_select "h3.gem-c-chat-entry__heading [href]", href: "/chat", text: "Ask GOV.UK Chat"
- end
-
- it "renders the chat entry component with a border top" do
- render_component({
- border_top: true,
- })
-
- assert_select ".gem-c-chat-entry.gem-c-chat-entry--border-top"
- end
-
- it "renders the chat entry component with a border bottom" do
- render_component({
- border_bottom: true,
- })
-
- assert_select ".gem-c-chat-entry.gem-c-chat-entry--border-bottom"
- end
-
- it "renders the chat entry component with a border top and a border bottom" do
- render_component({
- border_top: true,
- border_bottom: true,
- })
-
- assert_select ".gem-c-chat-entry.gem-c-chat-entry--border-top.gem-c-chat-entry--border-bottom"
- end
-
- it "renders the chat entry component with ga4 data attributes by default" do
- render_component({})
-
- assert_select '.gem-c-chat-entry[data-module="ga4-link-tracker"]'
- assert_select '.gem-c-chat-entry .govuk-link[data-ga4-link=\'{"event_name":"navigation","type":"callout","section":"GOV.UK Chat entry"}\']'
- end
-
- it "renders the chat entry component without ga4 data attributes when passed disable_ga4: true" do
- render_component({
- disable_ga4: true,
- })
-
- assert_select '.gem-c-chat-entry[data-module="ga4-link-tracker"]', false
- assert_select ".gem-c-chat-entry[data-ga4-link]", false
- end
-
- it "renders the chat entry component with a margin-top-until-tablet class" do
- render_component({
- margin_top_until_tablet: true,
- })
-
- assert_select ".gem-c-chat-entry.gem-c-chat-entry--margin-top-until-tablet"
- end
-end
diff --git a/spec/lib/govuk_publishing_components/app_helpers/asset_helper_spec.rb b/spec/lib/govuk_publishing_components/app_helpers/asset_helper_spec.rb
index b15434889a..d38e1441b8 100644
--- a/spec/lib/govuk_publishing_components/app_helpers/asset_helper_spec.rb
+++ b/spec/lib/govuk_publishing_components/app_helpers/asset_helper_spec.rb
@@ -19,7 +19,7 @@ def request
end
it "detect the total number of stylesheet paths" do
- expect(get_component_css_paths.count).to eql(82)
+ expect(get_component_css_paths.count).to eql(81)
end
it "initialize empty asset helper" do