Skip to content

Commit b3e4f03

Browse files
committed
Release: v0.1.0
- Integrate official FSRS R calculation interface 接入fsrs官方R计算接口 - Optimize popup speed 优化popup弹出速度 - Add blank card feature, allowing users to create external problems 新增空白卡片功能,允许用户新建外部题目(其他网站题目或笔试原创题)
2 parents cc2f663 + be01cc0 commit b3e4f03

10 files changed

+328
-147
lines changed

README.md

Lines changed: 23 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -52,22 +52,6 @@
5252
![alt text](https://s2.loli.net/2025/02/20/CrmZewAQlWUNuc4.gif)
5353

5454

55-
# 🔑 Key Features / 主要特性
56-
1. Switch between LeetCode global and LeetCode China data through a slider toggle.
57-
58-
通过滑块切换LeetCode国际版以及力扣中国版的刷题数据。
59-
60-
2. Cloud synchronization of problem-solving data across Chrome and Edge browsers.
61-
62-
在chrome 和 edge浏览器,分别实现刷题数据云同步
63-
64-
3. Monitor entertainment websites, check daily review progress, and provide proactive reminders via pop-up notifications.
65-
66-
监控娱乐网站,检查每日复习情况,主动提醒弹窗
67-
68-
4. Support adding problem records via URL (for IDE problem-solving and casual browsing).
69-
70-
支持通过 URL 添加题目记录(配合 IDE 刷题,工位摸鱼专用)
7155

7256

7357

@@ -89,16 +73,33 @@
8973

9074
<br>
9175

92-
# 📝 Next Steps / 安排
76+
# 📝 安排
9377

9478
| 任务/功能 | 状态 | 备注 |
9579
|--------------------|------------|--------------------|
80+
| 多设备数据云同步 | ✅ 已完成 | Edge、Chrome |
9681
| 监控提醒 | ✅ 已完成 | bilibili、youtube |
97-
| 兼容`ctrl + enter` | ❌ 待完成 | 待评估工作量 |
98-
| 兼容火狐 | ❌ 待完成 | 待评估可行性 |
99-
| 兼容洛谷等其他刷题网站 | ❌ 待完成 | 待评估可行性 |
100-
101-
82+
| url添加力扣题目 | ✅ 已完成 | 配合 IDE 刷题,工位摸鱼专用 |
83+
| url添加自定义卡片 | ✅ 已完成 | 用于记录面试手撕题、其他刷题网站用户暂时替代方案 |
84+
| 不同网站题目数据源切换 | ❌ 待完成 | 待完成(目前仅支持力扣国际站和中国站,待兼容洛谷等) |
85+
| 兼容火狐 | ❌ 待完成 | 待评估可行性 |
86+
| 提供笔记功能 | ❌ 待完成 | 待评估可行性(浏览器存储数据上限可能无法支持) |
87+
| 接入Anki fsrs官方训练端口 | ❌ 待完成 | 待评估可行性(用户可拟合出最适合自己的记忆曲线) |
88+
| 兼容`ctrl + enter` | ❌ 待完成 | 目前优先级较低 |
89+
90+
91+
# 📝 Next Steps
92+
| Task/Feature | Status | Remarks |
93+
|-----------------------------|------------|-------------------------------------------------------------------------|
94+
| Multi-device cloud sync | ✅ Completed | Edge, Chrome |
95+
| Monitoring reminders | ✅ Completed | Bilibili, YouTube |
96+
| Add LeetCode URL | ✅ Completed | For use with IDE for problem-solving, perfect for stealth studying at work |
97+
| Add custom card URL | ✅ Completed | recording interview problems, serves as a temporary solution for other problem-solving websites |
98+
| Switch data sources for different websites | ❌ Pending | Pending completion (currently only supports LeetCode Global and China, pending compatibility with Luogu, etc.) |
99+
| Firefox compatibility | ❌ Pending | Pending feasibility assessment |
100+
| Provide note-taking feature | ❌ Pending | Pending feasibility assessment (browser storage data limits may not support) |
101+
| Integrate with Anki fsrs official training port | ❌ Pending | Pending feasibility assessment (users can fit their own optimal memory curve) |
102+
| Compatibility with `Ctrl + Enter` | ❌ Pending | Currently lower priority |
102103

103104

104105

changelog.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,16 @@
11
# Changelog
2+
## [0.1.0] - 2024-03-16
3+
### Fixed
4+
- Integrate official FSRS R calculation interface (#18
5+
接入fsrs官方R计算接口 (#18
6+
7+
- Optimize popup speed (#11
8+
优化popup弹出速度 (#11
9+
10+
### Added
11+
- Add blank card feature, allowing users to create external problems (#13#3)
12+
新增空白卡片功能,允许用户新建外部题目(其他网站题目或笔试原创题)(#13#3)
13+
214

315
## [0.0.10] - 2024-03-10
416
### Fixed

manifest.base.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"manifest_version": 3,
33
"name": "Leetcode Mastery Scheduler",
4-
"version": "0.0.10",
4+
"version": "0.1.0",
55
"author": "Hacode",
66
"description": "Leetcode-Mastery-Scheduler tracks your LeetCode progress and prompt you to review based FSRS",
77
"homepage_url": "https://github.com/xiaohajiayou/Leetcode-Mastery-Scheduler",

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Leetcode-Mastery-Scheduler",
3-
"version": "1.0.0",
3+
"version": "0.1.0",
44
"description": "<h1 align=\"center\">\r <img src=\"assets/logo2.png\" style=\"width: 10%;\" />\r <br>\r <B>P</B>ractice <B>M</B>akes <B>C</B>ode <B>A</B>ccepted\r <br>\r </h1>",
55
"main": "src/popup.js",
66
"directories": {

popup.html

Lines changed: 70 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -111,12 +111,47 @@
111111
<!-- 添加新建题目的弹窗 -->
112112
<div id="addProblemDialog" class="modal" style="display: none;">
113113
<div class="modal-content">
114-
<h3>Add New Problem</h3>
115-
<div class="form-group">
116-
<label for="problemUrl">Problem URL:</label>
117-
<input type="text" id="problemUrl" class="form-control"
118-
placeholder="https://leetcode.com/problems/..." />
114+
<h3>Add Review Card</h3>
115+
116+
<!-- 选项卡切换 -->
117+
<div class="tab-container">
118+
<div class="tab-buttons">
119+
<button id="urlTabButton" class="tab-button active">LeetCode Card</button>
120+
<button id="manualTabButton" class="tab-button">Blank card</button>
121+
</div>
122+
</div>
123+
124+
<!-- URL 输入表单 -->
125+
<div id="urlTab" class="tab-content active">
126+
<div class="form-group">
127+
<label for="problemUrl">Leetcode URL:</label>
128+
<input type="text" id="problemUrl" class="form-control"
129+
placeholder="https://leetcode.com/problems/..." />
130+
</div>
119131
</div>
132+
133+
<!-- 手动输入表单 -->
134+
<div id="manualTab" class="tab-content">
135+
<div class="form-group">
136+
<label for="problemName">Problem Name:</label>
137+
<input type="text" id="problemName" class="form-control"
138+
placeholder="例如: Two Sum" />
139+
</div>
140+
<div class="form-group">
141+
<label for="problemLevel">Level:</label>
142+
<select id="problemLevel" class="form-control">
143+
<option value="Easy">Easy</option>
144+
<option value="Medium">Medium</option>
145+
<option value="Hard">Hard</option>
146+
</select>
147+
</div>
148+
<div class="form-group">
149+
<label for="customUrl">Custom URL (Optional):</label>
150+
<input type="text" id="customUrl" class="form-control"
151+
placeholder="https://..." />
152+
</div>
153+
</div>
154+
120155
<div class="button-group">
121156
<button id="confirmAdd" class="btn btn-outline-warning custom-btn">Add</button>
122157
<button id="cancelAdd" class="btn btn-outline-secondary custom-btn">Cancel</button>
@@ -131,9 +166,18 @@ <h3>Add New Problem</h3>
131166
<!-- GitHub Star -->
132167
<!-- 先放一个占位符 -->
133168
<div id="github-star-container"
134-
data-bs-toggle="tooltip"
135-
data-bs-placement="top"
136-
title="A star from you would make our day! 🌟">
169+
data-bs-toggle="tooltip"
170+
data-bs-placement="top"
171+
title="A star from you would make our day! 🌟">
172+
<a href="https://github.com/xiaohajiayou/Leetcode-Mastery-Scheduler"
173+
target="_blank"
174+
style="text-decoration: none; display: inline-block; margin-right: 15px;">
175+
<img alt="GitHub"
176+
src="https://img.shields.io/badge/GitHub-%20Star%20Us-color%3D%2523%234a9d9c?style=flat&color=%234a9d9c
177+
"
178+
height="20"
179+
style="margin: 0; vertical-align: middle;">
180+
</a>
137181
</div>
138182

139183
<!-- 将 GitHub iframe 加载逻辑放在单独的脚本文件中 -->
@@ -296,11 +340,11 @@ <h3>Add New Problem</h3>
296340
<small>
297341
<div>
298342
<span class="update-badge">NEW!</span>
299-
新增评分按钮位置自定义 / Adjustable rating button position
343+
新增添加空白卡片功能(洛谷、原创笔试题) / Added blank card feature for Luogu and original interview questions.
300344
</div>
301345
<div>
302346
<a target="_blank" href="https://github.com/xiaohajiayou/Leetcode-Mastery-Scheduler/blob/main/changelog.md">
303-
View full changelog now(V0.0.10)
347+
View full changelog now(V0.1.0)
304348
</a>
305349
</div>
306350
</small>
@@ -326,7 +370,7 @@ <h3>Add New Problem</h3>
326370
box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
327371
">
328372
<!-- GitHub Star 按钮 -->
329-
<iframe
373+
<!-- <iframe
330374
src="https://ghbtns.com/github-btn.html?user=xiaohajiayou&repo=Leetcode-Mastery-Scheduler&type=star&count=true"
331375
frameborder="0"
332376
scrolling="0"
@@ -337,7 +381,21 @@ <h3>Add New Problem</h3>
337381
data-bs-placement="top"
338382
data-bs-title="A star from you would make our day! ✨"
339383
style="opacity: 0.9;"
340-
></iframe>
384+
></iframe> -->
385+
<div id="github-problems"
386+
data-bs-toggle="tooltip"
387+
data-bs-placement="top"
388+
title="A star from you would make our day! 🌟">
389+
<a href="https://github.com/xiaohajiayou/Leetcode-Mastery-Scheduler"
390+
target="_blank"
391+
style="text-decoration: none; display: inline-block; margin-right: 15px;">
392+
<img alt="GitHub"
393+
src="https://img.shields.io/badge/GitHub-%20Star%20Us-color%3D%2523%234a9d9c?style=flat&color=%234a9d9c
394+
"
395+
height="20"
396+
style="margin: 0; vertical-align: middle;">
397+
</a>
398+
</div>
341399

342400
<!-- 反馈按钮 -->
343401
<a href="https://github.com/xiaohajiayou/Leetcode-Mastery-Scheduler/issues"
@@ -349,7 +407,6 @@ <h3>Add New Problem</h3>
349407
style="
350408
font-size: 0.875rem;
351409
font-family: 'Courier Prime', monospace;
352-
padding: 0.5rem 1.2rem;
353410
background: #1d2e3d;
354411
border: 1px solid rgba(97, 218, 251, 0.3);
355412
color: #61dafb;

0 commit comments

Comments
 (0)