[FEAT]: Tappable links in messages, with a confirmation before opening

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

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

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

評価

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

調査の方向性

The payload names no files, so start by finding where message text is rendered in the Flutter client and whether a link-handling package is already a dependency. Make links in messages tappable, and show a confirmation dialog before opening any external URL, proceeding only if the user confirms. Done when a tapped link shows the prompt and opens only after confirmation, and this is covered by a widget test.

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

説明

area: mobile enhancement good first issue

Context

URLs in messages are shown as plain text.

What to do

  • Detect http(s):// links in message text and make them tappable.
  • On tap, show a dialog with the full URL ("Open this link?" + Open / Cancel) before opening it in the browser. This protects against misleading link text.
  • Long-press on a link copies it.

Where to look

mobile/lib/widgets/chat_page_widgets.dart. Messages render through MarkdownBody, which has an onTapLink callback. url_launcher is already used in mobile/lib/pages/settings/help_about.dart.

主要言語
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 を短くまとめたダイジェスト。