[Bug] "Configure Colota" opens Colota with "Invalid configuration: No configuration data in URL"

オープン 初心者向け
#1,445 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

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

評価

難易度
1/5
見積もり時間
1〜3時間
初心者へのやさしさ
87/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
java, javascript
領域
frontend

調査の方向性

templates/settings/fragments/integrations.htmlから始め、ColotaのセットアップURLと、issueで説明されているColotaのディープリンク形式を比較します。リンクの構築と、選択されたトークンを更新する変更ハンドラーの両方を確認します。生成されたリンクにエンコード済みの設定が含まれ、トークンを変更すると選択されたトークンが使われる状態になれば完了です。issueにはparserとdecodeの確認について記載されていますが、デバイスでのテストはまだ残っているとあります。

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

説明

Reitti 5.13.0 (the same lines are in 5.13.1 and main). The Integrations page builds colota:///setup?<base64>, while Colota reads colota://setup?config=<base64> (https://colota.app/docs/guides/deep-link-setup/). Also, when another token is selected, Colota's link keeps the first one (currentToken instead of selectedToken).

Fix, in templates/settings/fragments/integrations.html, both places: 'colota://setup?config=' + encodeURIComponent(colotaConfig), and generateColotaConfig(selectedToken, serverUrl) in the change handler. Checked with React Navigation's parser and Colota's decodeConfig: before, no config; after, the endpoint, template and header arrive. Not tried on a device yet.

主要言語
Java
スター
2.6k
フォーク
81
平均マージ
9時間 40分
マージ済み PR(30日)
41

環境構築

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

はじめの一歩

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

dedicatedcode/reitti のほかの issue

dedicatedcode/reitti の issue をすべて見る

似ている issue

Java の issue をもっと見る

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

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