refactor(web): load channel configs without exposing secret values (#2277)

* refactor(web): load channel configs without exposing secret values

- add a dedicated channel config API that returns sanitized config plus
  configured secret metadata
- update channel config pages and forms to use secret presence for
  placeholders, validation, reset, and save behavior
- refresh the channel settings layout and clean up related i18n copy
- add backend tests for the new channel config endpoint

* fix(config): restore missing strings import
This commit is contained in:
wenjie
2026-04-02 19:09:33 +08:00
committed by GitHub
parent e075be6b10
commit dad5dcc30f
16 changed files with 1232 additions and 809 deletions
+1
View File
@@ -7,6 +7,7 @@ import (
"math/rand"
"os"
"path/filepath"
"strings"
"sync/atomic"
"time"