Commit Graph

151 Commits

Author SHA1 Message Date
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
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
coolzr
cfcb4ab15c fix: 修复搜索框样式 2025-10-19 02:57:25 +08:00
coolzr
c014f96a4d feat: 优化侧边栏动画和样式布局 2025-10-19 02:39:03 +08:00
coolzr
139c21ebe4 feat: 优化搜索框样式 2025-10-19 01:49:15 +08:00
coolzr
9e2a8b0da4 feat(readme): 更新文档和配置注释 2025-10-19 01:12:44 +08:00
coolzr
aa264cc727 feat(icons): 添加favicon模式,自动匹配图标
- 新增配置 icons.mode(manual | favicon),默认 favicon,未配置场景下自动生效
- 模板调用 t3.gstatic.com/faviconV2 获取站点图标;加载中显示旋转占位,失败回退至 Font Awesome 图标
- 新增 ifHttpUrl 与 encodeURIComponent,提升模板安全性与可读性
- 搜索索引优先读取 .icon-fallback,保证 favicon 模式下图标类名一致
- 样式新增 .favicon-icon 与 hover 效果,维持卡片观感一致性
2025-10-18 23:50:53 +08:00
coolzr
95398e074a fix: 修复主题偶发渲染错误与闪烁
1. CSS 主题预加载: 浅色变量同时应用到 html.theme-preload,避免首帧读取到暗色变量导致的错色与闪烁
2. transition:
	- 移除会引起首帧抖动的相关transition:侧边栏的 width/transform 和 .content 的 transition
	- 新增作用域类 .with-anim,仅在交互(点击折叠按钮)时启用侧边栏transition,首屏不加载动画
3. 页面与分类卡片动画:
	- 移除 .page.active 的位移动画,保留透明度过渡
	- 移除 .category 的进入动画(opacity:0 + fadeIn),避免分类卡片在切页时产生浮动效果

脚本调整: 在 toggleSidebarCollapse 时添加 documentElement.with-anim,使布局过渡仅在用户交互时生效

Fixes #17
2025-10-18 17:16:15 +08:00
coolzr
354a069cd6 Merge branch 'main' of https://github.com/rbetree/menav 2025-10-14 19:34:51 +08:00
coolzr
6447abef3a feat: 完善MeNav浏览器扩展API规范实现 2025-10-14 19:34:47 +08:00
nsnans
338d0304d1 feat(search): 引入拼音搜索
* add pinyin search

* style(highlight): keep theme-aware background

- restore theme-aware .highlight with --highlight-bg

- add highlight vars for light/dark

chore: load pinyin lib before script.js

- ensure pinyin-match.js loads before script.js to avoid runtime dependency issues

docs: add third-party notice for pinyin-match

- add placeholder notice; replace with upstream license after verification

---------

Co-authored-by: neo <neo@example.com>
Co-authored-by: Maintainer (PR Edit) <maintainer@local>
2025-10-14 03:49:17 +08:00
coolzr
e5fc71aee8 feat: 去除多余的data-editable属性 2025-08-02 18:08:29 +08:00
coolzr
391be05a08 fix: 统一链接打开行为为新标签页打开
- 扩展ensureConfigDefaults函数处理所有页面站点数据
- 修复configJSON数据传递问题
- 确保所有站点默认设置external: true

Closes #14
2025-07-30 00:57:43 +08:00
Zuoling Rong
217324f743 fix: 优化侧边栏显示 2025-07-07 13:45:12 +08:00
Zuoling Rong
5f382d2540 fix: 优化明暗切换按钮样式 2025-07-07 02:12:29 +08:00