Skip to content

Fix #91 bug: Cookie banner not showing#102

Merged
izmalk merged 2 commits into
mainfrom
hotfix-cookie-banner-not-showing
May 8, 2026
Merged

Fix #91 bug: Cookie banner not showing#102
izmalk merged 2 commits into
mainfrom
hotfix-cookie-banner-not-showing

Conversation

@izmalk
Copy link
Copy Markdown
Collaborator

@izmalk izmalk commented May 6, 2026

Fixed #91 bug.
Added the cookie banner code to the header/footer and css/js files import in conf.py.

@izmalk izmalk self-assigned this May 6, 2026
@izmalk izmalk changed the title #91 Fix cookie banner not showing bug Fix #91 bug: Cookie banner not showing May 6, 2026
@izmalk izmalk requested a review from Copilot May 8, 2026 17:24
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Fixes issue #91 by wiring in third-party assets/snippets intended to enable the cookie consent banner and its “Manage your tracker settings” entry point in the Ulwazi docs theme build.

Changes:

  • Included a new analytics/tag-manager template from the header.
  • Added a new components/analytics.html with a Google Tag Manager bootstrap snippet.
  • Updated docs/conf.py to load external cookie banner CSS/JS assets and adjusted the footer “Manage…” link.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
ulwazi/theme/ulwazi/sections/header.html Adds an include to render the new analytics/tag-manager snippet on every page.
ulwazi/theme/ulwazi/components/analytics.html Introduces the Google Tag Manager script snippet used by the header include.
docs/conf.py Adds external cookie banner CSS/JS and modifies the cookie manager footer link.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread ulwazi/theme/ulwazi/sections/header.html
Comment thread ulwazi/theme/ulwazi/components/analytics.html
Comment thread docs/conf.py Outdated
Improved cookie consent management link.

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@izmalk izmalk merged commit d3f8c7d into main May 8, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cookie consent banner fails to show

2 participants