:xap: Open tooltip links on new tab (#2106)

*  Create mixin

*  Implement mixin

* 🔥 Remove hardcoded attribute

* 🔨 Refactor mixin into helper

* 🔨 Refactor string replacement

* ✏️ Unrelated description fixes

*  Simplify helper import
This commit is contained in:
Iván Ovejero
2021-08-26 19:42:38 +02:00
committed by GitHub
parent 0f072f9b98
commit 176e475c8e
66 changed files with 119 additions and 104 deletions

View File

@@ -432,7 +432,7 @@ export const objectFields = [
{
name: 'Geographic Search',
value: 'geographic_search',
description: `Use to test if the current thing is within a radius from a central address. To use this, the value sent with the constraint must have an address and a range. See <a href="https://manual.bubble.io/core-resources/api/data-api" target="_blank">link</a>.`,
description: `Use to test if the current thing is within a radius from a central address. To use this, the value sent with the constraint must have an address and a range. See <a href="https://manual.bubble.io/core-resources/api/data-api">link</a>.`,
},
],
default: '',
@@ -471,7 +471,7 @@ export const objectFields = [
},
},
placeholder: `[ { "key": "name", "constraint_type": "text contains", "value": "cafe" } , { "key": "address", "constraint_type": "geographic_search", "value": { "range":10, "origin_address":"New York" } } ]`,
description: 'Refine the list that is returned by the Data API with search constraints, exactly as you define a search in Bubble. See <a href="https://manual.bubble.io/core-resources/api/data-api#search-constraints" target="_blank">link</a>',
description: 'Refine the list that is returned by the Data API with search constraints, exactly as you define a search in Bubble. See <a href="https://manual.bubble.io/core-resources/api/data-api#search-constraints">link</a>',
},
{
displayName: 'Sort',