mirror of
https://github.com/ToolJet/ToolJet
synced 2026-04-21 21:47:17 +00:00
* Add routes for multi-page apps * Modify Editor, Viewer and Inspector to accept new app structure * Show a page selector on left side bar * Align component deletion logic with new app schema * Make subcontainer work with multi-page apps * Load components state properly in viewer * Use UUID instead of handle for pages * Display sidebar on viewer to switch pages * Add proper URL suffixing for pages in viewer * Add action to switch page * Revert translation file back to its pre-existing linting * Fix bug that caused modal to not open/close * Add support for query params in page switch * Fix the issue that caused navigation to fail while accessed via slug * Add missing SwitchPage file * Add support for page level variables * Add migration to convert existing apps to new schema * Add rollback for converting multi-page definitions back to single-page * Fix migration for multi-page apps * Adapt import/export service for multi-pages * [improvements] Multi-page applications (#4755) * UI updates for page selector popup card * delete page * delete page check: if only one page exits * switch to home page if the selected page is removed * adds and switch to new page * updating page name * updates to home page and starting page * handle updating the home page when home page is deleted * search box for filtering pages and minor style updates for the page handler card * header search box style fixes * for creating a new page, page handle needs to be unique * seperating into smaller components * updated pinned icon for page selector styles and settinf styles * Leftsidebar header ui component * handle dark theme * page handle ui and dark theme fixes for page menu * page handler edit modal * pinned state and update pinned state for menu options triggered * dark theme fixes for edit modal * handle on update should not be empty or prev * page handler updater * added loading state for saving * handles cancels * fixes slug ui * fixes crash for older app versions * updates the query params when handle gets an update * update homePage to homePageId * removes console.log * go back to the popover for modal close * fixes: Difficult to select page * fixes: Difficult to select the three-dot menu * fixes: on visiting the root url, navigate to homepage on viewer * adds tooltip for url * updates the page selector sidebar with sync with query manager * refactor and cleanup * refactor and cleanup * Compute component state when page is switched * modal should not close on click outside * disable save button if there is not change in the page handle input * should show/hide page menu when hovered * page icon * updates delete icon for disabled state * query manager should always be on top of page selector * checks if homePage key exists in pages def * updates page handler menu * updates the clear icon * page handler menu position * page handler menu position * handle icon * alert msg * global settings handler for updating viewer page navigation * show/hode page navigation for viewer * info text for toggle * Multipages:with sortable list [DnD] (#4783) * applied sortable list * on sort updates the definitions * fixies: app crash for dnd * viwer: canvas width should be 100% when navigation drawer is disbaled * fixes: homepage/startpage reload * clean up Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com> * Multipage UI viewer (#4801) * new ui changes for viewer pages * fixes postions for debugger and datasources popover * removes console.log * Multipage : hide page and unhide page feature (#4803) * adds: ability to hide pages * hides pages in viewer * unhide page * hide icon * allow accessing hidden pages from url * add: duplicate page (#4802) * add: duplicate page * do not copy the same references from the original page * page name and page handler should be unique for duplicate pages too * Add support for on-page-load events * Add icon from page settings menu item * Convert existing templates to multi-page schema * error logs for page level and app level errors (#4842) * Adapt comments feature for multi-pages * [Bugfix] multipage - page menu interactions (#4844) * fixes: menu popup interaction * fixes: on modal input focus, we switch the page * Adapt multi-player to multi-pages * Add editingPageId to ymap * Log self, others and editor props in real-time avatar generation * Save editing page id to appDef * Add editingPageId to presence in RealtimeCursors * adds no results ui for empty search results (#4869) * page icon updated (#4870) * fixes:Version switching crashes if the target version does not contain the current page (#4868) * Remove unnecessary setting of editingPageId on ymap * Remove unnecessary console.log * [Bugfix] Multipages: widget inspector event popover unmounts (#4887) * introduced a local state for events * cleaned up inspector.jsx * fixes: table widget inspector event accordion * Do not run switchPage twice when viewer is loaded * Preview should open the currently editing page * Properly place navigation and canvas in viewer * Update app definition whenever event manager changes are made * Add support for browser back and forward button in multi-pages * Rename handleBackButton to handlePageSwitchingBasedOnURLparam * Add support for cut/copy/paste and clone * Fix the crash caused by boxShadow * Add support for background colors in viewer in multi-pages * Run queries to be run on load on viewer, in multi-pages * Fix issue that caused inspector popovers to collapse * resolves workspace vars in viewer mode (#4892) * Multipage : Navigation for Mobile-ui (#4814) * refactored to components * burger menu for mobile ui * merge conflict fix for hidden pages * hamburger menu positioned in the header * viewer header reafctored * viewer mobile page manu styles * handles dark theme * mobile menu with dark mode toggle in the footer * components are moved to page level, handle for mobile layout * style fixes * removing unwanted code block * dark theme fixes * style fixes * fixes: events are sortable (#4895) * fixes: events are sortable * Remove uneccesarily repeated call of setEvents in EventManager Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com> * renamed settings to Event handlers (#4898) * updates the page setting title to Page Events * temp commit * Add support for setting max width in percentage * fixes: paramUpdates for boxes: 🙌🏻 * [Bugfix] Multipage - viewer canvas dark theme (#4897) * fixes: darktheme bg for viewer canvas * reverts canvas size * Fix for inspector bouncing back to previous values * resolves pages variables in pythong and js transformation (#4905) * csa support to event manager for pages (#4907) * Add support for setting canvas width in percentages * Persist page level variables across page switches * latest definitions is merged with the current appdef (#4914) * latest definitions is merged with the current appdef * mutating the local obj * cleanup * iterate through pages for new versions are created Co-authored-by: Arpit <arpitnath42@gmail.com>
1 line
No EOL
24 KiB
JSON
1 line
No EOL
24 KiB
JSON
{"id":"1986f492-3a77-412a-b930-b4c97def943a","name":"GitHub Contributor Leaderboard","slug":null,"isPublic":false,"organizationId":"7471c14a-c11a-416a-94b2-863125bc69d7","currentVersionId":null,"userId":"319a2ca8-395e-4f77-8998-78358f78b716","createdAt":"2021-12-09T10:00:47.877Z","updatedAt":"2021-12-09T10:00:47.942Z","dataQueries":[{"id":"acf2e546-d3e4-4b5b-b8c9-7e0e25675501","name":"fetchGithubProfile","kind":"restapi","options":{"method":"get","url":"https://api.github.com/users/{{components.table1.selectedRow.login}}","url_params":[],"headers":[],"body":[]},"dataSourceId":null,"appId":"1986f492-3a77-412a-b930-b4c97def943a","createdAt":"2021-12-09T10:00:47.876Z","updatedAt":"2021-12-09T10:00:47.876Z"},{"id":"9630ba6f-1558-4a3a-8659-ec6a9554fc38","name":"fetchContributors","kind":"restapi","options":{"method":"get","url":"https://api.github.com/repos/{{components.textinput1.value}}/contributors","url_params":[["page","{{components.table1.pageIndex}}"],["per_page","100"]],"headers":[],"body":[]},"dataSourceId":null,"appId":"1986f492-3a77-412a-b930-b4c97def943a","createdAt":"2021-12-09T10:00:47.876Z","updatedAt":"2021-12-09T10:00:47.876Z"}],"dataSources":[],"appVersions":[{"id":"82726a42-6b45-497c-80b7-e9e69660e4ec","name":"v0","definition":{"components":{"d911a00b-96f8-4b00-b15d-dd1fef84d10e":{"top":150,"left":30,"width":715,"height":686,"component":{"name":"table1","displayName":"Table","description":"Display paginated tabular data","component":"Table","properties":{"title":{"type":"string","displayName":"Title"},"data":{"type":"code","displayName":"Table data"},"loadingState":{"type":"code","displayName":"Loading state"},"columns":{"type":"array","displayName":"Table Columns"},"serverSidePagination":{"type":"toggle","displayName":"Server Side Pagination"},"actionButtonBackgroundColor":{"type":"color","displayName":"Background Color"},"actionButtonTextColor":{"type":"color","displayName":"Text Color"}},"defaultSize":{"width":810,"height":300},"events":{"onRowClicked":{"displayName":"On row clicked"},"onBulkUpdate":{"displayName":"Bulk update query"},"onPageChanged":{"displayName":"On page changed query"}},"styles":{"textColor":{"type":"color","displayName":"Text Color"}},"exposedVariables":{"selectedRow":{},"changeSet":{},"dataUpdates":[],"pageIndex":0},"definition":{"properties":{"title":{"value":"Table"},"visible":{"value":true},"loadingState":{"value":"{{queries.fetchContributors.isLoading}}"},"data":{"value":"{{queries.fetchContributors.data}}"},"serverSidePagination":{"value":true},"columns":{"value":[{"name":"username","key":"login"},{"name":"contributions"}]},"actions":{"value":[{"name":"Action0","buttonText":"GitHub","backgroundColor":"#000000","textColor":"#ffffff","onClick":{"actionId":"open-webpage","options":{"url":"{{queries.fetchGithubProfile.data.html_url}}"}},"events":[{"actionId":"open-webpage","eventId":"onClick","url":"{{queries.fetchGithubProfile.data.html_url}}"}]}]},"columnSizes":{"actions":229,"contributions":208},"showBulkSelector":{"value":false},"highlightSelectedRow":{"value":false}},"events":[{"queryName":"fetchGithubProfile","actionId":"run-query","eventId":"onRowClicked"},{"queryName":"fetchGithubProfile","actionId":"run-query","eventId":"onPageChanged"}],"styles":{"textColor":{"value":""},"cellSize":{"value":"compact"}},"others":{"showOnDesktop":{"value":true},"showOnMobile":{"value":false}}}},"layouts":{"desktop":{"top":150,"left":2.321981424148607,"width":23.796439628482972,"height":686}}},"ad27f56c-8fda-4c21-a60d-0951ba0f46f8":{"top":150,"left":780,"width":476,"height":504,"component":{"icon":"https://www.svgrepo.com/show/14343/table.svg","name":"container1","displayName":"Container","description":"Wrapper for multiple components","defaultSize":{"width":200,"height":200},"component":"Container","properties":{},"events":{},"styles":{"backgroundColor":{"type":"color"}},"exposedVariables":{},"definition":{"properties":{"visible":{"value":true}},"events":[],"styles":{"backgroundColor":{"value":"#fff"}},"others":{"showOnDesktop":{"value":true},"showOnMobile":{"value":false}}}},"layouts":{"desktop":{"top":150,"left":60.371517027863774,"width":15.842105263157896,"height":504}}},"6b3d8bce-bc34-42af-af46-24847cad360a":{"top":30,"left":150,"width":200,"height":200,"component":{"icon":"https://www.svgrepo.com/show/35088/image.svg","name":"image1","displayName":"Image","description":"Display an Image","defaultSize":{"width":200,"height":200},"component":"Image","properties":{"source":{"type":"code","displayName":"URL"}},"events":{"onClick":{"displayName":"On click"}},"styles":{},"exposedVariables":{},"definition":{"properties":{"source":{"value":"{{queries.fetchGithubProfile.data.avatar_url}}"},"visible":{"value":true}},"events":[],"styles":{},"others":{"showOnDesktop":{"value":true},"showOnMobile":{"value":false}}}},"parent":"ad27f56c-8fda-4c21-a60d-0951ba0f46f8","layouts":{"desktop":{"top":30,"left":31.51260504201681,"width":18.067226890756302,"height":200}}},"2bf00d77-caf1-404d-a505-fec4d3ec6e7f":{"top":300,"left":30,"width":114,"height":24,"component":{"icon":"https://www.svgrepo.com/show/219344/text.svg","name":"text1","displayName":"Text","description":"Display markdown or HTML","component":"Text","properties":{"text":{"type":"code","displayName":"Text"},"loadingState":{"type":"code","displayName":"Show loading state"}},"defaultSize":{"width":210,"height":24},"events":[],"styles":{"textColor":{"type":"color","displayName":"Text Color"}},"exposedVariables":{},"definition":{"properties":{"text":{"value":"Name:"},"visible":{"value":true},"loadingState":{"value":"{{false}}"}},"events":[],"styles":{"textColor":{"value":"#000"}},"others":{"showOnDesktop":{"value":true},"showOnMobile":{"value":false}}}},"parent":"ad27f56c-8fda-4c21-a60d-0951ba0f46f8","layouts":{"desktop":{"top":300,"left":6.302521008403361,"width":10.298319327731093,"height":24}}},"a7cce90d-c3cd-40b3-9b7a-348e6f51da3e":{"top":360,"left":30,"width":116,"height":24,"component":{"icon":"https://www.svgrepo.com/show/219344/text.svg","name":"text2","displayName":"Text","description":"Display markdown or HTML","component":"Text","properties":{"text":{"type":"code","displayName":"Text"},"loadingState":{"type":"code","displayName":"Show loading state"}},"defaultSize":{"width":210,"height":24},"events":[],"styles":{"textColor":{"type":"color","displayName":"Text Color"}},"exposedVariables":{},"definition":{"properties":{"text":{"value":"Organization:"},"visible":{"value":true},"loadingState":{"value":"{{false}}"}},"events":[],"styles":{"textColor":{"value":"#000"}},"others":{"showOnDesktop":{"value":true},"showOnMobile":{"value":false}}}},"parent":"ad27f56c-8fda-4c21-a60d-0951ba0f46f8","layouts":{"desktop":{"top":360,"left":6.302521008403361,"width":10.478991596638656,"height":24}}},"517f8c1d-1f4b-488a-8e42-f1d779e0ff09":{"top":420,"left":30,"width":117,"height":24,"component":{"icon":"https://www.svgrepo.com/show/219344/text.svg","name":"text3","displayName":"Text","description":"Display markdown or HTML","component":"Text","properties":{"text":{"type":"code","displayName":"Text"},"loadingState":{"type":"code","displayName":"Show loading state"}},"defaultSize":{"width":210,"height":24},"events":[],"styles":{"textColor":{"type":"color","displayName":"Text Color"}},"exposedVariables":{},"definition":{"properties":{"text":{"value":"Followers:"},"visible":{"value":true},"loadingState":{"value":"{{false}}"}},"events":[],"styles":{"textColor":{"value":"#000"}},"others":{"showOnDesktop":{"value":true},"showOnMobile":{"value":false}}}},"parent":"ad27f56c-8fda-4c21-a60d-0951ba0f46f8","layouts":{"desktop":{"top":420,"left":6.302521008403361,"width":10.569327731092438,"height":24}}},"1a109bae-548f-48b5-a22a-683364a414b1":{"top":300,"left":180,"width":210,"height":24,"component":{"icon":"https://www.svgrepo.com/show/219344/text.svg","name":"text4","displayName":"Text","description":"Display markdown or HTML","component":"Text","properties":{"text":{"type":"code","displayName":"Text"},"loadingState":{"type":"code","displayName":"Show loading state"}},"defaultSize":{"width":210,"height":24},"events":[],"styles":{"textColor":{"type":"color","displayName":"Text Color"}},"exposedVariables":{},"definition":{"properties":{"text":{"value":"{{queries.fetchGithubProfile.data.name}}"},"visible":{"value":true},"loadingState":{"value":"{{queries.fetchGithubProfile.isLoading}}"}},"events":[],"styles":{"textColor":{"value":"#000"}},"others":{"showOnDesktop":{"value":true},"showOnMobile":{"value":false}}}},"parent":"ad27f56c-8fda-4c21-a60d-0951ba0f46f8","layouts":{"desktop":{"top":300,"left":37.81512605042017,"width":18.970588235294116,"height":24}}},"49da9d80-21fa-4068-bfe7-d8189e286f2d":{"top":360,"left":180,"width":210,"height":24,"component":{"icon":"https://www.svgrepo.com/show/219344/text.svg","name":"text5","displayName":"Text","description":"Display markdown or HTML","component":"Text","properties":{"text":{"type":"code","displayName":"Text"},"loadingState":{"type":"code","displayName":"Show loading state"}},"defaultSize":{"width":210,"height":24},"events":[],"styles":{"textColor":{"type":"color","displayName":"Text Color"}},"exposedVariables":{},"definition":{"properties":{"text":{"value":"{{queries.fetchGithubProfile.data.company}}"},"visible":{"value":true},"loadingState":{"value":"{{queries.fetchGithubProfile.isLoading}}"}},"events":[],"styles":{"textColor":{"value":"#000"}},"others":{"showOnDesktop":{"value":true},"showOnMobile":{"value":false}}}},"parent":"ad27f56c-8fda-4c21-a60d-0951ba0f46f8","layouts":{"desktop":{"top":360,"left":37.81512605042017,"width":18.970588235294116,"height":24}}},"b607d4c7-edf1-4d5f-b947-98845d0673b7":{"top":420,"left":180,"width":210,"height":24,"component":{"icon":"https://www.svgrepo.com/show/219344/text.svg","name":"text6","displayName":"Text","description":"Display markdown or HTML","component":"Text","properties":{"text":{"type":"code","displayName":"Text"},"loadingState":{"type":"code","displayName":"Show loading state"}},"defaultSize":{"width":210,"height":24},"events":[],"styles":{"textColor":{"type":"color","displayName":"Text Color"}},"exposedVariables":{},"definition":{"properties":{"text":{"value":"{{queries.fetchGithubProfile.data.followers}}"},"visible":{"value":true},"loadingState":{"value":"{{queries.fetchGithubProfile.isLoading}}"}},"events":[],"styles":{"textColor":{"value":"#000"}},"others":{"showOnDesktop":{"value":true},"showOnMobile":{"value":false}}}},"parent":"ad27f56c-8fda-4c21-a60d-0951ba0f46f8","layouts":{"desktop":{"top":420,"left":37.81512605042017,"width":18.970588235294116,"height":24}}},"0c28ef81-6cdf-4e12-8f21-de47b72b7bea":{"top":90,"left":30,"width":443,"height":30,"component":{"icon":"https://www.svgrepo.com/show/38828/text.svg","name":"textinput1","displayName":"Text Input","description":"Text field for forms","component":"TextInput","defaultSize":{"width":200,"height":30},"properties":{"placeholder":{"type":"code","displayName":"Placeholder"}},"events":{},"styles":{},"exposedVariables":{"value":{}},"definition":{"properties":{"placeholder":{"value":"organization/repository"}},"events":[],"styles":{},"others":{"showOnDesktop":{"value":true},"showOnMobile":{"value":false}}}},"layouts":{"desktop":{"top":90,"left":2.321981424148607,"width":14.743808049535604,"height":30}}},"5dc58297-2a31-48eb-9eab-e80fe2e669a9":{"top":90,"left":570,"width":174,"height":30,"component":{"icon":"assets/images/icons/button.svg","name":"button1","displayName":"Button","description":"Trigger actions: queries, alerts etc","component":"Button","defaultSize":{"width":120,"height":30},"properties":{"text":{"type":"code","displayName":"Button Text"},"loadingState":{"type":"code","displayName":"Loading State"}},"events":{"onClick":{"displayName":"On click"}},"styles":{"backgroundColor":{"type":"color","displayName":"Background color"},"textColor":{"type":"color","displayName":"Text color"}},"exposedVariables":{},"definition":{"properties":{"text":{"value":"Fetch contributors"},"visible":{"value":true},"loadingState":{"value":"{{false}}"}},"events":[{"queryName":"fetchContributors","actionId":"run-query","eventId":"onClick"}],"styles":{"backgroundColor":{"value":"#3c92dc"},"textColor":{"value":"#fff"}},"others":{"showOnDesktop":{"value":true},"showOnMobile":{"value":false}}}},"layouts":{"desktop":{"top":90,"left":44.11764705882353,"width":5.791021671826625,"height":30}}}},"globalSettings":{"hideHeader":false,"canvasMaxWidth":1292,"canvasBackgroundColor":"#edeff5"}},"appId":"1986f492-3a77-412a-b930-b4c97def943a","createdAt":"2021-12-09T10:00:47.905Z","updatedAt":"2021-12-09T10:01:17.080Z","homePageId":"a739335b-d15c-40b5-beb7-c6f0438683b4","pages":{"a739335b-d15c-40b5-beb7-c6f0438683b4":{"name":"Home","handle":"home"}},"showViewerNavigation":false}],"editingVersion":{"id":"82726a42-6b45-497c-80b7-e9e69660e4ec","name":"v0","definition":{"components":{"d911a00b-96f8-4b00-b15d-dd1fef84d10e":{"top":150,"left":30,"width":715,"height":686,"component":{"name":"table1","displayName":"Table","description":"Display paginated tabular data","component":"Table","properties":{"title":{"type":"string","displayName":"Title"},"data":{"type":"code","displayName":"Table data"},"loadingState":{"type":"code","displayName":"Loading state"},"columns":{"type":"array","displayName":"Table Columns"},"serverSidePagination":{"type":"toggle","displayName":"Server Side Pagination"},"actionButtonBackgroundColor":{"type":"color","displayName":"Background Color"},"actionButtonTextColor":{"type":"color","displayName":"Text Color"}},"defaultSize":{"width":810,"height":300},"events":{"onRowClicked":{"displayName":"On row clicked"},"onBulkUpdate":{"displayName":"Bulk update query"},"onPageChanged":{"displayName":"On page changed query"}},"styles":{"textColor":{"type":"color","displayName":"Text Color"}},"exposedVariables":{"selectedRow":{},"changeSet":{},"dataUpdates":[],"pageIndex":0},"definition":{"properties":{"title":{"value":"Table"},"visible":{"value":true},"loadingState":{"value":"{{queries.fetchContributors.isLoading}}"},"data":{"value":"{{queries.fetchContributors.data}}"},"serverSidePagination":{"value":true},"columns":{"value":[{"name":"username","key":"login"},{"name":"contributions"}]},"actions":{"value":[{"name":"Action0","buttonText":"GitHub","backgroundColor":"#000000","textColor":"#ffffff","onClick":{"actionId":"open-webpage","options":{"url":"{{queries.fetchGithubProfile.data.html_url}}"}},"events":[{"actionId":"open-webpage","eventId":"onClick","url":"{{queries.fetchGithubProfile.data.html_url}}"}]}]},"columnSizes":{"actions":229,"contributions":208},"showBulkSelector":{"value":false},"highlightSelectedRow":{"value":false}},"events":[{"queryName":"fetchGithubProfile","actionId":"run-query","eventId":"onRowClicked"},{"queryName":"fetchGithubProfile","actionId":"run-query","eventId":"onPageChanged"}],"styles":{"textColor":{"value":""},"cellSize":{"value":"compact"}},"others":{"showOnDesktop":{"value":true},"showOnMobile":{"value":false}}}},"layouts":{"desktop":{"top":150,"left":2.321981424148607,"width":23.796439628482972,"height":686}}},"ad27f56c-8fda-4c21-a60d-0951ba0f46f8":{"top":150,"left":780,"width":476,"height":504,"component":{"icon":"https://www.svgrepo.com/show/14343/table.svg","name":"container1","displayName":"Container","description":"Wrapper for multiple components","defaultSize":{"width":200,"height":200},"component":"Container","properties":{},"events":{},"styles":{"backgroundColor":{"type":"color"}},"exposedVariables":{},"definition":{"properties":{"visible":{"value":true}},"events":[],"styles":{"backgroundColor":{"value":"#fff"}},"others":{"showOnDesktop":{"value":true},"showOnMobile":{"value":false}}}},"layouts":{"desktop":{"top":150,"left":60.371517027863774,"width":15.842105263157896,"height":504}}},"6b3d8bce-bc34-42af-af46-24847cad360a":{"top":30,"left":150,"width":200,"height":200,"component":{"icon":"https://www.svgrepo.com/show/35088/image.svg","name":"image1","displayName":"Image","description":"Display an Image","defaultSize":{"width":200,"height":200},"component":"Image","properties":{"source":{"type":"code","displayName":"URL"}},"events":{"onClick":{"displayName":"On click"}},"styles":{},"exposedVariables":{},"definition":{"properties":{"source":{"value":"{{queries.fetchGithubProfile.data.avatar_url}}"},"visible":{"value":true}},"events":[],"styles":{},"others":{"showOnDesktop":{"value":true},"showOnMobile":{"value":false}}}},"parent":"ad27f56c-8fda-4c21-a60d-0951ba0f46f8","layouts":{"desktop":{"top":30,"left":31.51260504201681,"width":18.067226890756302,"height":200}}},"2bf00d77-caf1-404d-a505-fec4d3ec6e7f":{"top":300,"left":30,"width":114,"height":24,"component":{"icon":"https://www.svgrepo.com/show/219344/text.svg","name":"text1","displayName":"Text","description":"Display markdown or HTML","component":"Text","properties":{"text":{"type":"code","displayName":"Text"},"loadingState":{"type":"code","displayName":"Show loading state"}},"defaultSize":{"width":210,"height":24},"events":[],"styles":{"textColor":{"type":"color","displayName":"Text Color"}},"exposedVariables":{},"definition":{"properties":{"text":{"value":"Name:"},"visible":{"value":true},"loadingState":{"value":"{{false}}"}},"events":[],"styles":{"textColor":{"value":"#000"}},"others":{"showOnDesktop":{"value":true},"showOnMobile":{"value":false}}}},"parent":"ad27f56c-8fda-4c21-a60d-0951ba0f46f8","layouts":{"desktop":{"top":300,"left":6.302521008403361,"width":10.298319327731093,"height":24}}},"a7cce90d-c3cd-40b3-9b7a-348e6f51da3e":{"top":360,"left":30,"width":116,"height":24,"component":{"icon":"https://www.svgrepo.com/show/219344/text.svg","name":"text2","displayName":"Text","description":"Display markdown or HTML","component":"Text","properties":{"text":{"type":"code","displayName":"Text"},"loadingState":{"type":"code","displayName":"Show loading state"}},"defaultSize":{"width":210,"height":24},"events":[],"styles":{"textColor":{"type":"color","displayName":"Text Color"}},"exposedVariables":{},"definition":{"properties":{"text":{"value":"Organization:"},"visible":{"value":true},"loadingState":{"value":"{{false}}"}},"events":[],"styles":{"textColor":{"value":"#000"}},"others":{"showOnDesktop":{"value":true},"showOnMobile":{"value":false}}}},"parent":"ad27f56c-8fda-4c21-a60d-0951ba0f46f8","layouts":{"desktop":{"top":360,"left":6.302521008403361,"width":10.478991596638656,"height":24}}},"517f8c1d-1f4b-488a-8e42-f1d779e0ff09":{"top":420,"left":30,"width":117,"height":24,"component":{"icon":"https://www.svgrepo.com/show/219344/text.svg","name":"text3","displayName":"Text","description":"Display markdown or HTML","component":"Text","properties":{"text":{"type":"code","displayName":"Text"},"loadingState":{"type":"code","displayName":"Show loading state"}},"defaultSize":{"width":210,"height":24},"events":[],"styles":{"textColor":{"type":"color","displayName":"Text Color"}},"exposedVariables":{},"definition":{"properties":{"text":{"value":"Followers:"},"visible":{"value":true},"loadingState":{"value":"{{false}}"}},"events":[],"styles":{"textColor":{"value":"#000"}},"others":{"showOnDesktop":{"value":true},"showOnMobile":{"value":false}}}},"parent":"ad27f56c-8fda-4c21-a60d-0951ba0f46f8","layouts":{"desktop":{"top":420,"left":6.302521008403361,"width":10.569327731092438,"height":24}}},"1a109bae-548f-48b5-a22a-683364a414b1":{"top":300,"left":180,"width":210,"height":24,"component":{"icon":"https://www.svgrepo.com/show/219344/text.svg","name":"text4","displayName":"Text","description":"Display markdown or HTML","component":"Text","properties":{"text":{"type":"code","displayName":"Text"},"loadingState":{"type":"code","displayName":"Show loading state"}},"defaultSize":{"width":210,"height":24},"events":[],"styles":{"textColor":{"type":"color","displayName":"Text Color"}},"exposedVariables":{},"definition":{"properties":{"text":{"value":"{{queries.fetchGithubProfile.data.name}}"},"visible":{"value":true},"loadingState":{"value":"{{queries.fetchGithubProfile.isLoading}}"}},"events":[],"styles":{"textColor":{"value":"#000"}},"others":{"showOnDesktop":{"value":true},"showOnMobile":{"value":false}}}},"parent":"ad27f56c-8fda-4c21-a60d-0951ba0f46f8","layouts":{"desktop":{"top":300,"left":37.81512605042017,"width":18.970588235294116,"height":24}}},"49da9d80-21fa-4068-bfe7-d8189e286f2d":{"top":360,"left":180,"width":210,"height":24,"component":{"icon":"https://www.svgrepo.com/show/219344/text.svg","name":"text5","displayName":"Text","description":"Display markdown or HTML","component":"Text","properties":{"text":{"type":"code","displayName":"Text"},"loadingState":{"type":"code","displayName":"Show loading state"}},"defaultSize":{"width":210,"height":24},"events":[],"styles":{"textColor":{"type":"color","displayName":"Text Color"}},"exposedVariables":{},"definition":{"properties":{"text":{"value":"{{queries.fetchGithubProfile.data.company}}"},"visible":{"value":true},"loadingState":{"value":"{{queries.fetchGithubProfile.isLoading}}"}},"events":[],"styles":{"textColor":{"value":"#000"}},"others":{"showOnDesktop":{"value":true},"showOnMobile":{"value":false}}}},"parent":"ad27f56c-8fda-4c21-a60d-0951ba0f46f8","layouts":{"desktop":{"top":360,"left":37.81512605042017,"width":18.970588235294116,"height":24}}},"b607d4c7-edf1-4d5f-b947-98845d0673b7":{"top":420,"left":180,"width":210,"height":24,"component":{"icon":"https://www.svgrepo.com/show/219344/text.svg","name":"text6","displayName":"Text","description":"Display markdown or HTML","component":"Text","properties":{"text":{"type":"code","displayName":"Text"},"loadingState":{"type":"code","displayName":"Show loading state"}},"defaultSize":{"width":210,"height":24},"events":[],"styles":{"textColor":{"type":"color","displayName":"Text Color"}},"exposedVariables":{},"definition":{"properties":{"text":{"value":"{{queries.fetchGithubProfile.data.followers}}"},"visible":{"value":true},"loadingState":{"value":"{{queries.fetchGithubProfile.isLoading}}"}},"events":[],"styles":{"textColor":{"value":"#000"}},"others":{"showOnDesktop":{"value":true},"showOnMobile":{"value":false}}}},"parent":"ad27f56c-8fda-4c21-a60d-0951ba0f46f8","layouts":{"desktop":{"top":420,"left":37.81512605042017,"width":18.970588235294116,"height":24}}},"0c28ef81-6cdf-4e12-8f21-de47b72b7bea":{"top":90,"left":30,"width":443,"height":30,"component":{"icon":"https://www.svgrepo.com/show/38828/text.svg","name":"textinput1","displayName":"Text Input","description":"Text field for forms","component":"TextInput","defaultSize":{"width":200,"height":30},"properties":{"placeholder":{"type":"code","displayName":"Placeholder"}},"events":{},"styles":{},"exposedVariables":{"value":{}},"definition":{"properties":{"placeholder":{"value":"organization/repository"}},"events":[],"styles":{},"others":{"showOnDesktop":{"value":true},"showOnMobile":{"value":false}}}},"layouts":{"desktop":{"top":90,"left":2.321981424148607,"width":14.743808049535604,"height":30}}},"5dc58297-2a31-48eb-9eab-e80fe2e669a9":{"top":90,"left":570,"width":174,"height":30,"component":{"icon":"assets/images/icons/button.svg","name":"button1","displayName":"Button","description":"Trigger actions: queries, alerts etc","component":"Button","defaultSize":{"width":120,"height":30},"properties":{"text":{"type":"code","displayName":"Button Text"},"loadingState":{"type":"code","displayName":"Loading State"}},"events":{"onClick":{"displayName":"On click"}},"styles":{"backgroundColor":{"type":"color","displayName":"Background color"},"textColor":{"type":"color","displayName":"Text color"}},"exposedVariables":{},"definition":{"properties":{"text":{"value":"Fetch contributors"},"visible":{"value":true},"loadingState":{"value":"{{false}}"}},"events":[{"queryName":"fetchContributors","actionId":"run-query","eventId":"onClick"}],"styles":{"backgroundColor":{"value":"#3c92dc"},"textColor":{"value":"#fff"}},"others":{"showOnDesktop":{"value":true},"showOnMobile":{"value":false}}}},"layouts":{"desktop":{"top":90,"left":44.11764705882353,"width":5.791021671826625,"height":30}}}},"globalSettings":{"hideHeader":false,"canvasMaxWidth":1292,"canvasBackgroundColor":"#edeff5"}},"appId":"1986f492-3a77-412a-b930-b4c97def943a","createdAt":"2021-12-09T10:00:47.905Z","updatedAt":"2021-12-09T10:01:17.080Z","homePageId":"cb686a4f-5597-4b64-8be8-6ffefb80dcc9","pages":{"cb686a4f-5597-4b64-8be8-6ffefb80dcc9":{"name":"Home","handle":"home"}},"showViewerNavigation":false},"tooljetVersion":"0.10.0"} |