release: sincronizar develop → main (auth deep links, events/push, engagement)#243
Closed
Piedra-1988 wants to merge 10 commits into
Closed
release: sincronizar develop → main (auth deep links, events/push, engagement)#243Piedra-1988 wants to merge 10 commits into
Piedra-1988 wants to merge 10 commits into
Conversation
…dentials fix(build): embeber credenciales de Supabase en los perfiles de EAS
…able (I-F-N05-01-01)
…igüedad (I-F-N06-01-01)
…h_tokens a los tipos
…h-schema feat(db): Hito 2 — esquema y RLS de events + push_tokens (I-F-N05-01-01, I-F-N05-01-03, I-F-N06-01-01)
El grupo (auth) es transparente en Expo Router, por lo que la ruta real es /set-password. El redirectTo apuntaba a nun-ibiza://auth/set-password y no resolvía. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Las pantallas set-password y reset-password solo procesaban el token en cold start (getInitialURL). En warm start la app recibía una URL de arranque obsoleta y marcaba error. Ahora: - Escuchan el evento `url` de Linking (warm start) además del inicial. - Ignoran URLs sin token en vez de fallar de inmediato. - Guardan un flag `handled` para no aplicar el token dos veces. - Timeout de 3s para mostrar error si no llega un token válido. Se añaden las redirect URLs nun-ibiza://set-password y nun-ibiza://reset-password a la config de Supabase Auth. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Collaborator
Author
🚀 Resumen de cambios — Deep links de Auth + release develop → main1. Edge Function
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resumen
PR de sincronización de
develop→main. Acumula 88 commits de trabajo desde el último merge amain. Los cambios más recientes en la cima de la rama son los fixes de deep links de autenticación.Cambios recientes (cima de la rama)
set-passwordyreset-passwordahora manejan los deep links de invitación/recuperación también en warm start (eventourldeLinking), ignoran URLs sin token y usan un timeout para señalar error. Antes solo funcionaban en cold start.redirectTode la Edge Function anun-ibiza://set-password(el grupo(auth)de Expo Router es transparente).Bloques principales incluidos (histórico acumulado)
events(all_day,color_tag, autor nullable), modeloownpara managers en RLS, columnas depush_tokens(device_name,last_seen_at).track-engagement, cola offline de clicks, ADR-0006.Notas de despliegue / config remota
invite-userya está desplegada en producción.uri_allow_listde Auth en remoto se actualizó vía Management API para permitirnun-ibiza://set-passwordynun-ibiza://reset-password(no queda reflejado en git, es config del proyecto Supabase).Test
Cambios funcionales previos ya mergeados vía sus respectivos PRs de feature. Este PR consolida el estado de
develop.🤖 Generated with Claude Code