feat(api): implement javascript-first architecture for cache compatibility
- Add REST endpoint GET /roi-theme/v1/adsense-placement/visibility - Add Domain layer: UserContext, VisibilityDecision, AdsenseSettings VOs - Add Application layer: CheckAdsenseVisibilityUseCase - Add Infrastructure: AdsenseVisibilityChecker, Controller, Enqueuer - Add JavaScript controller with localStorage caching - Add test plan for production validation 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"component_name": "adsense-placement",
|
||||
"version": "1.5.0",
|
||||
"version": "1.6.0",
|
||||
"description": "Control de AdSense y Google Analytics - Con In-Content Ads Avanzado",
|
||||
"groups": {
|
||||
"visibility": {
|
||||
@@ -282,6 +282,13 @@
|
||||
"label": "Ubicaciones en Posts",
|
||||
"priority": 70,
|
||||
"fields": {
|
||||
"javascript_first_mode": {
|
||||
"type": "boolean",
|
||||
"label": "JavaScript-First Mode (Cache Compatible)",
|
||||
"default": false,
|
||||
"editable": true,
|
||||
"description": "Mueve decisiones de visibilidad de PHP a JavaScript para compatibilidad con cache de pagina. Permite personalizacion por usuario en sitios cacheados."
|
||||
},
|
||||
"post_top_enabled": {
|
||||
"type": "boolean",
|
||||
"label": "Despues de Featured Image",
|
||||
|
||||
Reference in New Issue
Block a user