Skip to content

feat(platforms): add Teltonika to the add device menu - #1173

Merged
JamieRuderman merged 1 commit into
mainfrom
claude/slack-thread-request-6h4649
Aug 4, 2026
Merged

feat(platforms): add Teltonika to the add device menu#1173
JamieRuderman merged 1 commit into
mainfrom
claude/slack-thread-request-6h4649

Conversation

@JamieRuderman

Copy link
Copy Markdown
Member

Changes

Requested by @yusuke in Slack: add Teltonika to the Add a device menu and to the Platform list under Products.

Teltonika (type 1281) was already registered as a platform in #1142 — icon, name, and type mapping — but it was never offered anywhere in the UI.

  • frontend/src/pages/AddPage.tsx — added teltonika to the "Add a device" list, positioned after IDY with the other OEM gateways.
  • frontend/src/platforms/teltonika/index.tsx — added the standard streamline installation config. Without it, /add/teltonika would render AddDownload with no link (a dead button) instead of AddDevice. With command: true, useAutoRegistration sends platform: 1281 and the API generates the registration command — the same setup Advantech and AXIS use.

Platform list under Products: no frontend change needed. That dropdown is driven by the API's platformTypes.visible flag, and Evan has already handled the DB update — 1281 now returns name: "Teltonika" (Titlecase) with visible: true, so it appears in the list with the correct label and picks up the existing platform icon automatically.

TOA (1228) is a private, dedicated package and is intentionally left out, per the request.

Verification

  • npm run typecheck passes — the only output is the pre-existing tsconfig TS5101 deprecations on baseUrl / downlevelIteration, which are unrelated to this change and present on main.
  • Confirmed against the API that platformTypes returns 1281 / "Teltonika" / visible: true.
  • Not yet exercised end to end: actually creating a product on platform 1281 and running the generated registration command on a real Teltonika device. Worth a manual pass before release.

Generated by Claude Code

Teltonika (type 1281) was registered as a platform but never offered
anywhere in the UI. Add it to the "Add a device" list on the add page,
alongside the other OEM gateways.

Give it the standard streamline install config so /add/teltonika generates
a registration command for platform 1281 instead of rendering a download
page with no link, matching how Advantech and AXIS are set up.

TOA (1228) is a private, dedicated package and is intentionally left out.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018YfRBMvuTVpXniu6MNi5jo
@JamieRuderman
JamieRuderman merged commit 0b0a89e into main Aug 4, 2026
7 of 8 checks passed
@JamieRuderman
JamieRuderman deleted the claude/slack-thread-request-6h4649 branch August 4, 2026 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants