[FEAT]: Open a chat from an elephant:// link

Offen
#132 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
30/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Ruhig
Tech-Stack
dart, flutter
Bereich
mobile

Rechercherichtung

The payload names no files, tests or entry points, so start by finding how the Flutter client handles incoming links and routing, and how the existing forward action works. Done means a tapped link opens the app at the specific chat, and the forward action leads to a page where the user picks a recipient. Ask the maintainers which link format to support before writing code, since the issue does not specify one.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

area: mobile difficulty: medium enhancement

Context

Sharing your profile as a link (not only a QR code) would make it easier to start chats.

What to do

  • Define a link format, e.g. https://elephant.commandlinecoding.in/u/<username> (and/or elephant://u/<username>). Discuss it in this issue first.
  • Opening the link launches Elephant and opens the chat with that user (or asks to sign in first).
  • Add a Share profile link action next to My QR code.

Where to look

app_links is already used for OAuth callbacks in mobile/lib/controllers/auth_state.dart (_initDeepLinks). Intent filters go in mobile/android/app/src/main/AndroidManifest.xml.

Good to know

HTTPS app links need an assetlinks.json on the server. A custom scheme is simpler to start with.

Vorherrschende Sprache
Dart
Sterne
9
Forks
5
Ø Merge
49 Min.
Gemergte PRs (30 T.)
34

Entwicklungsumgebung

  • Enthält ein Dockerfile oder eine Docker-Compose-Datei
  • Keine Pull-Request-Vorlage
  • Kein Beitragsleitfaden

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus CommandLineCoding/Elephant

Alle Issues in CommandLineCoding/Elephant

Ähnliche Issues

Weitere Issues zu Dart

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.