Skip to content

Releases: jy324/Local-Capture

v0.9.7 Composer + tag cloud + card rhythm

Choose a tag to compare

@jy324 jy324 released this 15 Jun 05:47

三个小细节,强化记录主流程的视觉节奏

C Composer 保存按钮全宽

原本「笔记 / 任务」段控件 + 紧凑的「保存」按钮平分横向空间。现在保存按钮 flex: 1 撑满剩余宽度 + 32px 高度——主操作是唯一明显的最大点击区。

D 标签云 overflow 指示

标签 > 18 时显示「+N 更多」虚线按钮;点击展开把高度限制提到 320px 并允许滚动,再点击「收起」回到默认。原本超过 18 个标签直接被裁切且没有提示。

#9 卡片间细分隔节奏

卡片之间从 12px 透明空隙改成 1px 浅色 hairline + 两侧 8% 留白。卡片外边框降到 75% 透明,整体读起来像「条目的节奏」而不是「盒子的堆叠」。


安装方式不变:BRAT 订阅 / 手动复制 main.js + manifest.json + styles.css 到 .obsidian/plugins/local-capture/。

v0.9.6 Card actions overflow + BatchBar select-all

Choose a tag to compare

@jy324 jy324 released this 15 Jun 05:40

结构性改动(v0.9.4-0.9.5 是纯 CSS 打磨,本版开始动 React 结构)

#3 卡片操作 OverflowMenu

新增 src/ui/shared/OverflowMenu.tsx —— 可复用的 React Portal 弹出菜单(点击外部 / Escape 关闭,position:fixed 避免被父元素 overflow:hidden 裁掉)。

卡片头从原本 6-7 个平级图标按钮(pin / edit / send / open / archive / restore / delete + 任务勾选)压缩到只剩 pin / edit / ⋯,其它收进 ⋯ 弹出菜单。删除项使用 destructive 色 hover。

#7 选择结果归位 BatchBar

"选择结果"按钮从 FilterBar 工具行移除。BatchBar 新增 "全选 / 取消" 切换按钮,标题动态显示要操作的可见条数。首次选择仍通过点击单个卡片的 checkbox 触发——简单直观。

B 表格列控制 popover 化

原本常驻一行的 "时间 类型 状态 标题 标签" 复选框组改成表格上方一个小巧的 ⚙ 列按钮,点击展开同样内容的 popover。


视觉效果:FilterBar 不再有孤悬的「选择结果」按钮;每张卡片头部图标减半,呼吸感明显提升;表格视图启动时不再被一行复选框抢占注意力。

安装方式不变:BRAT 订阅 / 手动复制 main.js + manifest.json + styles.css 到 .obsidian/plugins/local-capture/。

v0.9.5 Design Polish + Animation Fix

Choose a tag to compare

@jy324 jy324 released this 15 Jun 01:47

Bug fix

  • 高级筛选展开/折叠动画不稳定:AdvancedFiltersBody 函数体里残留了与 v0.9.4 新加动画容器同名的 .local-capture-advanced-body 元素,CSS display: grid; grid-template-rows: 0fr 同时命中两层;内层永远没有 is-expanded。修复方式:内层改为 React Fragment,子节点直接挂到外层的 .local-capture-advanced-inner flex 列布局。

设计提升(第二轮,仍是纯 CSS + 极小组件改动)

  • 卡片头部类型「笔记」「任务」做成微徽章(笔记灰色 outline、任务 accent outline + 浅色底)
  • 卡片头部非活跃状态(归档/删除)显示状态徽章(浅灰底)
  • 卡片底部标签从纯紫色文字升级为 outlined pill(圆角 + 浅色背景 + 支持 tag color)
  • 去掉卡片 footer 与 header 重复的时间戳;无标签时整个 footer 不渲染
  • Composer / 编辑 textarea 加 inset 阴影 + 略强 border,未聚焦时也有清晰边界
  • 状态 tab 与视图 tab 之间加竖线分隔
  • BatchBar 操作按钮分组(发送/标签/类型 | 归档/恢复/删除 | 关闭):中间加 1px 竖线分隔,删除按钮 hover 变 destructive 色(红/警示)

安装方式不变:BRAT 订阅 / 手动复制 main.js + manifest.json + styles.css 到 .obsidian/plugins/local-capture/。

v0.9.4 Design Polish

Choose a tag to compare

@jy324 jy324 released this 04 Jun 16:11

设计感提升(纯视觉升级,无功能变更)

微交互与过渡

  • 所有按钮、标签、热力图 cell 加入 CSS transition(140ms ease)
  • 图标按钮 hover 微放大,保存按钮 hover 微抬+阴影
  • 卡片 hover 浮起阴影

空间层次

  • Composer 区域抬起(shadow 替代 border),视觉重心突出
  • 筛选区压紧,高级筛选内凹背景
  • 内容区间距放宽

卡片精修

  • 圆角 8→10px,正文内边距加大
  • 选中态:accent 光环 + 浅色背景
  • 归档态:虚线边框;删除态:去饱和淡化
  • 内部分割线减淡

输入聚焦态

  • textarea/搜索框 focus 时 accent 色光环
  • placeholder 斜体风格

BatchBar 选择模式

  • 入场滑入动画 + accent 背景/底边
  • 计数数字变为徽章样式

高级筛选展开动画

  • grid-template-rows 平滑展开/收起过渡

排版与空状态

  • tabular-nums 对齐时间戳,激活态加粗
  • 首次运行引导:卡片式容器 + 图标呼吸动画
  • spinner 增大,图标加大

无障碍

  • prefers-reduced-motion 支持:所有动画/过渡自动禁用

安装方式不变:BRAT 或手动复制 main.js / manifest.json / styles.css 到 .obsidian/plugins/local-capture/。

0.9.3

Choose a tag to compare

@jy324 jy324 released this 04 Jun 04:18

Changes

  • Added edit draft protection so card edits keep a single active draft session while the view re-renders, filters, or virtualized rows unmount.
  • Added confirmation modals for discarding unsaved card edits and overwriting a capture body when the source file changed during editing.
  • Added keyboard support for card editing with Ctrl/Cmd+Enter to save and Esc to cancel through the same confirmation flow.
  • Improved narrow sidebar card edit layout and added ob-dev QA screenshots for edit draft protection.

Verification

  • npm run typecheck
  • npm test
  • npm run verify:release
  • npm run qa:vault -- "D:\Documents\Projects\ob-dev"
  • Obsidian CLI smoke check: plugin version 0.9.3, Local Capture commands registered, no captured errors.

Local Capture 0.9.2

Choose a tag to compare

@jy324 jy324 released this 03 Jun 17:07

Changes

  • Added guarded error handling for commands, view actions, modals, and table/batch controls so failed async actions show user-facing notices.
  • Reworked folder creation and diagnostics probes to use Obsidian Vault APIs instead of direct adapter writes.
  • Added bounded, pending-aware index rebuilds for large vaults and overlapping rebuild requests.
  • Split agent, QA, release, and Obsidian review guidance into focused docs.
  • Added regression tests for action error reporting, vault folder/diagnostics behavior, and index rebuild concurrency.

Validation

  • npm run typecheck
  • npm test
  • npm run verify:release
  • npm run qa:vault -- D:\Documents\Projects\ob-dev
  • Obsidian CLI plugin/version, command registration, and dev:errors checks

Local Capture 0.9.1

Choose a tag to compare

@jy324 jy324 released this 02 Jun 16:46

Local Capture 0.9.1

Stability patch for v0.9.

  • Fixed empty-vault rebuild state so first-run empty state appears after indexing completes.
  • Fixed batch tag remove/replace synchronization for inline body tags.
  • Added bounded concurrency for batch writes and queued duplicate index refresh events.
  • Added release verification, expanded tests, and updated ob-dev QA docs/screenshots.
  • Added AGENTS.md with implementation, Obsidian lint, commit, tag, and release requirements.

Verification:

  • npm run typecheck
  • npm test
  • npm run verify:release
  • npm run qa:vault -- D:\Documents\Projects\ob-dev

Local Capture 0.9.0

Choose a tag to compare

@jy324 jy324 released this 02 Jun 03:57

工程稳定 + 体验减压版本。

修复

  • 数据安全 bug:在时间线编辑正文、或重命名/删除标签时,不再静默删除用户自定义 frontmatter(aliases、cssclass 等)。正文与 frontmatter 写入路径已隔离。

性能

  • 索引排序缓存、Set 选择(每行 O(1))、Fuse 搜索 memo + 防抖、表格视图虚拟化。
  • 新增 1k/5k/10k 记录的性能回归测试。

界面

  • 侧栏渐进式披露:保存查询 / 标签云 / 热力图收进可折叠「高级筛选」。
  • 全局操作(重建 / 摘要 / 诊断 / 标签管理)移到视图头部。
  • 区分首次运行引导、无匹配、加载三种空状态,露出快捷键提示。

重构

  • 890 行的主组件拆分为 components/ + hooks/,新增 frontmatter 保护测试。

安装

将 main.js、manifest.json、styles.css 放入 <vault>/.obsidian/plugins/local-capture/,或通过 BRAT 安装。