fix(plugin): browser-like UA for Cloudflare, detect current game, fix proton version, single-line notes
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user