Skip to content

AI-native knowledge base & Evernote/Obsidian alternative with instant sync & native MCP. Free on Cloudflare or self-hosted via Docker.

chore(extension): replace verbose intro texts with supported platforms and clean settings header

tianma-if46f0d7de177e
diff --git a/apps/extension/options.html b/apps/extension/options.html
index 7da62cb3..be3799b8 100644
--- a/apps/extension/options.html
+++ b/apps/extension/options.html
@@ -8,12 +8,7 @@
<body>
<main class="options-shell">
<h1 data-i18n="extensionName">EdgeEver Web Clipper</h1>
- <p class="hint" data-i18n="imageSaveHint">Right-click an image on a webpage and choose “Save image to EdgeEver”. It is saved into the default notebook selected below.</p>
- <p class="hint" data-i18n="selectionSaveHint">Select text on a page, right-click, and choose “Save selection to EdgeEver”. It is saved as a new note in the default notebook selected below.</p>
- <p class="hint" data-i18n="tweetSaveHint">On X, right-click a post and choose “Save this post to EdgeEver”. The visible text and photos go into one new note in the same notebook.</p>
- <p class="hint" data-i18n="githubRepoSaveHint">On a GitHub repository page or code tree, right-click the page background, the description, or the README text and choose “Save this repository to EdgeEver”. The address and description are saved as a new note in the default notebook selected above.</p>
- <p class="hint" data-i18n="xhsSaveHint">On Xiaohongshu, right-click the note text and choose “Save Xiaohongshu note to EdgeEver”. The title, text, and photos go into one new note. Comments are left out.</p>
- <p class="hint" data-i18n="zhihuSaveHint">On Zhihu, right-click the answer or article text and choose “Save Zhihu content to EdgeEver”. The title, author, text, and photos go into one new note. Comments are left out.</p>
+ <p class="hint" data-i18n="optionsSubtitle">配置自托管 EdgeEver 实例连接与默认剪藏笔记本。</p>
<form id="settings-form">
<label>
<span data-i18n="instanceAddress">EdgeEver instance URL</span>
diff --git a/apps/extension/popup.html b/apps/extension/popup.html
index 61a6f114..7ca7b430 100644
--- a/apps/extension/popup.html
+++ b/apps/extension/popup.html
@@ -14,7 +14,15 @@
<p class="hint" data-i18n="webClipper">Web Clipper</p>
</div>
</header>
- <p class="popup-description" data-i18n="popupDescription">Clip the current page or selection. Right-click selected text to save that passage, right-click an image to save it, right-click a post on X to save that post, right-click a Xiaohongshu note to save that note, or right-click a GitHub repository page to save its address and description.</p>
+ <div class="popup-features">
+ <span class="features-label" data-i18n="supportedPlatformsLabel">支持专标剪藏:</span>
+ <div class="platform-tags">
+ <span class="platform-tag">X / Twitter</span>
+ <span class="platform-tag" data-i18n="platformXiaohongshu">小红书</span>
+ <span class="platform-tag" data-i18n="platformZhihu">知乎</span>
+ <span class="platform-tag">GitHub</span>
+ </div>
+ </div>
<button id="save" class="save-button" type="button">
<svg aria-hidden="true" viewBox="0 0 24 24" width="18" height="18">
<path d="M5 4.75A1.75 1.75 0 0 1 6.75 3h8.836c.464 0 .91.184 1.238.513l1.663 1.663c.329.328.513.774.513 1.238v12.836A1.75 1.75 0 0 1 17.25 21H6.75A1.75 1.75 0 0 1 5 19.25V4.75Z" />
diff --git a/apps/extension/public/_locales/en/messages.json b/apps/extension/public/_locales/en/messages.json
index b0a73ec2..c5056b94 100644
--- a/apps/extension/public/_locales/en/messages.json
+++ b/apps/extension/public/_locales/en/messages.json
@@ -11,8 +11,14 @@
"webClipper": {
"message": "Web Clipper"
},
- "popupDescription": {
- "message": "Clip the current page or selection. Right-click selected text to save that passage, right-click an image to save it, right-click a post on X to save that post, right-click a Xiaohongshu note to save that note, or right-click a GitHub repository page to save its address and description."
+ "supportedPlatformsLabel": {
+ "message": "Tailored clipping support:"
+ },
+ "platformXiaohongshu": {
+ "message": "Xiaohongshu"
+ },
+ "platformZhihu": {
+ "message": "Zhihu"
},
"saveCurrentPage": {
"message": "Clip current page"
@@ -35,6 +41,9 @@
"optionsTitle": {
"message": "EdgeEver Web Clipper settings"
},
+ "optionsSubtitle": {
+ "message": "Configure your self-hosted EdgeEver instance connection and default notebook."
+ },
"diagnosticsTitle": {
"message": "About & diagnostics"
},
diff --git a/apps/extension/public/_locales/ja/messages.json b/apps/extension/public/_locales/ja/messages.json
index 2fd22ab7..8be3feca 100644
--- a/apps/extension/public/_locales/ja/messages.json
+++ b/apps/extension/public/_locales/ja/messages.json
@@ -11,8 +11,14 @@
"webClipper": {
"message": "Web Clipper"
},
- "popupDescription": {
- "message": "表示中のページや選択した内容を取り込みます。選択した文字の右クリックでその文章を、画像の右クリックで画像を、X 上の投稿の右クリックでその投稿を、小紅書のノート本文の右クリックでそのノートを、GitHub のリポジトリページの右クリックでアドレスと紹介文を保存できます。"
+ "supportedPlatformsLabel": {
+ "message": "最適化された主要プラットフォーム:"
+ },
+ "platformXiaohongshu": {
+ "message": "小紅書"
+ },
+ "platformZhihu": {
+ "message": "知乎"
},
"saveCurrentPage": {
"message": "このページを取り込む"
@@ -35,6 +41,9 @@
"optionsTitle": {
"message": "EdgeEver Web Clipper の設定"
},
+ "optionsSubtitle": {
+ "message": "EdgeEver インスタンスへの接続と既定のノートブックを設定します。"
+ },
"diagnosticsTitle": {
"message": "情報と診断"
},
diff --git a/apps/extension/public/_locales/zh_CN/messages.json b/apps/extension/public/_locales/zh_CN/messages.json
index f699754d..83b32229 100644
--- a/apps/extension/public/_locales/zh_CN/messages.json
+++ b/apps/extension/public/_locales/zh_CN/messages.json
@@ -11,8 +11,14 @@
"webClipper": {
"message": "网页剪藏"
},
- "popupDescription": {
- "message": "剪藏当前网页或选中内容。选中文字后右键可以保存这段文字;在图片上右键可以保存图片;在 X 上右键可以保存这条推文;在小红书笔记正文上右键可以保存这篇笔记;在 GitHub 仓库页上右键可以保存仓库地址和简介。"
+ "supportedPlatformsLabel": {
+ "message": "已深度适配主流平台:"
+ },
+ "platformXiaohongshu": {
+ "message": "小红书"
+ },
+ "platformZhihu": {
+ "message": "知乎"
},
"saveCurrentPage": {
"message": "剪藏当前网页"
@@ -35,6 +41,9 @@
"optionsTitle": {
"message": "EdgeEver Web Clipper 设置"
},
+ "optionsSubtitle": {
+ "message": "配置自托管 EdgeEver 实例连接与默认剪藏笔记本。"
+ },
"diagnosticsTitle": {
"message": "关于与诊断信息"
},
diff --git a/apps/extension/src/styles.css b/apps/extension/src/styles.css
index 3c397ec9..23a375a7 100644
--- a/apps/extension/src/styles.css
+++ b/apps/extension/src/styles.css
@@ -45,11 +45,39 @@ body {
line-height: 1.4;
}
-.popup-description {
- margin: 18px 0 14px;
- color: #475569;
- font-size: 13px;
- line-height: 1.55;
+.popup-features {
+ margin: 16px 0 16px;
+ padding: 10px 12px;
+ background: #f1f5f9;
+ border-radius: 8px;
+}
+
+.features-label {
+ display: block;
+ font-size: 11px;
+ font-weight: 600;
+ color: #64748b;
+ margin-bottom: 6px;
+ letter-spacing: 0.2px;
+}
+
+.platform-tags {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 6px;
+}
+
+.platform-tag {
+ display: inline-flex;
+ align-items: center;
+ font-size: 11px;
+ font-weight: 500;
+ color: #0f766e;
+ background: #e6f4f2;
+ border: 1px solid #ccede8;
+ padding: 2px 7px;
+ border-radius: 9999px;
+ line-height: 1.3;
}
.save-button {