fix: timeframe handling and progress tracking improvements

- Fix timeframe parameter handling in enhanced-screenshot API route
- Support both 'timeframe' (singular) and 'timeframes' (array) parameters
- Add proper sessionId propagation for real-time progress tracking
- Enhance MACD analysis prompt with detailed crossover definitions
- Add progress tracker service with Server-Sent Events support
- Fix Next.js build errors in chart components (module variable conflicts)
- Change dev environment port from 9000:3000 to 9001:3000
- Improve AI analysis layout detection logic
- Add comprehensive progress tracking through all service layers
This commit is contained in:
mindesbunister
2025-07-17 10:41:18 +02:00
parent 27df0304c6
commit ff4e9737fb
26 changed files with 1656 additions and 277 deletions

View File

@@ -64,7 +64,7 @@
"value": "*",
"domain": ".tradingview.com",
"path": "/",
"expires": 1760180481,
"expires": 1760464150,
"httpOnly": false,
"secure": true,
"sameSite": "None"
@@ -79,24 +79,24 @@
"secure": false,
"sameSite": "Lax"
},
{
"name": "_sp_id.cf1a",
"value": ".1752404481.1.1752404482..f540bb6e-fa0b-496b-9640-1d4fec1e4c8e..656514fd-a0d5-4c9c-9763-be49bfa3bb6e.1752404481740.1",
"domain": ".tradingview.com",
"path": "/",
"expires": 1786964481.740595,
"httpOnly": false,
"secure": true,
"sameSite": "None"
},
{
"name": "sp",
"value": "476371e7-d9df-4cab-9f6c-9af104097490",
"domain": "snowplow-pixel.tradingview.com",
"path": "/",
"expires": 1783940482.306256,
"expires": 1784224154.521872,
"httpOnly": true,
"secure": true,
"sameSite": "None"
},
{
"name": "_sp_id.cf1a",
"value": ".1752404481.1.1752688150..f540bb6e-fa0b-496b-9640-1d4fec1e4c8e..656514fd-a0d5-4c9c-9763-be49bfa3bb6e.1752404481740.3",
"domain": ".tradingview.com",
"path": "/",
"expires": 1787248149.806463,
"httpOnly": false,
"secure": true,
"sameSite": "None"
}
]

View File

@@ -1,17 +1,11 @@
{
"localStorage": {
"cookie_dialog_tracked": "1",
"snowplowOutQueue_tv_cf_post2.expires": "1815476481741",
"tvlocalstorage.available": "true",
"featuretoggle_seed": "983912",
"first_visit_time": "1752404384075",
"snowplowOutQueue_tv_cf_post2": "[]",
"auto-show-email-for-signin": "1",
"snowplowOutQueue_tv_cf_post2.expires": "1815760150522",
"tvlocalstorage.available": "true",
"last-crosstab-monotonic-timestamp": "1752688195853",
"trial_availiable": "0",
"_grecaptcha": "09ANMylNBaIGTVsUxDDAB11tBaVKRevHvUG6E16KDP4nm97sYkmHshpfmxoAkcFfbj7mFb3zg4rncfzqc6A9g-20ErWdRAoBN59yOsTLvoV3Oc39otwCTzVeNmXMQoHwHs",
"last-crosstab-monotonic-timestamp": "1752404482390",
"last_username": "mindesbunister",
"signupSource": "auth page tvd"
"last_username": "mindesbunister"
},
"sessionStorage": {}
}