Skip to content

Campaign - #2143

Open
Parvinmh wants to merge 22 commits into
usablica:masterfrom
Parvinmh:campaign
Open

Campaign#2143
Parvinmh wants to merge 22 commits into
usablica:masterfrom
Parvinmh:campaign

Conversation

@Parvinmh

@Parvinmh Parvinmh commented Oct 1, 2025

Copy link
Copy Markdown
Contributor

No description provided.

@vercel

vercel Bot commented Oct 1, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
intro-js Error Error May 13, 2026 3:36pm

Request Review

@vercel

vercel Bot commented Nov 6, 2025

Copy link
Copy Markdown

@Parvinmh is attempting to deploy a commit to the Pean Team on Vercel.

A member of the Team first needs to authorize it.

Comment thread src/packages/campaign/manager.ts Outdated
Comment thread src/packages/campaign/manager.ts Outdated
Comment thread src/packages/campaign/triggers.ts
Comment thread src/packages/campaign/triggers.ts Outdated
Comment thread src/packages/campaign/triggers.ts Outdated
* Resume idle timers when page becomes visible
*/
private resumeIdleTimers(): void {
// Implementation for resuming idle timers

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

These need to be implemented I assume?

updatedAt?: string;
author?: string;
tags?: string[];
priority?: number; // Priority for when multiple campaigns match (higher = higher priority)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Is this currently implemented?

Comment thread src/packages/campaign/types.ts Outdated
Comment thread src/packages/campaign/types.ts Outdated
if (this.isInitialized) return;

// Track session count
const sessionCountKey = "introjs-campaign-session-count";

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This needs to be in configs.

Comment thread example/campaigns/index.html Outdated
updateStatus('Initializing campaigns from JSON file...');

// Initialize campaigns from JSON file (correct path for this directory)
await introJs.initializeCampaigns("./campaigns/first-visit-tour.json");

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

How this would work in a browser environment? How do we do file I/O when running in browser context?

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.

2 participants