web: base custom instance functionality

also:
- renamed processing tab in settings to "instances"
- improved override description
- prefer custom over override (and grey out the option)
- dedicated lib for all api safety warnings
- left aligned small popup with smaller icon
- ability to grey out settings category & toggle
This commit is contained in:
wukko
2024-08-30 17:15:05 +06:00
parent 70c1a85766
commit 33d6b5bd81
16 changed files with 278 additions and 39 deletions

View File

@@ -6,7 +6,7 @@
"page.download": "downloading",
"page.advanced": "advanced",
"page.debug": "debug information",
"page.processing": "processing",
"page.instances": "instances",
"section.general": "general",
"section.save": "save",
@@ -112,5 +112,10 @@
"processing.override": "default instance override",
"processing.override.title": "use instance-provided processing server",
"processing.override.description": "cobalt will use the processing server from DEFAULT_API when this is enabled. this is a temporary description."
"processing.override.description": "if web instance provides its own default processing server, you can choose to use it over the main processing server. make sure it's a server by someone you trust.",
"processing.community": "community instances",
"processing.enable_custom.title": "use a custom processing server",
"processing.enable_custom.description": "cobalt will use a custom processing server if you choose to. even though cobalt has some security measures in place, we are not responsible for any damage done via a community instance, as we have no control over them.\n\nplease be mindful of what instances you use and make sure they're hosted by people you trust."
}