rbetree
|
3473aaebd7
|
feat: 新增 icons.region 配置项&修改 favicon 加载超时机制&修复去除硬编码
- 新增 icons.region: com | cn 配置项,允许用户选择优先使用国内源或国外源
- com: 优先 gstatic.com,失败回退 gstatic.cn
- cn: 优先 gstatic.cn,失败回退 gstatic.com
- 修改 favicon 加载超时判断机制
- 自定义 faviconUrl: 5秒超时后显示回退图标
- 自动 favicon: 每次尝试3秒超时,最多等待6秒
- 更新配置文档和默认配置示例
- 去除卡片模板中的url硬编码
Issue: #31
|
2026-01-03 17:03:45 +08:00 |
|
rbetree
|
87b4cea290
|
feat: 重构搜索框样式
|
2026-01-02 23:02:02 +08:00 |
|
rbetree
|
0e151156df
|
feat: 优化各层级折叠与标题样式
- 优化完善各层级下的折叠样式;桌面端隐藏,悬浮动画等
- 优化各层级标题;固定标题前的图标宽度,对齐标题
|
2026-01-02 20:16:18 +08:00 |
|
rbetree
|
30d50ebcd7
|
fix: 修复外部资源、图标模式与嵌套交互(#30)
Fixes: https://github.com/rbetree/menav/issues/30
- Font Awesome:bootcdn→Cloudflare cdnjs
- favicon:gstatic `.com` 失败自动回退 `.cn`
- `icons.mode`:修复 `site.yml` 配置未生效(提升到顶层)
- 站点级图标覆盖:支持 `faviconUrl` / `forceIconMode`(优先级:`faviconUrl` > `forceIconMode` > `icons.mode`)
- 折叠交互:恢复二级分组折叠按钮(桌面端悬停显示)
- 新标签页:递归补齐多级 `sites.external` 默认值
|
2026-01-02 18:09:20 +08:00 |
|
rbetree
|
d2ceeb674f
|
refactor: 调整文章页卡片并排数
|
2025-12-28 19:40:38 +08:00 |
|
rbetree
|
4eea833f20
|
feat: 调整字体
|
2025-12-28 19:28:04 +08:00 |
|
rbetree
|
0f0c0a6163
|
docs: 更新文档
|
2025-12-28 14:36:28 +08:00 |
|
rbetree
|
387cd2492e
|
feat: 页面模板差异化改进 + 配置优化 + 兼容清理 (#29)
- 首页判定:navigation 第一项
- 模板:page/projects/articles/bookmarks/search-results
- bookmarks:update: YYYY-MM-DD | from: git|mtime
- articles:RSS 聚合只读条目 + 分类聚合 + 影子写回结构
- projects:repo 卡片 + 可选热力图 + 自动抓取元信息
- 工作流:构建前 sync + schedule 定时刷新
- 移除兼容:config.yml/config.yaml、navigation.yml、home 特例
- 迁移说明:config/update-instructions.md
|
2025-12-28 00:22:54 +08:00 |
|
rbetree
|
1475a8a0d3
|
fix: 加固扩展配置注入并缓存 getConfig
- configJSON 注入转义 </script,避免脚本块被提前终止(潜在注入)
- getConfig 解析结果缓存,避免重复 JSON.parse;支持 getConfig({ clone: true }) 返回副本
|
2025-12-26 15:23:44 +08:00 |
|
rbetree
|
e0e8ef39ee
|
refactor: 合并书签配置文件
- 将 bookmarks.yml 和 bookmarks-four-level.yml 合并为统一配置
- 添加2层、3层、4层结构的完整示例
- 删除 bookmarks-four-level.yml 文件
- 更新 site.yml 中的导航配置,移除重复的书签导航项
- 更新 config/README.md 中的文档引用
|
2025-12-26 14:55:15 +08:00 |
|
rbetree
|
704e895773
|
feat: 首页由 navigation 首项决定
- 移除 navigation.active 配置项,默认页以 navigation[0] 为准(生成端/前端一致)
- 注入 homePageId;首页渲染用 profile.title/profile.subtitle 覆盖 title/subtitle
- 模板按 homePageId 切换首页/非首页标题 DOM 与 data-editable,避免样式错位
- 更新默认配置与文档;书签导入不再写入 active 字段
- 新增/更新单测覆盖首页规则与 profile 覆盖
BREAKING CHANGE: 不再支持 navigation[].active;通过调整 navigation 顺序设置默认页/首页
|
2025-12-26 11:04:40 +08:00 |
|
rbetree
|
9929358d56
|
Merge branch 'main' of https://github.com/rbetree/menav
|
2025-12-23 16:18:01 +08:00 |
|
dependabot[bot]
|
49763a95cf
|
chore(deps): bump on-headers and serve (#25)
Bumps [on-headers](https://github.com/jshttp/on-headers) to 1.1.0 and updates ancestor dependency [serve](https://github.com/vercel/serve). These dependencies need to be updated together.
Updates `on-headers` from 1.0.2 to 1.1.0
- [Release notes](https://github.com/jshttp/on-headers/releases)
- [Changelog](https://github.com/jshttp/on-headers/blob/master/HISTORY.md)
- [Commits](https://github.com/jshttp/on-headers/compare/v1.0.2...v1.1.0)
Updates `serve` from 14.2.4 to 14.2.5
- [Release notes](https://github.com/vercel/serve/releases)
- [Commits](https://github.com/vercel/serve/compare/14.2.4...v14.2.5)
---
updated-dependencies:
- dependency-name: on-headers
dependency-version: 1.1.0
dependency-type: indirect
- dependency-name: serve
dependency-version: 14.2.5
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
2025-12-23 16:07:44 +08:00 |
|
rbetree
|
38a22e0171
|
docs: 更新readme
|
2025-12-23 15:47:02 +08:00 |
|
rbetree
|
ac14586845
|
fix: 修复移动端完整可视
|
2025-12-23 14:56:45 +08:00 |
|
rbetree
|
7fb4db06b9
|
feat: 更新readme
|
2025-12-23 03:19:32 +08:00 |
|
rbetree
|
ed435b3381
|
feat: 更新展示图
|
2025-12-23 02:43:55 +08:00 |
|
rbetree
|
92f2884541
|
feat: 更新logo
|
2025-12-23 02:28:07 +08:00 |
|
rbetree
|
ba78c8e564
|
feat: 微调ui布局
|
2025-12-23 02:04:55 +08:00 |
|
rbetree
|
03b743e337
|
refactor: 修改社交链接样式布局
|
2025-12-22 22:28:28 +08:00 |
|
rbetree
|
e2fae7f362
|
feat: 微调ui布局
|
2025-12-22 21:00:59 +08:00 |
|
rbetree
|
7d44930b59
|
feat: 移除首页顶部欢迎区的 description
|
2025-12-22 20:34:04 +08:00 |
|
rbetree
|
a59c37d5ba
|
refactor: 重构多层级设计
|
2025-12-22 20:02:44 +08:00 |
|
rbetree
|
2b366ae7ca
|
feat: 优化调整卡片样式布局
- 站点卡片改为紧凑布局并统一动态渲染
- 搜索框玻璃拟态与 Ctrl/Cmd+K 聚焦
|
2025-12-22 19:56:03 +08:00 |
|
rbetree
|
ecc5e287b5
|
refactor: 统一样式变量并规范过渡动画
|
2025-12-22 16:39:04 +08:00 |
|
rbetree
|
670e73e93c
|
fix: 补齐书签 subgroups 渲染并对齐 README
- 修复 subgroups 生成但不展示的问题(模板渲染 + 前端结构导出)
- 更新 README:配置示例/完全替换策略/多层级说明与 helper 文档,减少重复说明
|
2025-12-22 02:16:01 +08:00 |
|
rbetree
|
2daba411ba
|
docs: 更新重构各readme文件
|
2025-12-22 01:45:58 +08:00 |
|
rbetree
|
47e4369b09
|
chore: 安全升级并完善 CI/测试
- 升级 js-yaml 修复生产依赖漏洞
- 新增 CI:lint/test/build
- 增加书签处理单测与可测性导出"- 生成器补充 config/user 缺失提示
- 增加 lint/format/check 脚本与 Prettier 配置
- 统一行尾策略并支持书签确定性输出"
|
2025-12-22 00:44:51 +08:00 |
|
rbetree
|
7a7bf361e3
|
fix: 对齐配置策略并加固书签导入
1) src/bookmark-processor.js:加固书签导入
- config/user/ 不存在时先从 config/_default/ 初始化一套完整用户配置(符合“完全替换”策略)
- 优先更新 config/user/site.yml 的 navigation,确保包含 id: bookmarks;失败再兼容旧 navigation.yml
- 无 .html 书签文件时由报错改为警告并跳过,不阻塞流程
- 导航更新日志按结果输出,不再无条件“已更新”
2) config/README.md:修正文档
- 明确配置加载为“完全替换、不合并”
- 补充首次使用建议:复制 config/_default/ 到 config/user/
3) package.json:许可证对齐
- license 从 MIT 改为 AGPL-3.0-only(与 LICENSE/README 对齐)
4) .gitignore:忽略工具目录
- 新增忽略 .serena/
|
2025-12-22 00:19:44 +08:00 |
|
rbetree
|
b95a39db1d
|
refactor: 修改默认配置
|
2025-11-09 21:58:07 +08:00 |
|
rbetree
|
cc35e3e7c9
|
refactor: 修改项目logo
|
2025-11-09 21:50:31 +08:00 |
|
rbetree
|
c27464c452
|
docs: 更新readme文档
|
2025-11-09 21:49:35 +08:00 |
|
rbetree
|
3ae40b23d5
|
feat: 优化书签转换逻辑和分类嵌套结构
|
2025-11-01 00:19:30 +08:00 |
|
rbetree
|
dd6e688005
|
fix: 修复书签转换脚本
|
2025-10-31 00:53:08 +08:00 |
|
rbetree
|
cb144d5315
|
fix: 修复侧边栏切换图标错位
Close #21
|
2025-10-27 16:09:08 +08:00 |
|
rbetree
|
886bc464d1
|
feat: 新增'分类展开/收起'按钮
|
2025-10-27 15:01:17 +08:00 |
|
rbetree
|
153dee9dbc
|
feat: 调整卡片样式间距
|
2025-10-27 14:19:15 +08:00 |
|
rbetree
|
ee19312ef3
|
feat: 优化category与group栏样式效果
|
2025-10-26 19:56:55 +08:00 |
|
rbetree
|
009fe8dd98
|
fix: 去除废弃的restructure命令
|
2025-10-26 17:21:12 +08:00 |
|
rbetree
|
ce209d7346
|
feat: 去除条件判断,为所有结构添加下拉栏指示
|
2025-10-25 22:55:43 +08:00 |
|
coolzr
|
6bfaef04e7
|
fix: 修复站点卡片的悬浮效果被category遮住的问题
|
2025-10-24 14:17:36 +08:00 |
|
coolzr
|
da1e3fedd6
|
docs: 更新文档
|
2025-10-24 01:28:37 +08:00 |
|
coolzr
|
6359829298
|
fix: 去除 migrate-config.js 久配置迁移工具的支持
|
2025-10-24 01:26:32 +08:00 |
|
coolzr
|
ad3cba549b
|
feat: 所有页面支持1到4层级的嵌套结构
|
2025-10-24 00:40:43 +08:00 |
|
coolzr
|
8d4d76184d
|
fix: 加载中图标修复
|
2025-10-23 23:07:42 +08:00 |
|
coolzr
|
cceb83f9a5
|
feat: 将导航配置合并到站点配置中
- 将导航配置从独立的 navigation.yml 合并到 site.yml 中
- 更新 generator.js 以优先使用 site.yml 中的导航配置
- 添加回退机制,当 site.yml 中无导航配置时仍支持独立的 navigation.yml
|
2025-10-23 02:01:46 +08:00 |
|
coolzr
|
75bc6c0e39
|
fix: 修复clean命令
|
2025-10-22 14:21:15 +08:00 |
|
coolzr
|
656ad451b5
|
fix: 加载中图标修复
|
2025-10-20 02:14:04 +08:00 |
|
coolzr
|
807122437c
|
feat: 优化紧凑移动端布局
|
2025-10-19 22:02:10 +08:00 |
|
coolzr
|
a403cf8f0d
|
feat: 优化样式
|
2025-10-19 20:55:38 +08:00 |
|