[Bug]: Local environment can't be turned back on once disabled (toggle hidden behind "No environment selected")
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 76/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- typescript
- Lĩnh vực
- desktop
Hướng nghiên cứu
Bắt đầu tại route cài đặt Connections trong apps/web và tìm phần connections-environment, sau đó lần theo nhánh hiển thị placeholder “No environment selected” và nút chuyển đổi môi trường cục bộ. Đảm bảo nút chuyển đổi vẫn truy cập được khi ID môi trường chính là null; hoàn tất khi việc tắt môi trường cục bộ không còn ẩn điều khiển cần thiết để bật lại nó. Chạy các bài kiểm thử cài đặt Connections liên quan, nếu có.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Before submitting
- I searched existing issues and did not find a duplicate.
- I included enough detail to reproduce or investigate the problem.
Area
apps/web
Steps to reproduce
- In the desktop app, have at least one remote environment connected.
- Open Settings → Connections and turn off Local environment in the "This machine" card, then confirm.
- After the restart, go back to Settings → Connections to turn it back on.
Expected behavior
The "This machine" card still shows the Local environment switch, so the local environment can be turned back on.
Actual behavior
The "This machine" card shows only "No environment selected — Connect an environment to view its settings and access." The switch isn't rendered anywhere. Selecting or using a connected remote environment doesn't bring it back, and searching settings for "Local environment" opens the same empty card.
The chat empty state says "turn the local environment back on in Connections", but the UI gives no way to do that.
Cause (from the shipped client bundle): in the Connections settings route, the connections-environment section branches on the primary environment id. When it's null (which it always is while the local environment is disabled), it renders the "No environment selected" placeholder. The local environment toggle component (the one that calls window.desktopBridge.setLocalEnvironmentEnabled) is only rendered in the other branch, so it can't be reached once local is off.
Suggested fix: render the local environment toggle in the "No environment selected" branch too (or whenever desktopBridge.getLocalEnvironmentEnabled?.() === false).
Impact
Major degradation or frequent failure
Version or commit
0.0.46-nightly.20261007.2787
Environment
Desktop app (nightly), connected to one remote environment over Tailscale.
Workaround
Open DevTools in the desktop app and run:
await window.desktopBridge.setLocalEnvironmentEnabled(true)
The local backend restarts and the "This machine" card (with the switch) comes back.
- Ngôn ngữ chính
- TypeScript
- Star
- 24.8k
- Fork
- 6.4k
- Merge trung bình
- 13 giờ 9 phút
- Pull request đã merge (30 ngày)
- 271
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của pingdotgg/t3code
-
[Bug]: Side-by-side diff squeezes the "N unmodified lines" divider into the line-number columnĐang mởbug via-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
pingdotgg/t3code#17157 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug]: T3 Connect doc says held webhooks are kept per environment, but the relay keeps one inbox per linkCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởdocumentation via-triage
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 83/100
pingdotgg/t3code#16995 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug]: T3 Connect doc gives the relay webhook path as /v1/hooks/:environmentId/..., but the relay routes on :endpointKeyCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởdocumentation via-triage
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
pingdotgg/t3code#16988 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug via-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100
pingdotgg/t3code#16881 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của pingdotgg/t3code
Issue tương tự
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày
-
core
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
vectorize-io/hindsight#5457 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
beginner friendly community contributions-welcome good first issue hacktoberfest help wanted testing up-for-grabs
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
lukilabs/beautiful-mermaid#160 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
rescript-lang/rescript-lang.org#1420 ·
Maintainer thường phản hồi trong vòng 2 ngày