xiyidaiwa
8888afd4f5
fix: PR 审查真实缺陷修复(图标错位/定时器清理/并发/统计同步)
...
- AppDetailModal: iconPath 改用 viewingOrigin 动态计算,修复合并源切换时图标与数据错位
- App.vue: onUnmounted 清理 saveBoundsTimer 防抖定时器,避免组件销毁后悬空 IPC 调用
- App.vue: loadHomeListEntries 串行 for-of 改 Promise.all 并发拉取,缩短首页入口加载
- InstalledAppsModal: 顶部统计徽章基于搜索过滤结果实时计算,修复搜索时数字不同步
(审查误报项已核实未改: fetchAppFromStore 已有 encodeURIComponent + AbortSignal)
2026-08-11 00:20:19 +08:00
xiyidaiwa
3f22207505
fix/refactor: 更新中心扫描与多项安全加固(经专业审计)
...
更新中心扫描修复:
- updateCenter.ts: 抽出 runSystemUpdateThenLoad, open/refresh 共用,
打开时即刷新双源(aptss ssupdate + apm update), 失败仅告警不阻断扫描
- shell-caller.sh: ssupdate 分支 exit $? 恒 0 吞掉刷新失败, 改为 exit $exit_code
- update-center/query.ts: 移除 nextVersion===currentVersion 误删真实更新项逻辑,
信任 aptss 上游 upgradable 判断
安全加固:
- AppDetailModal.vue: 新增 sanitizeMoreContent 剥除 HTML 标签后再 v-html, 防 XSS
- InstalledAppsModal.vue: ALLOWED_LOCAL_ICON_PREFIXES 收紧为具体子目录, 缩小
本地文件读取面
- install-manager.ts: filename 用 path.basename 防路径遍历; 包名/文件名 PKGNAME_PATTERN 校验
- index.ts: 临时目录改用 spark-store-${pid} 隔离, will-quit 清理对应目录
经 7 维度专业审计(安全/功能/类型/可维护/资源/性能/兼容)通过。
2026-08-10 21:42:36 +08:00
xiyidaiwa
b89c001401
refactor: 基于 upstream/Erotica 重新整合本地功能(来源选择/合并详情/计数/窗口/首页)
...
将本地在 upstream !408(已安装应用合并+统计)之上的后续改动重新整合到最新 upstream/Erotica:
- 已安装应用:卸载/打开按 APM/Spark 来源选择;计数总数=APM+Spark 包数(双来源计为独立包)
- 查看详情:已安装页复用所有应用页合并详情视图(单来源优先已装类型,双来源自动模式)
- 窗口:恢复阈值改为 1600x900,过大回退默认尺寸并居中,不自动最大化
- 首页推荐:致谢卡片移至其他内容下方,加大标题/卡片/致谢间距
- 隐藏排行榜/荣耀榜侧栏入口(代码保留,v-if=false)
- 新增 scripts/test-build.sh 测试打包脚本(版本末段+1 加 -test)并更新 AGENTS.md
冲突文件(index.ts/App.vue/InstalledAppsModal.vue)均取本地完整实现(为上游版本的超集)。
2026-08-03 11:06:28 +08:00
xiyidaiwa and shenmo7192
77b4244f1d
!408 refactor(已安装应用): 合并 APM/Spark 分页为列表标签并新增统计
...
Merge pull request !408 from xiyidaiwa/Erotica
2026-07-29 06:47:41 +00:00
xiyidaiwa
df8c2d7eaa
style: 统一滚动条外观并将投稿应用窗口改为圆角
...
- 滚动条:主进程对 Linux 关闭 overlay 滚动条
(disable-features=OverlayScrollbar),使 CSS ::-webkit-scrollbar 自定义生效;
全局统一定义亮色 #94a3b8 / 暗色 #15203b(带极淡描边),宽度 0.75rem,亮暗一致。
- 投稿页:修复滚动条贯穿整个窗口、侵入标题栏(改为 flex 分栏,
标题栏 shrink-0,内容区单独滚动)。
- 应用管理页:移除 scrollbar-nowidth 隐藏与 scrollbar-thumb-* 覆盖色,
改由全局规则统一,与其他页面一致。
- 圆角页面:投稿页与已安装应用页滚动容器内缩 (mr-4 mb-4),
避免滚动条滚入圆角被裁切。
- 投稿应用窗口:独立窗口改为透明圆角窗口 (transparent + rounded-3xl + shadow-2xl),
与弹框风格统一;挂载时 body 背景透明以露出圆角。
- 标题栏:左上角蓝色圆点替换为软件图标 spark-store.svg。
- 更新中心:搜索框对齐主页样式(左侧图标、统一圆角与配色)。
2026-07-22 01:19:52 +08:00
shenmo7192
937c0554ad
chore: 暂时关闭云端同步、收藏和评论功能
...
调整了多个页面的相关UI和逻辑代码,注释掉并隐藏了收藏、评论以及云端同步相关的按钮和实现逻辑,同时修改了侧边栏的品牌文案展示。
2026-07-14 14:21:35 +08:00
momen
439af8c26f
feat(account): polish reviews favorites and account UI
2026-05-29 21:34:42 +08:00
momen
839f4017f8
fix(sync): guard stale installed refreshes
2026-05-19 02:16:39 +08:00
momen
acffb6c5ee
feat(sync): add installed app cloud sync
2026-05-19 01:43:28 +08:00
zeqi and Gitee
4b37aa4da4
dark下的效果还是怪怪的重新改一下,还有统一应用管理和软件更新的按钮样式
...
Signed-off-by: zeqi <a202128502@163.com >
2026-05-03 02:35:28 +00:00
zeqi and Gitee
9c9f0b6076
优化dark模式下应用管理的关闭按钮和刷新按钮、软件更新的关闭按钮的hover效果
...
Signed-off-by: zeqi <a202128502@163.com >
2026-04-16 15:27:55 +00:00
momen
0b784af3d7
fix(sources): hide unavailable update and management entries
2026-04-16 13:04:54 +08:00
momen
f9aa31d257
fix(update-center): align modal actions and tests
2026-04-15 22:21:35 +08:00
momen
1410a80df5
fix(installed-apps): restore open and detail actions
2026-04-15 22:10:02 +08:00
shenmo7192
ca7520cb2e
fix(modal): 修复模态框滚动和点击事件处理
...
为多个模态框组件添加滚动和点击事件处理,防止背景滚动时内容滚动
当点击模态框背景时关闭模态框,同时阻止事件冒泡到内容区域
2026-04-12 21:34:51 +08:00
momen
71db2f2b71
fix: 现在软件管理器滚到底部后应用列表不会透滚
2026-04-12 19:44:54 +08:00
shenmo7192
593cb8ea75
feat(应用管理): 添加 APM 可用性检查并调整相关逻辑
...
当 APM 不可用时,自动切换到 Spark 应用管理
禁用 APM 软件标签页的切换按钮
移除侧边栏中 APM 可用性检查的冗余条件
2026-04-05 22:48:19 +08:00
shenmo7192
bcae531387
feat(组件): --no-spark时不展示 Spark 应用管理
...
在InstalledAppsModal和AppSidebar组件中添加storeFilter属性,用于控制不同应用商店的显示逻辑
2026-04-05 11:53:12 +08:00
momen
b836392ffb
update:应用列表中,spark软件列表加入图标
2026-03-31 20:31:45 +08:00
momen
fdb5f4a51c
update:apm管理改为应用管理
2026-03-31 20:25:44 +08:00
shenmo7192
cbea4745a5
fix(InstalledAppsModal): 添加点击遮罩层关闭模态框功能
2026-03-29 18:26:39 +08:00
shenmo7192
d8758834c3
APM 应用管理界面不再随着滚轮滚动
2026-03-24 21:20:59 +08:00
shenmo7192
7ff079276e
feat: 添加 APM 应用管理功能并优化界面
...
- 新增 APM 应用管理功能,支持显示已安装应用及其依赖项
- 优化已安装应用列表界面,增加应用图标和名称显示
- 调整顶部操作栏布局,将设置和关于按钮移至搜索框旁
- 修复类型定义,增加 isDependency 字段和更多应用信息
- 改进暗色模式下的界面显示效果
2026-03-24 20:47:55 +08:00
Elysia
6622e70033
refactor: improve code formatting and consistency across components
...
- Updated button and span elements in ThemeToggle.vue and TopActions.vue for better readability.
- Enhanced UninstallConfirmModal.vue and UpdateAppsModal.vue with consistent indentation and spacing.
- Refactored downloadStatus.ts and storeConfig.ts for improved code clarity.
- Standardized string quotes and spacing in typedefinition.ts and processInstall.ts.
- Ensured consistent use of arrow functions and improved variable declarations throughout the codebase.
2026-02-12 18:32:41 +08:00
Elysia
39e40ff946
feat: enhance application type definitions and improve app management logic
2026-01-31 17:48:06 +08:00
Elysia
3221cb6d5e
refactor: standardize app property names and improve TypeScript definitions
...
- Updated property names in AppCard.vue, AppDetailModal.vue, AppGrid.vue, and other components to use camelCase for consistency.
- Enhanced TypeScript definitions for props and emits in various components to improve type safety.
- Refactored download status handling in processInstall.ts to align with updated App interface.
- Improved error handling and type definitions in DownloadDetail.vue and related components.
- Added optional properties and refined existing interfaces in typedefinition.ts for better clarity and usability.
2026-01-31 17:16:02 +08:00
Elysia
61790a8588
feat: 更新模态框样式,添加最大高度限制
2026-01-31 09:55:25 +08:00
Elysia
588eaf9746
feat: 更新本地应用列表,区分依赖和用户安装的包
2026-01-31 01:07:05 +08:00
Elysia
eaa28686a3
perf: 移除模态框背景模糊效果
...
动态模糊背景太吃资源了,遂移除
2026-01-30 23:04:53 +08:00
Elysia
2625d24668
refactor: enhance UI components with improved styling and transitions
...
- Updated DownloadQueue.vue to use Tailwind CSS for styling and added transition effects for better user experience.
- Refactored InstalledAppsModal.vue to improve layout and responsiveness, incorporating Tailwind CSS styles.
- Enhanced ScreenPreview.vue with transitions and improved button styles for navigation.
- Revamped ThemeToggle.vue to provide a more modern toggle button design with accessibility features.
- Updated TopActions.vue to use Tailwind CSS for buttons and layout adjustments.
- Refined UpdateAppsModal.vue with a cleaner layout, improved button styles, and better handling of loading states.
2026-01-30 21:02:31 +08:00
Elysia
185b4984c6
feat: 更新窗口标题和尺寸,优化按钮样式
2026-01-28 20:59:25 +08:00
Elysia
ea0261a192
feat: 添加已安装应用和可更新应用的管理功能,支持卸载和升级操作
2026-01-28 18:14:04 +08:00