Remove CEF: the web content crate, ElyMark's page, their packaging, licences and tests (C14.5)
PRD and agents.md name the native route; ElyMail's body will not use CEF or Electron. ElyMark's package carries the KaTeX fonts' OFL. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
2e8379b0b1
commit
8a942e6d80
77 files changed
+105
-10718
No files matched your search
@@ -32,7 +32,6 @@ pub(super) const EN: &[(&str, &str)] = &[
|
||||
("settings.git.bad", "{path} is not Git 2.40 or later: {error}"),
|
||||
("settings.storage", "Storage"),
|
||||
("settings.storage.log", "This app's log"),
|
||||
("settings.storage.cache", "Web content cache"),
|
||||
("settings.storage.recovery", "Recovery copies"),
|
||||
("settings.storage.clear", "Clear"),
|
||||
("settings.storage.clear_later", "Clear at next start"),
|
||||
@@ -92,7 +91,6 @@ pub(super) const ZH_CN: &[(&str, &str)] = &[
|
||||
("settings.git.bad", "{path} 不是 2.40 或更新的 Git:{error}"),
|
||||
("settings.storage", "存储"),
|
||||
("settings.storage.log", "本应用的日志"),
|
||||
("settings.storage.cache", "网页内容缓存"),
|
||||
("settings.storage.recovery", "恢复副本"),
|
||||
("settings.storage.clear", "清除"),
|
||||
("settings.storage.clear_later", "下次启动时清除"),
|
||||
|
||||
@@ -74,9 +74,7 @@ impl SettingsView {
|
||||
None => {}
|
||||
Some(Err(error)) => section = section.row(Banner::new("storage-unread", Severity::Danger, error.clone())),
|
||||
Some(Ok(usage)) => {
|
||||
// Only ElyMark keeps web content.
|
||||
let shown = usage.iter().filter(|(kind, ..)| *kind != Kind::Cache || self.app == ely_platform::AppId::Mark);
|
||||
for (kind, bytes, clearing) in shown {
|
||||
for (kind, bytes, clearing) in usage {
|
||||
section = section.row(row(*kind, *bytes, *clearing, this.clone(), cx));
|
||||
}
|
||||
}
|
||||
@@ -188,7 +186,6 @@ impl SettingsView {
|
||||
fn name(kind: Kind, cx: &App) -> SharedString {
|
||||
match kind {
|
||||
Kind::Log => text(cx, "settings.storage.log", &[]),
|
||||
Kind::Cache => text(cx, "settings.storage.cache", &[]),
|
||||
Kind::Recovery => text(cx, "settings.storage.recovery", &[]),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user