Skip to content

Commit fb5a009

Browse files
authored
Merge pull request #34 from xiaohajiayou/dev
Feat: local fsrs infer complete without clound version
2 parents 8b25545 + 1f56cdb commit fb5a009

File tree

9 files changed

+1961
-1178
lines changed

9 files changed

+1961
-1178
lines changed

popup.html

+32
Original file line numberDiff line numberDiff line change
@@ -518,6 +518,38 @@ <h4 style="margin: 0; font-size: 0.95em; line-height: 1;">Active Reminder</h4>
518518
<small style="display: block; font-size: 0.8em;">2. Disable to stop all pop-up reminders</small>
519519
</div>
520520
</div>
521+
522+
<!-- FSRS参数优化卡片 -->
523+
<div class="option-card" style="padding: 12px;">
524+
<div style="display: flex; align-items: center; justify-content: space-between;">
525+
<div style="display: flex; align-items: center; gap: 12px;">
526+
<i class="fas fa-cogs" style="font-size: 0.95em; line-height: 1; position: relative; top: 7px;"></i>
527+
<h4 style="margin: 0; font-size: 0.95em; line-height: 1;">Fsrs Param Optim</h4>
528+
</div>
529+
<div style="display: flex; gap: 8px;">
530+
<button id="exportRevlogsBtn" class="btn btn-icon btn-icon-sm" data-bs-toggle="tooltip" data-bs-placement="top" title="导出记录">
531+
<i class="fas fa-file-export" style="font-size: 0.85em;"></i>
532+
</button>
533+
<button id="optimizeParamsBtn" class="btn btn-icon btn-icon-sm" data-bs-toggle="tooltip" data-bs-placement="top" title="优化参数">
534+
<i class="fas fa-magic" style="font-size: 0.85em;"></i>
535+
</button>
536+
</div>
537+
</div>
538+
539+
<div class="fsrs-info" style="padding: 8px; border-radius: 4px;">
540+
541+
<small style="display: block; margin-bottom: 2px; font-size: 0.8em;" class="reminder-tips">
542+
Current review count: <span id="revlogCount_en">0</span>
543+
</small>
544+
545+
<small style="display: block; font-size: 0.8em;" class="reminder-tips">
546+
Click to optimize FSRS parameters
547+
</small>
548+
<small style="display: block; font-size: 0.8em;" class="reminder-tips">
549+
(Fit best parameters when you have enough data.)
550+
</small>
551+
</div>
552+
</div>
521553

522554

523555

0 commit comments

Comments
 (0)