Skip to content

chore: settings-page trust warnings & README hero rewrite - #272

Merged
shihuili1218 merged 2 commits into
mainfrom
settings-warns-readme-hero
Sep 4, 2026
Merged

chore: settings-page trust warnings & README hero rewrite#272
shihuili1218 merged 2 commits into
mainfrom
settings-warns-readme-hero

Conversation

@shihuili1218

Copy link
Copy Markdown
Collaborator

Settings pages (feat)

  • Plugin manager gains a BYOK-style warning bar under the section label: plugins can exec commands through the host bridge (local shell and SSH sessions), so third-party plugins should come from trusted sources. The author links (guide / monitor / pixel cat) fold into the bar as a second line.
  • AI settings BYOK note restructured into the same icon + warn-body shape and gains a second line: OrcaRouter free DeepSeek-V4 referral link (opens externally via open_external_url).
  • Both pages now share one structure; links render accent via a single .warn a rule (dead .links-row a overrides removed).

README (docs)

  • Tagline replaced with the differentiator claim ("pain points everyone else ignored" / 一直没人管的痛点).
  • Hero blockquote restructured into pains → answers → platforms: 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.

Verification

  • vite build clean; vitest 780/780 green.

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.
Copilot AI lite review requested due to automatic review settings September 4, 2026 08:55
@shihuili1218 shihuili1218 changed the title Settings-page trust warnings & README hero rewrite chore: settings-page trust warnings & README hero rewrite Sep 4, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 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-body layout 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.

Comment thread README_zh.md
> 连上服务器,直接问"磁盘怎么满了"——AI 提议命令、标注副作用,你点同意它才在终端里执行;敏感信息离机前本地脱敏。
> 传统客户端给你一个 shell 就到此为止: 翻不完的滚屏、背不住的静态 IP、把日志复制粘贴给聊天机器人。
>
> RSSH 继续往前走:命令变成可导航的区块,容器实时发现,AI像运维一样读终端输出
Comment on lines 549 to 551
<!-- Provider 管理 + BYOK 警告合在一个 .card.surface-raised。
交互照动态发现:顶部"新建",列表行(active 单选 / 编辑 / 删除二次确认),
新建或编辑时渲染内联表单 AiProviderForm(三协议卡 + endpoint chips)。 -->
@shihuili1218
shihuili1218 merged commit f00eb65 into main Sep 4, 2026
2 checks passed
@shihuili1218
shihuili1218 deleted the settings-warns-readme-hero branch September 4, 2026 08:59
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