Skip to content

Releases: 200762zzy/LeetRev

v0.8.1

22 Jun 09:16

Choose a tag to compare

回退Android平板适配,修复桌面版稳定性

v0.8.0 – Android平板适配

22 Jun 07:25

Choose a tag to compare

v0.8.0 – Android平板适配

🚀 新增

  • Android平板适配:侧边栏→抽屉导航、底部Tab栏、响应式Grid布局
  • 触摸反馈优化:按钮 active:scale 动画、触摸目标最小 44px
  • Review Heatmap 热力图:SVG GitHub风格贡献图,显示一年回顾记录

✨ 改进

  • 全局 Review History 历史页:搜索、排序、统计看板
  • 单题 SM-2 参数:ease_factor、interval_days、repetitions、next_review 完整展示
  • 自定义 API 草稿自动保存:localStorage 保存 + 草稿指示器(琥珀色圆点)
  • 按钮全屏编码、LeetCode 提交集成:cookie 配置后可一键提

🔧 技术

  • 最低支持 Android 7.0 (API 24)
  • Tauri v2 + React 19 + Rust 全离线架构
  • 本地 SQLite + 间隔重复算法 (SM-2)

v0.7.0

18 Jun 15:18

Choose a tag to compare

What's New

  • Review Heatmap — GitHub-style contribution grid showing daily review counts for the past 364 days, with color intensity based on review frequency. Hover to see exact date and count.
  • SVG Cell Color Fix — Heatmap cells now use proper SVG fill colors (fill-*) instead of HTML background classes, eliminating black squares.

Full Changelog

  • Version: 0.6.0 -> 0.7.0
  • 12 files changed, 170 insertions(+), 6 deletions(-)
  • New: src/components/ReviewHeatmap.tsx
  • Updated: CSDN.md, README.md, Welcome.tsx (heatmap integration)
  • Backend: ReviewHeatmapEntry model, get_review_heatmap query/command

v0.6.0

18 Jun 15:01

Choose a tag to compare

What's New

  • Review History Page — Global review history page with SM-2 full parameters (ease factor, interval, repetitions, next review). Stats bar, search, sortable table, one-click navigation to problem detail.
  • ReviewRecord Extended — Review records now carry ease_factor, interval_days, repetitions, next_review. Enhanced per-problem display in ProblemDetail.
  • Draft Auto-Save for Custom API — Form content auto-saved to localStorage on every change + immediately on close. Amber dot indicator on plus button when draft exists.
  • README updated with new feature documentation.

Full Changelog

  • Version: 0.5.1 -> 0.6.0
  • 16 files changed, 348 insertions(+), 27 deletions(-)
  • New: src/pages/ReviewHistory.tsx
  • Enhanced: ReviewRecord (SM-2 fields), CustomApiForm (draft), ApiSearch (draft indicator), ProblemDetail (enhanced table)

v0.5.1

17 Jun 03:17

Choose a tag to compare

v0.5.1

新增

  • 多解法模块: 每题可创建命名解法 (标题+代码+复杂度+描述), 支持排序/编辑/删除; 复习时自动参考
  • 新建解法自动从 LeetCode 拉取函数签名模板

修复

  • 修复同步时标签抓取不全: 自动创建缺失标签 (前缀和、线段树等 50+ 个), 无需手动添加
  • 同步时所有题目重新拉取标签, 不限于新导入题目
  • 修复多解法 Mutex 死锁导致程序未响应
  • 多解法保存失败时弹出错误提示, 不再静默忽略

改进

  • 题目详情页: 新增多解法管理模块, 支持 ↑↓ 排序
  • 复习对比阶段: 展示该题所有参考解法
  • 更新 README

v0.5.0

16 Jun 12:08

Choose a tag to compare

v0.5.0

修复

  • Accepted 提交后不再直接 下一题, 而是强制进入评分阶段, 用户必须 SM-2 自评后才能继续
  • Scratchpad 文字/画板内容拆分存储为 JSON({text,drawing}), 切换模式不再丢失数据
  • 后向兼容纯文本/data:image 旧数据

新增

  • Canvas 画板新增框选(select)工具: 拖拽绘制虚线选区, 拖拽选区移动像素, Escape 清选区
  • Scratchpad 从 overlay 改造为内联面板(flex gap-0), 左侧 1/3 只显示题目描述

v0.4.0

16 Jun 11:13

Choose a tag to compare

v0.4.0

新增功能

  • 复习页拆分「系统复习」「专栏复习」两个 Tab,专栏复习展示标签网格及到期题数
  • 标签过滤复习:题目详情页「去复习」按钮跳转至该题队列顶部
  • 新增「下一题」跳过按钮(可不记录复习直接进入下一题)
  • 侧边栏新增「复习」导航入口
  • CodeMirror 启用自动换行,防止长参数行撑裂布局

修复

  • 修复添加自定义 API 时因 Mutex 死锁导致的程序卡死
  • 左上角返回按钮改为返回上一页(navigate(-1))而非强制回到首页

v0.3.0

16 Jun 08:39

Choose a tag to compare

新增

  • 草稿板:复习时拉出侧边抽屉,支持文本笔记和 Canvas 画板双模式
    • 文本模式:记录思路、伪代码、测试用例
    • 画板模式:画笔、颜色、粗细、橡皮擦、矩形/椭圆/直线、撤销/重做
    • 按题目自动保存,下次复习恢复
  • AGENTS.md:新增 AI 助手指南文件

其他

  • README 全部改为中文,补充草稿板使用说明
  • 更新版本号至 v0.3.0

v0.2.1

16 Jun 07:08

Choose a tag to compare

What's New

  • Custom API Entries: Add/edit/delete custom C++ STL API entries from the UI while coding
  • Fullscreen Code Editor: One-click toggle for distraction-free coding (Maximize2/Minimize2)
  • LeetCode Submit in Review: Submit code to LeetCode from recall stage; auto-saves code + notes on Accepted
  • Submit Blocking: Failed submissions block reveal until resubmitted (with bypass option)
  • 93 Method-Level C++ Entries: Vector, string, map, set, stack, queue, priority_queue, deque, pair/tuple, algorithm
  • Cookie-aware UI: Submit button hidden when no LeetCode session cookie configured
  • README updated with new feature documentation

Changes

  • Version: 0.1.0 -> 0.2.1
  • 26 files changed, 4019 insertions(+), 388 deletions(-)
  • New: ApiSearch.tsx, CustomApiForm.tsx, stl.ts (93 entries)
  • Updated: ReviewSession.tsx (fullscreen + submit), types, commands, db, models

LeetRev v0.1.0

12 Jun 06:37

Choose a tag to compare

新增

  • 复习模式:基于 SM-2 间隔重复算法,Recall → Reveal → Rated 三阶段流程
  • 内置代码编辑器:复习时可直接写代码,自动填充 LeetCode 模板,评分后自动保存
  • 同步历史 AC 代码:从 LeetCode REST API 批量拉取已通过代码(设置页)

修复

  • 修复 csrf token 检测误匹配问题
  • 修复 SM-2 算法 hard 评分过于严苛(quality 0 → 1)
  • 移除不稳定的 LeetCode HTML scraping,改用 API 方式

技术

  • Tauri v2 + React 19 + Rust
  • 本地 SQLite 存储,完全离线可用