Skip to content

Add promo widget#58

Merged
czerwiukk merged 8 commits intomainfrom
add-promo-widget
Feb 19, 2026
Merged

Add promo widget#58
czerwiukk merged 8 commits intomainfrom
add-promo-widget

Conversation

@czerwiukk
Copy link
Member

No description provided.

@czerwiukk czerwiukk self-assigned this Feb 18, 2026
Copilot AI review requested due to automatic review settings February 18, 2026 15:38
Copy link
Contributor

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

Adds a promotional “Powered by Fishjam” widget to the web app and wires basic analytics event tracking/types for it.

Changes:

  • Introduces PromoWidget component with copy-to-clipboard + dismissal persistence.
  • Renders the widget from main.tsx (overlay positioning).
  • Adds @types/gtag.js plus Window.gtag type augmentation.

Reviewed changes

Copilot reviewed 4 out of 7 changed files in this pull request and generated 8 comments.

Show a summary per file
File Description
deep-sea-stories/yarn.lock Locks newly added @types/gtag.js dependency.
deep-sea-stories/packages/web/package.json Adds @types/gtag.js dependency for analytics typing.
deep-sea-stories/packages/web/src/main.tsx Mounts PromoWidget in the app layout as an absolutely-positioned overlay.
deep-sea-stories/packages/web/src/views/GameView.tsx Formatting changes; adds (currently unused) PromoWidget import.
deep-sea-stories/packages/web/src/components/PromoWidget.tsx New promo widget UI + localStorage dismissal + clipboard copy + gtag events.
deep-sea-stories/packages/web/src/window.d.ts Adds Window.gtag global typing (duplicate).
deep-sea-stories/packages/web/src/types/window.d.ts Adds Window.gtag global typing (duplicate).

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

czerwiukk and others added 4 commits February 18, 2026 16:59
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Member

@PiotrWodecki PiotrWodecki left a comment

Choose a reason for hiding this comment

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

Please verify that this plays well with the cookie-script cookie management - especially when rejecting GA

@czerwiukk czerwiukk merged commit b26dda3 into main Feb 19, 2026
1 check 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.

2 participants

Comments