Skip to content

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

feat(web): add non-mainland Apple ID badge to iOS download and enhance download button hierarchy

tianma-if084ad290a13f
diff --git a/apps/api/src/demo-seed-data.ts b/apps/api/src/demo-seed-data.ts
index 6f2495a7..0b79e7e7 100644
--- a/apps/api/src/demo-seed-data.ts
+++ b/apps/api/src/demo-seed-data.ts
@@ -173,7 +173,7 @@ sequenceDiagram
- **多端原生支持**:
- **Web / PWA**:支持现代浏览器全功能运行与离线安装;
- **Android 原生客户端**:基于 Expo 与 SQLite 构建,已上架 Google Play,并提供签名 APK 下载;
- - **iOS 原生客户端**:基于 Swift / SwiftUI 与 GRDB 原生实现,流畅细腻,已上架 App Store;
+ - **iOS 原生客户端**:基于 Swift / SwiftUI 与 GRDB 原生实现,流畅细腻,已上架 App Store(可使用非大陆区 Apple ID 下载);
- **macOS 桌面端**:Electron + Rust 高性能 Sidecar,支持 Apple Silicon 和 Intel Mac,内置静默后台更新;
- **Windows 桌面端**:已开发完毕,即将正式推出。
- **浏览器网页剪藏 (Web Clipper)**:已在 Chrome、Edge 和 Firefox 官方扩展商店发布,一键剔除网页广告,将正文纯净沉淀为 Markdown 笔记。
@@ -394,7 +394,7 @@ Generate an API token in **Settings → MCP Settings** to connect EdgeEver direc
- **Cross-Platform Native Apps**:
- **Web / PWA**: Full-featured in modern browsers with offline installation support;
- **Android Native App**: Built with Expo & SQLite, available on Google Play and GitHub Releases;
- - **iOS Native App**: Native Swift / SwiftUI with GRDB local mirror, available on the App Store;
+ - **iOS Native App**: Native Swift / SwiftUI with GRDB local mirror, available on the App Store (requires a non-mainland China Apple ID);
- **macOS Desktop App**: Electron + Rust Sidecar for Apple Silicon & Intel Mac with silent background updates;
- **Windows Desktop App**: Development is complete, coming soon.
- **Browser Web Clipper**: Available on Chrome, Edge, and Firefox extension stores to extract clean, ad-free Markdown articles in one click.
diff --git a/apps/web/src/components/NotebookPane.tsx b/apps/web/src/components/NotebookPane.tsx
index ef06aea4..19d4d0b3 100644
--- a/apps/web/src/components/NotebookPane.tsx
+++ b/apps/web/src/components/NotebookPane.tsx
@@ -654,12 +654,12 @@ export const NotebookPane = ({
<DropdownMenu>
<DropdownMenuTrigger asChild>
<button
- className="flex h-8 w-full items-center gap-3 rounded-md px-3 text-left text-sm font-medium leading-none text-slate-500 transition-colors duration-200 hover:bg-slate-50 hover:text-slate-950 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-emerald-400/70 data-[state=open]:bg-slate-100 data-[state=open]:text-slate-950 dark:hover:bg-slate-800 dark:hover:text-slate-100 dark:data-[state=open]:bg-slate-800"
+ className="flex h-8 w-full items-center gap-3 rounded-md px-3 text-left text-sm font-medium leading-none text-slate-700 transition-colors duration-200 hover:bg-slate-50 hover:text-slate-950 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-emerald-400/70 data-[state=open]:bg-slate-100 data-[state=open]:text-slate-950 dark:text-slate-300 dark:hover:bg-slate-800 dark:hover:text-white dark:data-[state=open]:bg-slate-800"
type="button"
aria-label={t("pwa.sidebarDownloadsTitle") || "下载 EdgeEver 客户端与浏览器插件"}
>
- <span className="flex h-4 w-4 shrink-0 items-center justify-center">
- <Download className="h-3.5 w-3.5 text-slate-400" />
+ <span className="flex h-4 w-4 shrink-0 items-center justify-center text-emerald-600 dark:text-emerald-400">
+ <Download className="h-4 w-4" />
</span>
<span className="min-w-0 flex-1 truncate">{t("pwa.sidebarDownloads") || "下载客户端"}</span>
</button>
@@ -716,6 +716,7 @@ export const NotebookPane = ({
href={ANDROID_PLAY_URL}
target="_blank"
rel="noreferrer"
+ aria-label={t("pwa.sidebarAndroidTitle") || "在 Google Play 下载 EdgeEver 安卓端"}
className="group flex cursor-pointer items-center justify-between gap-2.5 rounded-md px-2 py-1.5 text-sm text-slate-700 outline-none transition-colors hover:bg-slate-100 hover:text-slate-900 focus:bg-slate-100 focus:text-slate-900 dark:text-slate-300 dark:hover:bg-slate-800 dark:hover:text-white"
>
<div className="flex min-w-0 items-center gap-2.5">
@@ -754,13 +755,17 @@ export const NotebookPane = ({
href={IOS_DOWNLOAD_URL}
target="_blank"
rel="noreferrer"
+ aria-label={t("pwa.sidebarIosTitle") || "在 App Store 下载 EdgeEver iOS 端(仅支持非大陆区 Apple ID)"}
className="group flex cursor-pointer items-center justify-between gap-2.5 rounded-md px-2 py-1.5 text-sm text-slate-700 outline-none transition-colors hover:bg-slate-100 hover:text-slate-900 focus:bg-slate-100 focus:text-slate-900 dark:text-slate-300 dark:hover:bg-slate-800 dark:hover:text-white"
>
- <div className="flex min-w-0 items-center gap-2.5">
+ <div className="flex min-w-0 items-center gap-2">
<BrandIconContainer>
<AppStoreIcon />
</BrandIconContainer>
<span className="truncate font-medium">{t("pwa.sidebarIos") || "iOS"}</span>
+ <span className="shrink-0 rounded bg-slate-100 px-1.5 py-0.5 text-[10px] font-medium text-slate-500 dark:bg-slate-800 dark:text-slate-400">
+ {t("pwa.sidebarIosRegionBadge") || "非大陆区"}
+ </span>
</div>
<div className="flex shrink-0 items-center gap-1 text-slate-400 group-hover:text-slate-600 dark:group-hover:text-slate-300">
<span className="text-[11px]">{t("pwa.sidebarIosBadge") || "App Store"}</span>
diff --git a/docs/demo-sample-note.md b/docs/demo-sample-note.md
index 1cf8ce4b..849a3986 100644
--- a/docs/demo-sample-note.md
+++ b/docs/demo-sample-note.md
@@ -146,7 +146,7 @@ Generate an API token in **Settings → MCP Settings** to connect EdgeEver direc
- **Cross-Platform Native Apps**:
- **Web / PWA**: Full-featured in modern browsers with offline installation support;
- **Android Native App**: Built with Expo & SQLite, available on Google Play and GitHub Releases;
- - **iOS Native App**: Native Swift / SwiftUI with GRDB local mirror, available on the App Store;
+ - **iOS Native App**: Native Swift / SwiftUI with GRDB local mirror, available on the App Store (requires a non-mainland China Apple ID);
- **macOS Desktop App**: Electron + Rust Sidecar for Apple Silicon & Intel Mac with silent background updates;
- **Windows Desktop App**: Development is complete, coming soon.
- **Browser Web Clipper**: Available on Chrome, Edge, and Firefox extension stores to extract clean, ad-free Markdown articles in one click.
diff --git a/docs/demo-sample-note.zh-CN.md b/docs/demo-sample-note.zh-CN.md
index 32e9c703..a9414822 100644
--- a/docs/demo-sample-note.zh-CN.md
+++ b/docs/demo-sample-note.zh-CN.md
@@ -146,7 +146,7 @@ sequenceDiagram
- **多端原生支持**:
- **Web / PWA**:支持现代浏览器全功能运行与离线安装;
- **Android 原生客户端**:基于 Expo 与 SQLite 构建,已上架 Google Play,并提供签名 APK 下载;
- - **iOS 原生客户端**:基于 Swift / SwiftUI 与 GRDB 原生实现,流畅细腻,已上架 App Store;
+ - **iOS 原生客户端**:基于 Swift / SwiftUI 与 GRDB 原生实现,流畅细腻,已上架 App Store(可使用非大陆区 Apple ID 下载);
- **macOS 桌面端**:Electron + Rust 高性能 Sidecar,支持 Apple Silicon 和 Intel Mac,内置静默后台更新;
- **Windows 桌面端**:已开发完毕,即将正式推出。
- **浏览器网页剪藏 (Web Clipper)**:已在 Chrome、Edge 和 Firefox 官方扩展商店发布,一键剔除网页广告,将正文纯净沉淀为 Markdown 笔记。
diff --git a/packages/shared/src/i18n/en-US.ts b/packages/shared/src/i18n/en-US.ts
index f0044939..6ae94f48 100644
--- a/packages/shared/src/i18n/en-US.ts
+++ b/packages/shared/src/i18n/en-US.ts
@@ -1600,7 +1600,8 @@ export const enUS = {
sidebarAndroidTitle: "Download EdgeEver for Android from Google Play",
sidebarIos: "iOS",
sidebarIosBadge: "App Store",
- sidebarIosTitle: "Download EdgeEver for iOS from the App Store",
+ sidebarIosRegionBadge: "Non-mainland",
+ sidebarIosTitle: "Download EdgeEver for iOS from the App Store (requires a non-mainland China Apple ID)",
sidebarIosAvailability: "Requires a non-mainland China Apple ID",
sidebarChromeEdge: "Chrome / Edge",
sidebarFirefox: "Firefox",
diff --git a/packages/shared/src/i18n/zh-CN.ts b/packages/shared/src/i18n/zh-CN.ts
index 37425a75..155a83e8 100644
--- a/packages/shared/src/i18n/zh-CN.ts
+++ b/packages/shared/src/i18n/zh-CN.ts
@@ -1598,7 +1598,8 @@ export const zhCN = {
sidebarAndroidTitle: "在 Google Play 下载 EdgeEver 安卓端",
sidebarIos: "iOS",
sidebarIosBadge: "App Store",
- sidebarIosTitle: "在 App Store 下载 EdgeEver iOS 端",
+ sidebarIosRegionBadge: "非大陆区",
+ sidebarIosTitle: "在 App Store 下载 EdgeEver iOS 端(仅支持非大陆区 Apple ID)",
sidebarIosAvailability: "仅支持非中国大陆区 Apple ID",
sidebarChromeEdge: "Chrome / Edge",
sidebarFirefox: "Firefox",