Docs: finish creating the overview of all online services

This commit is contained in:
Pieter Vander Vennet 2025-06-29 22:42:28 +02:00
parent e9209f6b7c
commit 2361fe5e83
17 changed files with 177 additions and 94 deletions

View file

@ -18,10 +18,11 @@ import UploadImage from "../Image/UploadImage.svelte"
import { VariableUiElement } from "../Base/VariableUIElement"
import Combine from "../Base/Combine"
import NoteCommentElement from "../Popup/Notes/NoteCommentElement.svelte"
import { ServerSourceInfo } from "../../Models/SourceOverview"
class CloseNoteViz extends SpecialVisualizationSvelte {
public readonly funcName = "close_note"
public readonly needsUrls = [Constants.osmAuthConfig.url]
public readonly needsUrls: ServerSourceInfo[] = [Constants.osmAuthConfig, Constants.panoramax]
public readonly docs =
"Button to close a note. A predefined text can be defined to close the note with. If the note is already closed, will show a small text."
public readonly args = [
@ -131,7 +132,7 @@ class AddImageToNote extends SpecialVisualizationSvelte {
},
]
group = "notes"
needsUrls = [Imgur.apiUrl, ...Imgur.supportingUrls]
needsUrls = []
constr(state, tags, args, feature) {
const id = tags.data[args[0] ?? "id"]