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

Open Beginner friendly
#1,445 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
1-3 hours
Newbie friendliness
87/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
java, javascript
Domain
frontend

Research direction

Start in templates/settings/fragments/integrations.html and compare the Colota setup URL with Colota's deep link format described in the issue. Check both link construction and the change handler that updates the selected token. Done when the generated link includes the encoded configuration and changing tokens uses the selected token; the issue reports parser and decode checks, but says device testing remains.

Written by the indexing model from the issue text.

Description

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.

Dominant language
Java
Stars
2.6k
Forks
81
Avg merge
9h 40m
Merged PRs (30d)
41

Getting set up

  • Ships a Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from dedicatedcode/reitti

All issues in dedicatedcode/reitti

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.