fix(plugin): browser-like UA for Cloudflare, detect current game, fix proton version, single-line notes

This commit is contained in:
2026-06-28 21:15:17 +08:00
parent 7ebb2669a1
commit 83ab7fa1e6
3 changed files with 65 additions and 19 deletions
@@ -186,16 +186,12 @@ export default function SessionForm({
</PanelSectionRow>
<PanelSectionRow>
<Field label="Notes" bottomSeparator="none">
<textarea
value={session.userNotes}
onChange={(e) => onUpdateSession({ userNotes: e.target.value })}
placeholder="Any observations about performance..."
rows={3}
maxLength={5000}
style={{ width: "100%", padding: "4px 8px", resize: "vertical" }}
/>
</Field>
<TextField
label="Notes"
value={session.userNotes}
onChange={(e) => onUpdateSession({ userNotes: e.target.value })}
placeholder="Any observations about performance..."
/>
</PanelSectionRow>
</PanelSection>
+5
View File
@@ -86,6 +86,11 @@ export const testApiKey = callable<[apiKey: string, baseUrl?: string], {
error?: string
}>("test_api_key")
export const detectCurrentGame = callable<[], {
appId: number | null
name: string
}>("detect_current_game")
export const debugListTmp = callable<[], {
files: Array<{ name: string; size: number; mtime: number }>
}>("debug_list_tmp")