Skip to content

[SD-1776] Added site restriction widget for search listing content type. - #823

Merged
MdNadimHossain merged 7 commits into
developfrom
bug/SD-1776-fix-site-permissions-for-search-listing
Sep 14, 2026
Merged

MdNadimHossain merged 7 commits into
developfrom
bug/SD-1776-fix-site-permissions-for-search-listing

Conversation

@MdNadimHossain

@MdNadimHossain MdNadimHossain commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

JIRA issue: https://digital-vic.atlassian.net/browse/SD-1776
https://digital-vic.atlassian.net/browse/SD-1834
https://digital-vic.atlassian.net/browse/SD-1837
https://digital-vic.atlassian.net/browse/SD-1624

Changed

  1. Added tide site restriction config for site fields in search listing content type using update hook
  2. Fix broken link for image gallery component
  3. Fix spelling mistake for hero image label

Screenshots

…en link for image gallery component. (#825)

* [SD-1834] Hero image field spelling correction.

* [SD-1837] fix broken link for image gallery component.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The new update hook in tide_site_restriction.install contains a namespace casing issue and a PHP syntax error that will break updates.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Adds/updates configuration to support Tide “site restriction” field widgets on the tide_search_listing node form display, and corrects landing page field UI text by fixing a hero image caption label typo and updating the media gallery help link.

Changes:

  • Added an update hook to switch field_node_primary_site and field_node_site widgets to tide_site_restriction_field_widget on the search listing form display.
  • Updated landing page update/config to correct the hero image caption field label spelling.
  • Updated media gallery field description to point to the new image gallery documentation link.
File summaries
File Description
modules/tide_site_restriction/tide_site_restriction.install Adds update hook to change search listing site field widgets (contains issues noted in PR comments).
modules/tide_landing_page/tide_landing_page.install Adds update hook to correct hero caption label and update media gallery field description link.
modules/tide_landing_page/config/install/field.field.paragraph.media_gallery.field_paragraph_media_gallery.yml Updates media gallery field description URL.
modules/tide_landing_page/config/install/field.field.node.landing_page.field_show_hero_image_caption.yml Fixes “Full-with” → “Full-width” label typo.
Review details
  • Files reviewed: 4/4 changed files
  • Comments generated: 2
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread modules/tide_site_restriction/tide_site_restriction.install Outdated
Comment thread modules/tide_site_restriction/tide_site_restriction.install Outdated
@MdNadimHossain
MdNadimHossain merged commit 17c4dfe into develop Sep 14, 2026
1 check passed
@MdNadimHossain
MdNadimHossain deleted the bug/SD-1776-fix-site-permissions-for-search-listing branch September 14, 2026 06:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants