Skip to content

Add Smart Alert runtime and interaction tracking - #82

Merged
rockwellll merged 4 commits into
mainfrom
codex/smart-alert
Sep 6, 2026
Merged

rockwellll merged 4 commits into
mainfrom
codex/smart-alert

Conversation

@rockwellll

@rockwellll rockwellll commented Sep 6, 2026

Copy link
Copy Markdown
Collaborator

Adds Hellotext.alert.show(section, options) and Hellotext.alert.hide() for Smart Alerts on homepage, collection, and product detail pages. Supports custom titles, descriptions, and action labels, plus a force option to bypass the dismissal cooldown. The first dismissal hides alerts for seven days; subsequent dismissals hide them for thirty days.

The primary action requests notification permission. Alert interactions emit alert:shown, alert:dismissed, and alert:accepted events and are recorded for analytics without delaying the UI. Includes TypeScript declarations and usage documentation.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 6, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-06T21:43:13.545665Z 597480c PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 597480cd84

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/api/push/alerts.js Outdated
@rockwellll
rockwellll merged commit 47d091d into main Sep 6, 2026
3 checks passed
@rockwellll
rockwellll deleted the codex/smart-alert branch September 6, 2026 23:09
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.

1 participant