mirror of
https://github.com/discourse/discourse.git
synced 2025-04-26 21:54:32 +08:00
UX: Use simple list for settings without choice options (#10737)
It's a more user-friendly alternative to the default select-kit list, for settings that are simple lists of items (the regular list widget is better for settings with choice options).
This commit is contained in:
parent
cdf45f4fe6
commit
f55807922e
@ -50,6 +50,7 @@ required:
|
|||||||
exclude_rel_nofollow_domains:
|
exclude_rel_nofollow_domains:
|
||||||
default: ""
|
default: ""
|
||||||
type: list
|
type: list
|
||||||
|
list_type: simple
|
||||||
company_name:
|
company_name:
|
||||||
default: ""
|
default: ""
|
||||||
governing_law:
|
governing_law:
|
||||||
@ -148,6 +149,7 @@ basic:
|
|||||||
ga_universal_auto_link_domains:
|
ga_universal_auto_link_domains:
|
||||||
default: ""
|
default: ""
|
||||||
type: list
|
type: list
|
||||||
|
list_type: simple
|
||||||
gtm_container_id:
|
gtm_container_id:
|
||||||
client: true
|
client: true
|
||||||
default: ""
|
default: ""
|
||||||
@ -418,6 +420,7 @@ login:
|
|||||||
discord_trusted_guilds:
|
discord_trusted_guilds:
|
||||||
default: ""
|
default: ""
|
||||||
type: list
|
type: list
|
||||||
|
list_type: simple
|
||||||
external_auth_skip_create_confirm:
|
external_auth_skip_create_confirm:
|
||||||
default: false
|
default: false
|
||||||
client: true
|
client: true
|
||||||
@ -467,12 +470,15 @@ login:
|
|||||||
blocked_email_domains:
|
blocked_email_domains:
|
||||||
default: "mailinator.com"
|
default: "mailinator.com"
|
||||||
type: list
|
type: list
|
||||||
|
list_type: simple
|
||||||
allowed_email_domains:
|
allowed_email_domains:
|
||||||
default: ""
|
default: ""
|
||||||
type: list
|
type: list
|
||||||
|
list_type: simple
|
||||||
auto_approve_email_domains:
|
auto_approve_email_domains:
|
||||||
default: ""
|
default: ""
|
||||||
type: list
|
type: list
|
||||||
|
list_type: simple
|
||||||
hide_email_address_taken: false
|
hide_email_address_taken: false
|
||||||
log_out_strict: true
|
log_out_strict: true
|
||||||
pending_users_reminder_delay:
|
pending_users_reminder_delay:
|
||||||
@ -570,9 +576,11 @@ users:
|
|||||||
max: 36500
|
max: 36500
|
||||||
public_user_custom_fields:
|
public_user_custom_fields:
|
||||||
type: list
|
type: list
|
||||||
|
list_type: simple
|
||||||
default: ""
|
default: ""
|
||||||
staff_user_custom_fields:
|
staff_user_custom_fields:
|
||||||
type: list
|
type: list
|
||||||
|
list_type: simple
|
||||||
default: ""
|
default: ""
|
||||||
enable_user_directory:
|
enable_user_directory:
|
||||||
client: true
|
client: true
|
||||||
@ -598,6 +606,7 @@ users:
|
|||||||
allowed_user_website_domains:
|
allowed_user_website_domains:
|
||||||
default: ""
|
default: ""
|
||||||
type: list
|
type: list
|
||||||
|
list_type: simple
|
||||||
hide_suspension_reasons:
|
hide_suspension_reasons:
|
||||||
default: false
|
default: false
|
||||||
client: true
|
client: true
|
||||||
@ -1103,9 +1112,11 @@ email:
|
|||||||
auto_generated_allowlist:
|
auto_generated_allowlist:
|
||||||
default: ""
|
default: ""
|
||||||
type: list
|
type: list
|
||||||
|
list_type: simple
|
||||||
block_auto_generated_emails: true
|
block_auto_generated_emails: true
|
||||||
ignore_by_title:
|
ignore_by_title:
|
||||||
type: list
|
type: list
|
||||||
|
list_type: simple
|
||||||
default: ""
|
default: ""
|
||||||
mailgun_api_key:
|
mailgun_api_key:
|
||||||
default: ""
|
default: ""
|
||||||
@ -1225,6 +1236,7 @@ files:
|
|||||||
download_remote_images_threshold: 10
|
download_remote_images_threshold: 10
|
||||||
disabled_image_download_domains:
|
disabled_image_download_domains:
|
||||||
type: list
|
type: list
|
||||||
|
list_type: simple
|
||||||
default: ""
|
default: ""
|
||||||
create_thumbnails: true
|
create_thumbnails: true
|
||||||
clean_up_uploads: true
|
clean_up_uploads: true
|
||||||
@ -1487,6 +1499,7 @@ security:
|
|||||||
cors_origins:
|
cors_origins:
|
||||||
default: ""
|
default: ""
|
||||||
type: list
|
type: list
|
||||||
|
list_type: simple
|
||||||
keep_old_ip_address_count:
|
keep_old_ip_address_count:
|
||||||
default: 0
|
default: 0
|
||||||
hidden: true
|
hidden: true
|
||||||
@ -1508,6 +1521,7 @@ security:
|
|||||||
allowed_iframes:
|
allowed_iframes:
|
||||||
default: "https://www.google.com/maps/embed?|https://www.openstreetmap.org/export/embed.html?|https://calendar.google.com/calendar/embed?|https://codepen.io/"
|
default: "https://www.google.com/maps/embed?|https://www.openstreetmap.org/export/embed.html?|https://calendar.google.com/calendar/embed?|https://codepen.io/"
|
||||||
type: list
|
type: list
|
||||||
|
list_type: simple
|
||||||
client: true
|
client: true
|
||||||
allowed_crawler_user_agents:
|
allowed_crawler_user_agents:
|
||||||
type: list
|
type: list
|
||||||
@ -1584,6 +1598,7 @@ spam:
|
|||||||
allowed_spam_host_domains:
|
allowed_spam_host_domains:
|
||||||
default: ""
|
default: ""
|
||||||
type: list
|
type: list
|
||||||
|
list_type: simple
|
||||||
levenshtein_distance_spammer_emails:
|
levenshtein_distance_spammer_emails:
|
||||||
default: 2
|
default: 2
|
||||||
max: 3
|
max: 3
|
||||||
@ -1922,6 +1937,7 @@ uncategorized:
|
|||||||
permalink_normalizations:
|
permalink_normalizations:
|
||||||
default: ""
|
default: ""
|
||||||
type: list
|
type: list
|
||||||
|
list_type: simple
|
||||||
|
|
||||||
max_similar_results: 5
|
max_similar_results: 5
|
||||||
minimum_topics_similar: 50
|
minimum_topics_similar: 50
|
||||||
|
Loading…
x
Reference in New Issue
Block a user