impr: add autofill autosubmit, show URL field always

This commit is contained in:
Xylight committed 2025-11-28 11:20:14 -08:00
1 parent e8fff535ca
commit 22bdfc8ae9
4 files changed
+42 -22

No files matched your search

+2 -1
View File
@@ -151,7 +151,8 @@
"normal": "Discussion",
"poll": "Poll",
"event": "Event"
}
},
"autosubmit": "Submit automatically"
},
"profile": {
"displayName": "Display name",
+7 -1
View File
@@ -89,6 +89,9 @@ interface Settings {
reverseActions: boolean
titleOpensUrl: boolean
}
forms: {
autosubmitAutofill: boolean
}
infiniteScroll: boolean
language: string | null
useRtl: boolean
@@ -103,7 +106,7 @@ interface Settings {
}
export const defaultSettings: Settings = {
settingsVer: 6,
settingsVer: 7,
expandableImages: toBool(env.PUBLIC_EXPANDABLE_IMAGES) ?? true,
markReadPosts: toBool(env.PUBLIC_MARK_READ_POSTS) ?? true,
showInstances: {
@@ -169,6 +172,9 @@ export const defaultSettings: Settings = {
reverseActions: toBool(env.PUBLIC_REVERSE_ACTIONS) ?? false,
titleOpensUrl: toBool(env.PUBLIC_TITLE_OPENS_URL) ?? false,
},
forms: {
autosubmitAutofill: false,
},
infiniteScroll: true,
language: env.PUBLIC_LANGUAGE ?? null,
useRtl: false,