[Feature Request]: Pre-emptive self-signed cert flow in AddConnectionDialog

Open
#1,279 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
react, typescript
Domain
frontend

Research direction

Start with apps/web/src/core/connections/transports.ts around line 63 and locate AddConnectionDialog and its existing reachability check. Trace how HTTPS connection failures are reported and how the dialog handles returning from an opened tab. Done means the dialog offers the proposed pre-check, reports reachability after returning, and distinguishes certificate trust failures from unreachable devices; the issue names no test file.

Written by the indexing model from the issue text.

Description

feature request

Today the self-signed cert workflow is entirely reactive — apps/web/src/core/connections/transports.ts:63 only tells the user to open the device URL in a new tab and accept the cert after the connection attempt fails. On the hosted client (https://client.meshtastic.org) users hit this on their first HTTPS device connect and the "not reachable" message in AddConnectionDialog doesn't explain why.

Proposal:

  • In AddConnectionDialog when protocol is HTTPS, show a "self-signed cert?" helper with a button that opens the target URL in a new tab before the user tries Test Connection.
  • After the user returns, re-probe reachability and show a positive "cert accepted" indicator.
  • Distinguish cert-not-trusted from actually-unreachable in the error copy.

Distinct from #1015 and #1031, which report the raw "HTTPS doesn't work" symptom. This tracks the UX around self-signed cert acceptance specifically.

Dominant language
TypeScript
Stars
861
Forks
316
Avg merge
2d 10h
Merged PRs (30d)
18

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

  • No Dockerfile or Docker Compose file
  • Has a 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 meshtastic/web

All issues in meshtastic/web

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.