Accept connect links in the connect flow

Abierto
#1,498 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
58/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
react, typescript, web-dev
Área
frontend, mobile

Línea de trabajo

Start by reading design spec meshtastic/design#177, which defines the full states, accessibility requirements, and copy. Then trace the connect flow entry points for pasted and scanned links and identify the existing Bluetooth chooser and HTTP connection paths. Done means each address case follows the specified behavior, including consent and leaving the current connection untouched on decline.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Implement connect links per the design spec: meshtastic/design#177.

Firmware and provisioning tools are adding QR codes of meshtastic://meshtastic/connections?address=<address>&pin=<PIN>.

  • Accept a pasted or scanned connect link in the connect flow.
  • Ask before connecting, and leave the current connection alone if the user declines.
  • For an x address, accept pin only as exactly six digits, keeping leading zeros. Show the PIN and copy it to the clipboard, then open the Bluetooth chooser for the user to pick the node.
  • For a t<host>:<port> address, open the HTTP connect flow with the host filled in. The port is ignored.
  • An unknown prefix or malformed address opens the connect flow without connecting.

See design#177 for full states, accessibility, and copy.

Lenguaje dominante
TypeScript
Estrellas
861
Forks
316
Merge medio
2 d 10 h
PR fusionados (30 d)
18

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

  • Sin Dockerfile ni archivo de Docker Compose
  • Tiene una plantilla de pull request
  • Sin guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de meshtastic/web

Todos los issues de meshtastic/web

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.