Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5bcacdf09d | ||
|
|
3e5e18c14f | ||
|
|
e75a11d554 | ||
|
|
0fd05dab2a | ||
|
|
5fe18ce3d4 | ||
|
|
2318e1da7d |
No files matched your search
@@ -25,7 +25,7 @@ spec:
|
|||||||
runAsNonRoot: false
|
runAsNonRoot: false
|
||||||
containers:
|
containers:
|
||||||
- name: app
|
- name: app
|
||||||
image: gitea.cruzcloud.net/devops/docs-portal:v1.0.269
|
image: gitea.cruzcloud.net/devops/docs-portal:v1.0.274
|
||||||
# El base saca TODAS las capabilities. Probado en vivo y
|
# El base saca TODAS las capabilities. Probado en vivo y
|
||||||
# revertido: con drop: ALL (aunque se agregue NET_BIND_SERVICE
|
# revertido: con drop: ALL (aunque se agregue NET_BIND_SERVICE
|
||||||
# de vuelta) el propio entrypoint de nginx:1.27-alpine falla al
|
# de vuelta) el propio entrypoint de nginx:1.27-alpine falla al
|
||||||
|
|||||||
@@ -26,11 +26,11 @@ spec:
|
|||||||
runAsUser: 1001
|
runAsUser: 1001
|
||||||
containers:
|
containers:
|
||||||
- name: app
|
- name: app
|
||||||
image: gitea.cruzcloud.net/devops/ecommerce-frontend:v1.0.273
|
image: gitea.cruzcloud.net/devops/ecommerce-frontend:v1.0.275
|
||||||
env:
|
env:
|
||||||
# Ver comentario en workloads/ecommerce/frontend/patches/deployment.yaml
|
# Ver comentario en workloads/ecommerce/frontend/patches/deployment.yaml
|
||||||
- name: APP_VERSION
|
- name: APP_VERSION
|
||||||
value: v1.0.273
|
value: v1.0.275
|
||||||
- name: HEADLESS_PROVIDER
|
- name: HEADLESS_PROVIDER
|
||||||
value: medusa
|
value: medusa
|
||||||
# Backend COMPARTIDO con Producción a propósito (decisión del
|
# Backend COMPARTIDO con Producción a propósito (decisión del
|
||||||
|
|||||||
@@ -179,7 +179,18 @@ export function ProductGallery({ images, name }: { images: string[]; name: strin
|
|||||||
className="pointer-events-none absolute inset-0 bg-slate-50 transition-opacity duration-150 ease-out"
|
className="pointer-events-none absolute inset-0 bg-slate-50 transition-opacity duration-150 ease-out"
|
||||||
style={{
|
style={{
|
||||||
opacity: hoverZoom && !hoverZoom.showPanel ? 1 : 0,
|
opacity: hoverZoom && !hoverZoom.showPanel ? 1 : 0,
|
||||||
backgroundImage: `url(${selected})`,
|
// Comillas dentro de url() a proposito: sin ellas, un
|
||||||
|
// espacio o parentesis literal en el nombre de archivo
|
||||||
|
// (ej. "descarga (4)-xxx.png", el patron por defecto de
|
||||||
|
// Chrome al descargar una imagen sin renombrarla -- asi
|
||||||
|
// quedan las subidas manuales, a diferencia de las
|
||||||
|
// importadas por CSV) rompe la sintaxis de url() sin
|
||||||
|
// comillas -- el navegador descarta el valor completo en
|
||||||
|
// silencio (backgroundImage queda "none"). Confirmado en
|
||||||
|
// vivo 2026-09-20: reportado por el usuario como "el zoom
|
||||||
|
// interactivo no se visualiza" solo en fotos subidas a
|
||||||
|
// mano por el admin, nunca en las de CSV.
|
||||||
|
backgroundImage: `url("${selected}")`,
|
||||||
backgroundRepeat: "no-repeat",
|
backgroundRepeat: "no-repeat",
|
||||||
backgroundSize: `${HOVER_ZOOM_SCALE * 100}%`,
|
backgroundSize: `${HOVER_ZOOM_SCALE * 100}%`,
|
||||||
backgroundPosition: hoverZoom ? `${hoverZoom.bgX}% ${hoverZoom.bgY}%` : "center",
|
backgroundPosition: hoverZoom ? `${hoverZoom.bgX}% ${hoverZoom.bgY}%` : "center",
|
||||||
@@ -217,7 +228,9 @@ export function ProductGallery({ images, name }: { images: string[]; name: strin
|
|||||||
top: hoverZoom.panelTop,
|
top: hoverZoom.panelTop,
|
||||||
width: hoverZoom.panelSize,
|
width: hoverZoom.panelSize,
|
||||||
height: hoverZoom.panelSize,
|
height: hoverZoom.panelSize,
|
||||||
backgroundImage: `url(${selected})`,
|
// Ver el comentario en el overlay in-place de arriba -- mismo
|
||||||
|
// fix, mismo motivo (comillas necesarias dentro de url()).
|
||||||
|
backgroundImage: `url("${selected}")`,
|
||||||
backgroundRepeat: "no-repeat",
|
backgroundRepeat: "no-repeat",
|
||||||
backgroundSize: `${HOVER_ZOOM_SCALE * 100}%`,
|
backgroundSize: `${HOVER_ZOOM_SCALE * 100}%`,
|
||||||
backgroundPosition: `${hoverZoom.bgX}% ${hoverZoom.bgY}%`,
|
backgroundPosition: `${hoverZoom.bgX}% ${hoverZoom.bgY}%`,
|
||||||
|
|||||||
@@ -25,14 +25,14 @@ spec:
|
|||||||
runAsUser: 1001
|
runAsUser: 1001
|
||||||
containers:
|
containers:
|
||||||
- name: app
|
- name: app
|
||||||
image: gitea.cruzcloud.net/devops/ecommerce-frontend:v1.0.273
|
image: gitea.cruzcloud.net/devops/ecommerce-frontend:v1.0.275
|
||||||
env:
|
env:
|
||||||
# La actualiza el mismo paso del CD (.gitea/workflows/build.yaml)
|
# La actualiza el mismo paso del CD (.gitea/workflows/build.yaml)
|
||||||
# que bumpea el tag de la imagen -- el footer la lee
|
# que bumpea el tag de la imagen -- el footer la lee
|
||||||
# (process.env.APP_VERSION) para mostrar la versión real
|
# (process.env.APP_VERSION) para mostrar la versión real
|
||||||
# desplegada en vez de un "v4.1" fijo.
|
# desplegada en vez de un "v4.1" fijo.
|
||||||
- name: APP_VERSION
|
- name: APP_VERSION
|
||||||
value: v1.0.273
|
value: v1.0.275
|
||||||
- name: HEADLESS_PROVIDER
|
- name: HEADLESS_PROVIDER
|
||||||
value: medusa
|
value: medusa
|
||||||
- name: MEDUSA_BACKEND_URL
|
- name: MEDUSA_BACKEND_URL
|
||||||
|
|||||||
Reference in new issue
Block a user