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:
@@ -9292,6 +9292,21 @@ def api_journal_upload_slot():
|
||||
return jsonify(payload), code
|
||||
|
||||
|
||||
from lib.instance.records_api_register import register_trade_records_api
|
||||
|
||||
register_trade_records_api(
|
||||
app,
|
||||
login_required=login_required,
|
||||
get_db=get_db,
|
||||
list_window_from_request=_list_window_from_request,
|
||||
utc_window_to_bj_sql_strings=utc_window_to_bj_sql_strings,
|
||||
sql_list_time_field=sql_list_time_field,
|
||||
to_effective_trade_dict=to_effective_trade_dict,
|
||||
filter_trade_records_excluding_miss=filter_trade_records_excluding_miss,
|
||||
app_tz=APP_TZ,
|
||||
)
|
||||
|
||||
|
||||
@app.route("/api/journals")
|
||||
@login_required
|
||||
def api_journals():
|
||||
|
||||
Reference in New Issue
Block a user