forked from MapComplete/MapComplete
UX: more work on a search function
This commit is contained in:
parent
3cd04df60b
commit
00ad21d5ef
30 changed files with 636 additions and 138 deletions
|
|
@ -321,7 +321,13 @@ export interface QuestionableTagRenderingConfigJson extends TagRenderingConfigJs
|
|||
editButtonAriaLabel?: Translatable
|
||||
|
||||
/**
|
||||
* What labels should be applied on this tagRendering?
|
||||
*
|
||||
* A list of labels. These are strings that are used for various purposes, e.g. to only include a subset of the tagRenderings when reusing a layer
|
||||
*
|
||||
* Special values:
|
||||
* - "hidden": do not show this tagRendering. Useful in it is used by e.g. an accordion
|
||||
* - "description": this label is a description used in the search
|
||||
*/
|
||||
labels?: string[]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -898,9 +898,7 @@ export default class TagRenderingConfig {
|
|||
].join("\n")
|
||||
}
|
||||
|
||||
public
|
||||
|
||||
usedTags(): TagsFilter[] {
|
||||
public usedTags(): TagsFilter[] {
|
||||
const tags: TagsFilter[] = []
|
||||
tags.push(
|
||||
this.metacondition,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue