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

オープン
#132 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
30/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
dart, flutter
領域
mobile

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
Dart
スター
9
フォーク
5
平均マージ
49分
マージ済み PR(30日)
34

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

CommandLineCoding/Elephant のほかの issue

CommandLineCoding/Elephant の issue をすべて見る

似ている issue

Dart の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。