Add shared records review pagination for all three exchanges.

Paginate trade records, journals, and AI history at 5 per page with soft in-card flips; hide the journal form until 填入复盘.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-07-17 11:52:02 +08:00
parent 57f8d6761c
commit d9b8069906
14 changed files with 999 additions and 361 deletions
@@ -95,6 +95,8 @@ function openAiInlineResultFullscreen(title, elementId){
const journalCache = {};
const reviewCache = {};
window.journalCache = journalCache;
window.reviewCache = reviewCache;
function formatJournalExitOneLine(o){
const t = (o.early_exit_trigger || "").trim();
@@ -579,7 +581,6 @@ function fillJournalFromTrade(t){
}
recomputeJournalRealRr();
if(typeof syncEarlyExitNoteRequired === "function") syncEarlyExitNoteRequired();
alert("已填入下方复盘表单,请手动补充主观原因.");
}
function recomputeJournalRealRr(){