Usman Baig
8b1d196812
feat: add automatic 404 detection, scroll depth tracking, and scroll depth dashboard card
...
- 404 detection: checks document.title for "404" or "not found", fires custom event, SPA-aware
- Scroll depth: passive scroll listener fires events at 25/50/75/100% thresholds
- ScrollDepth dashboard card: progress bar visualization showing % of visitors reaching each threshold
- Scroll events filtered out of GoalStats to avoid duplication
- Both features on by default, opt-out via data-no-404 / data-no-scroll
2026-03-06 20:00:22 +01:00
Usman Baig
53a0341925
feat: automatic outbound link and file download tracking
...
Adds a single click listener in the tracking script that detects
external link clicks and file download clicks, firing outbound_link
and file_download custom events. On by default, opt-out via
data-no-outbound / data-no-downloads attributes.
2026-03-06 19:41:11 +01:00
Usman Baig
e72e6f2ec5
feat: add AI traffic source identification
...
Display proper brand icons and names for AI referrers (ChatGPT,
Perplexity, Claude, Gemini, Copilot, DeepSeek, Grok, Meta AI,
You.com, Phind) in Top Referrers panel.
2026-03-06 19:25:05 +01:00
Usman Baig
564c853f7f
Bump version to 0.13.0-alpha and move unreleased changelog items
2026-03-02 23:31:55 +01:00
Usman Baig
70f46ba63c
docs: changelog entries for backend API cleanup (B-32, B-13, B-12)
2026-03-01 21:37:27 +01:00
Usman Baig
7d3f1cb10a
refactor: reduce stats.ts duplication with factory pattern (F-10, F-21)
...
Introduce buildQuery helper and createListFetcher factory to eliminate
near-identical param building and list endpoint boilerplate. File reduced
from ~600 to ~310 lines (~48% reduction) with identical runtime behavior.
2026-03-01 21:25:05 +01:00
Usman Baig
fd1386b80d
fix: replace index-based React keys with stable data keys (F-9)
...
Use page paths, referrer URLs, item names, and composite location
keys instead of array indices. Prevents stale-row glitches when
lists are filtered or reordered.
2026-03-01 21:15:09 +01:00
Usman Baig
501932849b
fix: ESM import for next-pwa, changelog updates (F-5)
...
- Convert require() to ESM import in next.config.ts
- Remove skipWaiting (defaults to true in Workbox)
2026-03-01 21:09:10 +01:00
Usman Baig
b7426d6128
fix: login loading overlay, deduplicate getCookieDomain (F-18, F-11)
...
- Login page shows LoadingOverlay during redirect instead of blank screen
- Extract getCookieDomain() to shared lib/utils/cookies.ts
2026-03-01 21:02:28 +01:00
Usman Baig
dfa887147a
fix: stabilize auth context effect deps and batch uptime cleanup
...
Extract stable primitives (isAuthenticated, userOrgId) from user object
for the checkOrg effect dependency array to prevent unnecessary re-runs
on every render. Batch uptime cleanup deletion (1000 rows/batch) to
avoid lock contention and WAL bloat.
2026-03-01 19:56:14 +01:00
Usman Baig
4de4e05ccb
fix: standardize funnel date format to YYYY-MM-DD and update changelog
...
Funnel stats API now uses start_date/end_date params consistent with
all other endpoints. Removed RFC3339 conversion helper. Added changelog
entries for audit fixes (B-7, B-11, B-23, B-38, B-42).
2026-03-01 19:36:38 +01:00
Usman Baig
d7eb10e815
docs: update changelog with backend reliability improvements
2026-03-01 19:25:59 +01:00
Usman Baig
8a7076ee1b
refactor: migrate dashboard to SWR hooks, eliminate all any[] state
...
Replace 22 manual useState + useEffect + setInterval polling with 11
focused SWR hooks. Removes ~85 lines of polling/visibility logic that
SWR handles natively. All any[] types replaced with proper interfaces
(TopPage, CountryStat, BrowserStat, etc.). Organization state in layout
typed as OrganizationMember[].
Resolves F-7, F-8, F-15 from audit report.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-01 18:42:14 +01:00
Usman Baig
67c9bdd3e0
docs: add realtime rate limit fix to changelog
2026-03-01 18:07:22 +01:00
Usman Baig
3ecd2abf63
docs: update changelog for event ingestion fix
2026-03-01 17:55:25 +01:00
Usman Baig
baceb6e8a8
docs: add funnel stats fix to changelog
2026-03-01 17:51:01 +01:00
Usman Baig
c9123832a5
fix: fix broken images from CSP, remove dead code, upgrade React types
...
- Add ciphera.net and *.gstatic.com to CSP img-src (fixes app switcher
icons and site favicons blocked by Content Security Policy)
- Delete 6 unused component/utility files and orphaned test
- Upgrade @types/react and @types/react-dom to v19 (matches React 19 runtime)
- Fix logger test to use vi.stubEnv for React 19 type compatibility
2026-03-01 15:33:37 +01:00
Usman Baig
95920e4724
fix: update changelog with Phase 2 audit fixes
2026-03-01 15:18:56 +01:00
Usman Baig
67f6690258
fix: enhance security with stricter Content Security Policy and input validation
2026-03-01 15:02:22 +01:00
Usman Baig
5b388808b6
fix: update changelog with recent fixes and remove unused icon files
2026-03-01 14:43:25 +01:00
Usman Baig
27158f7bfc
fix: enhance billing operations and session management in API
2026-03-01 14:33:28 +01:00
Usman Baig
bc5e20ab7b
fix: add note on lower resource usage under load to changelog
2026-03-01 14:29:29 +01:00
Usman Baig
6bb23bc22a
fix: add service health reporting fix to changelog for clarity
2026-03-01 14:16:08 +01:00
Usman Baig
29e84e3a4f
fix: remove outdated fixes from changelog for clarity
2026-03-01 14:02:31 +01:00
Usman Baig
b3a303d6df
fix: improve session management and UI highlights
2026-03-01 13:53:54 +01:00
Usman Baig
ac1ed58127
fix: improve reliability of background processing across multiple Pulse servers
2026-03-01 13:45:00 +01:00
Usman Baig
805617a290
chore: update version to 0.12.0-alpha and document automated testing in changelog
2026-03-01 00:29:57 +01:00
Usman Baig
b5f83ce582
feat: add unit tests and CI configuration
2026-03-01 00:11:54 +01:00
Usman Baig
22bc18a7cc
chore: update CHANGELOG.md to include Request ID tracing for debugging, enhancing request tracking across services, and update API client to propagate Request ID in headers
2026-02-27 17:26:08 +01:00
Usman Baig
a928d2577b
chore: update CHANGELOG.md to include consistent app order in the App Switcher for improved navigation experience, and update @ciphera-net/ui dependency to version 0.0.74 in package.json and package-lock.json
2026-02-27 15:03:44 +01:00
Usman Baig
8589842f16
chore: update CHANGELOG.md to include session expiration warning feature, enhancing user awareness, and update @ciphera-net/ui dependency to version 0.0.73 in package.json and package-lock.json
2026-02-27 14:24:07 +01:00
Usman Baig
3ff5ee4b6c
chore: update CHANGELOG.md to include session synchronization across tabs feature, enhancing user experience, and update @ciphera-net/ui dependency to version 0.0.72 in package.json and package-lock.json
2026-02-27 14:15:40 +01:00
Usman
335cfc1a00
Merge branch 'main' into staging
2026-02-27 13:26:49 +01:00
Usman Baig
908b8c0900
chore: update CHANGELOG.md to include the addition of an App Switcher in the User Menu for easier navigation between Ciphera products, along with dependency updates for @ciphera-net/ui
2026-02-27 12:50:05 +01:00
Usman Baig
e5ad4cf2f6
chore: update CHANGELOG.md to reflect improvements in authentication flow, including seamless sign-in from the Ciphera portal and enhanced cookie management for better security and user experience
2026-02-27 12:05:49 +01:00
Usman Baig
b4b1348a94
chore: update CHANGELOG.md to include improvements in authentication flow, addressing CSRF handling and cookie management for seamless sign-in and enhanced security
2026-02-27 11:52:20 +01:00
Usman Baig
0022e7b335
chore: update CHANGELOG.md to clarify improvements in visitor tracking accuracy, ensuring unique identifiers for analytics during high traffic periods
2026-02-27 10:07:09 +01:00
Usman Baig
a9aaf24456
chore: update CHANGELOG.md to include multiple performance enhancements, such as faster billing page loading, improved funnel analysis, and more reliable database connections under heavy load
2026-02-27 10:04:13 +01:00
Usman Baig
e7e217777a
chore: update CHANGELOG.md to include faster analytics processing for improved daily stats updates across multiple sites
2026-02-27 09:34:43 +01:00
Usman Baig
704a38f3df
chore: update CHANGELOG.md to include lighter dashboard data transfers for improved loading times and new focused dashboard endpoints for efficient data retrieval
2026-02-27 09:24:01 +01:00
Usman Baig
36774cc995
chore: update CHANGELOG.md to include smarter data fetching with request deduplication and caching for improved performance
2026-02-27 09:13:29 +01:00
Usman Baig
3efd23b386
chore: update CHANGELOG.md to include enhancements for dashboard performance, including smarter updates, real-time visitor tracking, and faster event processing
2026-02-27 09:10:08 +01:00
Usman Baig
3aa0d7ae7c
chore: update CHANGELOG.md to include faster dashboard statistics feature using pre-computed daily summaries for improved loading times
2026-02-27 08:49:23 +01:00
Usman Baig
faa0bfe64a
chore: update CHANGELOG.md to include smarter database indexing for improved query performance and reduced storage overhead
2026-02-27 08:47:22 +01:00
Usman Baig
209ec1608a
chore: update CHANGELOG.md to include better data management for long-term performance, enhancing analytics data storage and retrieval
2026-02-27 08:41:02 +01:00
Usman Baig
bcc02c93a0
chore: update CHANGELOG.md to highlight faster dashboard loading feature with intelligent caching for improved performance
2026-02-27 08:04:46 +01:00
Usman Baig
f994141d64
fix: improve Pulse tracking script for embedded sites like Shopify and WooCommerce
2026-02-26 14:44:24 +01:00
Usman Baig
86cc27a10c
fix: resolve OAuth session flow issue when opening Pulse from the Ciphera hub
2026-02-26 14:40:42 +01:00
Usman Baig
72745bd41a
[Fix] Admin organizations list - document org visibility fix
...
Made-with: Cursor
2026-02-25 22:18:21 +01:00
Usman Baig
2cb8ffddec
chore: update CHANGELOG.md to include new features, improvements, and fixes for performance insights, goals tracking, and enhanced error handling
2026-02-25 12:41:18 +01:00