chore: settings-page trust warnings & README hero rewrite - #272
Merged
Conversation
Plugins can exec commands through the host bridge (local shell and SSH sessions) — say so in a BYOK-style warning bar at the top of the plugin manager, with the author links folded in as a second line. The AI page's BYOK note gets the same icon + warn-body structure and an OrcaRouter free-model referral line. Links on both pages render accent via one .warn a rule.
Replace the "AI ops copilot" tagline with the differentiator claim and back it immediately: three real pains (endless scrollback, static IPs, logs copy-pasted into a chat bot) answered one-to-one by command blocks, live container discovery, and the terminal-reading AI. EN mirrors the restructured zh hero line for line.
There was a problem hiding this comment.
🟢 Approval recommended
The changes are straightforward UI/docs updates with only minor doc/comment nits identified.
Pull request overview
This PR updates Settings pages to display consistent trust/BYOK warning bars (including plugin trust messaging and an external referral link in AI settings), and refreshes the README hero/tagline in both English and Chinese to emphasize RSSH’s differentiators.
Changes:
- Add a plugin trust warning bar under the Plugin Manager section label and unify link styling via
.warn a. - Restructure the AI settings BYOK warning into an
icon + warn-bodylayout and add an external OrcaRouter referral link line. - Rewrite README/README_zh hero/tagline to the new “pain points → answers → platforms” structure.
File summaries
| File | Description |
|---|---|
| src/lib/plugins/PluginManager.svelte | Adds a trust warning bar and consolidates author link styling under the warning pattern. |
| src/lib/components/AiSettings.svelte | Refactors BYOK warning layout and adds an external referral link line. |
| src/lib/i18n/locales/en.ts | Adds English strings for the plugin trust warning and OrcaRouter referral line. |
| src/lib/i18n/locales/zh.ts | Adds Chinese strings for the plugin trust warning and OrcaRouter referral line. |
| README.md | Updates English tagline and hero blockquote structure. |
| README_zh.md | Updates Chinese tagline and hero blockquote structure. |
Review details
- Files reviewed: 6/6 changed files
- Comments generated: 2
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| > 连上服务器,直接问"磁盘怎么满了"——AI 提议命令、标注副作用,你点同意它才在终端里执行;敏感信息离机前本地脱敏。 | ||
| > 传统客户端给你一个 shell 就到此为止: 翻不完的滚屏、背不住的静态 IP、把日志复制粘贴给聊天机器人。 | ||
| > | ||
| > RSSH 继续往前走:命令变成可导航的区块,容器实时发现,AI像运维一样读终端输出 |
Comment on lines
549
to
551
| <!-- Provider 管理 + BYOK 警告合在一个 .card.surface-raised。 | ||
| 交互照动态发现:顶部"新建",列表行(active 单选 / 编辑 / 删除二次确认), | ||
| 新建或编辑时渲染内联表单 AiProviderForm(三协议卡 + endpoint chips)。 --> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Settings pages (feat)
icon + warn-bodyshape and gains a second line: OrcaRouter free DeepSeek-V4 referral link (opens externally viaopen_external_url)..warn arule (dead.links-row aoverrides removed).README (docs)
Verification
vite buildclean;vitest780/780 green.