Skip to content

TrayClip v0.3.0

Choose a tag to compare

@github-actions github-actions released this 03 Nov 14:36
  • Added a parameter to ClipList and ClipCard components to display current timestamps, improving time presentation.
  • Enhanced icon display for different clipboard content types in ClipCard; added lazy loading for image thumbnails and logic for displaying file paths.
  • Introduced a control property for displaying group names for clipboard items, and refined the styling for group names and timestamps.
  • Optimized keyboard interactions within the clipboard list to prevent conflicts between the 'Enter' key and focus management.
  • Refined the logic for inserting clipboard records into the database by distinguishing how file path summaries are handled, ensuring that content summaries do not interfere with hash generation.
  • Ensured that the source application information is preserved during re-copying, preventing it from being incorrectly overwritten.
  • Added unit tests for clipboard hash compatibility (specifically for file paths) and the re-copying logic.
  • Implemented drag-to-scroll functionality in the GroupBar component to improve the user experience for the group tab bar.
  • Adjusted button sizes and styles in the GroupSelect component to ensure a consistent UI.
  • Added clip-actions styling to manage the opacity and clickability states of clipboard action buttons.
  • Updated Vite configuration to exclude the background source code directory from file-watching, preventing unnecessary rebuilds.
  • Added test scripts for the clip-time utility library to verify time formatting—covering Chinese/English localization and edge cases for relative time.
  • 在 ClipList 和 ClipCard 组件中新增了显示当前时间戳的参数,优化了时间信息的呈现方式。
  • 增强了 ClipCard 中针对不同剪贴板内容类型的图标显示;引入了图片缩略图的懒加载机制,并添加了文件路径的显示逻辑。
  • 新增了用于显示剪贴板项目所属组名称的控制属性,并优化了组名称与时间戳的样式。
  • 优化了剪贴板列表中的键盘交互逻辑,解决了“回车”键(Enter)与焦点管理之间的冲突。
  • 改进了剪贴板记录存入数据库的逻辑,区分了文件路径摘要的处理方式,确保内容摘要不会干扰哈希值的生成。
  • 确保在重新复制(re-copying)操作时保留来源应用程序信息,防止其被错误覆盖。
  • 针对剪贴板哈希兼容性(特别是针对文件路径)及重新复制逻辑增加了单元测试。
  • 在 GroupBar 组件中实现了“拖拽滚动”功能,提升了分组标签栏的用户体验。
  • 调整了 GroupSelect 组件中按钮的尺寸与样式,以保持界面(UI)的一致性。
  • 添加了 clip-actions 样式,用于管理剪贴板操作按钮的不透明度及可点击状态。
  • 更新了 Vite 配置,将后台源代码目录排除在文件监听范围之外,避免了不必要的重新构建。
  • 为 clip-time 工具库添加了测试脚本,用于验证时间格式化功能——涵盖了中英文本地化支持以及相对时间的各种边界情况。