impr: add autofill autosubmit, show URL field always
This commit is contained in:
4 files changed
+42
-22
No files matched your search
@@ -151,7 +151,8 @@
|
||||
"normal": "Discussion",
|
||||
"poll": "Poll",
|
||||
"event": "Event"
|
||||
}
|
||||
},
|
||||
"autosubmit": "Submit automatically"
|
||||
},
|
||||
"profile": {
|
||||
"displayName": "Display name",
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user