Commit graph

375 commits

Author SHA1 Message Date
Vercel
85de722951 Enable Vercel Web Analytics for your project
# Vercel Web Analytics Implementation

## Summary
Successfully implemented Vercel Web Analytics on all HTML pages in the MQL5 Trading Automation project.

## Changes Made

### Files Modified (5 files):
1. **index.html** (root) - Main landing page
2. **dashboard/index.html** - Dashboard view
3. **docs/index.html** - Documentation page
4. **offline.html** - PWA offline fallback page
5. **sw-inspector.html** - Service Worker inspection tool

### Implementation Details
Added Vercel Web Analytics tracking scripts to the `<head>` section of each HTML file:

```html
<script>
    window.va = window.va || function () { (window.vaq = window.vaq || []).push(arguments); };
</script>
<script defer src="/_vercel/insights/script.js"></script>
```

### Why This Approach?
- This is a plain HTML project (no JavaScript framework like React, Next.js, or Vue)
- Following the official Vercel Web Analytics guide for HTML sites
- The analytics script is added directly to HTML files without requiring any npm packages
- The `defer` attribute ensures the script doesn't block page rendering
- The `window.va` initialization allows analytics to be tracked even before the main script loads

## How It Works
1. The inline script creates a queue (`window.vaq`) that collects analytics calls
2. The deferred script (`/_vercel/insights/script.js`) is loaded asynchronously from Vercel's CDN
3. Once loaded, the script processes the queued analytics events
4. Analytics automatically tracks page views and user interactions

## Next Steps
To enable analytics on the deployed site:
1. Deploy this code to Vercel
2. Go to the Vercel dashboard for this project
3. Navigate to the **Analytics** tab
4. Click **Enable** to activate Web Analytics
5. After the next deployment, the `/_vercel/insights/*` routes will be available
6. Verify by checking the browser's Network tab for requests to `/_vercel/insights/view`

## Testing
To verify the implementation works:
- Deploy to Vercel
- Visit any page on the deployed site
- Open browser DevTools → Network tab
- Look for Fetch/XHR requests to `/_vercel/insights/view`
- These requests indicate analytics is tracking page views

## Notes
- No package.json changes needed (this is a static HTML site)
- No build process required
- Analytics will only work on the deployed Vercel site (not in local development)
- All 5 HTML pages now have tracking enabled for complete coverage

Co-authored-by: Vercel <vercel[bot]@users.noreply.github.com>
2026-02-25 15:12:16 +00:00
GenX FX Trading System
d9fbbb30d0
Merge pull request #385 from A6-9V/copilot/setup-jules-task-11566195936388909103 A6
Add Jules CLI integration infrastructure for task 11566195936388909103
2026-02-19 00:18:13 +07:00
copilot-swe-agent[bot]
59da93e38a Add task status tracking document
Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-02-18 09:20:23 +00:00
copilot-swe-agent[bot]
eab3830ec5 Add implementation notes and update .gitignore for Jules
Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-02-18 09:18:27 +00:00
copilot-swe-agent[bot]
4609ce90ab Add Jules CLI integration setup and documentation
Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-02-18 09:17:49 +00:00
copilot-swe-agent[bot]
2ae2507d87 Initial plan 2026-02-18 09:12:49 +00:00
GenX FX Trading System
b8672510f8
Merge pull request #384 from A6-9V/copilot/update-write-read-connect
Add NotebookLM and OneDrive Blueprint integration documentation
2026-02-18 13:07:05 +07:00
copilot-swe-agent[bot]
78d1269735 Add integration update summary document
Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-02-18 05:57:43 +00:00
copilot-swe-agent[bot]
1bae917dcb Add knowledge base helper script for easy resource access
Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-02-18 05:56:17 +00:00
copilot-swe-agent[bot]
573dd5356c Add NotebookLM and OneDrive Blueprint integration documentation
Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-02-18 05:55:01 +00:00
copilot-swe-agent[bot]
75c3a6cb6f Initial plan 2026-02-18 05:52:04 +00:00
GenX FX Trading System
b41489992e
Merge pull request #381 from A6-9V/copilot/investigate-ssh-usage
SSH key investigation and audit documentation
2026-02-18 09:12:58 +07:00
copilot-swe-agent[bot]
d30677d1e8 Fix inconsistent link formatting in SSH investigation guide
Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-02-18 02:11:41 +00:00
copilot-swe-agent[bot]
54f4e83eab Add root-level SSH investigation summary for easy access
Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-02-18 01:17:23 +00:00
copilot-swe-agent[bot]
4c6a82a957 Add SSH key investigation documentation and audit report
Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-02-18 01:16:35 +00:00
copilot-swe-agent[bot]
03e820108b Initial plan 2026-02-18 01:13:36 +00:00
NUNA
8dc8f3c87b Merge remote-tracking branch 'origin/merge-upstream-and-startup-1962334380484143359' into copilot/install-juless-cli 2026-02-17 22:33:00 +07:00
GenX FX Trading System
b8c6cf5fc0
Merge pull request #333 from A6-9V/palette/improve-contrast-accessibility-7082679880371507498
🎨 Palette: Improve color contrast and accessibility
2026-02-13 21:08:21 +07:00
google-labs-jules[bot]
a41c83d9b6 🎨 Palette: Improve color contrast and accessibility
- Replaced #667eea with #4f46e5 to meet WCAG AA contrast standards.
- Updated hover color to #4338ca.
- Added aria-label to Service Worker update button.
- Updated manifest.json theme color.
2026-02-13 11:40:16 +00:00
GenX FX Trading System
27ab5e07e0
Merge pull request #331 from A6-9V/copilot/update-python-app-path
Add Windows Store Python detection to startup scripts
2026-02-13 17:14:58 +07:00
copilot-swe-agent[bot]
bbe508679f Clarify Python version requirements and improve error handling
Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-02-13 09:30:52 +00:00
copilot-swe-agent[bot]
a5bdcfd068 Improve batch file Python detection logic and standardize errorlevel checks
Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-02-13 09:29:47 +00:00
copilot-swe-agent[bot]
b31bff535e Fix errorlevel checks in startup.bat for correct Python detection
Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-02-13 09:28:58 +00:00
copilot-swe-agent[bot]
28152e639e Update documentation for Windows Store Python support
Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-02-13 09:27:43 +00:00
copilot-swe-agent[bot]
c24679a99e Add Windows Store Python detection to startup scripts
Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-02-13 09:26:37 +00:00
copilot-swe-agent[bot]
2326a8505b Initial plan 2026-02-13 09:23:39 +00:00
GenX FX Trading System
71e674fad7
Merge pull request #329 from A6-9V/docs/cloudflare-nameservers-and-domain-unification-7774302631406904191
docs: update Cloudflare nameservers and unify domain name
2026-02-13 11:30:49 +07:00
google-labs-jules[bot]
e9918dcb22 docs: update Cloudflare nameservers and unify domain name
- Added daisy.ns.cloudflare.com and rocco.ns.cloudflare.com to Cloudflare guide.
- Unified domain name to lengkundee01.org in CNAME and PWA guide.
- Verified active domain using dig.
- Updated sentinel journal with documentation learnings.
2026-02-13 04:11:32 +00:00
GenX FX Trading System
781ad23f8e
Merge pull request #328 from A6-9V/install-gemini-cli-10237351250661858749
feat: install Gemini CLI and integrate into setup scripts
2026-02-13 11:07:19 +07:00
google-labs-jules[bot]
7b4aff66d1 feat: install Gemini CLI and integrate into setup scripts 2026-02-13 03:50:20 +00:00
GenX FX Trading System
d16a2f8958
Merge pull request #327 from A6-9V/dns-config-cleanup-15276599963936233617
Clean up DNS configuration for lengkundee01.org
2026-02-13 10:25:15 +07:00
google-labs-jules[bot]
49ebc2efde docs: add DNS configuration recommendation for lengkundee01.org 2026-02-13 03:21:34 +00:00
GenX FX Trading System
b1a2ade278
Merge pull request #322 from A6-9V/palette-toast-notification-8861746839837825995
🎨 Palette: Replace blocking update alert with Toast notification
2026-02-12 21:36:42 +07:00
google-labs-jules[bot]
01c244478a feat(ui): replace blocking sw update confirm with toast
- Add .toast CSS to index.html and dashboard/index.html
- Add toast HTML structure (role="alert")
- Replace window.confirm() with toast show/hide logic
- Improve accessibility and UX for app updates
2026-02-12 11:36:12 +00:00
GenX FX Trading System
93af9a406a
Merge pull request #319 from A6-9V/bolt-optimize-web-dashboard-2176689065473073786
 Bolt: Pre-compile Jinja2 template in web dashboard
2026-02-12 15:36:27 +07:00
google-labs-jules[bot]
5a00caed73 feat(perf): Pre-compile Jinja2 template in web dashboard
Extracts the dashboard HTML string into a global constant and compiles it
using Jinja2 only once (lazily) instead of re-parsing the string on every
request. This improves response latency for the dashboard.

- Extracted `DASHBOARD_HTML` constant
- Implemented `DASHBOARD_TEMPLATE` lazy compilation
- Replaced `render_template_string` with `DASHBOARD_TEMPLATE.render()`
- Verified with `scripts/test_web_dashboard.py`
2026-02-12 05:13:07 +00:00
GenX FX Trading System
ac0f69a3b6
Merge pull request #311 from A6-9V/copilot/identify-code-inefficiencies
perf: Eliminate O(2n) loops, add early-exits, vectorize operations
2026-02-12 04:56:28 +07:00
copilot-swe-agent[bot]
f99eccf302 Address code review: optimize ArraySize() calls and document cache behavior
Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-02-11 08:36:56 +00:00
copilot-swe-agent[bot]
cc1902d657 Optimize performance: Fix MQL5 double-loop, add early-exit, improve Python efficiency
Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-02-11 08:35:24 +00:00
copilot-swe-agent[bot]
4060496a97 Initial plan 2026-02-11 08:31:39 +00:00
google-labs-jules[bot]
82a7e9423a Merge latest changes from upstream Mouy-leng/MQL5 and start system
- Merged upstream/circleci-project-setup into current branch.
- Resolved conflicts in .circleci/config.yml, AGENTS.md, and README.md.
- Updated NotebookLM link to the latest version.
- Installed missing Python dependencies (flask, etc.).
- Started the system using scripts/startup.sh and verified successful initialization of the Python orchestrator and web dashboard.
- Updated market research report generated during startup.
2026-02-11 06:14:34 +00:00
GenX FX Trading System
63f5c0db3a docs: update NotebookLM link in AGENTS.md 2026-02-10 17:31:31 +07:00
GenX FX Trading System
0bbc781dc3 docs: update NotebookLM link 2026-02-10 17:31:30 +07:00
GenX FX Trading System
4a0652eae4
Merge pull request #298 from A6-9V/copilot/add-profile-readme-and-gists
Add GitHub Profile README and Gists documentation guides
2026-02-10 13:21:21 +07:00
GenX FX Trading System
75bd08a892
Merge branch 'copilot/install-juless-cli' into copilot/add-profile-readme-and-gists 2026-02-10 13:21:02 +07:00
copilot-swe-agent[bot]
264cee6b80 Add comprehensive GitHub Profile README and Gists guides
Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-02-10 06:17:10 +00:00
GenX FX Trading System
7c06ffd0ea
Merge pull request #296 from A6-9V/copilotmql5-production-readiness-8b65
Mql5 production readiness
2026-02-10 13:17:03 +07:00
GenX FX Trading System
7652d395e9
Merge branch 'copilot/install-juless-cli' into copilotmql5-production-readiness-8b65 2026-02-10 13:16:23 +07:00
GenX FX Trading System
5da9cad709
Merge pull request #293 from A6-9V/sentinel-add-security-headers-5685093013646614500
🛡️ Sentinel: [HIGH] Add security headers to web dashboard
2026-02-10 13:15:59 +07:00
GenX FX Trading System
ef9024666b
Merge branch 'copilot/install-juless-cli' into sentinel-add-security-headers-5685093013646614500 2026-02-10 13:15:51 +07:00