Skip to content

Instantly share code, notes, and snippets.

@xoelop
Created December 22, 2022 12:31
Show Gist options
  • Save xoelop/ad44929c99d573ca3ee38c6be2a820e6 to your computer and use it in GitHub Desktop.
Save xoelop/ad44929c99d573ca3ee38c6be2a820e6 to your computer and use it in GitHub Desktop.
Retool dashboard to explore queries to any pipe of your Tinybird account
{
"uuid": "60799e3a-81e6-11ed-8e5b-1377772fbf58",
"page": {
"id": 115259211,
"data": {
"appState": "[\"~#iR\",[\"^ \",\"n\",\"appTemplate\",\"v\",[\"^ \",\"isFetching\",false,\"plugins\",[\"~#iOM\",[\"textInputToken\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"textInputToken\",\"type\",\"widget\",\"subtype\",\"TextInputWidget2\",\"namespace\",null,\"resourceName\",null,\"resourceDisplayName\",null,\"template\",[\"^3\",[\"spellCheck\",false,\"readOnly\",false,\"iconAfter\",\"\",\"showCharacterCount\",false,\"autoComplete\",false,\"maxLength\",null,\"hidden\",false,\"customValidation\",\"\",\"patternType\",\"\",\"hideValidationMessage\",false,\"textBefore\",\"\",\"validationMessage\",\"\",\"textAfter\",\"\",\"showInEditor\",false,\"showClear\",false,\"pattern\",\"\",\"tooltipText\",\"\",\"labelAlign\",\"left\",\"formDataKey\",\"{{ self.id }}\",\"value\",\"\",\"labelCaption\",\"\",\"labelWidth\",\"33\",\"autoFill\",\"\",\"placeholder\",\"Enter value\",\"label\",\"Admin token\",\"_validate\",false,\"labelWidthUnit\",\"%\",\"invalid\",false,\"iconBefore\",\"\",\"minLength\",null,\"inputTooltip\",\"\",\"events\",[\"^3\",[]],\"autoCapitalize\",\"none\",\"loading\",false,\"disabled\",false,\"labelPosition\",\"left\",\"labelWrap\",false,\"maintainSpaceWhenHidden\",false,\"required\",false]],\"style\",[\"^3\",[]],\"position2\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"container\",\"\",\"rowGroup\",\"body\",\"subcontainer\",\"\",\"row\",0,\"col\",9,\"height\",1,\"width\",3,\"tabNum\",0]]],\"mobilePosition2\",null,\"mobileAppPosition\",null,\"tabIndex\",null,\"^<\",\"\",\"createdAt\",\"~m1671706210415\",\"updatedAt\",\"~m1671711150565\",\"folder\",\"\",\"screen\",null]]],\"$main\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"$main\",\"^4\",\"frame\",\"^5\",\"Frame\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"type\",\"main\",\"sticky\",false,\"isHiddenOnDesktop\",false,\"isHiddenOnMobile\",false]],\"^:\",[\"^3\",[]],\"^;\",null,\"^B\",null,\"^C\",null,\"^D\",null,\"^<\",\"\",\"^E\",\"~m1671706210439\",\"^F\",\"~m1671706210439\",\"^G\",\"\",\"^H\",null]]],\"getPipes\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"getPipes\",\"^4\",\"datasource\",\"^5\",\"RESTQuery\",\"^6\",null,\"^7\",\"fb9f8232-adfe-4dc6-a20e-1552a9f3fb1f\",\"^8\",\"Tinybird EU API call\",\"^9\",[\"^3\",[\"queryRefreshTime\",\"\",\"paginationLimit\",\"\",\"body\",\"\",\"lastReceivedFromResourceAt\",null,\"queryDisabledMessage\",\"\",\"servedFromCache\",false,\"successMessage\",\"\",\"queryDisabled\",\"\",\"playgroundQuerySaveId\",\"latest\",\"resourceNameOverride\",\"\",\"runWhenModelUpdates\",true,\"paginationPaginationField\",\"\",\"headers\",\"\",\"showFailureToaster\",true,\"paginationEnabled\",false,\"query\",\"pipes?token={{ textInputToken.value }}\",\"playgroundQueryUuid\",\"\",\"playgroundQueryId\",null,\"error\",null,\"privateParams\",[\"~#iL\",[]],\"runWhenPageLoadsDelay\",\"\",\"data\",null,\"importedQueryInputs\",[\"^3\",[]],\"isImported\",false,\"showSuccessToaster\",true,\"cacheKeyTtl\",\"\",\"requestSentTimestamp\",null,\"cookies\",\"\",\"metadata\",null,\"queryRunTime\",null,\"changesetObject\",\"\",\"errorTransformer\",\"// The variable 'data' allows you to reference the request's data in the transformer. \\n// example: return data.find(element => element.isError)\\nreturn data.error\",\"finished\",null,\"confirmationMessage\",null,\"isFetching\",false,\"changeset\",\"\",\"rawData\",null,\"queryTriggerDelay\",\"0\",\"resourceTypeOverride\",\"\",\"watchedParams\",[\"^I\",[]],\"enableErrorTransformer\",false,\"showLatestVersionUpdatedWarning\",false,\"paginationDataField\",\"\",\"timestamp\",0,\"importedQueryDefaults\",[\"^3\",[]],\"enableTransformer\",false,\"showUpdateSetValueDynamicallyToggle\",true,\"runWhenPageLoads\",false,\"transformer\",\"// type your code here\\n// example: return formatDataAsArray(data).filter(row => row.quantity > 20)\\nreturn data\",\"events\",[\"^I\",[]],\"queryTimeout\",\"10000\",\"requireConfirmation\",false,\"type\",\"GET\",\"queryFailureConditions\",\"\",\"changesetIsObject\",false,\"enableCaching\",false,\"allowedGroups\",[\"^I\",[]],\"bodyType\",\"json\",\"offlineQueryType\",\"None\",\"queryThrottleTime\",\"750\",\"updateSetValueDynamically\",false,\"notificationDuration\",\"\"]],\"^:\",null,\"^;\",null,\"^B\",null,\"^C\",null,\"^D\",null,\"^<\",\"\",\"^E\",\"~m1671706269935\",\"^F\",\"~m1671711649962\",\"^G\",\"\",\"^H\",null]]],\"selectPipe\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"selectPipe\",\"^4\",\"widget\",\"^5\",\"SelectWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"imageByIndex\",[],\"_disabledByIndex\",[\"^I\",[]],\"showSelectionIndicator\",true,\"_values\",[\"^I\",[]],\"iconByIndex\",[],\"values\",\"{{ item.name }}\",\"readOnly\",false,\"iconAfter\",\"\",\"_iconByIndex\",[\"^I\",[]],\"overlayMinWidth\",null,\"allowDeselect\",true,\"inputValue\",\"\",\"hidden\",false,\"customValidation\",\"\",\"data\",\"{{ getPipes.data.pipes }}\",\"searchMode\",\"caseInsensitive\",\"hideValidationMessage\",false,\"fallbackTextByIndex\",[],\"textBefore\",\"\",\"_fallbackTextByIndex\",[\"^I\",[]],\"selectedItem\",null,\"validationMessage\",\"\",\"automaticItemColors\",false,\"itemAdornmentShape\",\"circle\",\"textAfter\",\"\",\"showInEditor\",false,\"showClear\",true,\"tooltipText\",\"\",\"labelAlign\",\"left\",\"formDataKey\",\"{{ self.id }}\",\"value\",null,\"hiddenByIndex\",[],\"labelCaption\",\"\",\"labelWidth\",\"33\",\"deprecatedLabels\",[],\"_hiddenByIndex\",[\"^I\",[]],\"placeholder\",\"Select an option\",\"_captionByIndex\",[\"^I\",[]],\"itemAdornmentSize\",\"auto\",\"label\",\"Select pipe\",\"_hasMigratedNestedItems\",true,\"captionByIndex\",[],\"_validate\",false,\"itemMode\",\"dynamic\",\"labelWidthUnit\",\"%\",\"allowCustomValue\",true,\"invalid\",false,\"selectedIndex\",null,\"_tooltipByIndex\",[\"^I\",[]],\"_colorByIndex\",[\"^I\",[]],\"tooltipByIndex\",\"##### **[{{ item.name }}](https://ui.tinybird.co/pipe/{{ item.id }})**\\n\\n{{item.description}}\",\"iconBefore\",\"\",\"colorByIndex\",[],\"selectedLabel\",\"\",\"events\",[\"^3\",[]],\"_ids\",[\"^I\",[]],\"emptyMessage\",\"No options\",\"overlayMaxHeight\",\"475\",\"loading\",false,\"disabled\",false,\"labelPosition\",\"top\",\"_labels\",[\"^I\",[]],\"labelWrap\",false,\"disabledValues\",[],\"disabledByIndex\",[],\"maintainSpaceWhenHidden\",false,\"_imageByIndex\",[\"^I\",[]],\"required\",false,\"labels\",\"{{ item.name }}\"]],\"^:\",[\"^3\",[]],\"^;\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^<\",\"\",\"^=\",\"body\",\"^>\",\"\",\"row\",0.9999999999999999,\"col\",8,\"^?\",1,\"^@\",4,\"^A\",0]]],\"^B\",null,\"^C\",null,\"^D\",null,\"^<\",\"\",\"^E\",\"~m1671706326602\",\"^F\",\"~m1671711754738\",\"^G\",\"\",\"^H\",null]]],\"getStats\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"getStats\",\"^4\",\"datasource\",\"^5\",\"RESTQuery\",\"^6\",null,\"^7\",\"fb9f8232-adfe-4dc6-a20e-1552a9f3fb1f\",\"^8\",\"Tinybird EU API call\",\"^9\",[\"^3\",[\"queryRefreshTime\",\"\",\"paginationLimit\",\"\",\"body\",\"\",\"lastReceivedFromResourceAt\",null,\"queryDisabledMessage\",\"\",\"servedFromCache\",false,\"successMessage\",\"\",\"queryDisabled\",\"\",\"playgroundQuerySaveId\",\"latest\",\"resourceNameOverride\",\"\",\"runWhenModelUpdates\",true,\"paginationPaginationField\",\"\",\"headers\",\"\",\"showFailureToaster\",true,\"paginationEnabled\",false,\"query\",\"sql?q=SELECT *, 'https://api.tinybird.co' || url full_url, formatReadableSize(read_bytes) read_bytes_human, formatReadableQuantity(read_rows) read_rows_human FROM tinybird.pipe_stats_rt {{ selectPipe.value? `WHERE pipe_name = '${selectPipe.value}'` : '' }} ORDER BY start_datetime DESC FORMAT JSON&token={{ textInputToken.value }}\",\"playgroundQueryUuid\",\"\",\"playgroundQueryId\",null,\"error\",null,\"privateParams\",[\"^I\",[]],\"runWhenPageLoadsDelay\",\"\",\"data\",null,\"importedQueryInputs\",[\"^3\",[]],\"isImported\",false,\"showSuccessToaster\",true,\"cacheKeyTtl\",\"\",\"requestSentTimestamp\",null,\"cookies\",\"\",\"metadata\",null,\"queryRunTime\",null,\"changesetObject\",\"\",\"errorTransformer\",\"// The variable 'data' allows you to reference the request's data in the transformer. \\n// example: return data.find(element => element.isError)\\nreturn data.error\",\"finished\",null,\"confirmationMessage\",null,\"isFetching\",false,\"changeset\",\"\",\"rawData\",null,\"queryTriggerDelay\",\"0\",\"resourceTypeOverride\",\"\",\"watchedParams\",[\"^I\",[]],\"enableErrorTransformer\",false,\"showLatestVersionUpdatedWarning\",false,\"paginationDataField\",\"\",\"timestamp\",0,\"importedQueryDefaults\",[\"^3\",[]],\"enableTransformer\",false,\"showUpdateSetValueDynamicallyToggle\",true,\"runWhenPageLoads\",false,\"transformer\",\"// type your code here\\n// example: return formatDataAsArray(data).filter(row => row.quantity > 20)\\nreturn data\",\"events\",[\"^I\",[]],\"queryTimeout\",\"10000\",\"requireConfirmation\",false,\"type\",\"GET\",\"queryFailureConditions\",\"\",\"changesetIsObject\",false,\"enableCaching\",false,\"allowedGroups\",[\"^I\",[]],\"bodyType\",\"json\",\"offlineQueryType\",\"None\",\"queryThrottleTime\",\"750\",\"updateSetValueDynamically\",false,\"notificationDuration\",\"\"]],\"^:\",null,\"^;\",null,\"^B\",null,\"^C\",null,\"^D\",null,\"^<\",\"\",\"^E\",\"~m1671706467123\",\"^F\",\"~m1671711656071\",\"^G\",\"\",\"^H\",null]]],\"table1\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"table1\",\"^4\",\"widget\",\"^5\",\"TableWidget\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"showCustomButton\",false,\"sortMappedValue\",[\"^3\",[]],\"_filteredSortedRenderedDataWithTypes\",null,\"heightType\",\"fixed\",\"normalizedData\",null,\"rowHeight\",\"dense\",\"saveChangesDisabled\",\"\",\"columnTypeProperties\",[\"^3\",[\"start_datetime\",[\"^3\",[\"manageTimeZone\",true,\"dateFormat\",\"MMM d, yyyy\",\"valueTimeZone\",\"00:00\",\"displayTimeZone\",\"local\",\"timeFormat\",\"HH:MM:ss\"]],\"pipe_name\",[\"^3\",[]]]],\"columnWidths\",[\"^I\",[[\"^ \",\"id\",\"start_datetime\",\"value\",165],[\"^ \",\"id\",\"pipe_name\",\"^J\",169]]],\"showSummaryFooter\",false,\"disableRowSelectInteraction\",false,\"columnWidthsMobile\",[\"^I\",[]],\"hasNextAfterCursor\",\"\",\"columnTypeSpecificExtras\",[\"^3\",[\"Custom Column 1\",[\"^3\",[\"buttonType\",\"url\",\"newWindow\",true,\"url\",\"{{ table1.selectedRow.data.full_url }}\"]],\"Custom Column 2\",[\"^3\",[\"buttonType\",\"url\",\"url\",\"{{ table1.selectedRow.data.full_url + '&debug=query'}}\",\"newWindow\",true]]]],\"onRowAdded\",\"\",\"columnHeaderNames\",[\"^3\",[\"Custom Column 1\",\"Run\",\"Custom Column 2\",\"Explain\"]],\"alwaysShowPaginator\",false,\"columnColors\",[\"^3\",[\"Custom Column 1\",\"\"]],\"columnFrozenAlignments\",[\"^3\",[]],\"allowMultiRowSelect\",false,\"columnFormats\",[\"^3\",[\"start_datetime\",\"DateTimeDataCell\",\"pipe_name\",\"TextMultiDataCell\",\"Custom Column 1\",\"button\",\"Custom Column 2\",\"button\"]],\"columnRestrictedEditing\",[\"^3\",[]],\"showFilterButton\",true,\"_columnVisibility\",[\"^3\",[\"pipe_id\",false,\"request_id\",false,\"read_rows\",false,\"read_bytes\",false]],\"_columnSummaryTypes\",[\"^3\",[\"start_datetime\",\"\",\"pipe_name\",\"\"]],\"_columnsWithLegacyBackgroundColor\",[\"~#iOS\",[]],\"showAddRowButton\",false,\"_unfilteredSelectedIndex\",null,\"nextBeforeCursor\",\"\",\"columnVisibility\",[\"^3\",[]],\"selectedPageIndex\",\"0\",\"applyDynamicSettingsToColumnOrder\",true,\"rowColor\",[],\"actionButtonColumnName\",\"Actions\",\"resetAfterSave\",true,\"filterStackType\",\"and\",\"downloadRawData\",false,\"showFetchingIndicator\",true,\"serverPaginated\",false,\"data\",\"{{ getStats.data.data }}\",\"displayedData\",null,\"actionButtons\",[\"^I\",[]],\"actionButtonSelectsRow\",true,\"selectRowByDefault\",true,\"defaultSortByColumn\",\"\",\"paginationOffset\",0,\"columnAlignment\",[\"^3\",[\"start_datetime\",\"left\",\"pipe_name\",\"left\",\"Custom Column 1\",\"left\",\"Custom Column 2\",\"left\"]],\"columnSummaries\",[\"^ \"],\"showBoxShadow\",false,\"sortedDesc\",false,\"customButtonName\",\"\",\"columnMappersRenderAsHTML\",[\"^3\",[\"Custom Column 1\",false]],\"showRefreshButton\",true,\"pageSize\",\"20\",\"useDynamicColumnSettings\",false,\"actionButtonPosition\",\"left\",\"dynamicRowHeights\",false,\"bulkUpdateAction\",\"\",\"afterCursor\",\"\",\"onCustomButtonPressQueryName\",\"\",\"changeSet\",[\"^ \"],\"sortedColumn\",\"\",\"_columnSummaryValues\",[\"^3\",[\"start_datetime\",\"\",\"pipe_name\",\"\"]],\"checkboxRowSelect\",true,\"_compatibilityMode\",false,\"showColumnBorders\",false,\"clearSelectionLabel\",\"Clear selection\",\"_renderedDataWithTypes\",null,\"columnAllowOverflow\",[\"^3\",[]],\"beforeCursor\",\"\",\"serverPaginationType\",\"limitOffsetBased\",\"onRowSelect\",\"\",\"showDownloadButton\",true,\"selectedIndex\",null,\"defaultSortDescending\",false,\"_sortedDisplayedDataIndices\",null,\"dynamicColumnSettings\",null,\"events\",[\"^I\",[[\"^3\",[\"event\",\"rowSelectChange\",\"type\",\"script\",\"method\",\"run\",\"pluginId\",\"\",\"targetId\",null,\"params\",[\"^3\",[\"src\",\"const url = new URL(table1.selectedRow.data.full_url)\\nconst urlSearchParams = new URLSearchParams(url.search)\\nconst params = Object.fromEntries(urlSearchParams.entries());\\n\\nparamsURL.setValue(params)\"]],\"waitType\",\"debounce\",\"waitMs\",\"0\"]]]],\"totalRowCount\",\"\",\"recordUpdates\",[],\"newRow\",null,\"emptyMessage\",\"No rows found\",\"columnEditable\",[\"^3\",[\"Custom Column 1\",false,\"Custom Column 2\",false]],\"_viewerColumnSummaryTypes\",[\"^ \"],\"filters\",[],\"displayedDataIndices\",null,\"disableSorting\",[\"^3\",[]],\"columnMappers\",[\"^3\",[\"Custom Column 1\",\"Run\",\"Custom Column 2\",\"Explain\"]],\"showClearSelection\",false,\"doubleClickToEdit\",true,\"overflowType\",\"scroll\",\"_reverseSortedDisplayedDataIndices\",null,\"showTableBorder\",true,\"selectedCell\",[\"^ \",\"index\",null,\"data\",null,\"columnName\",null],\"columns\",[\"^I\",[]],\"defaultSelectedRow\",\"first\",\"freezeActionButtonColumns\",false,\"sort\",null,\"_columns\",[\"^I\",[\"start_datetime\",\"pipe_id\",\"pipe_name\",\"read_bytes\",\"read_bytes_human\",\"read_rows\",\"read_rows_human\",\"duration\",\"error\",\"status_code\",\"Custom Column 1\",\"Custom Column 2\",\"token\",\"token_name\",\"url\",\"request_id\",\"full_url\"]],\"sortByRawValue\",[\"^3\",[]],\"calculatedColumns\",[\"^I\",[\"Custom Column 1\",\"Custom Column 2\"]],\"selectedRow\",[\"^ \",\"^L\",null,\"^M\",null],\"showPaginationOnTop\",false,\"_reverseDisplayedDataIndices\",null,\"nextAfterCursor\",\"\",\"useCompactMode\",false]],\"^:\",[\"^3\",[]],\"^;\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^<\",\"\",\"^=\",\"body\",\"^>\",\"\",\"row\",2,\"col\",0,\"^?\",8.200000000000001,\"^@\",12,\"^A\",0]]],\"^B\",null,\"^C\",null,\"^D\",null,\"^<\",\"\",\"^E\",\"~m1671706887981\",\"^F\",\"~m1671710626078\",\"^G\",\"\",\"^H\",null]]],\"keyValue1\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"keyValue1\",\"^4\",\"widget\",\"^5\",\"KeyValueMapWidget\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"rowHeaderNames\",[\"^3\",[]],\"rowFormats\",[\"^3\",[\"q\",\"default\"]],\"valueTitle\",\"Param value\",\"data\",\"{{ paramsURL.value }}\",\"prevRowMappers\",[\"^3\",[]],\"rowMappersRenderAsHTML\",[\"^3\",[]],\"rowVisibility\",[\"^3\",[\"a\",true,\"persistedValueKey\",true,\"b\",true,\"case_insensitive\",true,\"keyword_ids\",true,\"num_keywords\",true,\"c\",true,\"patterns\",true,\"_persistedValueGetter\",true,\"pluginType\",true,\"max_subs\",true,\"pattern\",true,\"q\",true,\"value\",true,\"until_n_days_ago\",true,\"debug\",true,\"fromage\",true,\"since_n_days_ago\",true,\"read_from_keywords_ds\",true,\"cli_version\",true,\"page_keywords\",true,\"id\",true,\"_persistedValueSetter\",true,\"persistValue\",true]],\"prevRowFormats\",[\"^3\",[\"q\",\"default\"]],\"rowMappers\",[\"^3\",[]],\"rows\",[\"^I\",[\"a\",\"b\",\"c\",\"pluginType\",\"id\",\"persistedValueKey\",\"persistValue\",\"_persistedValueGetter\",\"value\",\"_persistedValueSetter\",\"pattern\",\"case_insensitive\",\"q\",\"debug\",\"fromage\",\"keyword_ids\",\"patterns\",\"num_keywords\",\"page_keywords\",\"read_from_keywords_ds\",\"until_n_days_ago\",\"since_n_days_ago\",\"cli_version\",\"max_subs\"]],\"keyTitle\",\"Param name\"]],\"^:\",[\"^3\",[]],\"^;\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^<\",\"\",\"^=\",\"body\",\"^>\",\"\",\"row\",10.200000000000001,\"col\",0,\"^?\",5.2,\"^@\",9,\"^A\",0]]],\"^B\",null,\"^C\",null,\"^D\",null,\"^<\",\"\",\"^E\",\"~m1671708186519\",\"^F\",\"~m1671711737836\",\"^G\",\"\",\"^H\",null]]],\"paramsURL\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"paramsURL\",\"^4\",\"state\",\"^5\",\"State\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"_persistedValueGetter\",null,\"_persistedValueSetter\",null,\"persistValue\",false,\"persistedValueKey\",\"\",\"value\",null]],\"^:\",null,\"^;\",null,\"^B\",null,\"^C\",null,\"^D\",null,\"^<\",\"\",\"^E\",\"~m1671708916865\",\"^F\",\"~m1671708916865\",\"^G\",\"\",\"^H\",null]]],\"text1\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"text1\",\"^4\",\"widget\",\"^5\",\"TextWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"heightType\",\"auto\",\"horizontalAlign\",\"left\",\"hidden\",false,\"imageWidth\",\"fit\",\"showInEditor\",false,\"verticalAlign\",\"center\",\"tooltipText\",\"\",\"value\",\"## Latest requests on [Tinybird](https://ui.tinybird.co)\",\"disableMarkdown\",false,\"overflowType\",\"scroll\",\"maintainSpaceWhenHidden\",false]],\"^:\",[\"^3\",[]],\"^;\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^<\",\"\",\"^=\",\"body\",\"^>\",\"\",\"row\",0,\"col\",0,\"^?\",0.6,\"^@\",6,\"^A\",0]]],\"^B\",null,\"^C\",null,\"^D\",null,\"^<\",\"\",\"^E\",\"~m1671709750267\",\"^F\",\"~m1671709772094\",\"^G\",\"\",\"^H\",null]]],\"$urlFragments\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"$urlFragments\",\"^4\",\"setting\",\"^5\",\"UrlFragments\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"value\",[\"^3\",[\"token\",\"{{ textInputToken.value }}\",\"pipe\",\"{{ selectPipe.value }}\"]]]],\"^:\",null,\"^;\",null,\"^B\",null,\"^C\",null,\"^D\",null,\"^<\",\"\",\"^E\",\"~m1671711247595\",\"^F\",\"~m1671711704818\",\"^G\",\"\",\"^H\",null]]]]],\"^E\",null,\"version\",\"2.106.2\",\"appThemeId\",null,\"preloadedAppJavaScript\",null,\"preloadedAppJSLinks\",[],\"testEntities\",[],\"tests\",[],\"appStyles\",\"\",\"responsiveLayoutDisabled\",false,\"loadingIndicatorsDisabled\",false,\"urlFragmentDefinitions\",[\"^I\",[[\"^3\",[\"name\",\"token\",\"value\",\"{{ textInputToken.value }}\"]],[\"^3\",[\"name\",\"pipe\",\"value\",\"{{ selectPipe.value }}\"]]]],\"pageLoadValueOverrides\",[\"^I\",[[\"^3\",[\"name\",\"textInputToken.value\",\"value\",\"{{ urlparams.hash.token }}\"]],[\"^3\",[\"name\",\"selectPipe.value\",\"value\",\"{{ urlparams.hash.pipe }}\"]]]],\"customDocumentTitle\",\"\",\"customDocumentTitleEnabled\",false,\"customShortcuts\",[],\"isGlobalWidget\",false,\"isMobileApp\",false,\"multiScreenMobileApp\",false,\"mobileAppSettings\",[\"^ \",\"mobileOfflineModeEnabled\",false],\"folders\",[\"^I\",[]],\"queryStatusVisibility\",false,\"markdownLinkBehavior\",\"auto\",\"inAppRetoolPillAppearance\",\"NO_OVERRIDE\",\"rootScreen\",null,\"instrumentationEnabled\",false,\"experimentalPerfFeatures\",[\"^ \",\"serverDepGraphEnabled\",false,\"useRuntimeV2\",false],\"experimentalStabilityFeatures\",[\"^ \",\"lockModelForUpdates\",false],\"experimentalDataTabEnabled\",false]]]"
},
"changesRecord": [{
"type": "WIDGET_TEMPLATE_UPDATE",
"payload": {
"plugin": {
"id": "selectPipe",
"type": "widget",
"style": {},
"folder": "",
"screen": null,
"subtype": "SelectWidget2",
"tabIndex": null,
"template": {
"_ids": [],
"data": "{{ getPipes.data.pipes }}",
"label": "Select pipe",
"value": null,
"events": {},
"hidden": false,
"labels": "{{ item.name }}",
"values": "{{ item.name }}",
"_labels": [],
"_values": [],
"invalid": false,
"loading": false,
"disabled": false,
"itemMode": "dynamic",
"readOnly": false,
"required": false,
"_validate": false,
"iconAfter": "",
"labelWrap": false,
"showClear": true,
"textAfter": "",
"iconBefore": "",
"inputValue": "",
"labelAlign": "left",
"labelWidth": "33",
"searchMode": "fuzzy",
"textBefore": "",
"formDataKey": "{{ self.id }}",
"iconByIndex": [],
"placeholder": "Select an option",
"tooltipText": "",
"_iconByIndex": [],
"colorByIndex": [],
"emptyMessage": "No options",
"imageByIndex": [],
"labelCaption": "",
"selectedItem": null,
"showInEditor": false,
"_colorByIndex": [],
"_imageByIndex": [],
"allowDeselect": true,
"hiddenByIndex": [],
"labelPosition": "top",
"selectedIndex": null,
"selectedLabel": "",
"_hiddenByIndex": [],
"captionByIndex": [],
"disabledValues": [],
"labelWidthUnit": "%",
"tooltipByIndex": "##### **[{{ item.name }}](https://ui.tinybird.co/pipe/{{ item.id }})**\n\n{{item.description}}",
"_captionByIndex": [],
"_tooltipByIndex": [],
"disabledByIndex": [],
"overlayMinWidth": null,
"_disabledByIndex": [],
"allowCustomValue": true,
"customValidation": "",
"deprecatedLabels": [],
"overlayMaxHeight": "475",
"itemAdornmentSize": "auto",
"validationMessage": "",
"itemAdornmentShape": "circle",
"automaticItemColors": false,
"fallbackTextByIndex": [],
"_fallbackTextByIndex": [],
"hideValidationMessage": false,
"showSelectionIndicator": true,
"_hasMigratedNestedItems": true,
"maintainSpaceWhenHidden": false
},
"container": "",
"createdAt": "2022-12-22T10:52:06.602Z",
"namespace": null,
"position2": {
"col": 8,
"row": 0.9999999999999999,
"width": 4,
"height": 1,
"tabNum": 0,
"rowGroup": "body",
"container": "",
"subcontainer": ""
},
"updatedAt": "2022-12-22T12:12:47.364Z",
"resourceName": null,
"mobilePosition2": null,
"mobileAppPosition": null,
"resourceDisplayName": null
},
"update": {
"searchMode": "caseInsensitive"
},
"widgetId": "selectPipe",
"shouldRecalculateTemplate": true
},
"isUserTriggered": true
}],
"gitSha": null,
"checksum": null,
"createdAt": "2022-12-22T12:22:37.909Z",
"updatedAt": "2022-12-22T12:22:37.909Z",
"pageId": 1685691,
"userId": 262352,
"branchId": null
},
"modules": {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment