diff --git a/.github/workflows/CypressAddKnownfailedtests.yml b/.github/workflows/CypressAddKnownfailedtests.yml index d303cd6132..a192acddf6 100644 --- a/.github/workflows/CypressAddKnownfailedtests.yml +++ b/.github/workflows/CypressAddKnownfailedtests.yml @@ -3,7 +3,7 @@ name: Cypress Add Known failed tests on: issues: types: [opened, closed, reopened] - + jobs: IssueOpened: if: (github.event.action == 'opened' || github.event.action == 'reopened') && contains( github.event.issue.labels.*.name, 'CI impacted') @@ -19,14 +19,16 @@ jobs: env: GITHUB_CONTEXT: ${{ toJson(github) }} XATATOKEN: ${{ secrets.XATA_TOKEN }} + ISSUE_TITLE: ${{ github.event.issue.title }} + ISSUE_BODY: ${{ github.event.issue.body }} run: | - echo "Issue title: ${{ github.event.issue.title }}" - echo "Issue body: ${{ github.event.issue.body }}" + echo "Issue title: $ISSUE_TITLE" + echo "Issue body: $ISSUE_BODY" #echo "$GITHUB_CONTEXT" chmod a+x app/client/cypress/xataadd.sh - echo "${{ github.event.issue.title }}"|awk '{print $2}' - echo "${{ github.event.issue.title }}"|awk '{print $2}'|xargs app/client/cypress/xataadd.sh - + echo "$ISSUE_TITLE"|awk '{print $2}' + echo "$ISSUE_TITLE"|awk '{print $2}'|xargs app/client/cypress/xataadd.sh + IssueClosed: if: github.event.action == 'closed' && contains( github.event.issue.labels.*.name, 'CI impacted') runs-on: ubuntu-latest @@ -41,12 +43,11 @@ jobs: env: GITHUB_CONTEXT: ${{ toJson(github) }} XATATOKEN: ${{ secrets.XATA_TOKEN }} + ISSUE_TITLE: ${{ github.event.issue.title }} + ISSUE_BODY: ${{ github.event.issue.body }} run: | - echo "Issue title: ${{ github.event.issue.title }}" - echo "Issue body: ${{ github.event.issue.body }}" + echo "Issue title: $ISSUE_TITLE" + echo "Issue body: $ISSUE_BODY" #echo "$GITHUB_CONTEXT" chmod a+x app/client/cypress/xatadel.sh - echo "${{ github.event.issue.title }}"|awk '{print $2}'|xargs app/client/cypress/xatadel.sh - - - + echo "$ISSUE_TITLE"|awk '{print $2}'|xargs app/client/cypress/xatadel.sh diff --git a/README.md b/README.md index c42d5ac27d..c9ce07cf08 100644 --- a/README.md +++ b/README.md @@ -159,8 +159,8 @@ Lets build great software together. [![Nikhil-Nandagopal](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/3897254?v=4&w=50&h=50&mask=circle)](https://github.com/Nikhil-Nandagopal) [![mohanarpit](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/458946?v=4&w=50&h=50&mask=circle)](https://github.com/mohanarpit) [![hetunandu](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/12022471?v=4&w=50&h=50&mask=circle)](https://github.com/hetunandu) -[![trishaanand](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/8403079?v=4&w=50&h=50&mask=circle)](https://github.com/trishaanand) [![sharat87](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/120119?v=4&w=50&h=50&mask=circle)](https://github.com/sharat87) +[![trishaanand](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/8403079?v=4&w=50&h=50&mask=circle)](https://github.com/trishaanand) [![riodeuno](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/103687?v=4&w=50&h=50&mask=circle)](https://github.com/riodeuno) [![vicky-primathon](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/67091118?v=4&w=50&h=50&mask=circle)](https://github.com/vicky-primathon) [![akash-codemonk](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/67054171?v=4&w=50&h=50&mask=circle)](https://github.com/akash-codemonk) @@ -171,8 +171,8 @@ Lets build great software together. [![AnaghHegde](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/12005551?v=4&w=50&h=50&mask=circle)](https://github.com/AnaghHegde) [![NandanAnantharamu](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/67676905?v=4&w=50&h=50&mask=circle)](https://github.com/NandanAnantharamu) [![arunvjn](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/32433245?v=4&w=50&h=50&mask=circle)](https://github.com/arunvjn) -[![nayan-rafiq](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/83352306?v=4&w=50&h=50&mask=circle)](https://github.com/nayan-rafiq) [![Aishwarya-U-R](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/91450662?v=4&w=50&h=50&mask=circle)](https://github.com/Aishwarya-U-R) +[![nayan-rafiq](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/83352306?v=4&w=50&h=50&mask=circle)](https://github.com/nayan-rafiq) [![abhvsn](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/41686026?v=4&w=50&h=50&mask=circle)](https://github.com/abhvsn) [![jsartisan](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/6636360?v=4&w=50&h=50&mask=circle)](https://github.com/jsartisan) [![ankitakinger](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/28362912?v=4&w=50&h=50&mask=circle)](https://github.com/ankitakinger) @@ -183,8 +183,8 @@ Lets build great software together. [![sbalaji1192](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/5328605?v=4&w=50&h=50&mask=circle)](https://github.com/sbalaji1192) [![Irongade](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/37867493?v=4&w=50&h=50&mask=circle)](https://github.com/Irongade) [![SatishGandham](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/441914?v=4&w=50&h=50&mask=circle)](https://github.com/SatishGandham) -[![yatinappsmith](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/84702014?v=4&w=50&h=50&mask=circle)](https://github.com/yatinappsmith) [![prsidhu](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/5424788?v=4&w=50&h=50&mask=circle)](https://github.com/prsidhu) +[![yatinappsmith](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/84702014?v=4&w=50&h=50&mask=circle)](https://github.com/yatinappsmith) [![sidhantgoel](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/3933675?v=4&w=50&h=50&mask=circle)](https://github.com/sidhantgoel) [![somangshu](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/11089579?v=4&w=50&h=50&mask=circle)](https://github.com/somangshu) [![ApekshaBhosale](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/7846888?v=4&w=50&h=50&mask=circle)](https://github.com/ApekshaBhosale) @@ -193,47 +193,45 @@ Lets build great software together. [![Parthvi12](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/80334441?v=4&w=50&h=50&mask=circle)](https://github.com/Parthvi12) [![marks0351](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/35134347?v=4&w=50&h=50&mask=circle)](https://github.com/marks0351) [![albinAppsmith](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/87797149?v=4&w=50&h=50&mask=circle)](https://github.com/albinAppsmith) -[![ashit-rath](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/88306433?v=4&w=50&h=50&mask=circle)](https://github.com/ashit-rath) -[![sarojsarab](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/43822041?v=4&w=50&h=50&mask=circle)](https://github.com/sarojsarab) [![AmanAgarwal041](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/7565635?v=4&w=50&h=50&mask=circle)](https://github.com/AmanAgarwal041) -[![eco-monk](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/66776129?v=4&w=50&h=50&mask=circle)](https://github.com/eco-monk) +[![ashit-rath](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/88306433?v=4&w=50&h=50&mask=circle)](https://github.com/ashit-rath) [![ayushpahwa](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/8526215?v=4&w=50&h=50&mask=circle)](https://github.com/ayushpahwa) +[![sarojsarab](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/43822041?v=4&w=50&h=50&mask=circle)](https://github.com/sarojsarab) +[![eco-monk](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/66776129?v=4&w=50&h=50&mask=circle)](https://github.com/eco-monk) +[![berzerkeer](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/74818788?v=4&w=50&h=50&mask=circle)](https://github.com/berzerkeer) [![areyabhishek](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/30255708?v=4&w=50&h=50&mask=circle)](https://github.com/areyabhishek) [![keyurparalkar](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/14138515?v=4&w=50&h=50&mask=circle)](https://github.com/keyurparalkar) [![rimildeyjsr](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/10229595?v=4&w=50&h=50&mask=circle)](https://github.com/rimildeyjsr) [![vishnu-gp](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/9128194?v=4&w=50&h=50&mask=circle)](https://github.com/vishnu-gp) -[![berzerkeer](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/74818788?v=4&w=50&h=50&mask=circle)](https://github.com/berzerkeer) [![sneha122](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/30018882?v=4&w=50&h=50&mask=circle)](https://github.com/sneha122) [![ChandanBalajiBP](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/104058110?v=4&w=50&h=50&mask=circle)](https://github.com/ChandanBalajiBP) [![pratapaprasanna](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/15846947?v=4&w=50&h=50&mask=circle)](https://github.com/pratapaprasanna) [![megaconfidence](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/17744578?v=4&w=50&h=50&mask=circle)](https://github.com/megaconfidence) [![sum35h](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/20785806?v=4&w=50&h=50&mask=circle)](https://github.com/sum35h) -[![nsarupr](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/20905988?v=4&w=50&h=50&mask=circle)](https://github.com/nsarupr) -[![vihar](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/16307796?v=4&w=50&h=50&mask=circle)](https://github.com/vihar) [![subrata71](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/3524599?v=4&w=50&h=50&mask=circle)](https://github.com/subrata71) -[![dhruvikn](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/22471214?v=4&w=50&h=50&mask=circle)](https://github.com/dhruvikn) +[![nsarupr](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/20905988?v=4&w=50&h=50&mask=circle)](https://github.com/nsarupr) [![Vijetha-Kaja](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/119562824?v=4&w=50&h=50&mask=circle)](https://github.com/Vijetha-Kaja) +[![dhruvikn](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/22471214?v=4&w=50&h=50&mask=circle)](https://github.com/dhruvikn) [![tanvibhakta](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/13763558?v=4&w=50&h=50&mask=circle)](https://github.com/tanvibhakta) [![NilanshBansal](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/25542733?v=4&w=50&h=50&mask=circle)](https://github.com/NilanshBansal) [![sondermanish](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/107841575?v=4&w=50&h=50&mask=circle)](https://github.com/sondermanish) -[![prapullac](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/71753653?v=4&w=50&h=50&mask=circle)](https://github.com/prapullac) -[![Druthi](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/20187542?v=4&w=50&h=50&mask=circle)](https://github.com/Druthi) [![vsvamsi1](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/121419957?v=4&w=50&h=50&mask=circle)](https://github.com/vsvamsi1) -[![rohitagarwal88](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/890915?v=4&w=50&h=50&mask=circle)](https://github.com/rohitagarwal88) +[![Druthi](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/20187542?v=4&w=50&h=50&mask=circle)](https://github.com/Druthi) [![ravikp7](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/13567359?v=4&w=50&h=50&mask=circle)](https://github.com/ravikp7) -[![PiyushPushkar02](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/118709669?v=4&w=50&h=50&mask=circle)](https://github.com/PiyushPushkar02) [![rajatagrawal](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/1189106?v=4&w=50&h=50&mask=circle)](https://github.com/rajatagrawal) [![KelvinOm](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/11555074?v=4&w=50&h=50&mask=circle)](https://github.com/KelvinOm) -[![Pranay105](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/48308728?v=4&w=50&h=50&mask=circle)](https://github.com/Pranay105) +[![PiyushPushkar02](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/118709669?v=4&w=50&h=50&mask=circle)](https://github.com/PiyushPushkar02) +[![rohitagarwal88](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/890915?v=4&w=50&h=50&mask=circle)](https://github.com/rohitagarwal88) [![ankitsrivas14](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/67647761?v=4&w=50&h=50&mask=circle)](https://github.com/ankitsrivas14) +[![Pranay105](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/48308728?v=4&w=50&h=50&mask=circle)](https://github.com/Pranay105) [![ramsaptami](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/79509062?v=4&w=50&h=50&mask=circle)](https://github.com/ramsaptami) -[![sanveer-osahan](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/28753975?v=4&w=50&h=50&mask=circle)](https://github.com/sanveer-osahan) [![ichik](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/80973?v=4&w=50&h=50&mask=circle)](https://github.com/ichik) +[![rahulbarwal](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/6761673?v=4&w=50&h=50&mask=circle)](https://github.com/rahulbarwal) +[![rohan-arthur](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/94514895?v=4&w=50&h=50&mask=circle)](https://github.com/rohan-arthur) +[![sanveer-osahan](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/28753975?v=4&w=50&h=50&mask=circle)](https://github.com/sanveer-osahan) [![dipyamanbiswas07](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/26247571?v=4&w=50&h=50&mask=circle)](https://github.com/dipyamanbiswas07) [![vivonk](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/25587962?v=4&w=50&h=50&mask=circle)](https://github.com/vivonk) -[![rahulbarwal](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/6761673?v=4&w=50&h=50&mask=circle)](https://github.com/rahulbarwal) [![kocharrahul7](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/20532920?v=4&w=50&h=50&mask=circle)](https://github.com/kocharrahul7) -[![rohan-arthur](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/94514895?v=4&w=50&h=50&mask=circle)](https://github.com/rohan-arthur) [![AS-Laguna](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/101155659?v=4&w=50&h=50&mask=circle)](https://github.com/AS-Laguna) [![jacquesikot](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/40626453?v=4&w=50&h=50&mask=circle)](https://github.com/jacquesikot) [![RakshaKShetty](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/45958978?v=4&w=50&h=50&mask=circle)](https://github.com/RakshaKShetty) @@ -265,7 +263,7 @@ Lets build great software together. [![AnandiKulkarni](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/80756091?v=4&w=50&h=50&mask=circle)](https://github.com/AnandiKulkarni) [![momcilo-appsmith](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/81744497?v=4&w=50&h=50&mask=circle)](https://github.com/momcilo-appsmith) [![shwetha-ramesh](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/92293815?v=4&w=50&h=50&mask=circle)](https://github.com/shwetha-ramesh) -[![vasanth-appsmith](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/92305123?v=4&w=50&h=50&mask=circle)](https://github.com/vasanth-appsmith) +[![vasanthappsmith](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/92305123?v=4&w=50&h=50&mask=circle)](https://github.com/vasanthappsmith) [![parth-appsmith](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/92779003?v=4&w=50&h=50&mask=circle)](https://github.com/parth-appsmith) [![Richarex](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/93259714?v=4&w=50&h=50&mask=circle)](https://github.com/Richarex) [![chandannkumar](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/95341241?v=4&w=50&h=50&mask=circle)](https://github.com/chandannkumar) @@ -285,6 +283,7 @@ Lets build great software together. [![abhiappsmith](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/129862317?v=4&w=50&h=50&mask=circle)](https://github.com/abhiappsmith) [![deepikaappsmith](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/130959931?v=4&w=50&h=50&mask=circle)](https://github.com/deepikaappsmith) [![tkAppsmith](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/131347120?v=4&w=50&h=50&mask=circle)](https://github.com/tkAppsmith) +[![prapullc](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/132243297?v=4&w=50&h=50&mask=circle)](https://github.com/prapullc) [![rishabhsaxena](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/1944800?v=4&w=50&h=50&mask=circle)](https://github.com/rishabhsaxena) [![wmdev0808](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/82799722?v=4&w=50&h=50&mask=circle)](https://github.com/wmdev0808) [![techbhavin](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/58818598?v=4&w=50&h=50&mask=circle)](https://github.com/techbhavin) @@ -295,6 +294,7 @@ Lets build great software together. [![rashmigowda55](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/65769804?v=4&w=50&h=50&mask=circle)](https://github.com/rashmigowda55) [![ankurrsinghal](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/17961105?v=4&w=50&h=50&mask=circle)](https://github.com/ankurrsinghal) [![geekup-legodevops](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/72587752?v=4&w=50&h=50&mask=circle)](https://github.com/geekup-legodevops) +[![vihar](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/16307796?v=4&w=50&h=50&mask=circle)](https://github.com/vihar) [![danieldare](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/25982036?v=4&w=50&h=50&mask=circle)](https://github.com/danieldare) [![Nikhil-Curefit](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/30792005?v=4&w=50&h=50&mask=circle)](https://github.com/Nikhil-Curefit) [![souma-ghosh](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/103924539?v=4&w=50&h=50&mask=circle)](https://github.com/souma-ghosh) @@ -303,6 +303,7 @@ Lets build great software together. [![leotom2000](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/8027694?v=4&w=50&h=50&mask=circle)](https://github.com/leotom2000) [![Adityaacharya1807](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/32693902?v=4&w=50&h=50&mask=circle)](https://github.com/Adityaacharya1807) [![RashmiNagarajp](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/61830113?v=4&w=50&h=50&mask=circle)](https://github.com/RashmiNagarajp) +[![prapullac](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/71753653?v=4&w=50&h=50&mask=circle)](https://github.com/prapullac) [![kaushik94](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/6545467?v=4&w=50&h=50&mask=circle)](https://github.com/kaushik94) [![akshayrangasaid](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/76783810?v=4&w=50&h=50&mask=circle)](https://github.com/akshayrangasaid) [![mojtab23](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/5852362?v=4&w=50&h=50&mask=circle)](https://github.com/mojtab23) @@ -350,6 +351,7 @@ Lets build great software together. [![nuwan94](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/25694570?v=4&w=50&h=50&mask=circle)](https://github.com/nuwan94) [![OmkarPh](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/48476025?v=4&w=50&h=50&mask=circle)](https://github.com/OmkarPh) [![parthiv11](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/75653580?v=4&w=50&h=50&mask=circle)](https://github.com/parthiv11) +[![priyanka-mahour](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/43825112?v=4&w=50&h=50&mask=circle)](https://github.com/priyanka-mahour) [![rafaeelaudibert](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/32079912?v=4&w=50&h=50&mask=circle)](https://github.com/rafaeelaudibert) [![samyakjain10](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/56185041?v=4&w=50&h=50&mask=circle)](https://github.com/samyakjain10) [![Jain-Sanchit](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/31254015?v=4&w=50&h=50&mask=circle)](https://github.com/Jain-Sanchit) @@ -373,6 +375,7 @@ Lets build great software together. [![apoorv-mishra](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/15694566?v=4&w=50&h=50&mask=circle)](https://github.com/apoorv-mishra) [![anvaravind](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/12210689?v=4&w=50&h=50&mask=circle)](https://github.com/anvaravind) [![ari-hacks](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/36749814?v=4&w=50&h=50&mask=circle)](https://github.com/ari-hacks) +[![arunstar](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/21214162?v=4&w=50&h=50&mask=circle)](https://github.com/arunstar) [![ashwanisindhu1](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/549817?v=4&w=50&h=50&mask=circle)](https://github.com/ashwanisindhu1) [![Caitlin-Fotheringham](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/49273562?v=4&w=50&h=50&mask=circle)](https://github.com/Caitlin-Fotheringham) [![Chiradeep-Banik](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/76490903?v=4&w=50&h=50&mask=circle)](https://github.com/Chiradeep-Banik) @@ -382,6 +385,7 @@ Lets build great software together. [![DiptoChakrabarty](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/45638240?v=4&w=50&h=50&mask=circle)](https://github.com/DiptoChakrabarty) [![felixsuarez0727](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/25110207?v=4&w=50&h=50&mask=circle)](https://github.com/felixsuarez0727) [![gitstart](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/1501599?v=4&w=50&h=50&mask=circle)](https://github.com/gitstart) +[![harshmange44](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/47944044?v=4&w=50&h=50&mask=circle)](https://github.com/harshmange44) [![ishaanmehta4](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/61118240?v=4&w=50&h=50&mask=circle)](https://github.com/ishaanmehta4) [![iamakulov](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/2953267?v=4&w=50&h=50&mask=circle)](https://github.com/iamakulov) [![jarimayenburg](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/11874892?v=4&w=50&h=50&mask=circle)](https://github.com/jarimayenburg) @@ -407,7 +411,6 @@ Lets build great software together. [![paususe](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/50680111?v=4&w=50&h=50&mask=circle)](https://github.com/paususe) [![neok](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/600233?v=4&w=50&h=50&mask=circle)](https://github.com/neok) [![sanchezpili6](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/37568592?v=4&w=50&h=50&mask=circle)](https://github.com/sanchezpili6) -[![priyanka-mahour](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/43825112?v=4&w=50&h=50&mask=circle)](https://github.com/priyanka-mahour) [![pushkar1393](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/31943620?v=4&w=50&h=50&mask=circle)](https://github.com/pushkar1393) [![imor](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/1666073?v=4&w=50&h=50&mask=circle)](https://github.com/imor) [![ricardocarrola](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/11631915?v=4&w=50&h=50&mask=circle)](https://github.com/ricardocarrola) diff --git a/app/client/cypress/fixtures/AllWidgetsDsl.json b/app/client/cypress/fixtures/AllWidgetsDsl.json new file mode 100644 index 0000000000..7efe112581 --- /dev/null +++ b/app/client/cypress/fixtures/AllWidgetsDsl.json @@ -0,0 +1,1972 @@ +{ + "dsl": { + "widgetName": "MainContainer", + "backgroundColor": "none", + "rightColumn": 4896, + "snapColumns": 64, + "detachFromLayout": true, + "widgetId": "0", + "topRow": 0, + "bottomRow": 2650, + "containerStyle": "none", + "snapRows": 124, + "parentRowSpace": 1, + "type": "CANVAS_WIDGET", + "canExtend": true, + "version": 78, + "minHeight": 1292, + "useAutoLayout": false, + "dynamicTriggerPathList": [], + "parentColumnSpace": 1, + "dynamicBindingPathList": [], + "leftColumn": 0, + "children": [ + { + "mobileBottomRow": 9, + "widgetName": "Audio1", + "displayName": "Audio", + "iconSVG": "/static/media/icon.cb54df7a09016b0af5e520895be927b9.svg", + "searchTags": [ + "mp3", + "sound", + "wave", + "player" + ], + "topRow": 5, + "bottomRow": 9, + "parentRowSpace": 10, + "type": "AUDIO_WIDGET", + "hideCard": false, + "mobileRightColumn": 22, + "animateLoading": true, + "parentColumnSpace": 10.03125, + "leftColumn": 0, + "dynamicBindingPathList": [], + "key": "wepftp423b", + "isDeprecated": false, + "rightColumn": 22, + "widgetId": "cqx0cffadl", + "minWidth": 450, + "isVisible": true, + "version": 1, + "url": "https://assets.appsmith.com/widgets/birds_chirping.mp3", + "parentId": "0", + "renderMode": "CANVAS", + "isLoading": false, + "mobileTopRow": 5, + "responsiveBehavior": "fill", + "mobileLeftColumn": 0, + "autoPlay": false + }, + { + "resetFormOnClick": false, + "boxShadow": "none", + "mobileBottomRow": 15, + "widgetName": "Button1", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "displayName": "Button", + "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", + "searchTags": [ + "click", + "submit" + ], + "topRow": 11, + "bottomRow": 15, + "parentRowSpace": 10, + "type": "BUTTON_WIDGET", + "hideCard": false, + "mobileRightColumn": 19, + "animateLoading": true, + "parentColumnSpace": 10.03125, + "leftColumn": 3, + "dynamicBindingPathList": [ + { + "key": "buttonColor" + }, + { + "key": "borderRadius" + } + ], + "text": "Submit", + "isDisabled": false, + "key": "hnl12ftpb9", + "isDeprecated": false, + "rightColumn": 19, + "isDefaultClickDisabled": true, + "widgetId": "dde68q7diz", + "minWidth": 120, + "isVisible": true, + "recaptchaType": "V3", + "version": 1, + "parentId": "0", + "renderMode": "CANVAS", + "isLoading": false, + "mobileTopRow": 11, + "responsiveBehavior": "hug", + "disabledWhenInvalid": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "mobileLeftColumn": 3, + "buttonVariant": "PRIMARY", + "placement": "CENTER" + }, + { + "boxShadow": "none", + "mobileBottomRow": 21, + "widgetName": "ButtonGroup1", + "isCanvas": false, + "displayName": "Button Group", + "iconSVG": "/static/media/icon.d6773218cfb61dcfa5f460d43371e30d.svg", + "searchTags": [ + "click", + "submit" + ], + "topRow": 17, + "bottomRow": 21, + "parentRowSpace": 10, + "groupButtons": { + "groupButton1": { + "label": "Favorite", + "iconName": "heart", + "id": "groupButton1", + "widgetId": "", + "buttonType": "SIMPLE", + "placement": "CENTER", + "isVisible": true, + "isDisabled": false, + "index": 0, + "menuItems": {}, + "buttonColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "groupButton2": { + "label": "Add", + "iconName": "add", + "id": "groupButton2", + "buttonType": "SIMPLE", + "placement": "CENTER", + "widgetId": "", + "isVisible": true, + "isDisabled": false, + "index": 1, + "menuItems": {}, + "buttonColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "groupButton3": { + "label": "More", + "iconName": "more", + "id": "groupButton3", + "buttonType": "MENU", + "placement": "CENTER", + "widgetId": "", + "isVisible": true, + "isDisabled": false, + "index": 2, + "menuItems": { + "menuItem1": { + "label": "First Option", + "backgroundColor": "#FFFFFF", + "id": "menuItem1", + "widgetId": "", + "onClick": "", + "isVisible": true, + "isDisabled": false, + "index": 0 + }, + "menuItem2": { + "label": "Second Option", + "backgroundColor": "#FFFFFF", + "id": "menuItem2", + "widgetId": "", + "onClick": "", + "isVisible": true, + "isDisabled": false, + "index": 1 + }, + "menuItem3": { + "label": "Delete", + "iconName": "trash", + "iconColor": "#FFFFFF", + "iconAlign": "right", + "textColor": "#FFFFFF", + "backgroundColor": "#DD4B34", + "id": "menuItem3", + "widgetId": "", + "onClick": "", + "isVisible": true, + "isDisabled": false, + "index": 2 + } + }, + "buttonColor": "{{appsmith.theme.colors.primaryColor}}" + } + }, + "type": "BUTTON_GROUP_WIDGET", + "hideCard": false, + "mobileRightColumn": 25, + "animateLoading": true, + "parentColumnSpace": 10.03125, + "leftColumn": 1, + "dynamicBindingPathList": [ + { + "key": "borderRadius" + }, + { + "key": "groupButtons.groupButton1.buttonColor" + }, + { + "key": "groupButtons.groupButton2.buttonColor" + }, + { + "key": "groupButtons.groupButton3.buttonColor" + } + ], + "key": "lomd6hddy3", + "orientation": "horizontal", + "isDeprecated": false, + "rightColumn": 25, + "widgetId": "tdxq4aj65p", + "minWidth": 450, + "isVisible": true, + "version": 1, + "parentId": "0", + "renderMode": "CANVAS", + "isLoading": false, + "mobileTopRow": 17, + "responsiveBehavior": "fill", + "childStylesheet": { + "button": { + "buttonColor": "{{appsmith.theme.colors.primaryColor}}" + } + }, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "mobileLeftColumn": 1, + "buttonVariant": "PRIMARY" + }, + { + "mobileBottomRow": 27, + "widgetName": "Checkbox1", + "displayName": "Checkbox", + "iconSVG": "/static/media/icon.aaab032b43383e4fa53ffc0ef40c90ef.svg", + "searchTags": [ + "boolean" + ], + "topRow": 23, + "bottomRow": 27, + "parentRowSpace": 10, + "type": "CHECKBOX_WIDGET", + "alignWidget": "LEFT", + "hideCard": false, + "mobileRightColumn": 15, + "animateLoading": true, + "parentColumnSpace": 10.03125, + "leftColumn": 3, + "dynamicBindingPathList": [ + { + "key": "accentColor" + }, + { + "key": "borderRadius" + } + ], + "labelPosition": "Left", + "isDisabled": false, + "key": "dt2dmbqchf", + "isRequired": false, + "isDeprecated": false, + "rightColumn": 15, + "dynamicHeight": "AUTO_HEIGHT", + "widgetId": "05fz5frvxf", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "minWidth": 450, + "isVisible": true, + "label": "Label", + "version": 1, + "parentId": "0", + "renderMode": "CANVAS", + "isLoading": false, + "mobileTopRow": 23, + "responsiveBehavior": "fill", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "mobileLeftColumn": 3, + "defaultCheckedState": true, + "maxDynamicHeight": 9000, + "minDynamicHeight": 4 + }, + { + "mobileBottomRow": 34, + "widgetName": "CheckboxGroup1", + "displayName": "Checkbox Group", + "iconSVG": "/static/media/icon.ecb3847950c4515966ef642a32758afb.svg", + "labelText": "Label", + "topRow": 28, + "bottomRow": 38, + "parentRowSpace": 10, + "labelWidth": 5, + "type": "CHECKBOX_GROUP_WIDGET", + "hideCard": false, + "mobileRightColumn": 25, + "animateLoading": true, + "parentColumnSpace": 10.03125, + "leftColumn": 2, + "dynamicBindingPathList": [ + { + "key": "accentColor" + }, + { + "key": "borderRadius" + } + ], + "labelPosition": "Top", + "options": [ + { + "label": "Blue", + "value": "BLUE" + }, + { + "label": "Green", + "value": "GREEN" + }, + { + "label": "Red", + "value": "RED" + } + ], + "isDisabled": false, + "key": "ugac8kwnmi", + "labelTextSize": "0.875rem", + "isRequired": false, + "isDeprecated": false, + "rightColumn": 25, + "defaultSelectedValues": [ + "BLUE" + ], + "dynamicHeight": "AUTO_HEIGHT", + "widgetId": "amwq9rkvss", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "version": 2, + "parentId": "0", + "labelAlignment": "left", + "renderMode": "CANVAS", + "isLoading": false, + "mobileTopRow": 28, + "originalTopRow": 28, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "mobileLeftColumn": 2, + "maxDynamicHeight": 9000, + "originalBottomRow": 38, + "isInline": true, + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "dateFormat": "YYYY-MM-DD HH:mm", + "iconSVG": "/static/media/icon.300e5ab8e2e1c26c7a0bad06116842b7.svg", + "topRow": 40, + "labelWidth": 5, + "type": "DATE_PICKER_WIDGET2", + "animateLoading": true, + "leftColumn": 2, + "dynamicBindingPathList": [ + { + "key": "accentColor" + }, + { + "key": "borderRadius" + } + ], + "isDisabled": false, + "isRequired": false, + "dynamicHeight": "FIXED", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "datePickerType": "DATE_PICKER", + "version": 2, + "isLoading": false, + "timePrecision": "minute", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "originalBottomRow": 47, + "closeOnSelection": true, + "mobileBottomRow": 47, + "widgetName": "DatePicker1", + "minDate": "1920-12-31T18:30:00.000Z", + "displayName": "DatePicker", + "searchTags": [ + "calendar" + ], + "bottomRow": 47, + "shortcuts": false, + "parentRowSpace": 10, + "hideCard": false, + "mobileRightColumn": 22, + "parentColumnSpace": 10.03125, + "labelPosition": "Top", + "key": "325umfw0jz", + "labelTextSize": "0.875rem", + "defaultDate": "2023-04-13T16:51:33.585Z", + "isDeprecated": false, + "rightColumn": 22, + "widgetId": "08k5ekcorx", + "minWidth": 450, + "label": "Label", + "parentId": "0", + "labelAlignment": "left", + "renderMode": "CANVAS", + "mobileTopRow": 40, + "responsiveBehavior": "fill", + "originalTopRow": 40, + "mobileLeftColumn": 2, + "maxDynamicHeight": 9000, + "firstDayOfWeek": 0, + "maxDate": "2121-12-31T18:29:00.000Z", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "iconSVG": "/static/media/icon.9f505595da61a34f563dba82adeb06ec.svg", + "topRow": 49, + "labelWidth": 5, + "type": "INPUT_WIDGET_V2", + "animateLoading": true, + "resetOnSubmit": true, + "leftColumn": 3, + "dynamicBindingPathList": [ + { + "key": "accentColor" + }, + { + "key": "borderRadius" + } + ], + "labelStyle": "", + "inputType": "TEXT", + "isDisabled": false, + "isRequired": false, + "dynamicHeight": "FIXED", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "showStepArrows": false, + "isVisible": true, + "version": 2, + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "originalBottomRow": 56, + "mobileBottomRow": 56, + "widgetName": "Input1", + "displayName": "Input", + "searchTags": [ + "form", + "text input", + "number", + "textarea" + ], + "bottomRow": 56, + "parentRowSpace": 10, + "autoFocus": false, + "hideCard": false, + "mobileRightColumn": 23, + "parentColumnSpace": 10.03125, + "labelPosition": "Top", + "key": "6hdoxb99f2", + "labelTextSize": "0.875rem", + "isDeprecated": false, + "rightColumn": 23, + "widgetId": "zkk2j3slsu", + "minWidth": 450, + "label": "Label", + "parentId": "0", + "labelAlignment": "left", + "renderMode": "CANVAS", + "mobileTopRow": 49, + "responsiveBehavior": "fill", + "originalTopRow": 49, + "mobileLeftColumn": 3, + "maxDynamicHeight": 9000, + "iconAlign": "left", + "defaultText": "", + "minDynamicHeight": 4 + }, + { + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "requiresFlatWidgetChildren": true, + "isCanvas": true, + "iconSVG": "/static/media/icon.9925ee17dee37bf1ba7374412563a8a7.svg", + "topRow": 58, + "pageSize": 3, + "type": "LIST_WIDGET_V2", + "itemSpacing": 8, + "animateLoading": true, + "dynamicBindingPathList": [ + { + "key": "currentItemsView" + }, + { + "key": "selectedItemView" + }, + { + "key": "triggeredItemView" + }, + { + "key": "primaryKeys" + }, + { + "key": "accentColor" + }, + { + "key": "borderRadius" + }, + { + "key": "boxShadow" + } + ], + "leftColumn": 1, + "enhancements": true, + "children": [ + { + "mobileBottomRow": 400, + "widgetName": "Canvas1", + "displayName": "Canvas", + "topRow": 0, + "bottomRow": 400, + "parentRowSpace": 1, + "type": "CANVAS_WIDGET", + "canExtend": false, + "hideCard": true, + "dropDisabled": true, + "openParentPropertyPane": true, + "minHeight": 400, + "mobileRightColumn": 240.75, + "noPad": true, + "parentColumnSpace": 1, + "leftColumn": 0, + "dynamicBindingPathList": [], + "children": [ + { + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "mobileBottomRow": 12, + "widgetName": "Container1", + "borderColor": "#E0DEDE", + "disallowCopy": true, + "isCanvas": true, + "displayName": "Container", + "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg", + "searchTags": [ + "div", + "parent", + "group" + ], + "topRow": 0, + "bottomRow": 12, + "dragDisabled": true, + "type": "CONTAINER_WIDGET", + "hideCard": false, + "shouldScrollContents": false, + "isDeletable": false, + "mobileRightColumn": 64, + "animateLoading": true, + "leftColumn": 0, + "dynamicBindingPathList": [ + { + "key": "borderRadius" + }, + { + "key": "boxShadow" + } + ], + "children": [ + { + "widgetName": "Canvas2", + "displayName": "Canvas", + "topRow": 0, + "bottomRow": 120, + "parentRowSpace": 1, + "type": "CANVAS_WIDGET", + "canExtend": false, + "hideCard": true, + "useAutoLayout": false, + "parentColumnSpace": 1, + "leftColumn": 0, + "dynamicBindingPathList": [], + "children": [ + { + "boxShadow": "none", + "mobileBottomRow": 8, + "widgetName": "Image1", + "displayName": "Image", + "iconSVG": "/static/media/icon.52d8fb963abcb95c79b10f1553389f22.svg", + "topRow": 0, + "bottomRow": 8, + "type": "IMAGE_WIDGET", + "hideCard": false, + "mobileRightColumn": 16, + "animateLoading": true, + "dynamicTriggerPathList": [], + "imageShape": "RECTANGLE", + "dynamicBindingPathList": [ + { + "key": "image" + }, + { + "key": "borderRadius" + } + ], + "leftColumn": 0, + "defaultImage": "https://assets.appsmith.com/widgets/default.png", + "key": "1d8czar35l", + "image": "{{currentItem.img}}", + "isDeprecated": false, + "rightColumn": 16, + "objectFit": "cover", + "widgetId": "abgaodgyhx", + "isVisible": true, + "version": 1, + "parentId": "zp7wqq5ndn", + "renderMode": "CANVAS", + "isLoading": false, + "mobileTopRow": 0, + "maxZoomLevel": 1, + "enableDownload": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "mobileLeftColumn": 0, + "enableRotation": false + }, + { + "boxShadow": "none", + "mobileBottomRow": 4, + "widgetName": "Text1", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", + "searchTags": [ + "typography", + "paragraph", + "label" + ], + "topRow": 0, + "bottomRow": 4, + "type": "TEXT_WIDGET", + "hideCard": false, + "mobileRightColumn": 28, + "animateLoading": true, + "overflow": "NONE", + "dynamicTriggerPathList": [], + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "dynamicBindingPathList": [ + { + "key": "text" + }, + { + "key": "truncateButtonColor" + }, + { + "key": "fontFamily" + }, + { + "key": "borderRadius" + } + ], + "leftColumn": 16, + "shouldTruncate": false, + "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", + "text": "{{currentItem.name}}", + "key": "y05kp45w45", + "isDeprecated": false, + "rightColumn": 28, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "1bf9w049x1", + "minWidth": 450, + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "zp7wqq5ndn", + "renderMode": "CANVAS", + "isLoading": false, + "mobileTopRow": 0, + "responsiveBehavior": "fill", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "mobileLeftColumn": 16, + "maxDynamicHeight": 9000, + "fontSize": "1rem", + "textStyle": "HEADING", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "mobileBottomRow": 8, + "widgetName": "Text2", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", + "searchTags": [ + "typography", + "paragraph", + "label" + ], + "topRow": 4, + "bottomRow": 8, + "type": "TEXT_WIDGET", + "hideCard": false, + "mobileRightColumn": 24, + "animateLoading": true, + "overflow": "NONE", + "dynamicTriggerPathList": [], + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "dynamicBindingPathList": [ + { + "key": "text" + }, + { + "key": "truncateButtonColor" + }, + { + "key": "fontFamily" + }, + { + "key": "borderRadius" + } + ], + "leftColumn": 16, + "shouldTruncate": false, + "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", + "text": "{{currentItem.id}}", + "key": "y05kp45w45", + "isDeprecated": false, + "rightColumn": 24, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "fhda7vbt1s", + "minWidth": 450, + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "zp7wqq5ndn", + "renderMode": "CANVAS", + "isLoading": false, + "mobileTopRow": 4, + "responsiveBehavior": "fill", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "mobileLeftColumn": 16, + "maxDynamicHeight": 9000, + "fontSize": "1rem", + "textStyle": "BODY", + "minDynamicHeight": 4 + } + ], + "key": "4n2p4ppe93", + "isDeprecated": false, + "detachFromLayout": true, + "widgetId": "zp7wqq5ndn", + "containerStyle": "none", + "minWidth": 450, + "isVisible": true, + "version": 1, + "parentId": "qmmk26pieg", + "renderMode": "CANVAS", + "isLoading": false, + "mobileTopRow": 0, + "responsiveBehavior": "fill", + "mobileLeftColumn": 0, + "flexLayers": [] + } + ], + "borderWidth": "1", + "positioning": "fixed", + "key": "4pw4gqptcn", + "backgroundColor": "white", + "isDeprecated": false, + "rightColumn": 64, + "dynamicHeight": "FIXED", + "widgetId": "qmmk26pieg", + "containerStyle": "card", + "minWidth": 450, + "isVisible": true, + "version": 1, + "parentId": "0lys7d9whp", + "renderMode": "CANVAS", + "isLoading": false, + "mobileTopRow": 0, + "responsiveBehavior": "fill", + "noContainerOffset": true, + "disabledWidgetFeatures": [ + "dynamicHeight" + ], + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "mobileLeftColumn": 0, + "maxDynamicHeight": 9000, + "minDynamicHeight": 10 + } + ], + "key": "4n2p4ppe93", + "isDeprecated": false, + "rightColumn": 240.75, + "detachFromLayout": true, + "widgetId": "0lys7d9whp", + "containerStyle": "none", + "minWidth": 450, + "isVisible": true, + "version": 1, + "parentId": "lp5w5fpgbw", + "renderMode": "CANVAS", + "isLoading": false, + "mobileTopRow": 0, + "responsiveBehavior": "fill", + "mobileLeftColumn": 0, + "flexLayers": [] + } + ], + "itemBackgroundColor": "#FFFFFF", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "hasMetaWidgets": true, + "isLoading": false, + "mainCanvasId": "0lys7d9whp", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "originalBottomRow": 98, + "additionalStaticProps": [ + "level", + "levelData", + "prefixMetaWidgetId", + "metaWidgetId" + ], + "mobileBottomRow": 98, + "currentItemsView": "{{[]}}", + "triggeredItemView": "{{{}}}", + "widgetName": "List1", + "listData": [ + { + "id": "001", + "name": "Blue", + "img": "https://assets.appsmith.com/widgets/default.png" + }, + { + "id": "002", + "name": "Green", + "img": "https://assets.appsmith.com/widgets/default.png" + }, + { + "id": "003", + "name": "Red", + "img": "https://assets.appsmith.com/widgets/default.png" + } + ], + "displayName": "List", + "bottomRow": 98, + "parentRowSpace": 10, + "hideCard": false, + "templateBottomRow": 16, + "mobileRightColumn": 25, + "mainContainerId": "qmmk26pieg", + "primaryKeys": "{{List1.listData.map((currentItem, currentIndex) => currentItem[\"id\"] )}}", + "parentColumnSpace": 10.03125, + "gridType": "vertical", + "key": "mra6j9j9ml", + "backgroundColor": "transparent", + "isDeprecated": false, + "rightColumn": 25, + "widgetId": "lp5w5fpgbw", + "minWidth": 450, + "parentId": "0", + "renderMode": "CANVAS", + "mobileTopRow": 58, + "responsiveBehavior": "fill", + "originalTopRow": 58, + "mobileLeftColumn": 1, + "selectedItemView": "{{{}}}" + }, + { + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "mobileBottomRow": 116, + "widgetName": "Tabs1", + "borderColor": "#E0DEDE", + "isCanvas": true, + "displayName": "Tabs", + "iconSVG": "/static/media/icon.74a6d653c8201e66f1cd367a3fba2657.svg", + "topRow": 101, + "bottomRow": 120, + "parentRowSpace": 10, + "type": "TABS_WIDGET", + "hideCard": false, + "shouldScrollContents": true, + "mobileRightColumn": 25, + "animateLoading": true, + "parentColumnSpace": 10.03125, + "leftColumn": 1, + "dynamicBindingPathList": [ + { + "key": "accentColor" + }, + { + "key": "borderRadius" + }, + { + "key": "boxShadow" + } + ], + "children": [ + { + "tabId": "tab1", + "mobileBottomRow": 150, + "widgetName": "Canvas3", + "displayName": "Canvas", + "bottomRow": 150, + "topRow": 0, + "parentRowSpace": 1, + "type": "CANVAS_WIDGET", + "canExtend": true, + "hideCard": true, + "shouldScrollContents": false, + "minHeight": 150, + "mobileRightColumn": 240.75, + "parentColumnSpace": 1, + "leftColumn": 0, + "dynamicBindingPathList": [], + "children": [], + "isDisabled": false, + "key": "4n2p4ppe93", + "isDeprecated": false, + "tabName": "Tab 1", + "rightColumn": 240.75, + "detachFromLayout": true, + "widgetId": "hxi8t9w9jh", + "minWidth": 450, + "isVisible": true, + "version": 1, + "parentId": "fw9bl8utai", + "renderMode": "CANVAS", + "isLoading": false, + "mobileTopRow": 0, + "responsiveBehavior": "fill", + "mobileLeftColumn": 0, + "flexLayers": [] + }, + { + "tabId": "tab2", + "mobileBottomRow": 150, + "widgetName": "Canvas4", + "displayName": "Canvas", + "bottomRow": 150, + "topRow": 0, + "parentRowSpace": 1, + "type": "CANVAS_WIDGET", + "canExtend": true, + "hideCard": true, + "shouldScrollContents": false, + "minHeight": 150, + "mobileRightColumn": 240.75, + "parentColumnSpace": 1, + "leftColumn": 0, + "dynamicBindingPathList": [], + "children": [], + "isDisabled": false, + "key": "4n2p4ppe93", + "isDeprecated": false, + "tabName": "Tab 2", + "rightColumn": 240.75, + "detachFromLayout": true, + "widgetId": "uyhoargjdb", + "minWidth": 450, + "isVisible": true, + "version": 1, + "parentId": "fw9bl8utai", + "renderMode": "CANVAS", + "isLoading": false, + "mobileTopRow": 0, + "responsiveBehavior": "fill", + "mobileLeftColumn": 0, + "flexLayers": [] + } + ], + "borderWidth": 1, + "key": "n5ws0upilc", + "backgroundColor": "#FFFFFF", + "isDeprecated": false, + "rightColumn": 25, + "dynamicHeight": "AUTO_HEIGHT", + "widgetId": "fw9bl8utai", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "defaultTab": "Tab 1", + "shouldShowTabs": true, + "minWidth": 450, + "tabsObj": { + "tab1": { + "label": "Tab 1", + "id": "tab1", + "widgetId": "hxi8t9w9jh", + "isVisible": true, + "index": 0, + "positioning": "vertical" + }, + "tab2": { + "label": "Tab 2", + "id": "tab2", + "widgetId": "uyhoargjdb", + "isVisible": true, + "index": 1, + "positioning": "vertical" + } + }, + "isVisible": true, + "version": 3, + "parentId": "0", + "renderMode": "CANVAS", + "isLoading": false, + "mobileTopRow": 101, + "responsiveBehavior": "fill", + "originalTopRow": 101, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "mobileLeftColumn": 1, + "maxDynamicHeight": 9000, + "originalBottomRow": 120, + "minDynamicHeight": 15 + }, + { + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "borderColor": "#E0DEDE", + "isVisibleDownload": true, + "iconSVG": "/static/media/icon.db8a9cbd2acd22a31ea91cc37ea2a46c.svg", + "topRow": 123, + "isSortable": true, + "type": "TABLE_WIDGET_V2", + "inlineEditingSaveOption": "ROW_LEVEL", + "animateLoading": true, + "dynamicBindingPathList": [ + { + "key": "primaryColumns.step.computedValue" + }, + { + "key": "primaryColumns.task.computedValue" + }, + { + "key": "primaryColumns.status.computedValue" + }, + { + "key": "primaryColumns.action.computedValue" + }, + { + "key": "primaryColumns.action.buttonColor" + }, + { + "key": "primaryColumns.action.borderRadius" + }, + { + "key": "primaryColumns.action.boxShadow" + }, + { + "key": "accentColor" + }, + { + "key": "borderRadius" + }, + { + "key": "boxShadow" + } + ], + "needsHeightForContent": true, + "leftColumn": 0, + "delimiter": ",", + "defaultSelectedRowIndex": 0, + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisibleFilters": true, + "isVisible": true, + "enableClientSideSearch": true, + "version": 1, + "totalRecordsCount": 0, + "isLoading": false, + "childStylesheet": { + "button": { + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none" + }, + "menuButton": { + "menuColor": "{{appsmith.theme.colors.primaryColor}}", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none" + }, + "iconButton": { + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none" + }, + "editActions": { + "saveButtonColor": "{{appsmith.theme.colors.primaryColor}}", + "saveBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "discardButtonColor": "{{appsmith.theme.colors.primaryColor}}", + "discardBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}" + } + }, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "columnUpdatedAt": 1681404693628, + "originalBottomRow": 151, + "defaultSelectedRowIndices": [ + 0 + ], + "mobileBottomRow": 151, + "widgetName": "Table1", + "defaultPageSize": 0, + "columnOrder": [ + "step", + "task", + "status", + "action" + ], + "dynamicPropertyPathList": [], + "displayName": "Table", + "bottomRow": 151, + "columnWidthMap": { + "task": 245, + "step": 70, + "status": 85 + }, + "parentRowSpace": 10, + "hideCard": false, + "mobileRightColumn": 25, + "parentColumnSpace": 10.03125, + "borderWidth": "1", + "primaryColumns": { + "step": { + "index": 0, + "width": 150, + "id": "step", + "originalId": "step", + "alias": "step", + "allowSameOptionsInNewRow": true, + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "text", + "textSize": "0.875rem", + "enableFilter": true, + "enableSort": true, + "isVisible": true, + "isCellVisible": true, + "isCellEditable": false, + "isDerived": false, + "label": "step", + "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"step\"]))}}", + "validation": {}, + "sticky": "", + "labelColor": "#FFFFFF" + }, + "task": { + "index": 1, + "width": 150, + "id": "task", + "originalId": "task", + "alias": "task", + "allowSameOptionsInNewRow": true, + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "text", + "textSize": "0.875rem", + "enableFilter": true, + "enableSort": true, + "isVisible": true, + "isCellVisible": true, + "isCellEditable": false, + "isDerived": false, + "label": "task", + "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"task\"]))}}", + "validation": {}, + "sticky": "", + "labelColor": "#FFFFFF" + }, + "status": { + "index": 2, + "width": 150, + "id": "status", + "originalId": "status", + "alias": "status", + "allowSameOptionsInNewRow": true, + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "text", + "textSize": "0.875rem", + "enableFilter": true, + "enableSort": true, + "isVisible": true, + "isCellVisible": true, + "isCellEditable": false, + "isDerived": false, + "label": "status", + "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"status\"]))}}", + "validation": {}, + "sticky": "", + "labelColor": "#FFFFFF" + }, + "action": { + "index": 3, + "width": 150, + "id": "action", + "originalId": "action", + "alias": "action", + "allowSameOptionsInNewRow": true, + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "button", + "textSize": "0.875rem", + "enableFilter": true, + "enableSort": true, + "isVisible": true, + "isCellVisible": true, + "isCellEditable": false, + "isDisabled": false, + "isDerived": false, + "label": "action", + "onClick": "{{currentRow.step === '#1' ? showAlert('Done', 'success') : currentRow.step === '#2' ? navigateTo('https://docs.appsmith.com/core-concepts/connecting-to-data-sources/querying-a-database',undefined,'NEW_WINDOW') : navigateTo('https://docs.appsmith.com/core-concepts/displaying-data-read/display-data-tables',undefined,'NEW_WINDOW')}}", + "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"action\"]))}}", + "validation": {}, + "sticky": "", + "labelColor": "#FFFFFF", + "buttonColor": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( appsmith.theme.colors.primaryColor))}}", + "borderRadius": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( appsmith.theme.borderRadius.appBorderRadius))}}", + "boxShadow": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( 'none'))}}" + } + }, + "key": "a3cbp6h4ou", + "canFreezeColumn": true, + "isDeprecated": false, + "rightColumn": 25, + "textSize": "0.875rem", + "widgetId": "fnmc1e2pk5", + "minWidth": 450, + "tableData": [ + { + "step": "#1", + "task": "Drop a table", + "status": "✅", + "action": "" + }, + { + "step": "#2", + "task": "Create a query fetch_users with the Mock DB", + "status": "--", + "action": "" + }, + { + "step": "#3", + "task": "Bind the query using => fetch_users.data", + "status": "--", + "action": "" + } + ], + "label": "Data", + "searchKey": "", + "parentId": "0", + "renderMode": "CANVAS", + "mobileTopRow": 123, + "horizontalAlignment": "LEFT", + "isVisibleSearch": true, + "responsiveBehavior": "fill", + "originalTopRow": 123, + "mobileLeftColumn": 0, + "isVisiblePagination": true, + "verticalAlignment": "CENTER" + }, + { + "mobileBottomRow": 157, + "widgetName": "Text3", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", + "searchTags": [ + "typography", + "paragraph", + "label" + ], + "topRow": 158, + "bottomRow": 162, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "hideCard": false, + "mobileRightColumn": 20, + "animateLoading": true, + "overflow": "NONE", + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "parentColumnSpace": 10.03125, + "leftColumn": 4, + "dynamicBindingPathList": [ + { + "key": "truncateButtonColor" + }, + { + "key": "fontFamily" + }, + { + "key": "borderRadius" + } + ], + "shouldTruncate": false, + "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", + "text": "Label", + "key": "y05kp45w45", + "isDeprecated": false, + "rightColumn": 20, + "textAlign": "LEFT", + "dynamicHeight": "AUTO_HEIGHT", + "widgetId": "h3dbin57yv", + "minWidth": 450, + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "0", + "renderMode": "CANVAS", + "isLoading": false, + "mobileTopRow": 153, + "responsiveBehavior": "fill", + "originalTopRow": 158, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "mobileLeftColumn": 4, + "maxDynamicHeight": 9000, + "originalBottomRow": 162, + "fontSize": "1rem", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "iconSVG": "/static/media/icon.bd99caba5853ad71e4b3d8daffacb3a2.svg", + "labelText": "Label", + "topRow": 162, + "labelWidth": 5, + "type": "SINGLE_SELECT_TREE_WIDGET", + "defaultOptionValue": "BLUE", + "animateLoading": true, + "leftColumn": 1, + "dynamicBindingPathList": [ + { + "key": "accentColor" + }, + { + "key": "borderRadius" + } + ], + "options": [ + { + "label": "Blue", + "value": "BLUE", + "children": [ + { + "label": "Dark Blue", + "value": "DARK BLUE" + }, + { + "label": "Light Blue", + "value": "LIGHT BLUE" + } + ] + }, + { + "label": "Green", + "value": "GREEN" + }, + { + "label": "Red", + "value": "RED" + } + ], + "placeholderText": "Select option", + "isDisabled": false, + "isRequired": false, + "dynamicHeight": "FIXED", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "version": 1, + "expandAll": false, + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "originalBottomRow": 169, + "mobileBottomRow": 166, + "widgetName": "TreeSelect1", + "displayName": "TreeSelect", + "searchTags": [ + "dropdown" + ], + "bottomRow": 169, + "parentRowSpace": 10, + "hideCard": false, + "mobileRightColumn": 21, + "parentColumnSpace": 10.03125, + "labelPosition": "Top", + "key": "k5l967u58j", + "labelTextSize": "0.875rem", + "isDeprecated": false, + "rightColumn": 21, + "widgetId": "wht5ecmxqi", + "minWidth": 450, + "parentId": "0", + "labelAlignment": "left", + "renderMode": "CANVAS", + "mobileTopRow": 159, + "responsiveBehavior": "fill", + "originalTopRow": 162, + "mobileLeftColumn": 1, + "maxDynamicHeight": 9000, + "allowClear": false, + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "iconSVG": "/static/media/icon.bd99caba5853ad71e4b3d8daffacb3a2.svg", + "labelText": "Label", + "topRow": 176, + "labelWidth": 5, + "type": "SELECT_WIDGET", + "serverSideFiltering": false, + "defaultOptionValue": "GREEN", + "animateLoading": true, + "leftColumn": 0, + "dynamicBindingPathList": [ + { + "key": "accentColor" + }, + { + "key": "borderRadius" + } + ], + "options": [ + { + "label": "Blue", + "value": "BLUE" + }, + { + "label": "Green", + "value": "GREEN" + }, + { + "label": "Red", + "value": "RED" + } + ], + "placeholderText": "Select option", + "isDisabled": false, + "isRequired": false, + "dynamicHeight": "FIXED", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "version": 1, + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "originalBottomRow": 183, + "mobileBottomRow": 175, + "widgetName": "Select1", + "isFilterable": true, + "displayName": "Select", + "searchTags": [ + "dropdown" + ], + "bottomRow": 183, + "parentRowSpace": 10, + "hideCard": false, + "mobileRightColumn": 20, + "parentColumnSpace": 10.03125, + "labelPosition": "Top", + "key": "b4rxm5sj7b", + "labelTextSize": "0.875rem", + "isDeprecated": false, + "rightColumn": 20, + "widgetId": "aqr4irzrrv", + "minWidth": 450, + "parentId": "0", + "labelAlignment": "left", + "renderMode": "CANVAS", + "mobileTopRow": 168, + "responsiveBehavior": "fill", + "originalTopRow": 176, + "mobileLeftColumn": 0, + "maxDynamicHeight": 9000, + "minDynamicHeight": 4 + }, + { + "mobileBottomRow": 180, + "widgetName": "Progress1", + "progressType": "linear", + "isCanvas": false, + "displayName": "Progress", + "iconSVG": "/static/media/icon.9b0d7b96a0223e8120bf6f14aca4154a.svg", + "searchTags": [ + "percent" + ], + "topRow": 183, + "bottomRow": 187, + "parentRowSpace": 10, + "type": "PROGRESS_WIDGET", + "isIndeterminate": false, + "hideCard": false, + "fillColor": "{{appsmith.theme.colors.primaryColor}}", + "mobileRightColumn": 12, + "parentColumnSpace": 10.03125, + "leftColumn": 0, + "dynamicBindingPathList": [ + { + "key": "fillColor" + }, + { + "key": "borderRadius" + } + ], + "key": "vf31g9mqgd", + "showResult": false, + "isDeprecated": false, + "rightColumn": 12, + "counterClosewise": false, + "widgetId": "njusl29yfq", + "isVisible": true, + "steps": 1, + "version": 1, + "parentId": "0", + "renderMode": "CANVAS", + "isLoading": false, + "mobileTopRow": 176, + "responsiveBehavior": "fill", + "originalTopRow": 183, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "mobileLeftColumn": 0, + "originalBottomRow": 187, + "progress": 50 + }, + { + "boxShadow": "none", + "mobileBottomRow": 174, + "widgetName": "RadioGroup1", + "displayName": "Radio Group", + "iconSVG": "/static/media/icon.ba2b2ee006e51a5c681d7964d7777481.svg", + "searchTags": [ + "choice" + ], + "topRow": 169, + "bottomRow": 176, + "parentRowSpace": 10, + "labelWidth": 5, + "type": "RADIO_GROUP_WIDGET", + "hideCard": false, + "mobileRightColumn": 20, + "defaultOptionValue": "Y", + "animateLoading": true, + "parentColumnSpace": 10.03125, + "leftColumn": 0, + "dynamicBindingPathList": [ + { + "key": "accentColor" + } + ], + "labelPosition": "Top", + "options": [ + { + "label": "Yes", + "value": "Y" + }, + { + "label": "No", + "value": "N" + } + ], + "isDisabled": false, + "key": "wmcaxth6a9", + "labelTextSize": "0.875rem", + "isRequired": false, + "isDeprecated": false, + "rightColumn": 20, + "dynamicHeight": "AUTO_HEIGHT", + "widgetId": "44ygbjj04r", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "label": "Label", + "version": 1, + "parentId": "0", + "labelAlignment": "left", + "renderMode": "CANVAS", + "isLoading": false, + "mobileTopRow": 168, + "originalTopRow": 169, + "mobileLeftColumn": 0, + "maxDynamicHeight": 9000, + "originalBottomRow": 176, + "isInline": true, + "alignment": "left", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "iconSVG": "/static/media/icon.108789d7165de30306435ab3c24e6cad.svg", + "topRow": 151, + "labelWidth": 5, + "type": "PHONE_INPUT_WIDGET", + "animateLoading": true, + "resetOnSubmit": true, + "leftColumn": 2, + "dynamicBindingPathList": [ + { + "key": "accentColor" + }, + { + "key": "borderRadius" + } + ], + "labelStyle": "", + "isDisabled": false, + "isRequired": false, + "dynamicHeight": "FIXED", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "version": 1, + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "originalBottomRow": 158, + "mobileBottomRow": 158, + "widgetName": "PhoneInput1", + "displayName": "Phone Input", + "searchTags": [ + "call" + ], + "bottomRow": 158, + "parentRowSpace": 10, + "defaultDialCode": "+1", + "autoFocus": false, + "hideCard": false, + "mobileRightColumn": 22, + "parentColumnSpace": 10.03125, + "labelPosition": "Top", + "key": "oyvsfwa64l", + "labelTextSize": "0.875rem", + "isDeprecated": false, + "rightColumn": 22, + "widgetId": "njnmrr1p3a", + "allowDialCodeChange": false, + "minWidth": 450, + "label": "Label", + "parentId": "0", + "labelAlignment": "left", + "allowFormatting": true, + "renderMode": "CANVAS", + "mobileTopRow": 151, + "responsiveBehavior": "fill", + "originalTopRow": 151, + "mobileLeftColumn": 2, + "maxDynamicHeight": 9000, + "iconAlign": "left", + "defaultText": "", + "minDynamicHeight": 4 + }, + { + "isVisible": true, + "iconColor": "white", + "isDisabled": false, + "widgetName": "AudioRecorder1", + "version": 1, + "animateLoading": true, + "responsiveBehavior": "fill", + "minWidth": 450, + "searchTags": [ + "sound recorder", + "voice recorder" + ], + "type": "AUDIO_RECORDER_WIDGET", + "hideCard": false, + "isDeprecated": false, + "displayName": "Audio Recorder", + "key": "dqdbpm8bby", + "iconSVG": "/static/media/icon.3cb03cd8ed8464c5725a5d89a8fa563f.svg", + "widgetId": "pmchgp8yir", + "renderMode": "CANVAS", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none", + "isLoading": false, + "parentColumnSpace": 10.03125, + "parentRowSpace": 10, + "leftColumn": 0, + "rightColumn": 11, + "topRow": 188, + "bottomRow": 195, + "mobileLeftColumn": 0, + "mobileRightColumn": 11, + "mobileTopRow": 188, + "mobileBottomRow": 195, + "parentId": "0", + "dynamicBindingPathList": [ + { + "key": "accentColor" + }, + { + "key": "borderRadius" + } + ], + "originalTopRow": 188, + "originalBottomRow": 195 + }, + { + "isVisible": true, + "options": [ + { + "label": "xs", + "value": "xs" + }, + { + "label": "sm", + "value": "sm" + }, + { + "label": "md", + "value": "md" + }, + { + "label": "lg", + "value": "lg" + }, + { + "label": "xl", + "value": "xl" + } + ], + "defaultOptionValue": "md", + "isDisabled": false, + "showMarksLabel": true, + "widgetName": "CategorySlider1", + "shouldScroll": false, + "shouldTruncate": false, + "version": 1, + "animateLoading": true, + "labelText": "Size", + "labelPosition": "Top", + "labelAlignment": "left", + "labelWidth": 5, + "labelTextSize": "0.875rem", + "sliderSize": "m", + "responsiveBehavior": "fill", + "searchTags": [ + "range" + ], + "type": "CATEGORY_SLIDER_WIDGET", + "hideCard": false, + "isDeprecated": false, + "displayName": "Category Slider", + "key": "3wrvvh1c3l", + "iconSVG": "/static/media/icon.cbd0db7a0bd317a6e4cbbd72417f8dee.svg", + "widgetId": "x9oi5temu5", + "renderMode": "CANVAS", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isLoading": false, + "parentColumnSpace": 10.03125, + "parentRowSpace": 10, + "leftColumn": 0, + "rightColumn": 13, + "topRow": 202, + "bottomRow": 210, + "mobileLeftColumn": 0, + "mobileRightColumn": 13, + "mobileTopRow": 202, + "mobileBottomRow": 210, + "parentId": "0", + "dynamicBindingPathList": [ + { + "key": "accentColor" + } + ], + "originalTopRow": 202, + "originalBottomRow": 210 + }, + { + "isVisible": true, + "label": "Scan a QR/Barcode", + "widgetName": "CodeScanner1", + "isDefaultClickDisabled": true, + "scannerLayout": "ALWAYS_ON", + "version": 1, + "isRequired": false, + "isDisabled": false, + "animateLoading": true, + "placement": "CENTER", + "responsiveBehavior": "fill", + "searchTags": [ + "barcode scanner", + "qr scanner", + "code detector", + "barcode reader" + ], + "type": "CODE_SCANNER_WIDGET", + "hideCard": false, + "isDeprecated": false, + "displayName": "Code Scanner", + "key": "sjlcv43n5e", + "iconSVG": "/static/media/icon.c4a2da6d32c0f212d031fca147e4f7cb.svg", + "widgetId": "oooxe4e3py", + "renderMode": "CANVAS", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none", + "isLoading": false, + "parentColumnSpace": 10.03125, + "parentRowSpace": 10, + "leftColumn": 0, + "rightColumn": 9, + "topRow": 211, + "bottomRow": 244, + "mobileLeftColumn": 0, + "mobileRightColumn": 9, + "mobileTopRow": 211, + "mobileBottomRow": 244, + "parentId": "0", + "dynamicBindingPathList": [ + { + "key": "buttonColor" + }, + { + "key": "borderRadius" + } + ], + "originalTopRow": 211, + "originalBottomRow": 244 + }, + { + "isVisible": true, + "label": "Label", + "labelPosition": "Top", + "labelAlignment": "left", + "labelTextSize": "0.875rem", + "labelWidth": 5, + "widgetName": "CurrencyInput1", + "version": 1, + "defaultText": "", + "iconAlign": "left", + "autoFocus": false, + "labelStyle": "", + "resetOnSubmit": true, + "isRequired": false, + "isDisabled": false, + "animateLoading": true, + "responsiveBehavior": "fill", + "minWidth": 450, + "allowCurrencyChange": false, + "defaultCurrencyCode": "USD", + "decimals": 0, + "showStepArrows": false, + "minDynamicHeight": 4, + "maxDynamicHeight": 9000, + "dynamicHeight": "FIXED", + "searchTags": [ + "amount", + "total" + ], + "type": "CURRENCY_INPUT_WIDGET", + "hideCard": false, + "isDeprecated": false, + "displayName": "Currency Input", + "key": "5mg580qdsi", + "iconSVG": "/static/media/icon.f312efcb48ce4dafb08c20291635b30b.svg", + "widgetId": "9xdnjn3qgb", + "renderMode": "CANVAS", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none", + "isLoading": false, + "parentColumnSpace": 10.03125, + "parentRowSpace": 10, + "leftColumn": 0, + "rightColumn": 12, + "topRow": 246, + "bottomRow": 253, + "mobileLeftColumn": 0, + "mobileRightColumn": 12, + "mobileTopRow": 246, + "mobileBottomRow": 253, + "parentId": "0", + "dynamicBindingPathList": [ + { + "key": "accentColor" + }, + { + "key": "borderRadius" + } + ], + "originalTopRow": 246, + "originalBottomRow": 253 + }, + { + "isVisible": true, + "widgetName": "Divider1", + "orientation": "horizontal", + "capType": "nc", + "capSide": 0, + "strokeStyle": "solid", + "dividerColor": "#858282", + "thickness": 2, + "version": 1, + "animateLoading": true, + "responsiveBehavior": "fill", + "minWidth": 450, + "searchTags": [ + "line" + ], + "type": "DIVIDER_WIDGET", + "hideCard": false, + "isDeprecated": false, + "displayName": "Divider", + "key": "twm3yk5168", + "iconSVG": "/static/media/icon.cbe8f608ca868e1eb44607e5fbd4a9e5.svg", + "widgetId": "k5upd9vy58", + "renderMode": "CANVAS", + "isLoading": false, + "parentColumnSpace": 10.03125, + "parentRowSpace": 10, + "leftColumn": 1, + "rightColumn": 21, + "topRow": 255, + "bottomRow": 259, + "mobileLeftColumn": 1, + "mobileRightColumn": 21, + "mobileTopRow": 255, + "mobileBottomRow": 259, + "parentId": "0", + "dynamicBindingPathList": [], + "originalTopRow": 255, + "originalBottomRow": 259 + }, + { + "isVisible": true, + "label": "Label", + "defaultSwitchState": true, + "widgetName": "Switch1", + "alignWidget": "LEFT", + "labelPosition": "Left", + "version": 1, + "isDisabled": false, + "animateLoading": true, + "responsiveBehavior": "fill", + "minDynamicHeight": 4, + "maxDynamicHeight": 9000, + "dynamicHeight": "AUTO_HEIGHT", + "searchTags": [ + "boolean" + ], + "type": "SWITCH_WIDGET", + "hideCard": false, + "isDeprecated": false, + "displayName": "Switch", + "key": "8e3s4utmwy", + "iconSVG": "/static/media/icon.a3115bc1c224776de2846985c8819f99.svg", + "widgetId": "qvodqx5f71", + "renderMode": "CANVAS", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "boxShadow": "none", + "isLoading": false, + "parentColumnSpace": 10.03125, + "parentRowSpace": 10, + "leftColumn": 1, + "rightColumn": 13, + "topRow": 261, + "bottomRow": 265, + "mobileLeftColumn": 1, + "mobileRightColumn": 13, + "mobileTopRow": 261, + "mobileBottomRow": 265, + "parentId": "0", + "dynamicBindingPathList": [ + { + "key": "accentColor" + } + ], + "originalTopRow": 261, + "originalBottomRow": 265 + } + ], + "positioning": "fixed" + } +} \ No newline at end of file diff --git a/app/client/cypress/fixtures/CommunityIssuesExport.json b/app/client/cypress/fixtures/CommunityIssuesExport.json index 1aa4fa4207..25019c513f 100644 --- a/app/client/cypress/fixtures/CommunityIssuesExport.json +++ b/app/client/cypress/fixtures/CommunityIssuesExport.json @@ -1,11988 +1,10206 @@ { - "clientSchemaVersion": 1, - "serverSchemaVersion": 3, - "exportedApplication": { - "name": "Community Issues", - "isPublic": false, - "appIsExample": false, - "unreadCommentThreads": 0, - "color": "#CCCCCC", - "icon": "arrow-right", - "slug": "community-issues", - "evaluationVersion": 2, - "applicationVersion": 1, - "isManualUpdate": false, - "new": true - }, - "datasourceList": [ - { - "userPermissions": [ - "execute:datasources", - "manage:datasources", - "read:datasources" - ], - "gitSyncId": "620251c917bfcd7d6017a1fc_622201ea20daed7797f5693c", - "name": "AForceDB", - "pluginId": "postgres-plugin", - "invalids": [ - - ], - "messages": [ - - ], - "isConfigured": true, - "isValid": true, - "new": true - } - ], - "pageList": [ - { - "userPermissions": [ - "read:pages", - "manage:pages" - ], - "gitSyncId": "623762992e5d3f189d0c3c23_623762992e5d3f189d0c3c25", - "unpublishedPage": { - "name": "Issues", - "slug": "issues", - "layouts": [ - { - "id": "Issues", - "userPermissions": [ - - ], - "dsl": { - "widgetName": "MainContainer", - "backgroundColor": "none", - "rightColumn": 1082.0, - "snapColumns": 64.0, - "detachFromLayout": true, - "widgetId": "0", - "topRow": 0.0, - "bottomRow": 1160.0, - "containerStyle": "none", - "snapRows": 125.0, - "parentRowSpace": 1.0, - "type": "CANVAS_WIDGET", - "canExtend": true, - "version": 53.0, - "minHeight": 940.0, - "parentColumnSpace": 1.0, - "dynamicBindingPathList": [ - - ], - "leftColumn": 0.0, - "children": [ - { - "widgetName": "upvote_modal", - "isCanvas": true, - "displayName": "Modal", - "iconSVG": "/static/media/icon.4975978e.svg", - "topRow": 90.0, - "bottomRow": 90.0, - "parentRowSpace": 1.0, - "type": "MODAL_WIDGET", - "hideCard": false, - "shouldScrollContents": true, - "animateLoading": true, - "parentColumnSpace": 1.0, - "leftColumn": 0.0, - "dynamicBindingPathList": [ - - ], - "children": [ - { - "widgetName": "Canvas5", - "displayName": "Canvas", - "topRow": 0.0, - "bottomRow": 470.0, - "parentRowSpace": 1.0, - "type": "CANVAS_WIDGET", - "canExtend": true, - "hideCard": true, - "shouldScrollContents": false, - "minHeight": 478.0, - "parentColumnSpace": 1.0, - "dynamicTriggerPathList": [ - - ], - "leftColumn": 0.0, - "dynamicBindingPathList": [ - - ], - "children": [ - { - "widgetName": "upvote_label_select", - "isFilterable": true, - "dynamicPropertyPathList": [ - { - "key": "onFilterUpdate" - } - ], - "displayName": "MultiSelect", - "iconSVG": "/static/media/icon.a3495809.svg", - "labelText": "", - "topRow": 35.0, - "bottomRow": 39.0, - "parentRowSpace": 10.0, - "type": "MULTI_SELECT_WIDGET_V2", - "serverSideFiltering": true, - "hideCard": false, - "defaultOptionValue": "{{Table1.selectedRow.labels.map((label) => {\n return {\n\t label: label,\n\t value: label\n }\n})}}", - "animateLoading": true, - "parentColumnSpace": 16.3125, - "dynamicTriggerPathList": [ - { - "key": "onFilterUpdate" - } - ], - "leftColumn": 1.0, - "dynamicBindingPathList": [ - { - "key": "options" - }, - { - "key": "defaultOptionValue" - } - ], - "options": "{{GithubManager.getLabels()}}", - "placeholderText": "Select label(s)", - "isDisabled": false, - "key": "5rw0979hv0", - "isRequired": true, - "rightColumn": 64.0, - "widgetId": "xdplbo2hdw", - "isVisible": true, - "version": 1.0, - "parentId": "a189hjos00", - "renderMode": "CANVAS", - "isLoading": false, - "onFilterUpdate": "{{fetch_labels.run({ filterText: upvote_label_select.filterText })}}" - }, - { - "widgetName": "Text12Copy", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b52.svg", - "topRow": 15.0, - "bottomRow": 19.0, - "parentRowSpace": 10.0, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 6.9375, - "dynamicTriggerPathList": [ - - ], - "leftColumn": 1.0, - "dynamicBindingPathList": [ - - ], - "text": "Comment", - "key": "fzyz91gt8q", - "rightColumn": 17.0, - "textAlign": "LEFT", - "widgetId": "hx56ibu1uk", - "isVisible": true, - "fontStyle": "BOLD", - "textColor": "#231F20", - "version": 1.0, - "parentId": "a189hjos00", - "renderMode": "CANVAS", - "isLoading": false, - "fontSize": "PARAGRAPH" - }, - { - "widgetName": "comment_input", - "displayName": "Input", - "iconSVG": "/static/media/icon.9f505595.svg", - "topRow": 19.0, - "bottomRow": 31.0, - "parentRowSpace": 10.0, - "autoFocus": false, - "type": "INPUT_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 6.9375, - "resetOnSubmit": true, - "leftColumn": 1.0, - "dynamicBindingPathList": [ - - ], - "labelStyle": "", - "inputType": "TEXT", - "isDisabled": false, - "key": "zyoraxqcrl", - "isRequired": false, - "rightColumn": 62.0, - "widgetId": "x2u0y4ound", - "isVisible": true, - "label": "", - "allowCurrencyChange": false, - "version": 1.0, - "parentId": "a189hjos00", - "renderMode": "CANVAS", - "isLoading": false, - "iconAlign": "left", - "defaultText": "" - }, - { - "widgetName": "Icon2", - "rightColumn": 64.0, - "onClick": "{{closeModal('upvote_modal')}}", - "iconName": "cross", - "buttonColor": "#2E3D49", - "displayName": "Icon", - "iconSVG": "/static/media/icon.31d6cfe0.svg", - "widgetId": "nphe3f67yt", - "topRow": 1.0, - "bottomRow": 5.0, - "isVisible": true, - "type": "ICON_BUTTON_WIDGET", - "version": 1.0, - "hideCard": true, - "parentId": "a189hjos00", - "renderMode": "CANVAS", - "isLoading": false, - "leftColumn": 58.0, - "dynamicBindingPathList": [ - - ], - "borderRadius": "SHARP", - "buttonVariant": "TERTIARY", - "iconSize": 24.0, - "key": "aeg87lexno" - }, - { - "widgetName": "Text11", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b52.svg", - "topRow": 1.0, - "bottomRow": 5.0, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "dynamicTriggerPathList": [ - - ], - "leftColumn": 1.0, - "dynamicBindingPathList": [ - - ], - "text": "Upvote Issue", - "key": "fzyz91gt8q", - "rightColumn": 41.0, - "textAlign": "LEFT", - "widgetId": "bfqckgaole", - "isVisible": true, - "fontStyle": "BOLD", - "textColor": "#231F20", - "version": 1.0, - "parentId": "a189hjos00", - "renderMode": "CANVAS", - "isLoading": false, - "fontSize": "HEADING1" - }, - { - "widgetName": "Button5", - "onClick": "{{closeModal('upvote_modal')}}", - "buttonColor": "#2E3D49", - "displayName": "Button", - "iconSVG": "/static/media/icon.cca02633.svg", - "topRow": 41.0, - "bottomRow": 45.0, - "type": "BUTTON_WIDGET", - "hideCard": false, - "animateLoading": true, - "dynamicTriggerPathList": [ - - ], - "leftColumn": 30.0, - "dynamicBindingPathList": [ - - ], - "text": "Close", - "isDisabled": false, - "key": "oz6v5ujks3", - "rightColumn": 42.0, - "isDefaultClickDisabled": true, - "widgetId": "2mnhq3yf99", - "buttonStyle": "PRIMARY", - "isVisible": true, - "version": 1.0, - "recaptchaType": "V3", - "parentId": "a189hjos00", - "renderMode": "CANVAS", - "isLoading": false, - "buttonVariant": "SECONDARY" - }, - { - "widgetName": "Button6", - "onClick": "{{IssueManager.addComment()}}", - "buttonColor": "#2E3D49", - "dynamicPropertyPathList": [ - { - "key": "onClick" - }, - { - "key": "isDisabled" - } - ], - "displayName": "Button", - "iconSVG": "/static/media/icon.cca02633.svg", - "topRow": 41.0, - "bottomRow": 45.0, - "type": "BUTTON_WIDGET", - "hideCard": false, - "animateLoading": true, - "dynamicTriggerPathList": [ - { - "key": "onClick" - } - ], - "leftColumn": 42.0, - "dynamicBindingPathList": [ - { - "key": "isDisabled" - } - ], - "text": "Save", - "isDisabled": "{{!comment_link_input.isValid || IssueManager.getAssignedLabels(upvote_label_select.selectedOptionValues).length == 0}}", - "key": "oz6v5ujks3", - "rightColumn": 64.0, - "isDefaultClickDisabled": true, - "widgetId": "8ph22tfh2p", - "buttonStyle": "PRIMARY_BUTTON", - "isVisible": true, - "version": 1.0, - "recaptchaType": "V3", - "parentId": "a189hjos00", - "renderMode": "CANVAS", - "isLoading": false, - "buttonVariant": "PRIMARY" - }, - { - "widgetName": "Text12", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b52.svg", - "topRow": 6.0, - "bottomRow": 10.0, - "parentRowSpace": 10.0, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 6.9375, - "dynamicTriggerPathList": [ - - ], - "leftColumn": 1.0, - "dynamicBindingPathList": [ - - ], - "text": "Link", - "key": "fzyz91gt8q", - "rightColumn": 17.0, - "textAlign": "LEFT", - "widgetId": "gculfyyarv", - "isVisible": true, - "fontStyle": "BOLD", - "textColor": "#231F20", - "version": 1.0, - "parentId": "a189hjos00", - "renderMode": "CANVAS", - "isLoading": false, - "fontSize": "PARAGRAPH" - }, - { - "widgetName": "comment_link_input", - "displayName": "Input", - "iconSVG": "/static/media/icon.9f505595.svg", - "topRow": 10.0, - "bottomRow": 14.0, - "parentRowSpace": 10.0, - "autoFocus": false, - "type": "INPUT_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 6.9375, - "dynamicTriggerPathList": [ - - ], - "resetOnSubmit": true, - "leftColumn": 1.0, - "dynamicBindingPathList": [ - - ], - "labelStyle": "", - "inputType": "TEXT", - "isDisabled": false, - "key": "zyoraxqcrl", - "isRequired": true, - "rightColumn": 62.0, - "widgetId": "hhr3oe3adk", - "isVisible": true, - "label": "", - "allowCurrencyChange": false, - "version": 1.0, - "parentId": "a189hjos00", - "renderMode": "CANVAS", - "isLoading": false, - "iconAlign": "left", - "defaultText": "" - }, - { - "widgetName": "Text25", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b52.svg", - "topRow": 31.0, - "bottomRow": 35.0, - "parentRowSpace": 10.0, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 6.9375, - "dynamicTriggerPathList": [ - - ], - "leftColumn": 1.0, - "dynamicBindingPathList": [ - - ], - "shouldTruncate": false, - "truncateButtonColor": "#FFC13D", - "text": "Labels", - "key": "z1pp8v2iis", - "rightColumn": 17.0, - "textAlign": "LEFT", - "widgetId": "jj9lerbuso", - "isVisible": true, - "fontStyle": "BOLD", - "textColor": "#231F20", - "shouldScroll": false, - "version": 1.0, - "parentId": "a189hjos00", - "renderMode": "CANVAS", - "isLoading": false, - "fontSize": "PARAGRAPH" - } - ], - "isDisabled": false, - "key": "6u4x0kf3h8", - "rightColumn": 0.0, - "detachFromLayout": true, - "widgetId": "a189hjos00", - "isVisible": true, - "version": 1.0, - "parentId": "wfscrnavzk", - "renderMode": "CANVAS", - "isLoading": false - } - ], - "key": "9ppzbhlnqc", - "height": 478.0, - "rightColumn": 0.0, - "detachFromLayout": true, - "widgetId": "wfscrnavzk", - "canOutsideClickClose": true, - "canEscapeKeyClose": true, - "version": 2.0, - "parentId": "0", - "renderMode": "CANVAS", - "isLoading": false, - "width": 456.0 - }, - { - "widgetName": "Tabs1", - "isCanvas": true, - "dynamicPropertyPathList": [ - { - "key": "isVisible" - }, - { - "key": "onTabSelected" - } - ], - "displayName": "Tabs", - "iconSVG": "/static/media/icon.74a6d653.svg", - "topRow": 5.0, - "bottomRow": 89.0, - "parentRowSpace": 10.0, - "type": "TABS_WIDGET", - "hideCard": false, - "shouldScrollContents": false, - "animateLoading": false, - "parentColumnSpace": 17.9375, - "dynamicTriggerPathList": [ - { - "key": "onTabSelected" - } - ], - "leftColumn": 44.0, - "dynamicBindingPathList": [ - { - "key": "isVisible" - } - ], - "children": [ - { - "tabId": "tab1", - "widgetName": "Canvas1", - "displayName": "Canvas", - "topRow": 0.0, - "bottomRow": 830.0, - "parentRowSpace": 1.0, - "type": "CANVAS_WIDGET", - "canExtend": true, - "hideCard": true, - "shouldScrollContents": false, - "minHeight": 400.0, - "parentColumnSpace": 1.0, - "dynamicTriggerPathList": [ - - ], - "leftColumn": 0.0, - "dynamicBindingPathList": [ - - ], - "children": [ - { - "template": { - "Canvas1Copy": { - "widgetName": "Canvas1Copy", - "displayName": "Canvas", - "topRow": 0.0, - "bottomRow": 400.0, - "parentRowSpace": 1.0, - "type": "CANVAS_WIDGET", - "canExtend": false, - "hideCard": true, - "dropDisabled": true, - "openParentPropertyPane": true, - "minHeight": 400.0, - "noPad": true, - "parentColumnSpace": 1.0, - "leftColumn": 0.0, - "dynamicBindingPathList": [ - - ], - "children": [ - "2mnw941o3c" - ], - "key": "6u4x0kf3h8", - "rightColumn": 430.5, - "detachFromLayout": true, - "widgetId": "ucvwcx91v9", - "containerStyle": "none", - "isVisible": true, - "version": 1.0, - "parentId": "cu1twhxgsd", - "renderMode": "CANVAS", - "isLoading": false - }, - "Container1": { - "boxShadow": "NONE", - "widgetName": "Container1", - "borderColor": "transparent", - "disallowCopy": true, - "isCanvas": true, - "displayName": "Container", - "iconSVG": "/static/media/icon.1977dca3.svg", - "topRow": 0.0, - "bottomRow": 12.0, - "dragDisabled": true, - "type": "CONTAINER_WIDGET", - "hideCard": false, - "openParentPropertyPane": true, - "isDeletable": false, - "animateLoading": true, - "leftColumn": 0.0, - "dynamicBindingPathList": [ - - ], - "children": [ - "tog68u9on9" - ], - "borderWidth": "0", - "key": "kvuew872nd", - "disablePropertyPane": true, - "backgroundColor": "white", - "rightColumn": 64.0, - "widgetId": "2mnw941o3c", - "containerStyle": "card", - "isVisible": true, - "version": 1.0, - "parentId": "ucvwcx91v9", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "0" - }, - "Canvas2Copy": { - "widgetName": "Canvas2Copy", - "detachFromLayout": true, - "displayName": "Canvas", - "widgetId": "tog68u9on9", - "containerStyle": "none", - "topRow": 0.0, - "bottomRow": 120.0, - "parentRowSpace": 1.0, - "isVisible": true, - "type": "CANVAS_WIDGET", - "canExtend": false, - "version": 1.0, - "hideCard": true, - "parentId": "2mnw941o3c", - "renderMode": "CANVAS", - "isLoading": false, - "parentColumnSpace": 1.0, - "leftColumn": 0.0, - "dynamicBindingPathList": [ - - ], - "children": [ - "kklt0cg1tk", - "7sjskfdsub", - "6sjuuvj9ls", - "22rrixkfjj", - "05joyb6dqj" - ], - "key": "6u4x0kf3h8" - }, - "Text2": { - "widgetName": "Text2", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b52.svg", - "topRow": 0.0, - "bottomRow": 4.0, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "dynamicTriggerPathList": [ - - ], - "dynamicBindingPathList": [ - { - "key": "text" - } - ], - "leftColumn": 1.0, - "text": "{{List1.listData.map((currentItem) => currentItem.author)}}", - "key": "fzyz91gt8q", - "rightColumn": 29.0, - "textAlign": "LEFT", - "widgetId": "kklt0cg1tk", - "logBlackList": { - "isVisible": true, - "text": true, - "fontSize": true, - "fontStyle": true, - "textAlign": true, - "textColor": true, - "widgetName": true, - "version": true, - "animateLoading": true, - "type": true, - "hideCard": true, - "displayName": true, - "key": true, - "iconSVG": true, - "isCanvas": true, - "textStyle": true, - "dynamicBindingPathList": true, - "dynamicTriggerPathList": true, - "minHeight": true, - "widgetId": true, - "renderMode": true, - "isLoading": true, - "parentColumnSpace": true, - "parentRowSpace": true, - "leftColumn": true, - "rightColumn": true, - "topRow": true, - "bottomRow": true, - "parentId": true - }, - "isVisible": true, - "fontStyle": "BOLD", - "textColor": "#231F20", - "version": 1.0, - "parentId": "tog68u9on9", - "renderMode": "CANVAS", - "isLoading": false, - "fontSize": "PARAGRAPH2", - "textStyle": "HEADING" - }, - "Text3": { - "widgetName": "Text3", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b52.svg", - "topRow": 4.0, - "bottomRow": 10.0, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "dynamicTriggerPathList": [ - - ], - "dynamicBindingPathList": [ - { - "key": "text" - } - ], - "leftColumn": 1.0, - "text": "{{List1.listData.map((currentItem) => currentItem.comment)}}", - "key": "fzyz91gt8q", - "rightColumn": 64.0, - "textAlign": "LEFT", - "widgetId": "7sjskfdsub", - "logBlackList": { - "isVisible": true, - "text": true, - "fontSize": true, - "fontStyle": true, - "textAlign": true, - "textColor": true, - "widgetName": true, - "version": true, - "animateLoading": true, - "type": true, - "hideCard": true, - "displayName": true, - "key": true, - "iconSVG": true, - "isCanvas": true, - "textStyle": true, - "dynamicBindingPathList": true, - "dynamicTriggerPathList": true, - "minHeight": true, - "widgetId": true, - "renderMode": true, - "isLoading": true, - "parentColumnSpace": true, - "parentRowSpace": true, - "leftColumn": true, - "rightColumn": true, - "topRow": true, - "bottomRow": true, - "parentId": true - }, - "isVisible": true, - "fontStyle": "", - "textColor": "#231F20", - "version": 1.0, - "shouldScroll": true, - "parentId": "tog68u9on9", - "renderMode": "CANVAS", - "isLoading": false, - "fontSize": "PARAGRAPH2", - "textStyle": "BODY" - }, - "IconButton2": { - "boxShadow": "NONE", - "widgetName": "IconButton2", - "onClick": "{{List1.listData.map((currentItem) => navigateTo(currentItem.link, {},'NEW_WINDOW'))}}", - "buttonColor": "#03B365", - "displayName": "Icon Button", - "iconSVG": "/static/media/icon.1a0c634a.svg", - "topRow": 0.0, - "bottomRow": 4.0, - "parentRowSpace": 10.0, - "type": "ICON_BUTTON_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 6.2890625, - "dynamicTriggerPathList": [ - { - "key": "onClick" - } - ], - "leftColumn": 56.0, - "dynamicBindingPathList": [ - - ], - "isDisabled": false, - "key": "35uqmnh3wt", - "rightColumn": 64.0, - "iconName": "link", - "widgetId": "6sjuuvj9ls", - "logBlackList": { - "isVisible": true, - "iconName": true, - "borderRadius": true, - "boxShadow": true, - "buttonColor": true, - "buttonVariant": true, - "isDisabled": true, - "widgetName": true, - "version": true, - "animateLoading": true, - "type": true, - "hideCard": true, - "displayName": true, - "key": true, - "iconSVG": true, - "isCanvas": true, - "minHeight": true, - "widgetId": true, - "renderMode": true, - "isLoading": true, - "parentColumnSpace": true, - "parentRowSpace": true, - "leftColumn": true, - "rightColumn": true, - "topRow": true, - "bottomRow": true, - "parentId": true - }, - "isVisible": true, - "version": 1.0, - "parentId": "tog68u9on9", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "CIRCLE", - "buttonVariant": "TERTIARY" - }, - "IconButton3": { - "boxShadow": "NONE", - "widgetName": "IconButton3", - "onClick": "{{IssueManager.deleteComment()}}", - "buttonColor": "#F86A2B", - "displayName": "Icon Button", - "iconSVG": "/static/media/icon.1a0c634a.svg", - "topRow": 0.0, - "bottomRow": 4.0, - "parentRowSpace": 10.0, - "type": "ICON_BUTTON_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 6.2890625, - "dynamicTriggerPathList": [ - { - "key": "onClick" - } - ], - "leftColumn": 49.0, - "dynamicBindingPathList": [ - - ], - "isDisabled": false, - "key": "35uqmnh3wt", - "rightColumn": 56.0, - "iconName": "trash", - "widgetId": "22rrixkfjj", - "logBlackList": { - "isVisible": true, - "iconName": true, - "borderRadius": true, - "boxShadow": true, - "buttonColor": true, - "buttonVariant": true, - "isDisabled": true, - "widgetName": true, - "version": true, - "animateLoading": true, - "type": true, - "hideCard": true, - "displayName": true, - "key": true, - "iconSVG": true, - "isCanvas": true, - "minHeight": true, - "widgetId": true, - "renderMode": true, - "isLoading": true, - "parentColumnSpace": true, - "parentRowSpace": true, - "leftColumn": true, - "rightColumn": true, - "topRow": true, - "bottomRow": true, - "parentId": true - }, - "isVisible": true, - "version": 1.0, - "parentId": "tog68u9on9", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "CIRCLE", - "buttonVariant": "TERTIARY" - }, - "Text14": { - "widgetName": "Text14", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b52.svg", - "topRow": 0.0, - "bottomRow": 4.0, - "parentRowSpace": 10.0, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 5.1357421875, - "dynamicTriggerPathList": [ - - ], - "leftColumn": 33.0, - "dynamicBindingPathList": [ - { - "key": "text" - } - ], - "text": "{{List1.listData.map((currentItem) => moment(currentItem.created_at).format(\"Do MMM\"))}}", - "key": "w50usn0v9g", - "rightColumn": 49.0, - "textAlign": "RIGHT", - "widgetId": "05joyb6dqj", - "logBlackList": { - "isVisible": true, - "text": true, - "fontSize": true, - "fontStyle": true, - "textAlign": true, - "textColor": true, - "widgetName": true, - "version": true, - "animateLoading": true, - "type": true, - "hideCard": true, - "displayName": true, - "key": true, - "iconSVG": true, - "isCanvas": true, - "minHeight": true, - "widgetId": true, - "renderMode": true, - "isLoading": true, - "parentColumnSpace": true, - "parentRowSpace": true, - "leftColumn": true, - "rightColumn": true, - "topRow": true, - "bottomRow": true, - "parentId": true - }, - "isVisible": true, - "fontStyle": "BOLD", - "textColor": "#231F20", - "version": 1.0, - "parentId": "tog68u9on9", - "renderMode": "CANVAS", - "isLoading": false, - "fontSize": "PARAGRAPH2" - } - }, - "widgetName": "List1", - "listData": "{{fetch_comments.data}}", - "isCanvas": true, - "displayName": "List", - "iconSVG": "/static/media/icon.9925ee17.svg", - "topRow": 0.0, - "bottomRow": 81.0, - "parentRowSpace": 10.0, - "type": "LIST_WIDGET", - "hideCard": false, - "gridGap": 0.0, - "animateLoading": true, - "parentColumnSpace": 6.7265625, - "dynamicTriggerPathList": [ - { - "key": "template.IconButton2.onClick" - }, - { - "key": "template.IconButton3.onClick" - } - ], - "leftColumn": 0.0, - "dynamicBindingPathList": [ - { - "key": "listData" - }, - { - "key": "template.Text3.text" - }, - { - "key": "template.Text2.text" - }, - { - "key": "template.Text14.text" - }, - { - "key": "template.Text2.text" - }, - { - "key": "template.Text3.text" - }, - { - "key": "template.IconButton2.onClick" - }, - { - "key": "template.Text14.text" - } - ], - "gridType": "vertical", - "enhancements": true, - "children": [ - { - "widgetName": "Canvas1Copy", - "displayName": "Canvas", - "topRow": 0.0, - "bottomRow": 400.0, - "parentRowSpace": 1.0, - "type": "CANVAS_WIDGET", - "canExtend": false, - "hideCard": true, - "dropDisabled": true, - "openParentPropertyPane": true, - "minHeight": 400.0, - "noPad": true, - "parentColumnSpace": 1.0, - "leftColumn": 0.0, - "dynamicBindingPathList": [ - - ], - "children": [ - { - "boxShadow": "NONE", - "widgetName": "Container1", - "borderColor": "transparent", - "disallowCopy": true, - "isCanvas": true, - "displayName": "Container", - "iconSVG": "/static/media/icon.1977dca3.svg", - "topRow": 0.0, - "bottomRow": 12.0, - "dragDisabled": true, - "type": "CONTAINER_WIDGET", - "hideCard": false, - "openParentPropertyPane": true, - "isDeletable": false, - "animateLoading": true, - "leftColumn": 0.0, - "dynamicBindingPathList": [ - - ], - "children": [ - { - "widgetName": "Canvas2Copy", - "detachFromLayout": true, - "displayName": "Canvas", - "widgetId": "tog68u9on9", - "containerStyle": "none", - "topRow": 0.0, - "bottomRow": 120.0, - "parentRowSpace": 1.0, - "isVisible": true, - "type": "CANVAS_WIDGET", - "canExtend": false, - "version": 1.0, - "hideCard": true, - "parentId": "2mnw941o3c", - "renderMode": "CANVAS", - "isLoading": false, - "parentColumnSpace": 1.0, - "leftColumn": 0.0, - "dynamicBindingPathList": [ - - ], - "children": [ - { - "widgetName": "Text2", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b52.svg", - "topRow": 0.0, - "bottomRow": 4.0, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "dynamicTriggerPathList": [ - - ], - "dynamicBindingPathList": [ - { - "key": "text" - } - ], - "leftColumn": 1.0, - "text": "{{currentItem.author}}", - "key": "fzyz91gt8q", - "rightColumn": 29.0, - "textAlign": "LEFT", - "widgetId": "kklt0cg1tk", - "logBlackList": { - "isVisible": true, - "text": true, - "fontSize": true, - "fontStyle": true, - "textAlign": true, - "textColor": true, - "widgetName": true, - "version": true, - "animateLoading": true, - "type": true, - "hideCard": true, - "displayName": true, - "key": true, - "iconSVG": true, - "isCanvas": true, - "textStyle": true, - "dynamicBindingPathList": true, - "dynamicTriggerPathList": true, - "minHeight": true, - "widgetId": true, - "renderMode": true, - "isLoading": true, - "parentColumnSpace": true, - "parentRowSpace": true, - "leftColumn": true, - "rightColumn": true, - "topRow": true, - "bottomRow": true, - "parentId": true - }, - "isVisible": true, - "fontStyle": "BOLD", - "textColor": "#231F20", - "version": 1.0, - "parentId": "tog68u9on9", - "renderMode": "CANVAS", - "isLoading": false, - "fontSize": "PARAGRAPH2", - "textStyle": "HEADING" - }, - { - "widgetName": "Text3", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b52.svg", - "topRow": 4.0, - "bottomRow": 10.0, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "dynamicTriggerPathList": [ - - ], - "dynamicBindingPathList": [ - { - "key": "text" - } - ], - "leftColumn": 1.0, - "text": "{{currentItem.comment}}", - "key": "fzyz91gt8q", - "rightColumn": 64.0, - "textAlign": "LEFT", - "widgetId": "7sjskfdsub", - "logBlackList": { - "isVisible": true, - "text": true, - "fontSize": true, - "fontStyle": true, - "textAlign": true, - "textColor": true, - "widgetName": true, - "version": true, - "animateLoading": true, - "type": true, - "hideCard": true, - "displayName": true, - "key": true, - "iconSVG": true, - "isCanvas": true, - "textStyle": true, - "dynamicBindingPathList": true, - "dynamicTriggerPathList": true, - "minHeight": true, - "widgetId": true, - "renderMode": true, - "isLoading": true, - "parentColumnSpace": true, - "parentRowSpace": true, - "leftColumn": true, - "rightColumn": true, - "topRow": true, - "bottomRow": true, - "parentId": true - }, - "isVisible": true, - "fontStyle": "", - "textColor": "#231F20", - "version": 1.0, - "shouldScroll": true, - "parentId": "tog68u9on9", - "renderMode": "CANVAS", - "isLoading": false, - "fontSize": "PARAGRAPH2", - "textStyle": "BODY" - }, - { - "boxShadow": "NONE", - "widgetName": "IconButton2", - "onClick": "{{navigateTo(currentItem.link, {},'NEW_WINDOW')}}", - "buttonColor": "#03B365", - "displayName": "Icon Button", - "iconSVG": "/static/media/icon.1a0c634a.svg", - "topRow": 0.0, - "bottomRow": 4.0, - "parentRowSpace": 10.0, - "type": "ICON_BUTTON_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 6.2890625, - "dynamicTriggerPathList": [ - { - "key": "onClick" - } - ], - "leftColumn": 56.0, - "dynamicBindingPathList": [ - - ], - "isDisabled": false, - "key": "35uqmnh3wt", - "rightColumn": 64.0, - "iconName": "link", - "widgetId": "6sjuuvj9ls", - "logBlackList": { - "isVisible": true, - "iconName": true, - "borderRadius": true, - "boxShadow": true, - "buttonColor": true, - "buttonVariant": true, - "isDisabled": true, - "widgetName": true, - "version": true, - "animateLoading": true, - "type": true, - "hideCard": true, - "displayName": true, - "key": true, - "iconSVG": true, - "isCanvas": true, - "minHeight": true, - "widgetId": true, - "renderMode": true, - "isLoading": true, - "parentColumnSpace": true, - "parentRowSpace": true, - "leftColumn": true, - "rightColumn": true, - "topRow": true, - "bottomRow": true, - "parentId": true - }, - "isVisible": true, - "version": 1.0, - "parentId": "tog68u9on9", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "CIRCLE", - "buttonVariant": "TERTIARY" - }, - { - "boxShadow": "NONE", - "widgetName": "IconButton3", - "onClick": "{{IssueManager.deleteComment()}}", - "buttonColor": "#F86A2B", - "displayName": "Icon Button", - "iconSVG": "/static/media/icon.1a0c634a.svg", - "topRow": 0.0, - "bottomRow": 4.0, - "parentRowSpace": 10.0, - "type": "ICON_BUTTON_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 6.2890625, - "dynamicTriggerPathList": [ - { - "key": "onClick" - } - ], - "leftColumn": 49.0, - "dynamicBindingPathList": [ - - ], - "isDisabled": false, - "key": "35uqmnh3wt", - "rightColumn": 56.0, - "iconName": "trash", - "widgetId": "22rrixkfjj", - "logBlackList": { - "isVisible": true, - "iconName": true, - "borderRadius": true, - "boxShadow": true, - "buttonColor": true, - "buttonVariant": true, - "isDisabled": true, - "widgetName": true, - "version": true, - "animateLoading": true, - "type": true, - "hideCard": true, - "displayName": true, - "key": true, - "iconSVG": true, - "isCanvas": true, - "minHeight": true, - "widgetId": true, - "renderMode": true, - "isLoading": true, - "parentColumnSpace": true, - "parentRowSpace": true, - "leftColumn": true, - "rightColumn": true, - "topRow": true, - "bottomRow": true, - "parentId": true - }, - "isVisible": true, - "version": 1.0, - "parentId": "tog68u9on9", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "CIRCLE", - "buttonVariant": "TERTIARY" - }, - { - "widgetName": "Text14", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b52.svg", - "topRow": 0.0, - "bottomRow": 4.0, - "parentRowSpace": 10.0, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 5.1357421875, - "dynamicTriggerPathList": [ - - ], - "leftColumn": 33.0, - "dynamicBindingPathList": [ - { - "key": "text" - } - ], - "text": "{{moment(currentItem.created_at).format(\"Do MMM\")}}", - "key": "w50usn0v9g", - "rightColumn": 49.0, - "textAlign": "RIGHT", - "widgetId": "05joyb6dqj", - "logBlackList": { - "isVisible": true, - "text": true, - "fontSize": true, - "fontStyle": true, - "textAlign": true, - "textColor": true, - "widgetName": true, - "version": true, - "animateLoading": true, - "type": true, - "hideCard": true, - "displayName": true, - "key": true, - "iconSVG": true, - "isCanvas": true, - "minHeight": true, - "widgetId": true, - "renderMode": true, - "isLoading": true, - "parentColumnSpace": true, - "parentRowSpace": true, - "leftColumn": true, - "rightColumn": true, - "topRow": true, - "bottomRow": true, - "parentId": true - }, - "isVisible": true, - "fontStyle": "BOLD", - "textColor": "#231F20", - "version": 1.0, - "parentId": "tog68u9on9", - "renderMode": "CANVAS", - "isLoading": false, - "fontSize": "PARAGRAPH2" - } - ], - "key": "6u4x0kf3h8" - } - ], - "borderWidth": "0", - "key": "kvuew872nd", - "disablePropertyPane": true, - "backgroundColor": "white", - "rightColumn": 64.0, - "widgetId": "2mnw941o3c", - "containerStyle": "card", - "isVisible": true, - "version": 1.0, - "parentId": "ucvwcx91v9", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "0" - } - ], - "key": "6u4x0kf3h8", - "rightColumn": 430.5, - "detachFromLayout": true, - "widgetId": "ucvwcx91v9", - "containerStyle": "none", - "isVisible": true, - "version": 1.0, - "parentId": "cu1twhxgsd", - "renderMode": "CANVAS", - "isLoading": false - } - ], - "privateWidgets": { - "Text2": true, - "Text3": true, - "IconButton2": true, - "IconButton3": true, - "Text14": true - }, - "key": "0d6epexg6w", - "backgroundColor": "transparent", - "rightColumn": 64.0, - "itemBackgroundColor": "#F6F7F8", - "widgetId": "cu1twhxgsd", - "isVisible": true, - "parentId": "e05q08c1nq", - "renderMode": "CANVAS", - "isLoading": false - } - ], - "isDisabled": false, - "key": "6u4x0kf3h8", - "tabName": "Upvotes", - "rightColumn": 430.5, - "detachFromLayout": true, - "widgetId": "e05q08c1nq", - "isVisible": true, - "version": 1.0, - "parentId": "n316autef7", - "renderMode": "CANVAS", - "isLoading": false - }, - { - "tabId": "tab2", - "widgetName": "Canvas2", - "displayName": "Canvas", - "topRow": 0.0, - "bottomRow": 800.0, - "parentRowSpace": 1.0, - "type": "CANVAS_WIDGET", - "canExtend": true, - "hideCard": true, - "shouldScrollContents": false, - "minHeight": 400.0, - "parentColumnSpace": 1.0, - "dynamicTriggerPathList": [ - - ], - "leftColumn": 0.0, - "dynamicBindingPathList": [ - - ], - "children": [ - { - "widgetName": "Text5", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b52.svg", - "topRow": 0.0, - "bottomRow": 4.0, - "parentRowSpace": 10.0, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 6.4140625, - "dynamicTriggerPathList": [ - - ], - "leftColumn": 0.0, - "dynamicBindingPathList": [ - - ], - "text": "Title", - "key": "fzyz91gt8q", - "rightColumn": 12.0, - "textAlign": "LEFT", - "widgetId": "hb6ha60ybn", - "isVisible": true, - "fontStyle": "BOLD", - "textColor": "#231F20", - "version": 1.0, - "parentId": "devkwyks4k", - "renderMode": "CANVAS", - "isLoading": false, - "fontSize": "PARAGRAPH" - }, - { - "widgetName": "Text6", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b52.svg", - "topRow": 8.0, - "bottomRow": 12.0, - "parentRowSpace": 10.0, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 6.4140625, - "dynamicTriggerPathList": [ - - ], - "leftColumn": 0.0, - "dynamicBindingPathList": [ - - ], - "text": "Description", - "key": "fzyz91gt8q", - "rightColumn": 26.0, - "textAlign": "LEFT", - "widgetId": "5ohkvurob7", - "isVisible": true, - "fontStyle": "BOLD", - "textColor": "#231F20", - "version": 1.0, - "parentId": "devkwyks4k", - "renderMode": "CANVAS", - "isLoading": false, - "fontSize": "PARAGRAPH" - }, - { - "widgetName": "Text7", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b52.svg", - "topRow": 31.0, - "bottomRow": 35.0, - "parentRowSpace": 10.0, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 6.4140625, - "dynamicTriggerPathList": [ - - ], - "leftColumn": 0.0, - "dynamicBindingPathList": [ - - ], - "text": "Type", - "key": "fzyz91gt8q", - "rightColumn": 16.0, - "textAlign": "LEFT", - "widgetId": "ldimms4xqb", - "isVisible": true, - "fontStyle": "BOLD", - "textColor": "#231F20", - "version": 1.0, - "parentId": "devkwyks4k", - "renderMode": "CANVAS", - "isLoading": false, - "fontSize": "PARAGRAPH" - }, - { - "widgetName": "Text8", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b52.svg", - "topRow": 39.0, - "bottomRow": 43.0, - "parentRowSpace": 10.0, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 6.4140625, - "dynamicTriggerPathList": [ - - ], - "leftColumn": 0.0, - "dynamicBindingPathList": [ - { - "key": "text" - } - ], - "text": "Labels: {{Table1.selectedRow.labels.join(\",\")}}", - "key": "fzyz91gt8q", - "rightColumn": 63.0, - "textAlign": "LEFT", - "widgetId": "r5pmq8fk8b", - "isVisible": true, - "fontStyle": "BOLD", - "textColor": "#231F20", - "version": 1.0, - "parentId": "devkwyks4k", - "renderMode": "CANVAS", - "isLoading": false, - "fontSize": "PARAGRAPH" - }, - { - "widgetName": "Text9", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b52.svg", - "topRow": 47.0, - "bottomRow": 51.0, - "parentRowSpace": 10.0, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 6.4140625, - "dynamicTriggerPathList": [ - - ], - "leftColumn": 0.0, - "dynamicBindingPathList": [ - - ], - "text": "Github Issue Link", - "key": "fzyz91gt8q", - "rightColumn": 24.0, - "textAlign": "LEFT", - "widgetId": "imcqf02q27", - "isVisible": true, - "fontStyle": "BOLD", - "textColor": "#231F20", - "version": 1.0, - "parentId": "devkwyks4k", - "renderMode": "CANVAS", - "isLoading": false, - "fontSize": "PARAGRAPH" - }, - { - "widgetName": "Button1", - "onClick": "{{IssueManager.update()}}", - "buttonColor": "#2E3D49", - "dynamicPropertyPathList": [ - { - "key": "isDisabled" - } - ], - "displayName": "Button", - "iconSVG": "/static/media/icon.cca02633.svg", - "topRow": 74.0, - "bottomRow": 78.0, - "parentRowSpace": 10.0, - "type": "BUTTON_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 6.4140625, - "dynamicTriggerPathList": [ - { - "key": "onClick" - } - ], - "leftColumn": 42.0, - "dynamicBindingPathList": [ - { - "key": "isDisabled" - } - ], - "text": "Save", - "isDisabled": "{{!edit_link_input.isValid || !edit_type_input.isValid || !edit_title_input.text || IssueManager.getAssignedLabels(edit_label_select.selectedOptionValues).length == 0}}", - "key": "oz6v5ujks3", - "rightColumn": 63.0, - "isDefaultClickDisabled": true, - "widgetId": "xl37pbnn45", - "isVisible": true, - "version": 1.0, - "recaptchaType": "V3", - "parentId": "devkwyks4k", - "renderMode": "CANVAS", - "isLoading": false, - "buttonVariant": "PRIMARY" - }, - { - "widgetName": "edit_title_input", - "displayName": "Input", - "iconSVG": "/static/media/icon.9f505595.svg", - "topRow": 4.0, - "bottomRow": 8.0, - "parentRowSpace": 10.0, - "autoFocus": false, - "type": "INPUT_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 6.4140625, - "dynamicTriggerPathList": [ - - ], - "resetOnSubmit": true, - "leftColumn": 0.0, - "dynamicBindingPathList": [ - { - "key": "defaultText" - } - ], - "labelStyle": "", - "inputType": "TEXT", - "isDisabled": false, - "key": "zyoraxqcrl", - "isRequired": true, - "rightColumn": 63.0, - "widgetId": "mtq0kmoqpi", - "isVisible": true, - "label": "", - "allowCurrencyChange": false, - "version": 1.0, - "parentId": "devkwyks4k", - "renderMode": "CANVAS", - "isLoading": false, - "iconAlign": "left", - "defaultText": "{{Table1.selectedRow.title}}" - }, - { - "widgetName": "edit_description_input", - "displayName": "Input", - "iconSVG": "/static/media/icon.9f505595.svg", - "topRow": 12.0, - "bottomRow": 23.0, - "parentRowSpace": 10.0, - "autoFocus": false, - "type": "INPUT_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 6.4140625, - "dynamicTriggerPathList": [ - - ], - "resetOnSubmit": true, - "leftColumn": 0.0, - "dynamicBindingPathList": [ - { - "key": "defaultText" - } - ], - "labelStyle": "", - "inputType": "TEXT", - "isDisabled": false, - "key": "zyoraxqcrl", - "isRequired": false, - "rightColumn": 63.0, - "widgetId": "7kjh660g7v", - "isVisible": true, - "label": "", - "allowCurrencyChange": false, - "version": 1.0, - "parentId": "devkwyks4k", - "renderMode": "CANVAS", - "isLoading": false, - "iconAlign": "left", - "defaultText": "{{Table1.selectedRow.description}}" - }, - { - "widgetName": "edit_type_input", - "isFilterable": false, - "displayName": "Select", - "iconSVG": "/static/media/icon.bd99caba.svg", - "labelText": "", - "topRow": 35.0, - "bottomRow": 39.0, - "parentRowSpace": 10.0, - "type": "DROP_DOWN_WIDGET", - "serverSideFiltering": false, - "hideCard": false, - "defaultOptionValue": "{{Table1.selectedRow.type}}", - "selectionType": "SINGLE_SELECT", - "animateLoading": true, - "parentColumnSpace": 6.4140625, - "dynamicTriggerPathList": [ - - ], - "leftColumn": 0.0, - "dynamicBindingPathList": [ - { - "key": "options" - }, - { - "key": "defaultOptionValue" - } - ], - "options": "{{Configs.type}}", - "placeholderText": "Select option", - "isDisabled": false, - "key": "p2g6q7uu0o", - "isRequired": true, - "rightColumn": 63.0, - "widgetId": "pnfwyps2nc", - "isVisible": true, - "version": 1.0, - "parentId": "devkwyks4k", - "renderMode": "CANVAS", - "isLoading": false - }, - { - "widgetName": "edit_issue_select", - "isFilterable": true, - "displayName": "Select", - "iconSVG": "/static/media/icon.bd99caba.svg", - "labelText": "", - "topRow": 51.0, - "bottomRow": 55.0, - "parentRowSpace": 10.0, - "type": "DROP_DOWN_WIDGET", - "serverSideFiltering": true, - "hideCard": false, - "defaultOptionValue": "{{Table1.selectedRow.github_issue_id || \"\"}}", - "selectionType": "SINGLE_SELECT", - "animateLoading": true, - "parentColumnSpace": 6.4140625, - "dynamicTriggerPathList": [ - { - "key": "onFilterUpdate" - } - ], - "leftColumn": 0.0, - "dynamicBindingPathList": [ - { - "key": "options" - }, - { - "key": "defaultOptionValue" - } - ], - "options": "{{GithubManager.getIssues()}}", - "placeholderText": "Search Github Issue", - "isDisabled": false, - "key": "p2g6q7uu0o", - "isRequired": false, - "rightColumn": 63.0, - "widgetId": "kuwxh0qtmg", - "isVisible": true, - "version": 1.0, - "parentId": "devkwyks4k", - "renderMode": "CANVAS", - "isLoading": false, - "onFilterUpdate": "{{GithubManager.searchIssues(edit_issue_select.filterText)}}" - }, - { - "widgetName": "Button4", - "onClick": "{{IssueManager.delete()}}", - "buttonColor": "#DD4B34", - "displayName": "Button", - "iconSVG": "/static/media/icon.cca02633.svg", - "topRow": 74.0, - "bottomRow": 78.0, - "parentRowSpace": 10.0, - "type": "BUTTON_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 6.4140625, - "dynamicTriggerPathList": [ - { - "key": "onClick" - } - ], - "leftColumn": 32.0, - "dynamicBindingPathList": [ - - ], - "text": "", - "isDisabled": false, - "key": "oz6v5ujks3", - "rightColumn": 41.0, - "isDefaultClickDisabled": true, - "iconName": "trash", - "widgetId": "ehrkah2uam", - "isVisible": true, - "version": 1.0, - "recaptchaType": "V3", - "parentId": "devkwyks4k", - "renderMode": "CANVAS", - "isLoading": false, - "buttonVariant": "PRIMARY", - "iconAlign": "left" - }, - { - "widgetName": "Text15", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b52.svg", - "topRow": 55.0, - "bottomRow": 59.0, - "parentRowSpace": 10.0, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 5.5732421875, - "dynamicTriggerPathList": [ - - ], - "leftColumn": 0.0, - "dynamicBindingPathList": [ - - ], - "text": "Answer Link", - "key": "w50usn0v9g", - "rightColumn": 30.0, - "textAlign": "LEFT", - "widgetId": "ljq0eqe3o5", - "isVisible": true, - "fontStyle": "BOLD", - "textColor": "#231F20", - "version": 1.0, - "parentId": "devkwyks4k", - "renderMode": "CANVAS", - "isLoading": false, - "fontSize": "PARAGRAPH" - }, - { - "widgetName": "edit_answer_input", - "displayName": "Input", - "iconSVG": "/static/media/icon.9f505595.svg", - "topRow": 59.0, - "bottomRow": 63.0, - "parentRowSpace": 10.0, - "autoFocus": false, - "type": "INPUT_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 5.5732421875, - "dynamicTriggerPathList": [ - - ], - "resetOnSubmit": true, - "leftColumn": 0.0, - "dynamicBindingPathList": [ - - ], - "labelStyle": "", - "inputType": "TEXT", - "placeholderText": "Documentation / Example app URL", - "isDisabled": false, - "key": "iqxzeop4oc", - "isRequired": false, - "rightColumn": 63.0, - "widgetId": "82zz8zgqm9", - "isVisible": true, - "label": "", - "allowCurrencyChange": false, - "version": 1.0, - "parentId": "devkwyks4k", - "renderMode": "CANVAS", - "isLoading": false, - "iconAlign": "left", - "defaultText": "" - }, - { - "boxShadow": "NONE", - "widgetName": "IconButton6", - "onClick": "{{fetch_github_issue.run(() => navigateTo('https://github.com/appsmithorg/appsmith/issues/' + fetch_github_issue.data[0].issue_number, {},'NEW_WINDOW'))}}", - "buttonColor": "#2E3D49", - "dynamicPropertyPathList": [ - { - "key": "onClick" - }, - { - "key": "isVisible" - } - ], - "displayName": "Icon Button", - "iconSVG": "/static/media/icon.1a0c634a.svg", - "topRow": 47.0, - "bottomRow": 51.0, - "parentRowSpace": 10.0, - "type": "ICON_BUTTON_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 5.5732421875, - "dynamicTriggerPathList": [ - { - "key": "onClick" - } - ], - "leftColumn": 24.0, - "dynamicBindingPathList": [ - { - "key": "isVisible" - } - ], - "isDisabled": false, - "key": "xtq2jih6i3", - "rightColumn": 31.0, - "iconName": "link", - "widgetId": "yv95jo8zuk", - "isVisible": "{{!!Table1.selectedRow.github_issue_id}}", - "version": 1.0, - "parentId": "devkwyks4k", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "CIRCLE", - "buttonVariant": "TERTIARY" - }, - { - "widgetName": "Text17", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b52.svg", - "topRow": 0.0, - "bottomRow": 4.0, - "parentRowSpace": 10.0, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 5.5732421875, - "dynamicTriggerPathList": [ - - ], - "leftColumn": 26.0, - "dynamicBindingPathList": [ - { - "key": "text" - } - ], - "text": "{{Table1.selectedRow.author}}\n{{moment(Table1.selectedRow.created_at).format(\"Do MMM YYYY\")}}", - "key": "2y13r0w088", - "rightColumn": 63.0, - "disableLink": true, - "textAlign": "RIGHT", - "widgetId": "r0psmbf17o", - "isVisible": true, - "fontStyle": "", - "textColor": "#231F20", - "version": 1.0, - "parentId": "devkwyks4k", - "renderMode": "CANVAS", - "isLoading": false, - "fontSize": "PARAGRAPH" - }, - { - "widgetName": "Text18", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b52.svg", - "topRow": 23.0, - "bottomRow": 27.0, - "parentRowSpace": 10.0, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 6.1884765625, - "dynamicTriggerPathList": [ - - ], - "leftColumn": 0.0, - "dynamicBindingPathList": [ - - ], - "text": "Issue Link", - "key": "2y13r0w088", - "rightColumn": 22.0, - "textAlign": "LEFT", - "widgetId": "784m9ua7xy", - "isVisible": true, - "fontStyle": "BOLD", - "textColor": "#231F20", - "version": 1.0, - "parentId": "devkwyks4k", - "renderMode": "CANVAS", - "isLoading": false, - "fontSize": "PARAGRAPH" - }, - { - "widgetName": "edit_link_input", - "displayName": "Input", - "iconSVG": "/static/media/icon.9f505595.svg", - "topRow": 27.0, - "bottomRow": 31.0, - "parentRowSpace": 10.0, - "autoFocus": false, - "type": "INPUT_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 6.1884765625, - "dynamicTriggerPathList": [ - - ], - "resetOnSubmit": true, - "leftColumn": 0.0, - "dynamicBindingPathList": [ - { - "key": "defaultText" - } - ], - "labelStyle": "", - "inputType": "TEXT", - "placeholderText": "Discord / Github / Discourse / Intercom msg URL", - "isDisabled": false, - "key": "xkaggmfnaa", - "isRequired": true, - "rightColumn": 63.0, - "widgetId": "hlhsn0qacz", - "isVisible": true, - "label": "", - "allowCurrencyChange": false, - "version": 1.0, - "parentId": "devkwyks4k", - "renderMode": "CANVAS", - "isLoading": false, - "iconAlign": "left", - "defaultText": "{{Table1.selectedRow.link || \"\"}}" - }, - { - "widgetName": "Text19", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b52.svg", - "topRow": 63.0, - "bottomRow": 67.0, - "parentRowSpace": 10.0, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 5.5732421875, - "dynamicTriggerPathList": [ - - ], - "leftColumn": 0.0, - "dynamicBindingPathList": [ - - ], - "shouldTruncate": false, - "truncateButtonColor": "#FFC13D", - "text": "States", - "key": "r0yrfpzmtn", - "rightColumn": 14.0, - "textAlign": "LEFT", - "widgetId": "5vtar11iru", - "isVisible": true, - "fontStyle": "BOLD", - "textColor": "#231F20", - "shouldScroll": false, - "version": 1.0, - "parentId": "devkwyks4k", - "renderMode": "CANVAS", - "isLoading": false, - "fontSize": "PARAGRAPH" - }, - { - "widgetName": "edit_states_select", - "displayName": "MultiSelect", - "iconSVG": "/static/media/icon.a3495809.svg", - "labelText": "", - "topRow": 67.0, - "bottomRow": 71.0, - "parentRowSpace": 10.0, - "type": "MULTI_SELECT_WIDGET", - "serverSideFiltering": false, - "hideCard": false, - "defaultOptionValue": "{{Table1.selectedRow.states}}", - "animateLoading": true, - "parentColumnSpace": 5.87890625, - "dynamicTriggerPathList": [ - - ], - "leftColumn": 0.0, - "dynamicBindingPathList": [ - { - "key": "options" - }, - { - "key": "defaultOptionValue" - } - ], - "options": "{{Configs.states}}", - "placeholderText": "Select state(s)", - "isDisabled": false, - "key": "lmf0nxzr5a", - "isRequired": false, - "rightColumn": 63.0, - "widgetId": "qemq1k1zhf", - "isVisible": true, - "version": 1.0, - "parentId": "devkwyks4k", - "renderMode": "CANVAS", - "isLoading": false - }, - { - "boxShadow": "NONE", - "widgetName": "IconButton9", - "onClick": "{{IssueManager.createGithubIssue()}}", - "buttonColor": "#2E3D49", - "dynamicPropertyPathList": [ - - ], - "displayName": "Icon Button", - "iconSVG": "/static/media/icon.1a0c634a.svg", - "topRow": 47.0, - "bottomRow": 51.0, - "parentRowSpace": 10.0, - "type": "ICON_BUTTON_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 4.78515625, - "dynamicTriggerPathList": [ - { - "key": "onClick" - } - ], - "leftColumn": 52.0, - "dynamicBindingPathList": [ - - ], - "isDisabled": false, - "key": "6o86hsevdn", - "rightColumn": 63.0, - "iconName": "cube-add", - "widgetId": "uj3oiub9lt", - "isVisible": true, - "version": 1.0, - "parentId": "devkwyks4k", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "CIRCLE", - "buttonVariant": "TERTIARY" - }, - { - "boxShadow": "NONE", - "widgetName": "IconButton10", - "onClick": "{{remove_github_issue.run().then(() => fetch_issues.run())}}", - "buttonColor": "#2E3D49", - "dynamicPropertyPathList": [ - { - "key": "onClick" - }, - { - "key": "isVisible" - } - ], - "displayName": "Icon Button", - "iconSVG": "/static/media/icon.1a0c634a.svg", - "topRow": 47.0, - "bottomRow": 51.0, - "parentRowSpace": 10.0, - "type": "ICON_BUTTON_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 4.78515625, - "dynamicTriggerPathList": [ - { - "key": "onClick" - } - ], - "leftColumn": 31.0, - "dynamicBindingPathList": [ - { - "key": "isVisible" - } - ], - "isDisabled": false, - "key": "66ba61jgdc", - "rightColumn": 38.0, - "iconName": "remove", - "widgetId": "ria4v9jmjk", - "isVisible": "{{!!Table1.selectedRow.github_issue_id}}", - "version": 1.0, - "parentId": "devkwyks4k", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "CIRCLE", - "buttonVariant": "TERTIARY" - }, - { - "widgetName": "edit_label_select", - "isFilterable": true, - "dynamicPropertyPathList": [ - { - "key": "onFilterUpdate" - } - ], - "displayName": "MultiSelect", - "iconSVG": "/static/media/icon.a3495809.svg", - "labelText": "", - "topRow": 43.0, - "bottomRow": 47.0, - "parentRowSpace": 10.0, - "type": "MULTI_SELECT_WIDGET_V2", - "serverSideFiltering": true, - "hideCard": false, - "defaultOptionValue": "{{Table1.selectedRow.labels.map((label) => {\n return {\n\t label: label,\n\t value: label\n }\n})}}", - "animateLoading": true, - "parentColumnSpace": 16.3125, - "dynamicTriggerPathList": [ - { - "key": "onFilterUpdate" - } - ], - "leftColumn": 0.0, - "dynamicBindingPathList": [ - { - "key": "options" - }, - { - "key": "defaultOptionValue" - } - ], - "options": "{{GithubManager.getLabels()}}", - "placeholderText": "Select label(s)", - "isDisabled": false, - "key": "5rw0979hv0", - "isRequired": true, - "rightColumn": 63.0, - "widgetId": "ufwxmsi8gy", - "isVisible": true, - "version": 1.0, - "parentId": "devkwyks4k", - "renderMode": "CANVAS", - "isLoading": false, - "onFilterUpdate": "{{fetch_labels.run({ filterText: edit_label_select.filterText })}}" - } - ], - "isDisabled": false, - "key": "6u4x0kf3h8", - "tabName": "Details", - "rightColumn": 430.5, - "detachFromLayout": true, - "widgetId": "devkwyks4k", - "isVisible": true, - "version": 1.0, - "parentId": "n316autef7", - "renderMode": "CANVAS", - "isLoading": false - } - ], - "key": "5hk6y4h4e6", - "rightColumn": 64.0, - "widgetId": "n316autef7", - "defaultTab": "Details", - "onTabSelected": "{{Tabs1.selectedTab === \"Upvotes\" ? fetch_comments.run() : undefined}}", - "shouldShowTabs": true, - "tabsObj": { - "tab2": { - "label": "Details", - "id": "tab2", - "widgetId": "devkwyks4k", - "isVisible": true, - "index": 0.0 - }, - "tab1": { - "label": "Upvotes", - "id": "tab1", - "widgetId": "e05q08c1nq", - "isVisible": true, - "index": 1.0 - } - }, - "isVisible": "{{!!Table1.selectedRow.id}}", - "version": 3.0, - "parentId": "0", - "renderMode": "CANVAS", - "isLoading": false - }, - { - "widgetName": "FilePicker1", - "displayName": "FilePicker", - "iconSVG": "/static/media/icon.7c5ad9c3.svg", - "topRow": 0.0, - "bottomRow": 4.0, - "parentRowSpace": 10.0, - "allowedFileTypes": [ - - ], - "type": "FILE_PICKER_WIDGET_V2", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 17.9375, - "dynamicTriggerPathList": [ - - ], - "leftColumn": 59.0, - "dynamicBindingPathList": [ - - ], - "isDisabled": false, - "key": "vhc66isyeb", - "isRequired": false, - "rightColumn": 64.0, - "isDefaultClickDisabled": true, - "widgetId": "bitkgcu3n8", - "defaultSelectedFiles": [ - - ], - "isVisible": false, - "label": "Select Files", - "maxFileSize": "5", - "version": 1.0, - "fileDataType": "Text", - "parentId": "0", - "selectedFiles": [ - - ], - "renderMode": "CANVAS", - "isLoading": false, - "files": [ - - ], - "maxNumFiles": 1.0 - }, - { - "boxShadow": "NONE", - "widgetName": "AddIssue", - "onClick": "{{showModal('add_issue_modal')}}", - "buttonColor": "#2E3D49", - "displayName": "Icon Button", - "iconSVG": "/static/media/icon.1a0c634a.svg", - "topRow": 0.0, - "bottomRow": 4.0, - "parentRowSpace": 10.0, - "type": "ICON_BUTTON_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 9.8095703125, - "dynamicTriggerPathList": [ - { - "key": "onClick" - } - ], - "leftColumn": 44.0, - "dynamicBindingPathList": [ - - ], - "isDisabled": false, - "key": "35uqmnh3wt", - "rightColumn": 47.0, - "iconName": "add", - "widgetId": "11kdci9jhn", - "isVisible": true, - "version": 1.0, - "parentId": "0", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "SHARP", - "buttonVariant": "TERTIARY", - "boxShadowColor": "" - }, - { - "widgetName": "add_issue_modal", - "isCanvas": true, - "displayName": "Modal", - "iconSVG": "/static/media/icon.4975978e.svg", - "topRow": 90.0, - "bottomRow": 114.0, - "parentRowSpace": 10.0, - "type": "MODAL_WIDGET", - "hideCard": false, - "shouldScrollContents": true, - "animateLoading": true, - "parentColumnSpace": 17.9375, - "dynamicTriggerPathList": [ - - ], - "leftColumn": 14.0, - "dynamicBindingPathList": [ - - ], - "children": [ - { - "widgetName": "Canvas3", - "displayName": "Canvas", - "topRow": 0.0, - "bottomRow": 720.0, - "parentRowSpace": 1.0, - "type": "CANVAS_WIDGET", - "canExtend": true, - "hideCard": true, - "shouldScrollContents": false, - "minHeight": 694.0, - "parentColumnSpace": 1.0, - "leftColumn": 0.0, - "dynamicBindingPathList": [ - - ], - "children": [ - { - "widgetName": "label_select", - "isFilterable": true, - "dynamicPropertyPathList": [ - { - "key": "onFilterUpdate" - } - ], - "displayName": "MultiSelect", - "iconSVG": "/static/media/icon.a3495809.svg", - "labelText": "", - "topRow": 35.0, - "bottomRow": 39.0, - "parentRowSpace": 10.0, - "type": "MULTI_SELECT_WIDGET_V2", - "serverSideFiltering": true, - "hideCard": false, - "defaultOptionValue": "", - "animateLoading": true, - "parentColumnSpace": 16.3125, - "dynamicTriggerPathList": [ - { - "key": "onFilterUpdate" - } - ], - "leftColumn": 17.0, - "dynamicBindingPathList": [ - { - "key": "options" - } - ], - "options": "{{GithubManager.getLabels()}}", - "placeholderText": "Select label(s)", - "isDisabled": false, - "key": "5rw0979hv0", - "isRequired": true, - "rightColumn": 63.0, - "widgetId": "ankv8zz1xp", - "isVisible": true, - "version": 1.0, - "parentId": "8tzkaielld", - "renderMode": "CANVAS", - "isLoading": false, - "onFilterUpdate": "{{fetch_labels.run({ filterText: label_select.filterText })}}" - }, - { - "widgetName": "Text19Copy", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b52.svg", - "topRow": 45.0, - "bottomRow": 49.0, - "parentRowSpace": 10.0, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 5.5732421875, - "dynamicTriggerPathList": [ - - ], - "leftColumn": 1.0, - "dynamicBindingPathList": [ - - ], - "shouldTruncate": false, - "truncateButtonColor": "#FFC13D", - "text": "States", - "key": "r0yrfpzmtn", - "rightColumn": 17.0, - "textAlign": "RIGHT", - "widgetId": "i9kgqmx0tz", - "isVisible": true, - "fontStyle": "BOLD", - "textColor": "#231F20", - "shouldScroll": false, - "version": 1.0, - "parentId": "8tzkaielld", - "renderMode": "CANVAS", - "isLoading": false, - "fontSize": "PARAGRAPH" - }, - { - "widgetName": "states_select", - "displayName": "MultiSelect", - "iconSVG": "/static/media/icon.a3495809.svg", - "labelText": "", - "topRow": 45.0, - "bottomRow": 49.0, - "parentRowSpace": 10.0, - "type": "MULTI_SELECT_WIDGET", - "serverSideFiltering": false, - "hideCard": false, - "defaultOptionValue": "{{Table1.selectedRow.states}}", - "animateLoading": true, - "parentColumnSpace": 5.87890625, - "dynamicTriggerPathList": [ - - ], - "leftColumn": 17.0, - "dynamicBindingPathList": [ - { - "key": "options" - }, - { - "key": "defaultOptionValue" - } - ], - "options": "{{Configs.states}}", - "placeholderText": "Select state(s)", - "isDisabled": false, - "key": "lmf0nxzr5a", - "isRequired": false, - "rightColumn": 63.0, - "widgetId": "qawnxpxdix", - "isVisible": true, - "version": 1.0, - "parentId": "8tzkaielld", - "renderMode": "CANVAS", - "isLoading": false - }, - { - "widgetName": "Text5Copy", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b52.svg", - "topRow": 16.0, - "bottomRow": 20.0, - "parentRowSpace": 10.0, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 6.4140625, - "dynamicTriggerPathList": [ - - ], - "leftColumn": 0.0, - "dynamicBindingPathList": [ - - ], - "text": "Title", - "key": "fzyz91gt8q", - "rightColumn": 17.0, - "textAlign": "RIGHT", - "widgetId": "2mh922944s", - "isVisible": true, - "fontStyle": "BOLD", - "textColor": "#231F20", - "version": 1.0, - "parentId": "8tzkaielld", - "renderMode": "CANVAS", - "isLoading": false, - "fontSize": "PARAGRAPH" - }, - { - "widgetName": "title_input", - "displayName": "Input", - "iconSVG": "/static/media/icon.9f505595.svg", - "topRow": 16.0, - "bottomRow": 20.0, - "parentRowSpace": 10.0, - "autoFocus": false, - "type": "INPUT_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 6.4140625, - "dynamicTriggerPathList": [ - - ], - "resetOnSubmit": true, - "leftColumn": 17.0, - "dynamicBindingPathList": [ - { - "key": "defaultText" - } - ], - "labelStyle": "", - "inputType": "TEXT", - "isDisabled": false, - "key": "zyoraxqcrl", - "isRequired": true, - "rightColumn": 63.0, - "widgetId": "glfkj7n61g", - "isVisible": true, - "label": "", - "allowCurrencyChange": false, - "version": 1.0, - "parentId": "8tzkaielld", - "renderMode": "CANVAS", - "isLoading": false, - "iconAlign": "left", - "defaultText": "{{GithubManager.getSelectedGithubIssue()?.title || \"\"}}" - }, - { - "widgetName": "Text6Copy", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b52.svg", - "topRow": 21.0, - "bottomRow": 25.0, - "parentRowSpace": 10.0, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 6.4140625, - "dynamicTriggerPathList": [ - - ], - "leftColumn": 0.0, - "dynamicBindingPathList": [ - - ], - "text": "Description", - "key": "fzyz91gt8q", - "rightColumn": 17.0, - "textAlign": "RIGHT", - "widgetId": "tx9h5i8ovw", - "isVisible": true, - "fontStyle": "BOLD", - "textColor": "#231F20", - "version": 1.0, - "parentId": "8tzkaielld", - "renderMode": "CANVAS", - "isLoading": false, - "fontSize": "PARAGRAPH" - }, - { - "widgetName": "description_input", - "displayName": "Input", - "iconSVG": "/static/media/icon.9f505595.svg", - "topRow": 21.0, - "bottomRow": 29.0, - "parentRowSpace": 10.0, - "autoFocus": false, - "type": "INPUT_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 6.4140625, - "dynamicTriggerPathList": [ - - ], - "resetOnSubmit": true, - "leftColumn": 17.0, - "dynamicBindingPathList": [ - - ], - "labelStyle": "", - "inputType": "TEXT", - "isDisabled": false, - "key": "zyoraxqcrl", - "isRequired": false, - "rightColumn": 63.0, - "widgetId": "xp8otc7k1c", - "isVisible": true, - "label": "", - "allowCurrencyChange": false, - "version": 1.0, - "parentId": "8tzkaielld", - "renderMode": "CANVAS", - "isLoading": false, - "iconAlign": "left", - "defaultText": "" - }, - { - "widgetName": "Text7Copy", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b52.svg", - "topRow": 6.0, - "bottomRow": 10.0, - "parentRowSpace": 10.0, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 6.4140625, - "dynamicTriggerPathList": [ - - ], - "leftColumn": 0.0, - "dynamicBindingPathList": [ - - ], - "text": "Type", - "key": "fzyz91gt8q", - "rightColumn": 17.0, - "textAlign": "RIGHT", - "widgetId": "xa5lprgkkr", - "isVisible": true, - "fontStyle": "BOLD", - "textColor": "#231F20", - "version": 1.0, - "parentId": "8tzkaielld", - "renderMode": "CANVAS", - "isLoading": false, - "fontSize": "PARAGRAPH" - }, - { - "widgetName": "type_select", - "isFilterable": false, - "displayName": "Select", - "iconSVG": "/static/media/icon.bd99caba.svg", - "labelText": "", - "topRow": 6.0, - "bottomRow": 10.0, - "parentRowSpace": 10.0, - "type": "DROP_DOWN_WIDGET", - "serverSideFiltering": false, - "hideCard": false, - "defaultOptionValue": "", - "selectionType": "SINGLE_SELECT", - "animateLoading": true, - "parentColumnSpace": 6.4140625, - "dynamicTriggerPathList": [ - - ], - "leftColumn": 17.0, - "dynamicBindingPathList": [ - { - "key": "options" - } - ], - "options": "{{Configs.type}}", - "placeholderText": "Select Type", - "isDisabled": false, - "key": "p2g6q7uu0o", - "isRequired": true, - "rightColumn": 63.0, - "widgetId": "jw4tgzde1z", - "isVisible": true, - "version": 1.0, - "parentId": "8tzkaielld", - "renderMode": "CANVAS", - "isLoading": false - }, - { - "widgetName": "Text8Copy", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b52.svg", - "topRow": 35.0, - "bottomRow": 39.0, - "parentRowSpace": 10.0, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 6.4140625, - "dynamicTriggerPathList": [ - - ], - "leftColumn": 1.0, - "dynamicBindingPathList": [ - - ], - "text": "Labels", - "key": "fzyz91gt8q", - "rightColumn": 17.0, - "textAlign": "RIGHT", - "widgetId": "483a8ji8wb", - "isVisible": true, - "fontStyle": "BOLD", - "textColor": "#231F20", - "version": 1.0, - "parentId": "8tzkaielld", - "renderMode": "CANVAS", - "isLoading": false, - "fontSize": "PARAGRAPH" - }, - { - "widgetName": "Text9Copy", - "dynamicPropertyPathList": [ - { - "key": "isVisible" - } - ], - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b52.svg", - "topRow": 11.0, - "bottomRow": 15.0, - "parentRowSpace": 10.0, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 6.4140625, - "dynamicTriggerPathList": [ - - ], - "leftColumn": 0.0, - "dynamicBindingPathList": [ - { - "key": "isVisible" - } - ], - "text": "Github Issue", - "key": "fzyz91gt8q", - "rightColumn": 17.0, - "textAlign": "RIGHT", - "widgetId": "cj7wnbg01q", - "isVisible": "{{type_select.selectedOptionValue === \"Feature\" || type_select.selectedOptionValue === \"Bug\"}}", - "fontStyle": "BOLD", - "textColor": "#231F20", - "version": 1.0, - "parentId": "8tzkaielld", - "renderMode": "CANVAS", - "isLoading": false, - "fontSize": "PARAGRAPH" - }, - { - "widgetName": "add_issue_select", - "isFilterable": true, - "dynamicPropertyPathList": [ - { - "key": "onFilterUpdate" - }, - { - "key": "isVisible" - } - ], - "displayName": "Select", - "iconSVG": "/static/media/icon.bd99caba.svg", - "labelText": "", - "topRow": 11.0, - "bottomRow": 15.0, - "parentRowSpace": 10.0, - "type": "DROP_DOWN_WIDGET", - "serverSideFiltering": true, - "hideCard": false, - "defaultOptionValue": "", - "selectionType": "SINGLE_SELECT", - "animateLoading": true, - "parentColumnSpace": 6.4140625, - "dynamicTriggerPathList": [ - { - "key": "onFilterUpdate" - } - ], - "leftColumn": 17.0, - "dynamicBindingPathList": [ - { - "key": "options" - }, - { - "key": "isVisible" - } - ], - "options": "{{GithubManager.getIssues()}}", - "placeholderText": "Search Github Issues", - "isDisabled": false, - "key": "p2g6q7uu0o", - "isRequired": false, - "rightColumn": 63.0, - "widgetId": "mle8h2yllt", - "isVisible": "{{type_select.selectedOptionValue === \"Feature\" || type_select.selectedOptionValue === \"Bug\"}}", - "version": 1.0, - "parentId": "8tzkaielld", - "renderMode": "CANVAS", - "isLoading": false, - "onFilterUpdate": "{{GithubManager.searchIssues(add_issue_select.filterText)}}" - }, - { - "widgetName": "Text10", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b52.svg", - "topRow": 0.0, - "bottomRow": 4.0, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "dynamicTriggerPathList": [ - - ], - "leftColumn": 0.0, - "dynamicBindingPathList": [ - - ], - "text": "New Issue", - "key": "fzyz91gt8q", - "rightColumn": 28.0, - "textAlign": "LEFT", - "widgetId": "240nwl18xx", - "isVisible": true, - "fontStyle": "BOLD", - "textColor": "#231F20", - "version": 1.0, - "parentId": "8tzkaielld", - "renderMode": "CANVAS", - "isLoading": false, - "fontSize": "HEADING1" - }, - { - "widgetName": "Button2", - "onClick": "{{closeModal('add_issue_modal')}}", - "buttonColor": "#2E3D49", - "displayName": "Button", - "iconSVG": "/static/media/icon.cca02633.svg", - "topRow": 63.0, - "bottomRow": 67.0, - "type": "BUTTON_WIDGET", - "hideCard": false, - "animateLoading": true, - "dynamicTriggerPathList": [ - - ], - "leftColumn": 26.0, - "dynamicBindingPathList": [ - - ], - "text": "Close", - "isDisabled": false, - "key": "oz6v5ujks3", - "rightColumn": 38.0, - "isDefaultClickDisabled": true, - "widgetId": "qk4c4nfb1q", - "buttonStyle": "PRIMARY", - "isVisible": true, - "version": 1.0, - "recaptchaType": "V3", - "parentId": "8tzkaielld", - "renderMode": "CANVAS", - "isLoading": false, - "buttonVariant": "SECONDARY" - }, - { - "widgetName": "Button3", - "onClick": "{{IssueManager.create_issue()}}", - "buttonColor": "#2E3D49", - "dynamicPropertyPathList": [ - { - "key": "onClick" - }, - { - "key": "isDisabled" - } - ], - "displayName": "Button", - "iconSVG": "/static/media/icon.cca02633.svg", - "topRow": 63.0, - "bottomRow": 67.0, - "type": "BUTTON_WIDGET", - "hideCard": false, - "animateLoading": true, - "dynamicTriggerPathList": [ - { - "key": "onClick" - } - ], - "leftColumn": 38.0, - "dynamicBindingPathList": [ - { - "key": "isDisabled" - } - ], - "text": "Confirm", - "isDisabled": "{{!link_input.isValid || !type_select.isValid || !title_input.text || IssueManager.getAssignedLabels(label_select.selectedOptionValues).length == 0}}", - "key": "oz6v5ujks3", - "rightColumn": 63.0, - "isDefaultClickDisabled": true, - "widgetId": "mhnwwl1t95", - "buttonStyle": "PRIMARY_BUTTON", - "isVisible": true, - "version": 1.0, - "recaptchaType": "V3", - "parentId": "8tzkaielld", - "renderMode": "CANVAS", - "isLoading": false, - "buttonVariant": "PRIMARY" - }, - { - "boxShadow": "NONE", - "widgetName": "IconButton5", - "onClick": "{{closeModal('add_issue_modal')}}", - "buttonColor": "#2E3D49", - "displayName": "Icon Button", - "iconSVG": "/static/media/icon.1a0c634a.svg", - "topRow": 0.0, - "bottomRow": 4.0, - "parentRowSpace": 10.0, - "type": "ICON_BUTTON_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 6.9375, - "dynamicTriggerPathList": [ - { - "key": "onClick" - } - ], - "leftColumn": 57.0, - "dynamicBindingPathList": [ - - ], - "isDisabled": false, - "key": "1b5hj6tv0b", - "rightColumn": 64.0, - "iconName": "cross", - "widgetId": "6tvffrozwj", - "isVisible": true, - "version": 1.0, - "parentId": "8tzkaielld", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "CIRCLE", - "buttonVariant": "TERTIARY" - }, - { - "widgetName": "Text13", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b52.svg", - "topRow": 30.0, - "bottomRow": 34.0, - "parentRowSpace": 10.0, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 6.9375, - "dynamicTriggerPathList": [ - - ], - "leftColumn": 1.0, - "dynamicBindingPathList": [ - - ], - "text": "Issue Link", - "key": "w50usn0v9g", - "rightColumn": 17.0, - "textAlign": "RIGHT", - "widgetId": "w91q3a6doy", - "isVisible": true, - "fontStyle": "BOLD", - "textColor": "#231F20", - "version": 1.0, - "parentId": "8tzkaielld", - "renderMode": "CANVAS", - "isLoading": false, - "fontSize": "PARAGRAPH" - }, - { - "widgetName": "link_input", - "displayName": "Input", - "iconSVG": "/static/media/icon.9f505595.svg", - "topRow": 30.0, - "bottomRow": 34.0, - "parentRowSpace": 10.0, - "autoFocus": false, - "type": "INPUT_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 6.9375, - "dynamicTriggerPathList": [ - - ], - "resetOnSubmit": true, - "leftColumn": 17.0, - "dynamicBindingPathList": [ - { - "key": "defaultText" - } - ], - "labelStyle": "", - "inputType": "TEXT", - "placeholderText": "Discord / Github / Discourse / Intercom msg URL", - "isDisabled": false, - "key": "iqxzeop4oc", - "isRequired": true, - "rightColumn": 63.0, - "widgetId": "erhs9rotun", - "isVisible": true, - "label": "", - "allowCurrencyChange": false, - "version": 1.0, - "parentId": "8tzkaielld", - "renderMode": "CANVAS", - "isLoading": false, - "iconAlign": "left", - "defaultText": "{{add_issue_select.selectedOptionValue ? \n\"https://github.com/appsmithorg/appsmith/issues/\" + GithubManager.getSelectedGithubIssue()?.issue_number : \"\"}}" - }, - { - "widgetName": "answer_input", - "displayName": "Input", - "iconSVG": "/static/media/icon.9f505595.svg", - "topRow": 40.0, - "bottomRow": 44.0, - "parentRowSpace": 10.0, - "autoFocus": false, - "type": "INPUT_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 6.9375, - "dynamicTriggerPathList": [ - - ], - "resetOnSubmit": true, - "leftColumn": 17.0, - "dynamicBindingPathList": [ - - ], - "labelStyle": "", - "inputType": "TEXT", - "placeholderText": "Documentation / Example app URL", - "isDisabled": false, - "key": "iqxzeop4oc", - "isRequired": false, - "rightColumn": 63.0, - "widgetId": "335stzmyk5", - "isVisible": true, - "label": "", - "allowCurrencyChange": false, - "version": 1.0, - "parentId": "8tzkaielld", - "renderMode": "CANVAS", - "isLoading": false, - "iconAlign": "left", - "defaultText": "" - }, - { - "widgetName": "Text16", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b52.svg", - "topRow": 40.0, - "bottomRow": 44.0, - "parentRowSpace": 10.0, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 6.9375, - "dynamicTriggerPathList": [ - - ], - "leftColumn": 1.0, - "dynamicBindingPathList": [ - - ], - "text": "Answer Link", - "key": "w50usn0v9g", - "rightColumn": 17.0, - "textAlign": "RIGHT", - "widgetId": "h9drw49jnw", - "isVisible": true, - "fontStyle": "BOLD", - "textColor": "#231F20", - "version": 1.0, - "parentId": "8tzkaielld", - "renderMode": "CANVAS", - "isLoading": false, - "fontSize": "PARAGRAPH" - } - ], - "isDisabled": false, - "key": "6u4x0kf3h8", - "rightColumn": 430.5, - "detachFromLayout": true, - "widgetId": "8tzkaielld", - "isVisible": true, - "version": 1.0, - "parentId": "rxoie5b5j5", - "renderMode": "CANVAS", - "isLoading": false - } - ], - "key": "9ppzbhlnqc", - "height": 694.0, - "rightColumn": 38.0, - "detachFromLayout": true, - "widgetId": "rxoie5b5j5", - "canOutsideClickClose": true, - "canEscapeKeyClose": true, - "version": 2.0, - "parentId": "0", - "renderMode": "CANVAS", - "isLoading": false, - "width": 456.0 - }, - { - "boxShadow": "NONE", - "widgetName": "RefreshIssues", - "onClick": "{{IssueManager.fetchIssues()}}", - "buttonColor": "#2E3D49", - "displayName": "Icon Button", - "iconSVG": "/static/media/icon.1a0c634a.svg", - "topRow": 0.0, - "bottomRow": 4.0, - "parentRowSpace": 10.0, - "type": "ICON_BUTTON_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 9.8095703125, - "dynamicTriggerPathList": [ - { - "key": "onClick" - } - ], - "leftColumn": 41.0, - "dynamicBindingPathList": [ - - ], - "isDisabled": false, - "key": "35uqmnh3wt", - "rightColumn": 44.0, - "iconName": "refresh", - "widgetId": "pu0p8ahn8i", - "isVisible": true, - "version": 1.0, - "parentId": "0", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "SHARP", - "buttonVariant": "TERTIARY" - }, - { - "widgetName": "sort_select", - "isFilterable": false, - "displayName": "Select", - "iconSVG": "/static/media/icon.bd99caba.svg", - "labelText": "", - "topRow": 0.0, - "bottomRow": 4.0, - "parentRowSpace": 10.0, - "type": "DROP_DOWN_WIDGET", - "serverSideFiltering": false, - "hideCard": false, - "defaultOptionValue": "GITHUB", - "selectionType": "SINGLE_SELECT", - "animateLoading": true, - "parentColumnSpace": 20.3125, - "dynamicTriggerPathList": [ - { - "key": "onOptionChange" - } - ], - "leftColumn": 30.0, - "dynamicBindingPathList": [ - - ], - "options": "[\n {\n \"label\": \"Most Github Votes\",\n \"value\": \"GITHUB\"\n },\n {\n \"label\": \"Most Upvotes\",\n \"value\": \"VOTES\"\n },\n\t{\n \"label\": \"Most Commentors\",\n \"value\": \"COMMENTORS\"\n },\n\t{\n \"label\": \"Most Recent\",\n \"value\": \"RECENT\"\n }\n]", - "placeholderText": "Select option", - "isDisabled": false, - "key": "at2ne0v8x9", - "isRequired": true, - "rightColumn": 41.0, - "widgetId": "ra23cq4tyo", - "isVisible": true, - "version": 1.0, - "parentId": "0", - "renderMode": "CANVAS", - "isLoading": false, - "onOptionChange": "{{fetch_issues.run()}}" - }, - { - "widgetName": "type_filter", - "isFilterable": false, - "displayName": "Select", - "iconSVG": "/static/media/icon.bd99caba.svg", - "labelText": "", - "topRow": 0.0, - "bottomRow": 4.0, - "parentRowSpace": 10.0, - "type": "DROP_DOWN_WIDGET", - "serverSideFiltering": false, - "hideCard": false, - "defaultOptionValue": "GREEN", - "selectionType": "SINGLE_SELECT", - "animateLoading": true, - "parentColumnSpace": 6.4140625, - "dynamicTriggerPathList": [ - { - "key": "onOptionChange" - } - ], - "leftColumn": 23.0, - "dynamicBindingPathList": [ - { - "key": "options" - } - ], - "options": "{{Configs.type}}", - "placeholderText": "Type", - "isDisabled": false, - "key": "p2g6q7uu0o", - "isRequired": false, - "rightColumn": 30.0, - "widgetId": "eznbmvwewn", - "isVisible": true, - "version": 1.0, - "parentId": "0", - "renderMode": "CANVAS", - "isLoading": false, - "onOptionChange": "{{IssueManager.fetchIssues()}}" - }, - { - "widgetName": "status_filter", - "isFilterable": false, - "displayName": "Select", - "iconSVG": "/static/media/icon.bd99caba.svg", - "labelText": "", - "topRow": 0.0, - "bottomRow": 4.0, - "parentRowSpace": 10.0, - "type": "DROP_DOWN_WIDGET", - "serverSideFiltering": false, - "hideCard": false, - "defaultOptionValue": "", - "selectionType": "SINGLE_SELECT", - "animateLoading": true, - "parentColumnSpace": 17.9375, - "dynamicTriggerPathList": [ - { - "key": "onOptionChange" - } - ], - "leftColumn": 14.0, - "dynamicBindingPathList": [ - { - "key": "options" - } - ], - "options": "{{Configs.states}}", - "placeholderText": "States", - "isDisabled": false, - "key": "52qeg2r9uo", - "isRequired": false, - "rightColumn": 23.0, - "widgetId": "sinxumk3m3", - "isVisible": true, - "version": 1.0, - "parentId": "0", - "renderMode": "CANVAS", - "isLoading": false, - "onOptionChange": "{{IssueManager.fetchIssues()}}" - }, - { - "widgetName": "pod_filter", - "isFilterable": false, - "displayName": "Select", - "iconSVG": "/static/media/icon.bd99caba.svg", - "labelText": "", - "topRow": 0.0, - "bottomRow": 4.0, - "parentRowSpace": 10.0, - "type": "DROP_DOWN_WIDGET", - "serverSideFiltering": false, - "hideCard": false, - "defaultOptionValue": "", - "selectionType": "SINGLE_SELECT", - "animateLoading": true, - "parentColumnSpace": 5.5732421875, - "dynamicTriggerPathList": [ - { - "key": "onOptionChange" - } - ], - "leftColumn": 7.0, - "dynamicBindingPathList": [ - { - "key": "options" - } - ], - "options": "{{Utils.getPodLabels()}}", - "placeholderText": "Pods", - "isDisabled": false, - "key": "qjixxicfzt", - "isRequired": false, - "rightColumn": 14.0, - "widgetId": "ajzvz766xg", - "isVisible": true, - "version": 1.0, - "parentId": "0", - "renderMode": "CANVAS", - "isLoading": false, - "onOptionChange": "{{IssueManager.fetchIssues()}}" - }, - { - "multiRowSelection": false, - "onSort": "", - "isVisibleDownload": false, - "iconSVG": "/static/media/icon.db8a9cbd.svg", - "topRow": 5.0, - "isSortable": false, - "onPageChange": "{{fetch_issues.run()}}", - "type": "TABLE_WIDGET", - "animateLoading": true, - "dynamicBindingPathList": [ - { - "key": "tableData" - }, - { - "key": "primaryColumns.unique_commentors.computedValue" - }, - { - "key": "primaryColumns.total_reactions.computedValue" - }, - { - "key": "primaryColumns.upvote_id.computedValue" - }, - { - "key": "primaryColumns.count.computedValue" - }, - { - "key": "primaryColumns.link.computedValue" - }, - { - "key": "primaryColumns.answer.isCellVisible" - }, - { - "key": "primaryColumns.state.computedValue" - }, - { - "key": "primaryColumns.type.computedValue" - }, - { - "key": "primaryColumns.labels.computedValue" - }, - { - "key": "primaryColumns.description.computedValue" - }, - { - "key": "primaryColumns.title.computedValue" - }, - { - "key": "primaryColumns.created_at.computedValue" - }, - { - "key": "primaryColumns.author.computedValue" - }, - { - "key": "primaryColumns.github_issue_id.computedValue" - }, - { - "key": "primaryColumns.id.computedValue" - }, - { - "key": "primaryColumns.states.computedValue" - }, - { - "key": "primaryColumns.updated_at.computedValue" - }, - { - "key": "derivedColumns.customColumn2.computedValue" - }, - { - "key": "primaryColumns.customColumn2.computedValue" - } - ], - "leftColumn": 0.0, - "delimiter": ",", - "isVisibleFilters": true, - "isVisible": true, - "enableClientSideSearch": true, - "version": 3.0, - "totalRecordsCount": 0.0, - "isLoading": false, - "onSearchTextChanged": "{{fetch_issues.run()}}", - "columnSizeMap": { - "task": 245.0, - "step": 62.0, - "status": 75.0, - "id": 61.0, - "type": 88.0, - "title": 590.0, - "date": 101.0, - "created_at": 150.0, - "count": 69.00000000000001, - "customColumn1": 91.0, - "answer": 91.0, - "total_reactions": 60.0, - "unique_commentors": 144.0, - "states": 155.0, - "customColumn2": 93.0, - "state": 111.0, - "link": 188.0, - "description": 187.0, - "author": 157.0, - "github_issue_id": 163.0 - }, - "widgetName": "Table1", - "defaultPageSize": 0.0, - "columnOrder": [ - "type", - "title", - "customColumn2", - "states", - "total_reactions", - "unique_commentors", - "upvote_id", - "id", - "github_issue_id", - "author", - "created_at", - "description", - "labels", - "state", - "link", - "count", - "answer", - "updated_at", - "customColumn1" - ], - "dynamicPropertyPathList": [ - { - "key": "primaryColumns.answer.onClick" - }, - { - "key": "primaryColumns.answer.isCellVisible" - } - ], - "displayName": "Table", - "bottomRow": 89.0, - "parentRowSpace": 10.0, - "defaultSelectedRow": "0", - "hideCard": false, - "parentColumnSpace": 17.9375, - "dynamicTriggerPathList": [ - { - "key": "primaryColumns.customColumn1.onClick" - }, - { - "key": "onRowSelected" - }, - { - "key": "onPageChange" - }, - { - "key": "onSearchTextChanged" - }, - { - "key": "onSort" - }, - { - "key": "primaryColumns.answer.onClick" - } - ], - "primaryColumns": { - "customColumn1": { - "index": 7.0, - "width": 150.0, - "id": "customColumn1", - "columnType": "iconButton", - "enableFilter": true, - "enableSort": true, - "isVisible": true, - "isDisabled": false, - "isCellVisible": true, - "isDerived": true, - "label": "UpVote", - "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.customColumn1))}}", - "buttonStyle": "rgb(3, 179, 101)", - "buttonLabelColor": "#FFFFFF", - "buttonColor": "#38AFF4", - "menuColor": "#03B365", - "labelColor": "#FFFFFF", - "buttonLabel": "{{Table1.sanitizedTableData.map((currentRow) => ( 'Upvote'))}}", - "iconName": "caret-up", - "borderRadius": "ROUNDED", - "buttonVariant": "SECONDARY", - "onClick": "{{showModal('upvote_modal')}}", - "horizontalAlignment": "LEFT", - "textSize": "PARAGRAPH" - }, - "id": { - "index": 0.0, - "width": 150.0, - "id": "id", - "horizontalAlignment": "LEFT", - "verticalAlignment": "CENTER", - "columnType": "text", - "textSize": "PARAGRAPH", - "enableFilter": true, - "enableSort": true, - "isVisible": false, - "isDisabled": false, - "isCellVisible": true, - "isDerived": false, - "label": "id", - "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.id))}}" - }, - "github_issue_id": { - "index": 1.0, - "width": 150.0, - "id": "github_issue_id", - "horizontalAlignment": "LEFT", - "verticalAlignment": "CENTER", - "columnType": "text", - "textSize": "PARAGRAPH", - "enableFilter": true, - "enableSort": true, - "isVisible": false, - "isDisabled": false, - "isCellVisible": true, - "isDerived": false, - "label": "github_issue_id", - "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.github_issue_id))}}" - }, - "author": { - "index": 2.0, - "width": 150.0, - "id": "author", - "horizontalAlignment": "LEFT", - "verticalAlignment": "CENTER", - "columnType": "text", - "textSize": "PARAGRAPH", - "enableFilter": true, - "enableSort": true, - "isVisible": false, - "isDisabled": false, - "isCellVisible": true, - "isDerived": false, - "label": "author", - "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.author))}}" - }, - "created_at": { - "index": 3.0, - "width": 150.0, - "id": "created_at", - "horizontalAlignment": "LEFT", - "verticalAlignment": "CENTER", - "columnType": "text", - "textSize": "PARAGRAPH", - "enableFilter": true, - "enableSort": true, - "isVisible": false, - "isDisabled": false, - "isCellVisible": true, - "isDerived": false, - "label": "created_at", - "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.created_at))}}" - }, - "title": { - "index": 4.0, - "width": 150.0, - "id": "title", - "horizontalAlignment": "LEFT", - "verticalAlignment": "CENTER", - "columnType": "text", - "textSize": "PARAGRAPH", - "enableFilter": true, - "enableSort": true, - "isVisible": true, - "isDisabled": false, - "isCellVisible": true, - "isDerived": false, - "label": "Title", - "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.title))}}" - }, - "description": { - "index": 5.0, - "width": 150.0, - "id": "description", - "horizontalAlignment": "LEFT", - "verticalAlignment": "CENTER", - "columnType": "text", - "textSize": "PARAGRAPH", - "enableFilter": true, - "enableSort": true, - "isVisible": false, - "isDisabled": false, - "isCellVisible": true, - "isDerived": false, - "label": "description", - "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.description))}}" - }, - "labels": { - "index": 6.0, - "width": 150.0, - "id": "labels", - "horizontalAlignment": "LEFT", - "verticalAlignment": "CENTER", - "columnType": "text", - "textSize": "PARAGRAPH", - "enableFilter": true, - "enableSort": true, - "isVisible": false, - "isDisabled": false, - "isCellVisible": true, - "isDerived": false, - "label": "labels", - "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.labels))}}" - }, - "type": { - "index": 7.0, - "width": 150.0, - "id": "type", - "horizontalAlignment": "LEFT", - "verticalAlignment": "CENTER", - "columnType": "text", - "textSize": "PARAGRAPH", - "enableFilter": true, - "enableSort": true, - "isVisible": true, - "isDisabled": false, - "isCellVisible": true, - "isDerived": false, - "label": "Type", - "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.type))}}" - }, - "state": { - "index": 8.0, - "width": 150.0, - "id": "state", - "horizontalAlignment": "LEFT", - "verticalAlignment": "CENTER", - "columnType": "text", - "textSize": "PARAGRAPH", - "enableFilter": true, - "enableSort": true, - "isVisible": false, - "isDisabled": false, - "isCellVisible": true, - "isDerived": false, - "label": "state", - "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.state))}}" - }, - "answer": { - "index": 9.0, - "width": 150.0, - "id": "answer", - "horizontalAlignment": "LEFT", - "verticalAlignment": "CENTER", - "columnType": "iconButton", - "textSize": "PARAGRAPH", - "enableFilter": true, - "enableSort": true, - "isVisible": true, - "isDisabled": false, - "isCellVisible": "{{Table1.sanitizedTableData.map((currentRow) => ( !!currentRow.answer))}}", - "isDerived": false, - "label": "Answer", - "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.answer))}}", - "iconName": "duplicate", - "buttonVariant": "TERTIARY", - "buttonColor": "#2E3D49", - "onClick": "{{copyToClipboard(currentRow.answer); showAlert('Copied');}}" - }, - "link": { - "index": 11.0, - "width": 150.0, - "id": "link", - "horizontalAlignment": "LEFT", - "verticalAlignment": "CENTER", - "columnType": "text", - "textSize": "PARAGRAPH", - "enableFilter": true, - "enableSort": true, - "isVisible": false, - "isDisabled": false, - "isCellVisible": true, - "isDerived": false, - "label": "link", - "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.link))}}" - }, - "count": { - "index": 12.0, - "width": 150.0, - "id": "count", - "horizontalAlignment": "CENTER", - "verticalAlignment": "CENTER", - "columnType": "number", - "textSize": "PARAGRAPH", - "enableFilter": true, - "enableSort": true, - "isVisible": true, - "isDisabled": false, - "isCellVisible": true, - "isDerived": false, - "label": "Votes", - "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.count))}}" - }, - "upvote_id": { - "index": 13.0, - "width": 150.0, - "id": "upvote_id", - "horizontalAlignment": "LEFT", - "verticalAlignment": "CENTER", - "columnType": "text", - "textSize": "PARAGRAPH", - "enableFilter": true, - "enableSort": true, - "isVisible": false, - "isDisabled": false, - "isCellVisible": true, - "isDerived": false, - "label": "upvote_id", - "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.upvote_id))}}" - }, - "total_reactions": { - "index": 14.0, - "width": 150.0, - "id": "total_reactions", - "horizontalAlignment": "CENTER", - "verticalAlignment": "CENTER", - "columnType": "text", - "textSize": "PARAGRAPH", - "enableFilter": true, - "enableSort": true, - "isVisible": true, - "isDisabled": false, - "isCellVisible": true, - "isDerived": false, - "label": "+1", - "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.total_reactions))}}" - }, - "unique_commentors": { - "index": 15.0, - "width": 150.0, - "id": "unique_commentors", - "horizontalAlignment": "CENTER", - "verticalAlignment": "CENTER", - "columnType": "text", - "textSize": "PARAGRAPH", - "enableFilter": true, - "enableSort": true, - "isVisible": true, - "isDisabled": false, - "isCellVisible": true, - "isDerived": false, - "label": "Commentors", - "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.unique_commentors))}}" - }, - "states": { - "index": 16.0, - "width": 150.0, - "id": "states", - "horizontalAlignment": "LEFT", - "verticalAlignment": "CENTER", - "columnType": "text", - "textSize": "PARAGRAPH", - "enableFilter": true, - "enableSort": true, - "isVisible": false, - "isDisabled": false, - "isCellVisible": true, - "isDerived": false, - "label": "States", - "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.states))}}" - }, - "updated_at": { - "index": 16.0, - "width": 150.0, - "id": "updated_at", - "horizontalAlignment": "LEFT", - "verticalAlignment": "CENTER", - "columnType": "text", - "textSize": "PARAGRAPH", - "enableFilter": true, - "enableSort": true, - "isVisible": false, - "isDisabled": false, - "isCellVisible": true, - "isDerived": false, - "label": "updated_at", - "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.updated_at))}}" - }, - "customColumn2": { - "index": 18.0, - "width": 150.0, - "id": "customColumn2", - "horizontalAlignment": "CENTER", - "columnType": "text", - "enableFilter": true, - "enableSort": true, - "isVisible": true, - "isDisabled": false, - "isCellVisible": true, - "isDerived": true, - "label": "Status", - "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( Configs.getTitleState(currentRow.states)))}}", - "buttonStyle": "rgb(3, 179, 101)", - "buttonLabelColor": "#FFFFFF", - "buttonColor": "#03B365", - "menuColor": "#03B365", - "labelColor": "#FFFFFF", - "textSize": "PARAGRAPH" - } - }, - "onRowSelected": "{{resetWidget(\"Tabs1\")}}", - "key": "tr3pdljkm8", - "derivedColumns": { - "customColumn1": { - "index": 7.0, - "width": 150.0, - "id": "customColumn1", - "columnType": "iconButton", - "enableFilter": true, - "enableSort": true, - "isVisible": true, - "isDisabled": false, - "isCellVisible": true, - "isDerived": true, - "label": "UpVote", - "computedValue": "", - "buttonStyle": "rgb(3, 179, 101)", - "buttonLabelColor": "#FFFFFF", - "buttonColor": "#38AFF4", - "menuColor": "#03B365", - "labelColor": "#FFFFFF", - "buttonLabel": "{{Table1.sanitizedTableData.map((currentRow) => ( 'Upvote'))}}", - "iconName": "caret-up", - "borderRadius": "ROUNDED", - "buttonVariant": "PRIMARY", - "horizontalAlignment": "LEFT", - "textSize": "PARAGRAPH" - }, - "customColumn2": { - "index": 18.0, - "width": 150.0, - "id": "customColumn2", - "horizontalAlignment": "CENTER", - "columnType": "text", - "enableFilter": true, - "enableSort": true, - "isVisible": true, - "isDisabled": false, - "isCellVisible": true, - "isDerived": true, - "label": "Status", - "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( Configs.getTitleState(currentRow.states)))}}", - "buttonStyle": "rgb(3, 179, 101)", - "buttonLabelColor": "#FFFFFF", - "buttonColor": "#03B365", - "menuColor": "#03B365", - "labelColor": "#FFFFFF", - "textSize": "PARAGRAPH" - } - }, - "rightColumn": 44.0, - "textSize": "PARAGRAPH", - "widgetId": "zsilqrkvkw", - "tableData": "{{IssueManager.getIssueData()}}", - "label": "Data", - "searchKey": "", - "parentId": "0", - "serverSidePaginationEnabled": true, - "renderMode": "CANVAS", - "horizontalAlignment": "LEFT", - "isVisibleSearch": true, - "isVisiblePagination": true, - "verticalAlignment": "CENTER" - }, - { - "widgetName": "Text1", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b52.svg", - "topRow": 0.0, - "bottomRow": 4.0, - "parentRowSpace": 10.0, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 16.71875, - "dynamicTriggerPathList": [ - - ], - "leftColumn": 0.0, - "dynamicBindingPathList": [ - - ], - "shouldTruncate": false, - "truncateButtonColor": "#FFC13D", - "text": "🗓 Issues", - "key": "t8e7qdq1ol", - "rightColumn": 7.0, - "textAlign": "LEFT", - "widgetId": "yyqsgarlj7", - "isVisible": true, - "fontStyle": "BOLD", - "textColor": "#231F20", - "shouldScroll": false, - "version": 1.0, - "parentId": "0", - "renderMode": "CANVAS", - "isLoading": false, - "fontSize": "HEADING1" - } - ] - }, - "layoutOnLoadActions": [ - [ - { - "id": "Issues_search_github_issues", - "name": "search_github_issues", - "confirmBeforeExecute": false, - "pluginType": "DB", - "jsonPathKeys": [ - "\"%\" + this.params.searchText + \"%\"" - ], - "timeoutInMillisecond": 10000 - }, - { - "id": "Issues_fetch_label_config", - "name": "fetch_label_config", - "confirmBeforeExecute": false, - "pluginType": "API", - "jsonPathKeys": [ - - ], - "timeoutInMillisecond": 10000 - } - ], - [ - { - "id": "Issues_fetch_comments", - "name": "fetch_comments", - "confirmBeforeExecute": false, - "pluginType": "DB", - "jsonPathKeys": [ - "Table1.selectedRow.id" - ], - "timeoutInMillisecond": 10000 - } - ], - [ - { - "id": "Issues_fetch_labels", - "name": "fetch_labels", - "confirmBeforeExecute": false, - "pluginType": "API", - "jsonPathKeys": [ - - ], - "timeoutInMillisecond": 10000 - }, - { - "id": "Issues_fetch_issues", - "name": "fetch_issues", - "confirmBeforeExecute": false, - "pluginType": "DB", - "jsonPathKeys": [ - "appsmith.URL.queryParams.id ? \" and global_issues.id=\" + appsmith.URL.queryParams.id: \"\"", - "type_filter.selectedOptionValue && type_filter.selectedOptionValue !== \"ALL\" ? \"and global_issues.type ='\" + type_filter.selectedOptionValue + \"'\" : \"\"", - "\"%\" + Table1.searchText + \"%\"", - "(Table1.pageNo - 1) * Table1.pageSize", - "Table1.pageSize", - "status_filter.selectedOptionValue && status_filter.selectedOptionValue !== \"ALL\" ? \"and '\" + status_filter.selectedOptionValue + \"' =ANY(global_issues.states)\" : \"\"", - "pod_filter.selectedOptionValue && pod_filter.selectedOptionValue !== \"ALL\" ? \"and '\" + pod_filter.selectedOptionValue + \"'=ANY(global_issues.labels)\" : \"\"", - "sort_select.selectedOptionValue === \"GITHUB\" ? \"total_reactions desc, count desc, upvote_id desc\" : sort_select.selectedOptionValue === \"VOTES\" ? \"count desc, upvote_id desc, total_reactions desc\" : sort_select.selectedOptionValue === \"COMMENTORS\" ? \"unique_commentors desc, total_reactions desc, count desc, upvote_id desc\" : \"updated_at desc\"" - ], - "timeoutInMillisecond": 10000 - } - ] - ], - "new": false - } - ], - "userPermissions": [ - - ], - "isHidden": false - }, - "publishedPage": { - "name": "Issues", - "slug": "issues", - "layouts": [ - { - "id": "Issues", - "userPermissions": [ - - ], - "dsl": { - "widgetName": "MainContainer", - "backgroundColor": "none", - "rightColumn": 1082.0, - "snapColumns": 64.0, - "detachFromLayout": true, - "widgetId": "0", - "topRow": 0.0, - "bottomRow": 1160.0, - "containerStyle": "none", - "snapRows": 125.0, - "parentRowSpace": 1.0, - "type": "CANVAS_WIDGET", - "canExtend": true, - "version": 53.0, - "minHeight": 940.0, - "parentColumnSpace": 1.0, - "dynamicBindingPathList": [ - - ], - "leftColumn": 0.0, - "children": [ - { - "widgetName": "upvote_modal", - "isCanvas": true, - "displayName": "Modal", - "iconSVG": "/static/media/icon.4975978e.svg", - "topRow": 90.0, - "bottomRow": 90.0, - "parentRowSpace": 1.0, - "type": "MODAL_WIDGET", - "hideCard": false, - "shouldScrollContents": true, - "animateLoading": true, - "parentColumnSpace": 1.0, - "leftColumn": 0.0, - "dynamicBindingPathList": [ - - ], - "children": [ - { - "widgetName": "Canvas5", - "displayName": "Canvas", - "topRow": 0.0, - "bottomRow": 470.0, - "parentRowSpace": 1.0, - "type": "CANVAS_WIDGET", - "canExtend": true, - "hideCard": true, - "shouldScrollContents": false, - "minHeight": 478.0, - "parentColumnSpace": 1.0, - "dynamicTriggerPathList": [ - - ], - "leftColumn": 0.0, - "dynamicBindingPathList": [ - - ], - "children": [ - { - "widgetName": "upvote_label_select", - "isFilterable": true, - "dynamicPropertyPathList": [ - { - "key": "onFilterUpdate" - } - ], - "displayName": "MultiSelect", - "iconSVG": "/static/media/icon.a3495809.svg", - "labelText": "", - "topRow": 35.0, - "bottomRow": 39.0, - "parentRowSpace": 10.0, - "type": "MULTI_SELECT_WIDGET_V2", - "serverSideFiltering": true, - "hideCard": false, - "defaultOptionValue": "{{Table1.selectedRow.labels.map((label) => {\n return {\n\t label: label,\n\t value: label\n }\n})}}", - "animateLoading": true, - "parentColumnSpace": 16.3125, - "dynamicTriggerPathList": [ - { - "key": "onFilterUpdate" - } - ], - "leftColumn": 1.0, - "dynamicBindingPathList": [ - { - "key": "options" - }, - { - "key": "defaultOptionValue" - } - ], - "options": "{{GithubManager.getLabels()}}", - "placeholderText": "Select label(s)", - "isDisabled": false, - "key": "5rw0979hv0", - "isRequired": true, - "rightColumn": 64.0, - "widgetId": "xdplbo2hdw", - "isVisible": true, - "version": 1.0, - "parentId": "a189hjos00", - "renderMode": "CANVAS", - "isLoading": false, - "onFilterUpdate": "{{fetch_labels.run({ filterText: upvote_label_select.filterText })}}" - }, - { - "widgetName": "Text12Copy", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b52.svg", - "topRow": 15.0, - "bottomRow": 19.0, - "parentRowSpace": 10.0, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 6.9375, - "dynamicTriggerPathList": [ - - ], - "leftColumn": 1.0, - "dynamicBindingPathList": [ - - ], - "text": "Comment", - "key": "fzyz91gt8q", - "rightColumn": 17.0, - "textAlign": "LEFT", - "widgetId": "hx56ibu1uk", - "isVisible": true, - "fontStyle": "BOLD", - "textColor": "#231F20", - "version": 1.0, - "parentId": "a189hjos00", - "renderMode": "CANVAS", - "isLoading": false, - "fontSize": "PARAGRAPH" - }, - { - "widgetName": "comment_input", - "displayName": "Input", - "iconSVG": "/static/media/icon.9f505595.svg", - "topRow": 19.0, - "bottomRow": 31.0, - "parentRowSpace": 10.0, - "autoFocus": false, - "type": "INPUT_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 6.9375, - "resetOnSubmit": true, - "leftColumn": 1.0, - "dynamicBindingPathList": [ - - ], - "labelStyle": "", - "inputType": "TEXT", - "isDisabled": false, - "key": "zyoraxqcrl", - "isRequired": false, - "rightColumn": 62.0, - "widgetId": "x2u0y4ound", - "isVisible": true, - "label": "", - "allowCurrencyChange": false, - "version": 1.0, - "parentId": "a189hjos00", - "renderMode": "CANVAS", - "isLoading": false, - "iconAlign": "left", - "defaultText": "" - }, - { - "widgetName": "Icon2", - "rightColumn": 64.0, - "onClick": "{{closeModal('upvote_modal')}}", - "iconName": "cross", - "buttonColor": "#2E3D49", - "displayName": "Icon", - "iconSVG": "/static/media/icon.31d6cfe0.svg", - "widgetId": "nphe3f67yt", - "topRow": 1.0, - "bottomRow": 5.0, - "isVisible": true, - "type": "ICON_BUTTON_WIDGET", - "version": 1.0, - "hideCard": true, - "parentId": "a189hjos00", - "renderMode": "CANVAS", - "isLoading": false, - "leftColumn": 58.0, - "dynamicBindingPathList": [ - - ], - "borderRadius": "SHARP", - "buttonVariant": "TERTIARY", - "iconSize": 24.0, - "key": "aeg87lexno" - }, - { - "widgetName": "Text11", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b52.svg", - "topRow": 1.0, - "bottomRow": 5.0, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "dynamicTriggerPathList": [ - - ], - "leftColumn": 1.0, - "dynamicBindingPathList": [ - - ], - "text": "Upvote Issue", - "key": "fzyz91gt8q", - "rightColumn": 41.0, - "textAlign": "LEFT", - "widgetId": "bfqckgaole", - "isVisible": true, - "fontStyle": "BOLD", - "textColor": "#231F20", - "version": 1.0, - "parentId": "a189hjos00", - "renderMode": "CANVAS", - "isLoading": false, - "fontSize": "HEADING1" - }, - { - "widgetName": "Button5", - "onClick": "{{closeModal('upvote_modal')}}", - "buttonColor": "#2E3D49", - "displayName": "Button", - "iconSVG": "/static/media/icon.cca02633.svg", - "topRow": 41.0, - "bottomRow": 45.0, - "type": "BUTTON_WIDGET", - "hideCard": false, - "animateLoading": true, - "dynamicTriggerPathList": [ - - ], - "leftColumn": 30.0, - "dynamicBindingPathList": [ - - ], - "text": "Close", - "isDisabled": false, - "key": "oz6v5ujks3", - "rightColumn": 42.0, - "isDefaultClickDisabled": true, - "widgetId": "2mnhq3yf99", - "buttonStyle": "PRIMARY", - "isVisible": true, - "version": 1.0, - "recaptchaType": "V3", - "parentId": "a189hjos00", - "renderMode": "CANVAS", - "isLoading": false, - "buttonVariant": "SECONDARY" - }, - { - "widgetName": "Button6", - "onClick": "{{IssueManager.addComment()}}", - "buttonColor": "#2E3D49", - "dynamicPropertyPathList": [ - { - "key": "onClick" - }, - { - "key": "isDisabled" - } - ], - "displayName": "Button", - "iconSVG": "/static/media/icon.cca02633.svg", - "topRow": 41.0, - "bottomRow": 45.0, - "type": "BUTTON_WIDGET", - "hideCard": false, - "animateLoading": true, - "dynamicTriggerPathList": [ - { - "key": "onClick" - } - ], - "leftColumn": 42.0, - "dynamicBindingPathList": [ - { - "key": "isDisabled" - } - ], - "text": "Save", - "isDisabled": "{{!comment_link_input.isValid || IssueManager.getAssignedLabels(upvote_label_select.selectedOptionValues).length == 0}}", - "key": "oz6v5ujks3", - "rightColumn": 64.0, - "isDefaultClickDisabled": true, - "widgetId": "8ph22tfh2p", - "buttonStyle": "PRIMARY_BUTTON", - "isVisible": true, - "version": 1.0, - "recaptchaType": "V3", - "parentId": "a189hjos00", - "renderMode": "CANVAS", - "isLoading": false, - "buttonVariant": "PRIMARY" - }, - { - "widgetName": "Text12", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b52.svg", - "topRow": 6.0, - "bottomRow": 10.0, - "parentRowSpace": 10.0, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 6.9375, - "dynamicTriggerPathList": [ - - ], - "leftColumn": 1.0, - "dynamicBindingPathList": [ - - ], - "text": "Link", - "key": "fzyz91gt8q", - "rightColumn": 17.0, - "textAlign": "LEFT", - "widgetId": "gculfyyarv", - "isVisible": true, - "fontStyle": "BOLD", - "textColor": "#231F20", - "version": 1.0, - "parentId": "a189hjos00", - "renderMode": "CANVAS", - "isLoading": false, - "fontSize": "PARAGRAPH" - }, - { - "widgetName": "comment_link_input", - "displayName": "Input", - "iconSVG": "/static/media/icon.9f505595.svg", - "topRow": 10.0, - "bottomRow": 14.0, - "parentRowSpace": 10.0, - "autoFocus": false, - "type": "INPUT_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 6.9375, - "dynamicTriggerPathList": [ - - ], - "resetOnSubmit": true, - "leftColumn": 1.0, - "dynamicBindingPathList": [ - - ], - "labelStyle": "", - "inputType": "TEXT", - "isDisabled": false, - "key": "zyoraxqcrl", - "isRequired": true, - "rightColumn": 62.0, - "widgetId": "hhr3oe3adk", - "isVisible": true, - "label": "", - "allowCurrencyChange": false, - "version": 1.0, - "parentId": "a189hjos00", - "renderMode": "CANVAS", - "isLoading": false, - "iconAlign": "left", - "defaultText": "" - }, - { - "widgetName": "Text25", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b52.svg", - "topRow": 31.0, - "bottomRow": 35.0, - "parentRowSpace": 10.0, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 6.9375, - "dynamicTriggerPathList": [ - - ], - "leftColumn": 1.0, - "dynamicBindingPathList": [ - - ], - "shouldTruncate": false, - "truncateButtonColor": "#FFC13D", - "text": "Labels", - "key": "z1pp8v2iis", - "rightColumn": 17.0, - "textAlign": "LEFT", - "widgetId": "jj9lerbuso", - "isVisible": true, - "fontStyle": "BOLD", - "textColor": "#231F20", - "shouldScroll": false, - "version": 1.0, - "parentId": "a189hjos00", - "renderMode": "CANVAS", - "isLoading": false, - "fontSize": "PARAGRAPH" - } - ], - "isDisabled": false, - "key": "6u4x0kf3h8", - "rightColumn": 0.0, - "detachFromLayout": true, - "widgetId": "a189hjos00", - "isVisible": true, - "version": 1.0, - "parentId": "wfscrnavzk", - "renderMode": "CANVAS", - "isLoading": false - } - ], - "key": "9ppzbhlnqc", - "height": 478.0, - "rightColumn": 0.0, - "detachFromLayout": true, - "widgetId": "wfscrnavzk", - "canOutsideClickClose": true, - "canEscapeKeyClose": true, - "version": 2.0, - "parentId": "0", - "renderMode": "CANVAS", - "isLoading": false, - "width": 456.0 - }, - { - "widgetName": "Tabs1", - "isCanvas": true, - "dynamicPropertyPathList": [ - { - "key": "isVisible" - }, - { - "key": "onTabSelected" - } - ], - "displayName": "Tabs", - "iconSVG": "/static/media/icon.74a6d653.svg", - "topRow": 5.0, - "bottomRow": 89.0, - "parentRowSpace": 10.0, - "type": "TABS_WIDGET", - "hideCard": false, - "shouldScrollContents": false, - "animateLoading": false, - "parentColumnSpace": 17.9375, - "dynamicTriggerPathList": [ - { - "key": "onTabSelected" - } - ], - "leftColumn": 44.0, - "dynamicBindingPathList": [ - { - "key": "isVisible" - } - ], - "children": [ - { - "tabId": "tab1", - "widgetName": "Canvas1", - "displayName": "Canvas", - "topRow": 0.0, - "bottomRow": 830.0, - "parentRowSpace": 1.0, - "type": "CANVAS_WIDGET", - "canExtend": true, - "hideCard": true, - "shouldScrollContents": false, - "minHeight": 400.0, - "parentColumnSpace": 1.0, - "dynamicTriggerPathList": [ - - ], - "leftColumn": 0.0, - "dynamicBindingPathList": [ - - ], - "children": [ - { - "template": { - "Canvas1Copy": { - "widgetName": "Canvas1Copy", - "displayName": "Canvas", - "topRow": 0.0, - "bottomRow": 400.0, - "parentRowSpace": 1.0, - "type": "CANVAS_WIDGET", - "canExtend": false, - "hideCard": true, - "dropDisabled": true, - "openParentPropertyPane": true, - "minHeight": 400.0, - "noPad": true, - "parentColumnSpace": 1.0, - "leftColumn": 0.0, - "dynamicBindingPathList": [ - - ], - "children": [ - "2mnw941o3c" - ], - "key": "6u4x0kf3h8", - "rightColumn": 430.5, - "detachFromLayout": true, - "widgetId": "ucvwcx91v9", - "containerStyle": "none", - "isVisible": true, - "version": 1.0, - "parentId": "cu1twhxgsd", - "renderMode": "CANVAS", - "isLoading": false - }, - "Container1": { - "boxShadow": "NONE", - "widgetName": "Container1", - "borderColor": "transparent", - "disallowCopy": true, - "isCanvas": true, - "displayName": "Container", - "iconSVG": "/static/media/icon.1977dca3.svg", - "topRow": 0.0, - "bottomRow": 12.0, - "dragDisabled": true, - "type": "CONTAINER_WIDGET", - "hideCard": false, - "openParentPropertyPane": true, - "isDeletable": false, - "animateLoading": true, - "leftColumn": 0.0, - "dynamicBindingPathList": [ - - ], - "children": [ - "tog68u9on9" - ], - "borderWidth": "0", - "key": "kvuew872nd", - "disablePropertyPane": true, - "backgroundColor": "white", - "rightColumn": 64.0, - "widgetId": "2mnw941o3c", - "containerStyle": "card", - "isVisible": true, - "version": 1.0, - "parentId": "ucvwcx91v9", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "0" - }, - "Canvas2Copy": { - "widgetName": "Canvas2Copy", - "detachFromLayout": true, - "displayName": "Canvas", - "widgetId": "tog68u9on9", - "containerStyle": "none", - "topRow": 0.0, - "bottomRow": 120.0, - "parentRowSpace": 1.0, - "isVisible": true, - "type": "CANVAS_WIDGET", - "canExtend": false, - "version": 1.0, - "hideCard": true, - "parentId": "2mnw941o3c", - "renderMode": "CANVAS", - "isLoading": false, - "parentColumnSpace": 1.0, - "leftColumn": 0.0, - "dynamicBindingPathList": [ - - ], - "children": [ - "kklt0cg1tk", - "7sjskfdsub", - "6sjuuvj9ls", - "22rrixkfjj", - "05joyb6dqj" - ], - "key": "6u4x0kf3h8" - }, - "Text2": { - "widgetName": "Text2", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b52.svg", - "topRow": 0.0, - "bottomRow": 4.0, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "dynamicTriggerPathList": [ - - ], - "dynamicBindingPathList": [ - { - "key": "text" - } - ], - "leftColumn": 1.0, - "text": "{{List1.listData.map((currentItem) => currentItem.author)}}", - "key": "fzyz91gt8q", - "rightColumn": 29.0, - "textAlign": "LEFT", - "widgetId": "kklt0cg1tk", - "logBlackList": { - "isVisible": true, - "text": true, - "fontSize": true, - "fontStyle": true, - "textAlign": true, - "textColor": true, - "widgetName": true, - "version": true, - "animateLoading": true, - "type": true, - "hideCard": true, - "displayName": true, - "key": true, - "iconSVG": true, - "isCanvas": true, - "textStyle": true, - "dynamicBindingPathList": true, - "dynamicTriggerPathList": true, - "minHeight": true, - "widgetId": true, - "renderMode": true, - "isLoading": true, - "parentColumnSpace": true, - "parentRowSpace": true, - "leftColumn": true, - "rightColumn": true, - "topRow": true, - "bottomRow": true, - "parentId": true - }, - "isVisible": true, - "fontStyle": "BOLD", - "textColor": "#231F20", - "version": 1.0, - "parentId": "tog68u9on9", - "renderMode": "CANVAS", - "isLoading": false, - "fontSize": "PARAGRAPH2", - "textStyle": "HEADING" - }, - "Text3": { - "widgetName": "Text3", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b52.svg", - "topRow": 4.0, - "bottomRow": 10.0, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "dynamicTriggerPathList": [ - - ], - "dynamicBindingPathList": [ - { - "key": "text" - } - ], - "leftColumn": 1.0, - "text": "{{List1.listData.map((currentItem) => currentItem.comment)}}", - "key": "fzyz91gt8q", - "rightColumn": 64.0, - "textAlign": "LEFT", - "widgetId": "7sjskfdsub", - "logBlackList": { - "isVisible": true, - "text": true, - "fontSize": true, - "fontStyle": true, - "textAlign": true, - "textColor": true, - "widgetName": true, - "version": true, - "animateLoading": true, - "type": true, - "hideCard": true, - "displayName": true, - "key": true, - "iconSVG": true, - "isCanvas": true, - "textStyle": true, - "dynamicBindingPathList": true, - "dynamicTriggerPathList": true, - "minHeight": true, - "widgetId": true, - "renderMode": true, - "isLoading": true, - "parentColumnSpace": true, - "parentRowSpace": true, - "leftColumn": true, - "rightColumn": true, - "topRow": true, - "bottomRow": true, - "parentId": true - }, - "isVisible": true, - "fontStyle": "", - "textColor": "#231F20", - "version": 1.0, - "shouldScroll": true, - "parentId": "tog68u9on9", - "renderMode": "CANVAS", - "isLoading": false, - "fontSize": "PARAGRAPH2", - "textStyle": "BODY" - }, - "IconButton2": { - "boxShadow": "NONE", - "widgetName": "IconButton2", - "onClick": "{{List1.listData.map((currentItem) => navigateTo(currentItem.link, {},'NEW_WINDOW'))}}", - "buttonColor": "#03B365", - "displayName": "Icon Button", - "iconSVG": "/static/media/icon.1a0c634a.svg", - "topRow": 0.0, - "bottomRow": 4.0, - "parentRowSpace": 10.0, - "type": "ICON_BUTTON_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 6.2890625, - "dynamicTriggerPathList": [ - { - "key": "onClick" - } - ], - "leftColumn": 56.0, - "dynamicBindingPathList": [ - - ], - "isDisabled": false, - "key": "35uqmnh3wt", - "rightColumn": 64.0, - "iconName": "link", - "widgetId": "6sjuuvj9ls", - "logBlackList": { - "isVisible": true, - "iconName": true, - "borderRadius": true, - "boxShadow": true, - "buttonColor": true, - "buttonVariant": true, - "isDisabled": true, - "widgetName": true, - "version": true, - "animateLoading": true, - "type": true, - "hideCard": true, - "displayName": true, - "key": true, - "iconSVG": true, - "isCanvas": true, - "minHeight": true, - "widgetId": true, - "renderMode": true, - "isLoading": true, - "parentColumnSpace": true, - "parentRowSpace": true, - "leftColumn": true, - "rightColumn": true, - "topRow": true, - "bottomRow": true, - "parentId": true - }, - "isVisible": true, - "version": 1.0, - "parentId": "tog68u9on9", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "CIRCLE", - "buttonVariant": "TERTIARY" - }, - "IconButton3": { - "boxShadow": "NONE", - "widgetName": "IconButton3", - "onClick": "{{IssueManager.deleteComment()}}", - "buttonColor": "#F86A2B", - "displayName": "Icon Button", - "iconSVG": "/static/media/icon.1a0c634a.svg", - "topRow": 0.0, - "bottomRow": 4.0, - "parentRowSpace": 10.0, - "type": "ICON_BUTTON_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 6.2890625, - "dynamicTriggerPathList": [ - { - "key": "onClick" - } - ], - "leftColumn": 49.0, - "dynamicBindingPathList": [ - - ], - "isDisabled": false, - "key": "35uqmnh3wt", - "rightColumn": 56.0, - "iconName": "trash", - "widgetId": "22rrixkfjj", - "logBlackList": { - "isVisible": true, - "iconName": true, - "borderRadius": true, - "boxShadow": true, - "buttonColor": true, - "buttonVariant": true, - "isDisabled": true, - "widgetName": true, - "version": true, - "animateLoading": true, - "type": true, - "hideCard": true, - "displayName": true, - "key": true, - "iconSVG": true, - "isCanvas": true, - "minHeight": true, - "widgetId": true, - "renderMode": true, - "isLoading": true, - "parentColumnSpace": true, - "parentRowSpace": true, - "leftColumn": true, - "rightColumn": true, - "topRow": true, - "bottomRow": true, - "parentId": true - }, - "isVisible": true, - "version": 1.0, - "parentId": "tog68u9on9", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "CIRCLE", - "buttonVariant": "TERTIARY" - }, - "Text14": { - "widgetName": "Text14", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b52.svg", - "topRow": 0.0, - "bottomRow": 4.0, - "parentRowSpace": 10.0, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 5.1357421875, - "dynamicTriggerPathList": [ - - ], - "leftColumn": 33.0, - "dynamicBindingPathList": [ - { - "key": "text" - } - ], - "text": "{{List1.listData.map((currentItem) => moment(currentItem.created_at).format(\"Do MMM\"))}}", - "key": "w50usn0v9g", - "rightColumn": 49.0, - "textAlign": "RIGHT", - "widgetId": "05joyb6dqj", - "logBlackList": { - "isVisible": true, - "text": true, - "fontSize": true, - "fontStyle": true, - "textAlign": true, - "textColor": true, - "widgetName": true, - "version": true, - "animateLoading": true, - "type": true, - "hideCard": true, - "displayName": true, - "key": true, - "iconSVG": true, - "isCanvas": true, - "minHeight": true, - "widgetId": true, - "renderMode": true, - "isLoading": true, - "parentColumnSpace": true, - "parentRowSpace": true, - "leftColumn": true, - "rightColumn": true, - "topRow": true, - "bottomRow": true, - "parentId": true - }, - "isVisible": true, - "fontStyle": "BOLD", - "textColor": "#231F20", - "version": 1.0, - "parentId": "tog68u9on9", - "renderMode": "CANVAS", - "isLoading": false, - "fontSize": "PARAGRAPH2" - } - }, - "widgetName": "List1", - "listData": "{{fetch_comments.data}}", - "isCanvas": true, - "displayName": "List", - "iconSVG": "/static/media/icon.9925ee17.svg", - "topRow": 0.0, - "bottomRow": 81.0, - "parentRowSpace": 10.0, - "type": "LIST_WIDGET", - "hideCard": false, - "gridGap": 0.0, - "animateLoading": true, - "parentColumnSpace": 6.7265625, - "dynamicTriggerPathList": [ - { - "key": "template.IconButton2.onClick" - }, - { - "key": "template.IconButton3.onClick" - } - ], - "leftColumn": 0.0, - "dynamicBindingPathList": [ - { - "key": "listData" - }, - { - "key": "template.Text3.text" - }, - { - "key": "template.Text2.text" - }, - { - "key": "template.Text14.text" - }, - { - "key": "template.Text2.text" - }, - { - "key": "template.Text3.text" - }, - { - "key": "template.IconButton2.onClick" - }, - { - "key": "template.Text14.text" - } - ], - "gridType": "vertical", - "enhancements": true, - "children": [ - { - "widgetName": "Canvas1Copy", - "displayName": "Canvas", - "topRow": 0.0, - "bottomRow": 400.0, - "parentRowSpace": 1.0, - "type": "CANVAS_WIDGET", - "canExtend": false, - "hideCard": true, - "dropDisabled": true, - "openParentPropertyPane": true, - "minHeight": 400.0, - "noPad": true, - "parentColumnSpace": 1.0, - "leftColumn": 0.0, - "dynamicBindingPathList": [ - - ], - "children": [ - { - "boxShadow": "NONE", - "widgetName": "Container1", - "borderColor": "transparent", - "disallowCopy": true, - "isCanvas": true, - "displayName": "Container", - "iconSVG": "/static/media/icon.1977dca3.svg", - "topRow": 0.0, - "bottomRow": 12.0, - "dragDisabled": true, - "type": "CONTAINER_WIDGET", - "hideCard": false, - "openParentPropertyPane": true, - "isDeletable": false, - "animateLoading": true, - "leftColumn": 0.0, - "dynamicBindingPathList": [ - - ], - "children": [ - { - "widgetName": "Canvas2Copy", - "detachFromLayout": true, - "displayName": "Canvas", - "widgetId": "tog68u9on9", - "containerStyle": "none", - "topRow": 0.0, - "bottomRow": 120.0, - "parentRowSpace": 1.0, - "isVisible": true, - "type": "CANVAS_WIDGET", - "canExtend": false, - "version": 1.0, - "hideCard": true, - "parentId": "2mnw941o3c", - "renderMode": "CANVAS", - "isLoading": false, - "parentColumnSpace": 1.0, - "leftColumn": 0.0, - "dynamicBindingPathList": [ - - ], - "children": [ - { - "widgetName": "Text2", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b52.svg", - "topRow": 0.0, - "bottomRow": 4.0, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "dynamicTriggerPathList": [ - - ], - "dynamicBindingPathList": [ - { - "key": "text" - } - ], - "leftColumn": 1.0, - "text": "{{currentItem.author}}", - "key": "fzyz91gt8q", - "rightColumn": 29.0, - "textAlign": "LEFT", - "widgetId": "kklt0cg1tk", - "logBlackList": { - "isVisible": true, - "text": true, - "fontSize": true, - "fontStyle": true, - "textAlign": true, - "textColor": true, - "widgetName": true, - "version": true, - "animateLoading": true, - "type": true, - "hideCard": true, - "displayName": true, - "key": true, - "iconSVG": true, - "isCanvas": true, - "textStyle": true, - "dynamicBindingPathList": true, - "dynamicTriggerPathList": true, - "minHeight": true, - "widgetId": true, - "renderMode": true, - "isLoading": true, - "parentColumnSpace": true, - "parentRowSpace": true, - "leftColumn": true, - "rightColumn": true, - "topRow": true, - "bottomRow": true, - "parentId": true - }, - "isVisible": true, - "fontStyle": "BOLD", - "textColor": "#231F20", - "version": 1.0, - "parentId": "tog68u9on9", - "renderMode": "CANVAS", - "isLoading": false, - "fontSize": "PARAGRAPH2", - "textStyle": "HEADING" - }, - { - "widgetName": "Text3", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b52.svg", - "topRow": 4.0, - "bottomRow": 10.0, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "dynamicTriggerPathList": [ - - ], - "dynamicBindingPathList": [ - { - "key": "text" - } - ], - "leftColumn": 1.0, - "text": "{{currentItem.comment}}", - "key": "fzyz91gt8q", - "rightColumn": 64.0, - "textAlign": "LEFT", - "widgetId": "7sjskfdsub", - "logBlackList": { - "isVisible": true, - "text": true, - "fontSize": true, - "fontStyle": true, - "textAlign": true, - "textColor": true, - "widgetName": true, - "version": true, - "animateLoading": true, - "type": true, - "hideCard": true, - "displayName": true, - "key": true, - "iconSVG": true, - "isCanvas": true, - "textStyle": true, - "dynamicBindingPathList": true, - "dynamicTriggerPathList": true, - "minHeight": true, - "widgetId": true, - "renderMode": true, - "isLoading": true, - "parentColumnSpace": true, - "parentRowSpace": true, - "leftColumn": true, - "rightColumn": true, - "topRow": true, - "bottomRow": true, - "parentId": true - }, - "isVisible": true, - "fontStyle": "", - "textColor": "#231F20", - "version": 1.0, - "shouldScroll": true, - "parentId": "tog68u9on9", - "renderMode": "CANVAS", - "isLoading": false, - "fontSize": "PARAGRAPH2", - "textStyle": "BODY" - }, - { - "boxShadow": "NONE", - "widgetName": "IconButton2", - "onClick": "{{navigateTo(currentItem.link, {},'NEW_WINDOW')}}", - "buttonColor": "#03B365", - "displayName": "Icon Button", - "iconSVG": "/static/media/icon.1a0c634a.svg", - "topRow": 0.0, - "bottomRow": 4.0, - "parentRowSpace": 10.0, - "type": "ICON_BUTTON_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 6.2890625, - "dynamicTriggerPathList": [ - { - "key": "onClick" - } - ], - "leftColumn": 56.0, - "dynamicBindingPathList": [ - - ], - "isDisabled": false, - "key": "35uqmnh3wt", - "rightColumn": 64.0, - "iconName": "link", - "widgetId": "6sjuuvj9ls", - "logBlackList": { - "isVisible": true, - "iconName": true, - "borderRadius": true, - "boxShadow": true, - "buttonColor": true, - "buttonVariant": true, - "isDisabled": true, - "widgetName": true, - "version": true, - "animateLoading": true, - "type": true, - "hideCard": true, - "displayName": true, - "key": true, - "iconSVG": true, - "isCanvas": true, - "minHeight": true, - "widgetId": true, - "renderMode": true, - "isLoading": true, - "parentColumnSpace": true, - "parentRowSpace": true, - "leftColumn": true, - "rightColumn": true, - "topRow": true, - "bottomRow": true, - "parentId": true - }, - "isVisible": true, - "version": 1.0, - "parentId": "tog68u9on9", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "CIRCLE", - "buttonVariant": "TERTIARY" - }, - { - "boxShadow": "NONE", - "widgetName": "IconButton3", - "onClick": "{{IssueManager.deleteComment()}}", - "buttonColor": "#F86A2B", - "displayName": "Icon Button", - "iconSVG": "/static/media/icon.1a0c634a.svg", - "topRow": 0.0, - "bottomRow": 4.0, - "parentRowSpace": 10.0, - "type": "ICON_BUTTON_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 6.2890625, - "dynamicTriggerPathList": [ - { - "key": "onClick" - } - ], - "leftColumn": 49.0, - "dynamicBindingPathList": [ - - ], - "isDisabled": false, - "key": "35uqmnh3wt", - "rightColumn": 56.0, - "iconName": "trash", - "widgetId": "22rrixkfjj", - "logBlackList": { - "isVisible": true, - "iconName": true, - "borderRadius": true, - "boxShadow": true, - "buttonColor": true, - "buttonVariant": true, - "isDisabled": true, - "widgetName": true, - "version": true, - "animateLoading": true, - "type": true, - "hideCard": true, - "displayName": true, - "key": true, - "iconSVG": true, - "isCanvas": true, - "minHeight": true, - "widgetId": true, - "renderMode": true, - "isLoading": true, - "parentColumnSpace": true, - "parentRowSpace": true, - "leftColumn": true, - "rightColumn": true, - "topRow": true, - "bottomRow": true, - "parentId": true - }, - "isVisible": true, - "version": 1.0, - "parentId": "tog68u9on9", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "CIRCLE", - "buttonVariant": "TERTIARY" - }, - { - "widgetName": "Text14", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b52.svg", - "topRow": 0.0, - "bottomRow": 4.0, - "parentRowSpace": 10.0, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 5.1357421875, - "dynamicTriggerPathList": [ - - ], - "leftColumn": 33.0, - "dynamicBindingPathList": [ - { - "key": "text" - } - ], - "text": "{{moment(currentItem.created_at).format(\"Do MMM\")}}", - "key": "w50usn0v9g", - "rightColumn": 49.0, - "textAlign": "RIGHT", - "widgetId": "05joyb6dqj", - "logBlackList": { - "isVisible": true, - "text": true, - "fontSize": true, - "fontStyle": true, - "textAlign": true, - "textColor": true, - "widgetName": true, - "version": true, - "animateLoading": true, - "type": true, - "hideCard": true, - "displayName": true, - "key": true, - "iconSVG": true, - "isCanvas": true, - "minHeight": true, - "widgetId": true, - "renderMode": true, - "isLoading": true, - "parentColumnSpace": true, - "parentRowSpace": true, - "leftColumn": true, - "rightColumn": true, - "topRow": true, - "bottomRow": true, - "parentId": true - }, - "isVisible": true, - "fontStyle": "BOLD", - "textColor": "#231F20", - "version": 1.0, - "parentId": "tog68u9on9", - "renderMode": "CANVAS", - "isLoading": false, - "fontSize": "PARAGRAPH2" - } - ], - "key": "6u4x0kf3h8" - } - ], - "borderWidth": "0", - "key": "kvuew872nd", - "disablePropertyPane": true, - "backgroundColor": "white", - "rightColumn": 64.0, - "widgetId": "2mnw941o3c", - "containerStyle": "card", - "isVisible": true, - "version": 1.0, - "parentId": "ucvwcx91v9", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "0" - } - ], - "key": "6u4x0kf3h8", - "rightColumn": 430.5, - "detachFromLayout": true, - "widgetId": "ucvwcx91v9", - "containerStyle": "none", - "isVisible": true, - "version": 1.0, - "parentId": "cu1twhxgsd", - "renderMode": "CANVAS", - "isLoading": false - } - ], - "privateWidgets": { - "Text2": true, - "Text3": true, - "IconButton2": true, - "IconButton3": true, - "Text14": true - }, - "key": "0d6epexg6w", - "backgroundColor": "transparent", - "rightColumn": 64.0, - "itemBackgroundColor": "#F6F7F8", - "widgetId": "cu1twhxgsd", - "isVisible": true, - "parentId": "e05q08c1nq", - "renderMode": "CANVAS", - "isLoading": false - } - ], - "isDisabled": false, - "key": "6u4x0kf3h8", - "tabName": "Upvotes", - "rightColumn": 430.5, - "detachFromLayout": true, - "widgetId": "e05q08c1nq", - "isVisible": true, - "version": 1.0, - "parentId": "n316autef7", - "renderMode": "CANVAS", - "isLoading": false - }, - { - "tabId": "tab2", - "widgetName": "Canvas2", - "displayName": "Canvas", - "topRow": 0.0, - "bottomRow": 800.0, - "parentRowSpace": 1.0, - "type": "CANVAS_WIDGET", - "canExtend": true, - "hideCard": true, - "shouldScrollContents": false, - "minHeight": 400.0, - "parentColumnSpace": 1.0, - "dynamicTriggerPathList": [ - - ], - "leftColumn": 0.0, - "dynamicBindingPathList": [ - - ], - "children": [ - { - "widgetName": "Text5", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b52.svg", - "topRow": 0.0, - "bottomRow": 4.0, - "parentRowSpace": 10.0, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 6.4140625, - "dynamicTriggerPathList": [ - - ], - "leftColumn": 0.0, - "dynamicBindingPathList": [ - - ], - "text": "Title", - "key": "fzyz91gt8q", - "rightColumn": 12.0, - "textAlign": "LEFT", - "widgetId": "hb6ha60ybn", - "isVisible": true, - "fontStyle": "BOLD", - "textColor": "#231F20", - "version": 1.0, - "parentId": "devkwyks4k", - "renderMode": "CANVAS", - "isLoading": false, - "fontSize": "PARAGRAPH" - }, - { - "widgetName": "Text6", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b52.svg", - "topRow": 8.0, - "bottomRow": 12.0, - "parentRowSpace": 10.0, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 6.4140625, - "dynamicTriggerPathList": [ - - ], - "leftColumn": 0.0, - "dynamicBindingPathList": [ - - ], - "text": "Description", - "key": "fzyz91gt8q", - "rightColumn": 26.0, - "textAlign": "LEFT", - "widgetId": "5ohkvurob7", - "isVisible": true, - "fontStyle": "BOLD", - "textColor": "#231F20", - "version": 1.0, - "parentId": "devkwyks4k", - "renderMode": "CANVAS", - "isLoading": false, - "fontSize": "PARAGRAPH" - }, - { - "widgetName": "Text7", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b52.svg", - "topRow": 31.0, - "bottomRow": 35.0, - "parentRowSpace": 10.0, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 6.4140625, - "dynamicTriggerPathList": [ - - ], - "leftColumn": 0.0, - "dynamicBindingPathList": [ - - ], - "text": "Type", - "key": "fzyz91gt8q", - "rightColumn": 16.0, - "textAlign": "LEFT", - "widgetId": "ldimms4xqb", - "isVisible": true, - "fontStyle": "BOLD", - "textColor": "#231F20", - "version": 1.0, - "parentId": "devkwyks4k", - "renderMode": "CANVAS", - "isLoading": false, - "fontSize": "PARAGRAPH" - }, - { - "widgetName": "Text8", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b52.svg", - "topRow": 39.0, - "bottomRow": 43.0, - "parentRowSpace": 10.0, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 6.4140625, - "dynamicTriggerPathList": [ - - ], - "leftColumn": 0.0, - "dynamicBindingPathList": [ - { - "key": "text" - } - ], - "text": "Labels: {{Table1.selectedRow.labels.join(\",\")}}", - "key": "fzyz91gt8q", - "rightColumn": 63.0, - "textAlign": "LEFT", - "widgetId": "r5pmq8fk8b", - "isVisible": true, - "fontStyle": "BOLD", - "textColor": "#231F20", - "version": 1.0, - "parentId": "devkwyks4k", - "renderMode": "CANVAS", - "isLoading": false, - "fontSize": "PARAGRAPH" - }, - { - "widgetName": "Text9", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b52.svg", - "topRow": 47.0, - "bottomRow": 51.0, - "parentRowSpace": 10.0, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 6.4140625, - "dynamicTriggerPathList": [ - - ], - "leftColumn": 0.0, - "dynamicBindingPathList": [ - - ], - "text": "Github Issue Link", - "key": "fzyz91gt8q", - "rightColumn": 24.0, - "textAlign": "LEFT", - "widgetId": "imcqf02q27", - "isVisible": true, - "fontStyle": "BOLD", - "textColor": "#231F20", - "version": 1.0, - "parentId": "devkwyks4k", - "renderMode": "CANVAS", - "isLoading": false, - "fontSize": "PARAGRAPH" - }, - { - "widgetName": "Button1", - "onClick": "{{IssueManager.update()}}", - "buttonColor": "#2E3D49", - "dynamicPropertyPathList": [ - { - "key": "isDisabled" - } - ], - "displayName": "Button", - "iconSVG": "/static/media/icon.cca02633.svg", - "topRow": 74.0, - "bottomRow": 78.0, - "parentRowSpace": 10.0, - "type": "BUTTON_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 6.4140625, - "dynamicTriggerPathList": [ - { - "key": "onClick" - } - ], - "leftColumn": 42.0, - "dynamicBindingPathList": [ - { - "key": "isDisabled" - } - ], - "text": "Save", - "isDisabled": "{{!edit_link_input.isValid || !edit_type_input.isValid || !edit_title_input.text || IssueManager.getAssignedLabels(edit_label_select.selectedOptionValues).length == 0}}", - "key": "oz6v5ujks3", - "rightColumn": 63.0, - "isDefaultClickDisabled": true, - "widgetId": "xl37pbnn45", - "isVisible": true, - "version": 1.0, - "recaptchaType": "V3", - "parentId": "devkwyks4k", - "renderMode": "CANVAS", - "isLoading": false, - "buttonVariant": "PRIMARY" - }, - { - "widgetName": "edit_title_input", - "displayName": "Input", - "iconSVG": "/static/media/icon.9f505595.svg", - "topRow": 4.0, - "bottomRow": 8.0, - "parentRowSpace": 10.0, - "autoFocus": false, - "type": "INPUT_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 6.4140625, - "dynamicTriggerPathList": [ - - ], - "resetOnSubmit": true, - "leftColumn": 0.0, - "dynamicBindingPathList": [ - { - "key": "defaultText" - } - ], - "labelStyle": "", - "inputType": "TEXT", - "isDisabled": false, - "key": "zyoraxqcrl", - "isRequired": true, - "rightColumn": 63.0, - "widgetId": "mtq0kmoqpi", - "isVisible": true, - "label": "", - "allowCurrencyChange": false, - "version": 1.0, - "parentId": "devkwyks4k", - "renderMode": "CANVAS", - "isLoading": false, - "iconAlign": "left", - "defaultText": "{{Table1.selectedRow.title}}" - }, - { - "widgetName": "edit_description_input", - "displayName": "Input", - "iconSVG": "/static/media/icon.9f505595.svg", - "topRow": 12.0, - "bottomRow": 23.0, - "parentRowSpace": 10.0, - "autoFocus": false, - "type": "INPUT_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 6.4140625, - "dynamicTriggerPathList": [ - - ], - "resetOnSubmit": true, - "leftColumn": 0.0, - "dynamicBindingPathList": [ - { - "key": "defaultText" - } - ], - "labelStyle": "", - "inputType": "TEXT", - "isDisabled": false, - "key": "zyoraxqcrl", - "isRequired": false, - "rightColumn": 63.0, - "widgetId": "7kjh660g7v", - "isVisible": true, - "label": "", - "allowCurrencyChange": false, - "version": 1.0, - "parentId": "devkwyks4k", - "renderMode": "CANVAS", - "isLoading": false, - "iconAlign": "left", - "defaultText": "{{Table1.selectedRow.description}}" - }, - { - "widgetName": "edit_type_input", - "isFilterable": false, - "displayName": "Select", - "iconSVG": "/static/media/icon.bd99caba.svg", - "labelText": "", - "topRow": 35.0, - "bottomRow": 39.0, - "parentRowSpace": 10.0, - "type": "DROP_DOWN_WIDGET", - "serverSideFiltering": false, - "hideCard": false, - "defaultOptionValue": "{{Table1.selectedRow.type}}", - "selectionType": "SINGLE_SELECT", - "animateLoading": true, - "parentColumnSpace": 6.4140625, - "dynamicTriggerPathList": [ - - ], - "leftColumn": 0.0, - "dynamicBindingPathList": [ - { - "key": "options" - }, - { - "key": "defaultOptionValue" - } - ], - "options": "{{Configs.type}}", - "placeholderText": "Select option", - "isDisabled": false, - "key": "p2g6q7uu0o", - "isRequired": true, - "rightColumn": 63.0, - "widgetId": "pnfwyps2nc", - "isVisible": true, - "version": 1.0, - "parentId": "devkwyks4k", - "renderMode": "CANVAS", - "isLoading": false - }, - { - "widgetName": "edit_issue_select", - "isFilterable": true, - "displayName": "Select", - "iconSVG": "/static/media/icon.bd99caba.svg", - "labelText": "", - "topRow": 51.0, - "bottomRow": 55.0, - "parentRowSpace": 10.0, - "type": "DROP_DOWN_WIDGET", - "serverSideFiltering": true, - "hideCard": false, - "defaultOptionValue": "{{Table1.selectedRow.github_issue_id || \"\"}}", - "selectionType": "SINGLE_SELECT", - "animateLoading": true, - "parentColumnSpace": 6.4140625, - "dynamicTriggerPathList": [ - { - "key": "onFilterUpdate" - } - ], - "leftColumn": 0.0, - "dynamicBindingPathList": [ - { - "key": "options" - }, - { - "key": "defaultOptionValue" - } - ], - "options": "{{GithubManager.getIssues()}}", - "placeholderText": "Search Github Issue", - "isDisabled": false, - "key": "p2g6q7uu0o", - "isRequired": false, - "rightColumn": 63.0, - "widgetId": "kuwxh0qtmg", - "isVisible": true, - "version": 1.0, - "parentId": "devkwyks4k", - "renderMode": "CANVAS", - "isLoading": false, - "onFilterUpdate": "{{GithubManager.searchIssues(edit_issue_select.filterText)}}" - }, - { - "widgetName": "Button4", - "onClick": "{{IssueManager.delete()}}", - "buttonColor": "#DD4B34", - "displayName": "Button", - "iconSVG": "/static/media/icon.cca02633.svg", - "topRow": 74.0, - "bottomRow": 78.0, - "parentRowSpace": 10.0, - "type": "BUTTON_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 6.4140625, - "dynamicTriggerPathList": [ - { - "key": "onClick" - } - ], - "leftColumn": 32.0, - "dynamicBindingPathList": [ - - ], - "text": "", - "isDisabled": false, - "key": "oz6v5ujks3", - "rightColumn": 41.0, - "isDefaultClickDisabled": true, - "iconName": "trash", - "widgetId": "ehrkah2uam", - "isVisible": true, - "version": 1.0, - "recaptchaType": "V3", - "parentId": "devkwyks4k", - "renderMode": "CANVAS", - "isLoading": false, - "buttonVariant": "PRIMARY", - "iconAlign": "left" - }, - { - "widgetName": "Text15", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b52.svg", - "topRow": 55.0, - "bottomRow": 59.0, - "parentRowSpace": 10.0, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 5.5732421875, - "dynamicTriggerPathList": [ - - ], - "leftColumn": 0.0, - "dynamicBindingPathList": [ - - ], - "text": "Answer Link", - "key": "w50usn0v9g", - "rightColumn": 30.0, - "textAlign": "LEFT", - "widgetId": "ljq0eqe3o5", - "isVisible": true, - "fontStyle": "BOLD", - "textColor": "#231F20", - "version": 1.0, - "parentId": "devkwyks4k", - "renderMode": "CANVAS", - "isLoading": false, - "fontSize": "PARAGRAPH" - }, - { - "widgetName": "edit_answer_input", - "displayName": "Input", - "iconSVG": "/static/media/icon.9f505595.svg", - "topRow": 59.0, - "bottomRow": 63.0, - "parentRowSpace": 10.0, - "autoFocus": false, - "type": "INPUT_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 5.5732421875, - "dynamicTriggerPathList": [ - - ], - "resetOnSubmit": true, - "leftColumn": 0.0, - "dynamicBindingPathList": [ - - ], - "labelStyle": "", - "inputType": "TEXT", - "placeholderText": "Documentation / Example app URL", - "isDisabled": false, - "key": "iqxzeop4oc", - "isRequired": false, - "rightColumn": 63.0, - "widgetId": "82zz8zgqm9", - "isVisible": true, - "label": "", - "allowCurrencyChange": false, - "version": 1.0, - "parentId": "devkwyks4k", - "renderMode": "CANVAS", - "isLoading": false, - "iconAlign": "left", - "defaultText": "{{Table1.selectedRow.answer}}" - }, - { - "boxShadow": "NONE", - "widgetName": "IconButton6", - "onClick": "{{fetch_github_issue.run(() => navigateTo('https://github.com/appsmithorg/appsmith/issues/' + fetch_github_issue.data[0].issue_number, {},'NEW_WINDOW'))}}", - "buttonColor": "#2E3D49", - "dynamicPropertyPathList": [ - { - "key": "onClick" - }, - { - "key": "isVisible" - } - ], - "displayName": "Icon Button", - "iconSVG": "/static/media/icon.1a0c634a.svg", - "topRow": 47.0, - "bottomRow": 51.0, - "parentRowSpace": 10.0, - "type": "ICON_BUTTON_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 5.5732421875, - "dynamicTriggerPathList": [ - { - "key": "onClick" - } - ], - "leftColumn": 24.0, - "dynamicBindingPathList": [ - { - "key": "isVisible" - } - ], - "isDisabled": false, - "key": "xtq2jih6i3", - "rightColumn": 31.0, - "iconName": "link", - "widgetId": "yv95jo8zuk", - "isVisible": "{{!!Table1.selectedRow.github_issue_id}}", - "version": 1.0, - "parentId": "devkwyks4k", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "CIRCLE", - "buttonVariant": "TERTIARY" - }, - { - "widgetName": "Text17", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b52.svg", - "topRow": 0.0, - "bottomRow": 4.0, - "parentRowSpace": 10.0, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 5.5732421875, - "dynamicTriggerPathList": [ - - ], - "leftColumn": 26.0, - "dynamicBindingPathList": [ - { - "key": "text" - } - ], - "text": "{{Table1.selectedRow.author}}\n{{moment(Table1.selectedRow.created_at).format(\"Do MMM YYYY\")}}", - "key": "2y13r0w088", - "rightColumn": 63.0, - "disableLink": true, - "textAlign": "RIGHT", - "widgetId": "r0psmbf17o", - "isVisible": true, - "fontStyle": "", - "textColor": "#231F20", - "version": 1.0, - "parentId": "devkwyks4k", - "renderMode": "CANVAS", - "isLoading": false, - "fontSize": "PARAGRAPH" - }, - { - "widgetName": "Text18", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b52.svg", - "topRow": 23.0, - "bottomRow": 27.0, - "parentRowSpace": 10.0, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 6.1884765625, - "dynamicTriggerPathList": [ - - ], - "leftColumn": 0.0, - "dynamicBindingPathList": [ - - ], - "text": "Issue Link", - "key": "2y13r0w088", - "rightColumn": 22.0, - "textAlign": "LEFT", - "widgetId": "784m9ua7xy", - "isVisible": true, - "fontStyle": "BOLD", - "textColor": "#231F20", - "version": 1.0, - "parentId": "devkwyks4k", - "renderMode": "CANVAS", - "isLoading": false, - "fontSize": "PARAGRAPH" - }, - { - "widgetName": "edit_link_input", - "displayName": "Input", - "iconSVG": "/static/media/icon.9f505595.svg", - "topRow": 27.0, - "bottomRow": 31.0, - "parentRowSpace": 10.0, - "autoFocus": false, - "type": "INPUT_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 6.1884765625, - "dynamicTriggerPathList": [ - - ], - "resetOnSubmit": true, - "leftColumn": 0.0, - "dynamicBindingPathList": [ - { - "key": "defaultText" - } - ], - "labelStyle": "", - "inputType": "TEXT", - "placeholderText": "Discord / Github / Discourse / Intercom msg URL", - "isDisabled": false, - "key": "xkaggmfnaa", - "isRequired": true, - "rightColumn": 63.0, - "widgetId": "hlhsn0qacz", - "isVisible": true, - "label": "", - "allowCurrencyChange": false, - "version": 1.0, - "parentId": "devkwyks4k", - "renderMode": "CANVAS", - "isLoading": false, - "iconAlign": "left", - "defaultText": "{{Table1.selectedRow.link || \"\"}}" - }, - { - "widgetName": "Text19", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b52.svg", - "topRow": 63.0, - "bottomRow": 67.0, - "parentRowSpace": 10.0, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 5.5732421875, - "dynamicTriggerPathList": [ - - ], - "leftColumn": 0.0, - "dynamicBindingPathList": [ - - ], - "shouldTruncate": false, - "truncateButtonColor": "#FFC13D", - "text": "States", - "key": "r0yrfpzmtn", - "rightColumn": 14.0, - "textAlign": "LEFT", - "widgetId": "5vtar11iru", - "isVisible": true, - "fontStyle": "BOLD", - "textColor": "#231F20", - "shouldScroll": false, - "version": 1.0, - "parentId": "devkwyks4k", - "renderMode": "CANVAS", - "isLoading": false, - "fontSize": "PARAGRAPH" - }, - { - "widgetName": "edit_states_select", - "displayName": "MultiSelect", - "iconSVG": "/static/media/icon.a3495809.svg", - "labelText": "", - "topRow": 67.0, - "bottomRow": 71.0, - "parentRowSpace": 10.0, - "type": "MULTI_SELECT_WIDGET", - "serverSideFiltering": false, - "hideCard": false, - "defaultOptionValue": "{{Table1.selectedRow.states}}", - "animateLoading": true, - "parentColumnSpace": 5.87890625, - "dynamicTriggerPathList": [ - - ], - "leftColumn": 0.0, - "dynamicBindingPathList": [ - { - "key": "options" - }, - { - "key": "defaultOptionValue" - } - ], - "options": "{{Configs.states}}", - "placeholderText": "Select state(s)", - "isDisabled": false, - "key": "lmf0nxzr5a", - "isRequired": false, - "rightColumn": 63.0, - "widgetId": "qemq1k1zhf", - "isVisible": true, - "version": 1.0, - "parentId": "devkwyks4k", - "renderMode": "CANVAS", - "isLoading": false - }, - { - "boxShadow": "NONE", - "widgetName": "IconButton9", - "onClick": "{{IssueManager.createGithubIssue()}}", - "buttonColor": "#2E3D49", - "dynamicPropertyPathList": [ - - ], - "displayName": "Icon Button", - "iconSVG": "/static/media/icon.1a0c634a.svg", - "topRow": 47.0, - "bottomRow": 51.0, - "parentRowSpace": 10.0, - "type": "ICON_BUTTON_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 4.78515625, - "dynamicTriggerPathList": [ - { - "key": "onClick" - } - ], - "leftColumn": 52.0, - "dynamicBindingPathList": [ - - ], - "isDisabled": false, - "key": "6o86hsevdn", - "rightColumn": 63.0, - "iconName": "cube-add", - "widgetId": "uj3oiub9lt", - "isVisible": true, - "version": 1.0, - "parentId": "devkwyks4k", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "CIRCLE", - "buttonVariant": "TERTIARY" - }, - { - "boxShadow": "NONE", - "widgetName": "IconButton10", - "onClick": "{{remove_github_issue.run().then(() => fetch_issues.run())}}", - "buttonColor": "#2E3D49", - "dynamicPropertyPathList": [ - { - "key": "onClick" - }, - { - "key": "isVisible" - } - ], - "displayName": "Icon Button", - "iconSVG": "/static/media/icon.1a0c634a.svg", - "topRow": 47.0, - "bottomRow": 51.0, - "parentRowSpace": 10.0, - "type": "ICON_BUTTON_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 4.78515625, - "dynamicTriggerPathList": [ - { - "key": "onClick" - } - ], - "leftColumn": 31.0, - "dynamicBindingPathList": [ - { - "key": "isVisible" - } - ], - "isDisabled": false, - "key": "66ba61jgdc", - "rightColumn": 38.0, - "iconName": "remove", - "widgetId": "ria4v9jmjk", - "isVisible": "{{!!Table1.selectedRow.github_issue_id}}", - "version": 1.0, - "parentId": "devkwyks4k", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "CIRCLE", - "buttonVariant": "TERTIARY" - }, - { - "widgetName": "edit_label_select", - "isFilterable": true, - "dynamicPropertyPathList": [ - { - "key": "onFilterUpdate" - } - ], - "displayName": "MultiSelect", - "iconSVG": "/static/media/icon.a3495809.svg", - "labelText": "", - "topRow": 43.0, - "bottomRow": 47.0, - "parentRowSpace": 10.0, - "type": "MULTI_SELECT_WIDGET_V2", - "serverSideFiltering": true, - "hideCard": false, - "defaultOptionValue": "{{Table1.selectedRow.labels.map((label) => {\n return {\n\t label: label,\n\t value: label\n }\n})}}", - "animateLoading": true, - "parentColumnSpace": 16.3125, - "dynamicTriggerPathList": [ - { - "key": "onFilterUpdate" - } - ], - "leftColumn": 0.0, - "dynamicBindingPathList": [ - { - "key": "options" - }, - { - "key": "defaultOptionValue" - } - ], - "options": "{{GithubManager.getLabels()}}", - "placeholderText": "Select label(s)", - "isDisabled": false, - "key": "5rw0979hv0", - "isRequired": true, - "rightColumn": 63.0, - "widgetId": "ufwxmsi8gy", - "isVisible": true, - "version": 1.0, - "parentId": "devkwyks4k", - "renderMode": "CANVAS", - "isLoading": false, - "onFilterUpdate": "{{fetch_labels.run({ filterText: edit_label_select.filterText })}}" - } - ], - "isDisabled": false, - "key": "6u4x0kf3h8", - "tabName": "Details", - "rightColumn": 430.5, - "detachFromLayout": true, - "widgetId": "devkwyks4k", - "isVisible": true, - "version": 1.0, - "parentId": "n316autef7", - "renderMode": "CANVAS", - "isLoading": false - } - ], - "key": "5hk6y4h4e6", - "rightColumn": 64.0, - "widgetId": "n316autef7", - "defaultTab": "Details", - "onTabSelected": "{{Tabs1.selectedTab === \"Upvotes\" ? fetch_comments.run() : undefined}}", - "shouldShowTabs": true, - "tabsObj": { - "tab2": { - "label": "Details", - "id": "tab2", - "widgetId": "devkwyks4k", - "isVisible": true, - "index": 0.0 - }, - "tab1": { - "label": "Upvotes", - "id": "tab1", - "widgetId": "e05q08c1nq", - "isVisible": true, - "index": 1.0 - } - }, - "isVisible": "{{!!Table1.selectedRow.id}}", - "version": 3.0, - "parentId": "0", - "renderMode": "CANVAS", - "isLoading": false - }, - { - "widgetName": "FilePicker1", - "displayName": "FilePicker", - "iconSVG": "/static/media/icon.7c5ad9c3.svg", - "topRow": 0.0, - "bottomRow": 4.0, - "parentRowSpace": 10.0, - "allowedFileTypes": [ - - ], - "type": "FILE_PICKER_WIDGET_V2", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 17.9375, - "dynamicTriggerPathList": [ - - ], - "leftColumn": 59.0, - "dynamicBindingPathList": [ - - ], - "isDisabled": false, - "key": "vhc66isyeb", - "isRequired": false, - "rightColumn": 64.0, - "isDefaultClickDisabled": true, - "widgetId": "bitkgcu3n8", - "defaultSelectedFiles": [ - - ], - "isVisible": false, - "label": "Select Files", - "maxFileSize": "5", - "version": 1.0, - "fileDataType": "Text", - "parentId": "0", - "selectedFiles": [ - - ], - "renderMode": "CANVAS", - "isLoading": false, - "files": [ - - ], - "maxNumFiles": 1.0 - }, - { - "boxShadow": "NONE", - "widgetName": "AddIssue", - "onClick": "{{showModal('add_issue_modal')}}", - "buttonColor": "#2E3D49", - "displayName": "Icon Button", - "iconSVG": "/static/media/icon.1a0c634a.svg", - "topRow": 0.0, - "bottomRow": 4.0, - "parentRowSpace": 10.0, - "type": "ICON_BUTTON_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 9.8095703125, - "dynamicTriggerPathList": [ - { - "key": "onClick" - } - ], - "leftColumn": 44.0, - "dynamicBindingPathList": [ - - ], - "isDisabled": false, - "key": "35uqmnh3wt", - "rightColumn": 47.0, - "iconName": "add", - "widgetId": "11kdci9jhn", - "isVisible": true, - "version": 1.0, - "parentId": "0", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "SHARP", - "buttonVariant": "TERTIARY", - "boxShadowColor": "" - }, - { - "widgetName": "add_issue_modal", - "isCanvas": true, - "displayName": "Modal", - "iconSVG": "/static/media/icon.4975978e.svg", - "topRow": 90.0, - "bottomRow": 114.0, - "parentRowSpace": 10.0, - "type": "MODAL_WIDGET", - "hideCard": false, - "shouldScrollContents": true, - "animateLoading": true, - "parentColumnSpace": 17.9375, - "dynamicTriggerPathList": [ - - ], - "leftColumn": 14.0, - "dynamicBindingPathList": [ - - ], - "children": [ - { - "widgetName": "Canvas3", - "displayName": "Canvas", - "topRow": 0.0, - "bottomRow": 720.0, - "parentRowSpace": 1.0, - "type": "CANVAS_WIDGET", - "canExtend": true, - "hideCard": true, - "shouldScrollContents": false, - "minHeight": 694.0, - "parentColumnSpace": 1.0, - "leftColumn": 0.0, - "dynamicBindingPathList": [ - - ], - "children": [ - { - "widgetName": "label_select", - "isFilterable": true, - "dynamicPropertyPathList": [ - { - "key": "onFilterUpdate" - } - ], - "displayName": "MultiSelect", - "iconSVG": "/static/media/icon.a3495809.svg", - "labelText": "", - "topRow": 35.0, - "bottomRow": 39.0, - "parentRowSpace": 10.0, - "type": "MULTI_SELECT_WIDGET_V2", - "serverSideFiltering": true, - "hideCard": false, - "defaultOptionValue": "", - "animateLoading": true, - "parentColumnSpace": 16.3125, - "dynamicTriggerPathList": [ - { - "key": "onFilterUpdate" - } - ], - "leftColumn": 17.0, - "dynamicBindingPathList": [ - { - "key": "options" - } - ], - "options": "{{GithubManager.getLabels()}}", - "placeholderText": "Select label(s)", - "isDisabled": false, - "key": "5rw0979hv0", - "isRequired": true, - "rightColumn": 63.0, - "widgetId": "ankv8zz1xp", - "isVisible": true, - "version": 1.0, - "parentId": "8tzkaielld", - "renderMode": "CANVAS", - "isLoading": false, - "onFilterUpdate": "{{fetch_labels.run({ filterText: label_select.filterText })}}" - }, - { - "widgetName": "Text19Copy", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b52.svg", - "topRow": 45.0, - "bottomRow": 49.0, - "parentRowSpace": 10.0, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 5.5732421875, - "dynamicTriggerPathList": [ - - ], - "leftColumn": 1.0, - "dynamicBindingPathList": [ - - ], - "shouldTruncate": false, - "truncateButtonColor": "#FFC13D", - "text": "States", - "key": "r0yrfpzmtn", - "rightColumn": 17.0, - "textAlign": "RIGHT", - "widgetId": "i9kgqmx0tz", - "isVisible": true, - "fontStyle": "BOLD", - "textColor": "#231F20", - "shouldScroll": false, - "version": 1.0, - "parentId": "8tzkaielld", - "renderMode": "CANVAS", - "isLoading": false, - "fontSize": "PARAGRAPH" - }, - { - "widgetName": "states_select", - "displayName": "MultiSelect", - "iconSVG": "/static/media/icon.a3495809.svg", - "labelText": "", - "topRow": 45.0, - "bottomRow": 49.0, - "parentRowSpace": 10.0, - "type": "MULTI_SELECT_WIDGET", - "serverSideFiltering": false, - "hideCard": false, - "defaultOptionValue": "{{Table1.selectedRow.states}}", - "animateLoading": true, - "parentColumnSpace": 5.87890625, - "dynamicTriggerPathList": [ - - ], - "leftColumn": 17.0, - "dynamicBindingPathList": [ - { - "key": "options" - }, - { - "key": "defaultOptionValue" - } - ], - "options": "{{Configs.states}}", - "placeholderText": "Select state(s)", - "isDisabled": false, - "key": "lmf0nxzr5a", - "isRequired": false, - "rightColumn": 63.0, - "widgetId": "qawnxpxdix", - "isVisible": true, - "version": 1.0, - "parentId": "8tzkaielld", - "renderMode": "CANVAS", - "isLoading": false - }, - { - "widgetName": "Text5Copy", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b52.svg", - "topRow": 16.0, - "bottomRow": 20.0, - "parentRowSpace": 10.0, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 6.4140625, - "dynamicTriggerPathList": [ - - ], - "leftColumn": 0.0, - "dynamicBindingPathList": [ - - ], - "text": "Title", - "key": "fzyz91gt8q", - "rightColumn": 17.0, - "textAlign": "RIGHT", - "widgetId": "2mh922944s", - "isVisible": true, - "fontStyle": "BOLD", - "textColor": "#231F20", - "version": 1.0, - "parentId": "8tzkaielld", - "renderMode": "CANVAS", - "isLoading": false, - "fontSize": "PARAGRAPH" - }, - { - "widgetName": "title_input", - "displayName": "Input", - "iconSVG": "/static/media/icon.9f505595.svg", - "topRow": 16.0, - "bottomRow": 20.0, - "parentRowSpace": 10.0, - "autoFocus": false, - "type": "INPUT_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 6.4140625, - "dynamicTriggerPathList": [ - - ], - "resetOnSubmit": true, - "leftColumn": 17.0, - "dynamicBindingPathList": [ - { - "key": "defaultText" - } - ], - "labelStyle": "", - "inputType": "TEXT", - "isDisabled": false, - "key": "zyoraxqcrl", - "isRequired": true, - "rightColumn": 63.0, - "widgetId": "glfkj7n61g", - "isVisible": true, - "label": "", - "allowCurrencyChange": false, - "version": 1.0, - "parentId": "8tzkaielld", - "renderMode": "CANVAS", - "isLoading": false, - "iconAlign": "left", - "defaultText": "{{GithubManager.getSelectedGithubIssue()?.title || \"\"}}" - }, - { - "widgetName": "Text6Copy", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b52.svg", - "topRow": 21.0, - "bottomRow": 25.0, - "parentRowSpace": 10.0, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 6.4140625, - "dynamicTriggerPathList": [ - - ], - "leftColumn": 0.0, - "dynamicBindingPathList": [ - - ], - "text": "Description", - "key": "fzyz91gt8q", - "rightColumn": 17.0, - "textAlign": "RIGHT", - "widgetId": "tx9h5i8ovw", - "isVisible": true, - "fontStyle": "BOLD", - "textColor": "#231F20", - "version": 1.0, - "parentId": "8tzkaielld", - "renderMode": "CANVAS", - "isLoading": false, - "fontSize": "PARAGRAPH" - }, - { - "widgetName": "description_input", - "displayName": "Input", - "iconSVG": "/static/media/icon.9f505595.svg", - "topRow": 21.0, - "bottomRow": 29.0, - "parentRowSpace": 10.0, - "autoFocus": false, - "type": "INPUT_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 6.4140625, - "dynamicTriggerPathList": [ - - ], - "resetOnSubmit": true, - "leftColumn": 17.0, - "dynamicBindingPathList": [ - - ], - "labelStyle": "", - "inputType": "TEXT", - "isDisabled": false, - "key": "zyoraxqcrl", - "isRequired": false, - "rightColumn": 63.0, - "widgetId": "xp8otc7k1c", - "isVisible": true, - "label": "", - "allowCurrencyChange": false, - "version": 1.0, - "parentId": "8tzkaielld", - "renderMode": "CANVAS", - "isLoading": false, - "iconAlign": "left", - "defaultText": "" - }, - { - "widgetName": "Text7Copy", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b52.svg", - "topRow": 6.0, - "bottomRow": 10.0, - "parentRowSpace": 10.0, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 6.4140625, - "dynamicTriggerPathList": [ - - ], - "leftColumn": 0.0, - "dynamicBindingPathList": [ - - ], - "text": "Type", - "key": "fzyz91gt8q", - "rightColumn": 17.0, - "textAlign": "RIGHT", - "widgetId": "xa5lprgkkr", - "isVisible": true, - "fontStyle": "BOLD", - "textColor": "#231F20", - "version": 1.0, - "parentId": "8tzkaielld", - "renderMode": "CANVAS", - "isLoading": false, - "fontSize": "PARAGRAPH" - }, - { - "widgetName": "type_select", - "isFilterable": false, - "displayName": "Select", - "iconSVG": "/static/media/icon.bd99caba.svg", - "labelText": "", - "topRow": 6.0, - "bottomRow": 10.0, - "parentRowSpace": 10.0, - "type": "DROP_DOWN_WIDGET", - "serverSideFiltering": false, - "hideCard": false, - "defaultOptionValue": "", - "selectionType": "SINGLE_SELECT", - "animateLoading": true, - "parentColumnSpace": 6.4140625, - "dynamicTriggerPathList": [ - - ], - "leftColumn": 17.0, - "dynamicBindingPathList": [ - { - "key": "options" - } - ], - "options": "{{Configs.type}}", - "placeholderText": "Select Type", - "isDisabled": false, - "key": "p2g6q7uu0o", - "isRequired": true, - "rightColumn": 63.0, - "widgetId": "jw4tgzde1z", - "isVisible": true, - "version": 1.0, - "parentId": "8tzkaielld", - "renderMode": "CANVAS", - "isLoading": false - }, - { - "widgetName": "Text8Copy", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b52.svg", - "topRow": 35.0, - "bottomRow": 39.0, - "parentRowSpace": 10.0, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 6.4140625, - "dynamicTriggerPathList": [ - - ], - "leftColumn": 1.0, - "dynamicBindingPathList": [ - - ], - "text": "Labels", - "key": "fzyz91gt8q", - "rightColumn": 17.0, - "textAlign": "RIGHT", - "widgetId": "483a8ji8wb", - "isVisible": true, - "fontStyle": "BOLD", - "textColor": "#231F20", - "version": 1.0, - "parentId": "8tzkaielld", - "renderMode": "CANVAS", - "isLoading": false, - "fontSize": "PARAGRAPH" - }, - { - "widgetName": "Text9Copy", - "dynamicPropertyPathList": [ - { - "key": "isVisible" - } - ], - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b52.svg", - "topRow": 11.0, - "bottomRow": 15.0, - "parentRowSpace": 10.0, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 6.4140625, - "dynamicTriggerPathList": [ - - ], - "leftColumn": 0.0, - "dynamicBindingPathList": [ - { - "key": "isVisible" - } - ], - "text": "Github Issue", - "key": "fzyz91gt8q", - "rightColumn": 17.0, - "textAlign": "RIGHT", - "widgetId": "cj7wnbg01q", - "isVisible": "{{type_select.selectedOptionValue === \"Feature\" || type_select.selectedOptionValue === \"Bug\"}}", - "fontStyle": "BOLD", - "textColor": "#231F20", - "version": 1.0, - "parentId": "8tzkaielld", - "renderMode": "CANVAS", - "isLoading": false, - "fontSize": "PARAGRAPH" - }, - { - "widgetName": "add_issue_select", - "isFilterable": true, - "dynamicPropertyPathList": [ - { - "key": "onFilterUpdate" - }, - { - "key": "isVisible" - } - ], - "displayName": "Select", - "iconSVG": "/static/media/icon.bd99caba.svg", - "labelText": "", - "topRow": 11.0, - "bottomRow": 15.0, - "parentRowSpace": 10.0, - "type": "DROP_DOWN_WIDGET", - "serverSideFiltering": true, - "hideCard": false, - "defaultOptionValue": "", - "selectionType": "SINGLE_SELECT", - "animateLoading": true, - "parentColumnSpace": 6.4140625, - "dynamicTriggerPathList": [ - { - "key": "onFilterUpdate" - } - ], - "leftColumn": 17.0, - "dynamicBindingPathList": [ - { - "key": "options" - }, - { - "key": "isVisible" - } - ], - "options": "{{GithubManager.getIssues()}}", - "placeholderText": "Search Github Issues", - "isDisabled": false, - "key": "p2g6q7uu0o", - "isRequired": false, - "rightColumn": 63.0, - "widgetId": "mle8h2yllt", - "isVisible": "{{type_select.selectedOptionValue === \"Feature\" || type_select.selectedOptionValue === \"Bug\"}}", - "version": 1.0, - "parentId": "8tzkaielld", - "renderMode": "CANVAS", - "isLoading": false, - "onFilterUpdate": "{{GithubManager.searchIssues(add_issue_select.filterText)}}" - }, - { - "widgetName": "Text10", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b52.svg", - "topRow": 0.0, - "bottomRow": 4.0, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "dynamicTriggerPathList": [ - - ], - "leftColumn": 0.0, - "dynamicBindingPathList": [ - - ], - "text": "New Issue", - "key": "fzyz91gt8q", - "rightColumn": 28.0, - "textAlign": "LEFT", - "widgetId": "240nwl18xx", - "isVisible": true, - "fontStyle": "BOLD", - "textColor": "#231F20", - "version": 1.0, - "parentId": "8tzkaielld", - "renderMode": "CANVAS", - "isLoading": false, - "fontSize": "HEADING1" - }, - { - "widgetName": "Button2", - "onClick": "{{closeModal('add_issue_modal')}}", - "buttonColor": "#2E3D49", - "displayName": "Button", - "iconSVG": "/static/media/icon.cca02633.svg", - "topRow": 63.0, - "bottomRow": 67.0, - "type": "BUTTON_WIDGET", - "hideCard": false, - "animateLoading": true, - "dynamicTriggerPathList": [ - - ], - "leftColumn": 26.0, - "dynamicBindingPathList": [ - - ], - "text": "Close", - "isDisabled": false, - "key": "oz6v5ujks3", - "rightColumn": 38.0, - "isDefaultClickDisabled": true, - "widgetId": "qk4c4nfb1q", - "buttonStyle": "PRIMARY", - "isVisible": true, - "version": 1.0, - "recaptchaType": "V3", - "parentId": "8tzkaielld", - "renderMode": "CANVAS", - "isLoading": false, - "buttonVariant": "SECONDARY" - }, - { - "widgetName": "Button3", - "onClick": "{{IssueManager.create_issue()}}", - "buttonColor": "#2E3D49", - "dynamicPropertyPathList": [ - { - "key": "onClick" - }, - { - "key": "isDisabled" - } - ], - "displayName": "Button", - "iconSVG": "/static/media/icon.cca02633.svg", - "topRow": 63.0, - "bottomRow": 67.0, - "type": "BUTTON_WIDGET", - "hideCard": false, - "animateLoading": true, - "dynamicTriggerPathList": [ - { - "key": "onClick" - } - ], - "leftColumn": 38.0, - "dynamicBindingPathList": [ - { - "key": "isDisabled" - } - ], - "text": "Confirm", - "isDisabled": "{{!link_input.isValid || !type_select.isValid || !title_input.text || IssueManager.getAssignedLabels(label_select.selectedOptionValues).length == 0}}", - "key": "oz6v5ujks3", - "rightColumn": 63.0, - "isDefaultClickDisabled": true, - "widgetId": "mhnwwl1t95", - "buttonStyle": "PRIMARY_BUTTON", - "isVisible": true, - "version": 1.0, - "recaptchaType": "V3", - "parentId": "8tzkaielld", - "renderMode": "CANVAS", - "isLoading": false, - "buttonVariant": "PRIMARY" - }, - { - "boxShadow": "NONE", - "widgetName": "IconButton5", - "onClick": "{{closeModal('add_issue_modal')}}", - "buttonColor": "#2E3D49", - "displayName": "Icon Button", - "iconSVG": "/static/media/icon.1a0c634a.svg", - "topRow": 0.0, - "bottomRow": 4.0, - "parentRowSpace": 10.0, - "type": "ICON_BUTTON_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 6.9375, - "dynamicTriggerPathList": [ - { - "key": "onClick" - } - ], - "leftColumn": 57.0, - "dynamicBindingPathList": [ - - ], - "isDisabled": false, - "key": "1b5hj6tv0b", - "rightColumn": 64.0, - "iconName": "cross", - "widgetId": "6tvffrozwj", - "isVisible": true, - "version": 1.0, - "parentId": "8tzkaielld", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "CIRCLE", - "buttonVariant": "TERTIARY" - }, - { - "widgetName": "Text13", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b52.svg", - "topRow": 30.0, - "bottomRow": 34.0, - "parentRowSpace": 10.0, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 6.9375, - "dynamicTriggerPathList": [ - - ], - "leftColumn": 1.0, - "dynamicBindingPathList": [ - - ], - "text": "Issue Link", - "key": "w50usn0v9g", - "rightColumn": 17.0, - "textAlign": "RIGHT", - "widgetId": "w91q3a6doy", - "isVisible": true, - "fontStyle": "BOLD", - "textColor": "#231F20", - "version": 1.0, - "parentId": "8tzkaielld", - "renderMode": "CANVAS", - "isLoading": false, - "fontSize": "PARAGRAPH" - }, - { - "widgetName": "link_input", - "displayName": "Input", - "iconSVG": "/static/media/icon.9f505595.svg", - "topRow": 30.0, - "bottomRow": 34.0, - "parentRowSpace": 10.0, - "autoFocus": false, - "type": "INPUT_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 6.9375, - "dynamicTriggerPathList": [ - - ], - "resetOnSubmit": true, - "leftColumn": 17.0, - "dynamicBindingPathList": [ - { - "key": "defaultText" - } - ], - "labelStyle": "", - "inputType": "TEXT", - "placeholderText": "Discord / Github / Discourse / Intercom msg URL", - "isDisabled": false, - "key": "iqxzeop4oc", - "isRequired": true, - "rightColumn": 63.0, - "widgetId": "erhs9rotun", - "isVisible": true, - "label": "", - "allowCurrencyChange": false, - "version": 1.0, - "parentId": "8tzkaielld", - "renderMode": "CANVAS", - "isLoading": false, - "iconAlign": "left", - "defaultText": "{{add_issue_select.selectedOptionValue ? \n\"https://github.com/appsmithorg/appsmith/issues/\" + GithubManager.getSelectedGithubIssue()?.issue_number : \"\"}}" - }, - { - "widgetName": "answer_input", - "displayName": "Input", - "iconSVG": "/static/media/icon.9f505595.svg", - "topRow": 40.0, - "bottomRow": 44.0, - "parentRowSpace": 10.0, - "autoFocus": false, - "type": "INPUT_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 6.9375, - "dynamicTriggerPathList": [ - - ], - "resetOnSubmit": true, - "leftColumn": 17.0, - "dynamicBindingPathList": [ - - ], - "labelStyle": "", - "inputType": "TEXT", - "placeholderText": "Documentation / Example app URL", - "isDisabled": false, - "key": "iqxzeop4oc", - "isRequired": false, - "rightColumn": 63.0, - "widgetId": "335stzmyk5", - "isVisible": true, - "label": "", - "allowCurrencyChange": false, - "version": 1.0, - "parentId": "8tzkaielld", - "renderMode": "CANVAS", - "isLoading": false, - "iconAlign": "left", - "defaultText": "" - }, - { - "widgetName": "Text16", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b52.svg", - "topRow": 40.0, - "bottomRow": 44.0, - "parentRowSpace": 10.0, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 6.9375, - "dynamicTriggerPathList": [ - - ], - "leftColumn": 1.0, - "dynamicBindingPathList": [ - - ], - "text": "Answer Link", - "key": "w50usn0v9g", - "rightColumn": 17.0, - "textAlign": "RIGHT", - "widgetId": "h9drw49jnw", - "isVisible": true, - "fontStyle": "BOLD", - "textColor": "#231F20", - "version": 1.0, - "parentId": "8tzkaielld", - "renderMode": "CANVAS", - "isLoading": false, - "fontSize": "PARAGRAPH" - } - ], - "isDisabled": false, - "key": "6u4x0kf3h8", - "rightColumn": 430.5, - "detachFromLayout": true, - "widgetId": "8tzkaielld", - "isVisible": true, - "version": 1.0, - "parentId": "rxoie5b5j5", - "renderMode": "CANVAS", - "isLoading": false - } - ], - "key": "9ppzbhlnqc", - "height": 694.0, - "rightColumn": 38.0, - "detachFromLayout": true, - "widgetId": "rxoie5b5j5", - "canOutsideClickClose": true, - "canEscapeKeyClose": true, - "version": 2.0, - "parentId": "0", - "renderMode": "CANVAS", - "isLoading": false, - "width": 456.0 - }, - { - "boxShadow": "NONE", - "widgetName": "RefreshIssues", - "onClick": "{{IssueManager.fetchIssues()}}", - "buttonColor": "#2E3D49", - "displayName": "Icon Button", - "iconSVG": "/static/media/icon.1a0c634a.svg", - "topRow": 0.0, - "bottomRow": 4.0, - "parentRowSpace": 10.0, - "type": "ICON_BUTTON_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 9.8095703125, - "dynamicTriggerPathList": [ - { - "key": "onClick" - } - ], - "leftColumn": 41.0, - "dynamicBindingPathList": [ - - ], - "isDisabled": false, - "key": "35uqmnh3wt", - "rightColumn": 44.0, - "iconName": "refresh", - "widgetId": "pu0p8ahn8i", - "isVisible": true, - "version": 1.0, - "parentId": "0", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "SHARP", - "buttonVariant": "TERTIARY" - }, - { - "widgetName": "sort_select", - "isFilterable": false, - "displayName": "Select", - "iconSVG": "/static/media/icon.bd99caba.svg", - "labelText": "", - "topRow": 0.0, - "bottomRow": 4.0, - "parentRowSpace": 10.0, - "type": "DROP_DOWN_WIDGET", - "serverSideFiltering": false, - "hideCard": false, - "defaultOptionValue": "GITHUB", - "selectionType": "SINGLE_SELECT", - "animateLoading": true, - "parentColumnSpace": 20.3125, - "dynamicTriggerPathList": [ - { - "key": "onOptionChange" - } - ], - "leftColumn": 30.0, - "dynamicBindingPathList": [ - - ], - "options": "[\n {\n \"label\": \"Most Github Votes\",\n \"value\": \"GITHUB\"\n },\n {\n \"label\": \"Most Upvotes\",\n \"value\": \"VOTES\"\n },\n\t{\n \"label\": \"Most Commentors\",\n \"value\": \"COMMENTORS\"\n },\n\t{\n \"label\": \"Most Recent\",\n \"value\": \"RECENT\"\n }\n]", - "placeholderText": "Select option", - "isDisabled": false, - "key": "at2ne0v8x9", - "isRequired": true, - "rightColumn": 41.0, - "widgetId": "ra23cq4tyo", - "isVisible": true, - "version": 1.0, - "parentId": "0", - "renderMode": "CANVAS", - "isLoading": false, - "onOptionChange": "{{fetch_issues.run()}}" - }, - { - "widgetName": "type_filter", - "isFilterable": false, - "displayName": "Select", - "iconSVG": "/static/media/icon.bd99caba.svg", - "labelText": "", - "topRow": 0.0, - "bottomRow": 4.0, - "parentRowSpace": 10.0, - "type": "DROP_DOWN_WIDGET", - "serverSideFiltering": false, - "hideCard": false, - "defaultOptionValue": "GREEN", - "selectionType": "SINGLE_SELECT", - "animateLoading": true, - "parentColumnSpace": 6.4140625, - "dynamicTriggerPathList": [ - { - "key": "onOptionChange" - } - ], - "leftColumn": 23.0, - "dynamicBindingPathList": [ - { - "key": "options" - } - ], - "options": "{{Configs.type}}", - "placeholderText": "Type", - "isDisabled": false, - "key": "p2g6q7uu0o", - "isRequired": false, - "rightColumn": 30.0, - "widgetId": "eznbmvwewn", - "isVisible": true, - "version": 1.0, - "parentId": "0", - "renderMode": "CANVAS", - "isLoading": false, - "onOptionChange": "{{IssueManager.fetchIssues()}}" - }, - { - "widgetName": "status_filter", - "isFilterable": false, - "displayName": "Select", - "iconSVG": "/static/media/icon.bd99caba.svg", - "labelText": "", - "topRow": 0.0, - "bottomRow": 4.0, - "parentRowSpace": 10.0, - "type": "DROP_DOWN_WIDGET", - "serverSideFiltering": false, - "hideCard": false, - "defaultOptionValue": "", - "selectionType": "SINGLE_SELECT", - "animateLoading": true, - "parentColumnSpace": 17.9375, - "dynamicTriggerPathList": [ - { - "key": "onOptionChange" - } - ], - "leftColumn": 14.0, - "dynamicBindingPathList": [ - { - "key": "options" - } - ], - "options": "{{Configs.states}}", - "placeholderText": "States", - "isDisabled": false, - "key": "52qeg2r9uo", - "isRequired": false, - "rightColumn": 23.0, - "widgetId": "sinxumk3m3", - "isVisible": true, - "version": 1.0, - "parentId": "0", - "renderMode": "CANVAS", - "isLoading": false, - "onOptionChange": "{{IssueManager.fetchIssues()}}" - }, - { - "widgetName": "pod_filter", - "isFilterable": false, - "displayName": "Select", - "iconSVG": "/static/media/icon.bd99caba.svg", - "labelText": "", - "topRow": 0.0, - "bottomRow": 4.0, - "parentRowSpace": 10.0, - "type": "DROP_DOWN_WIDGET", - "serverSideFiltering": false, - "hideCard": false, - "defaultOptionValue": "", - "selectionType": "SINGLE_SELECT", - "animateLoading": true, - "parentColumnSpace": 5.5732421875, - "dynamicTriggerPathList": [ - { - "key": "onOptionChange" - } - ], - "leftColumn": 7.0, - "dynamicBindingPathList": [ - { - "key": "options" - } - ], - "options": "{{Utils.getPodLabels()}}", - "placeholderText": "Pods", - "isDisabled": false, - "key": "qjixxicfzt", - "isRequired": false, - "rightColumn": 14.0, - "widgetId": "ajzvz766xg", - "isVisible": true, - "version": 1.0, - "parentId": "0", - "renderMode": "CANVAS", - "isLoading": false, - "onOptionChange": "{{IssueManager.fetchIssues()}}" - }, - { - "multiRowSelection": false, - "onSort": "", - "isVisibleDownload": false, - "iconSVG": "/static/media/icon.db8a9cbd.svg", - "topRow": 5.0, - "isSortable": false, - "onPageChange": "{{fetch_issues.run()}}", - "type": "TABLE_WIDGET", - "animateLoading": true, - "dynamicBindingPathList": [ - { - "key": "tableData" - }, - { - "key": "primaryColumns.unique_commentors.computedValue" - }, - { - "key": "primaryColumns.total_reactions.computedValue" - }, - { - "key": "primaryColumns.upvote_id.computedValue" - }, - { - "key": "primaryColumns.count.computedValue" - }, - { - "key": "primaryColumns.link.computedValue" - }, - { - "key": "primaryColumns.answer.isCellVisible" - }, - { - "key": "primaryColumns.state.computedValue" - }, - { - "key": "primaryColumns.type.computedValue" - }, - { - "key": "primaryColumns.labels.computedValue" - }, - { - "key": "primaryColumns.description.computedValue" - }, - { - "key": "primaryColumns.title.computedValue" - }, - { - "key": "primaryColumns.created_at.computedValue" - }, - { - "key": "primaryColumns.author.computedValue" - }, - { - "key": "primaryColumns.github_issue_id.computedValue" - }, - { - "key": "primaryColumns.id.computedValue" - }, - { - "key": "primaryColumns.states.computedValue" - }, - { - "key": "primaryColumns.updated_at.computedValue" - }, - { - "key": "derivedColumns.customColumn2.computedValue" - }, - { - "key": "primaryColumns.customColumn2.computedValue" - } - ], - "leftColumn": 0.0, - "delimiter": ",", - "isVisibleFilters": true, - "isVisible": true, - "enableClientSideSearch": true, - "version": 3.0, - "totalRecordsCount": 0.0, - "isLoading": false, - "onSearchTextChanged": "{{fetch_issues.run()}}", - "columnSizeMap": { - "task": 245.0, - "step": 62.0, - "status": 75.0, - "id": 61.0, - "type": 88.0, - "title": 590.0, - "date": 101.0, - "created_at": 150.0, - "count": 69.00000000000001, - "customColumn1": 91.0, - "answer": 91.0, - "total_reactions": 60.0, - "unique_commentors": 144.0, - "states": 155.0, - "customColumn2": 77.0, - "state": 111.0, - "link": 188.0, - "description": 187.0, - "author": 157.0, - "github_issue_id": 163.0 - }, - "widgetName": "Table1", - "defaultPageSize": 0.0, - "columnOrder": [ - "type", - "title", - "customColumn2", - "total_reactions", - "unique_commentors", - "count", - "answer", - "customColumn1", - "states", - "upvote_id", - "id", - "github_issue_id", - "author", - "created_at", - "description", - "labels", - "state", - "link", - "updated_at" - ], - "dynamicPropertyPathList": [ - { - "key": "primaryColumns.answer.onClick" - }, - { - "key": "primaryColumns.answer.isCellVisible" - } - ], - "displayName": "Table", - "bottomRow": 89.0, - "parentRowSpace": 10.0, - "defaultSelectedRow": "0", - "hideCard": false, - "parentColumnSpace": 17.9375, - "dynamicTriggerPathList": [ - { - "key": "primaryColumns.customColumn1.onClick" - }, - { - "key": "onRowSelected" - }, - { - "key": "onPageChange" - }, - { - "key": "onSearchTextChanged" - }, - { - "key": "onSort" - }, - { - "key": "primaryColumns.answer.onClick" - } - ], - "primaryColumns": { - "customColumn1": { - "index": 7.0, - "width": 150.0, - "id": "customColumn1", - "columnType": "iconButton", - "enableFilter": true, - "enableSort": true, - "isVisible": true, - "isDisabled": false, - "isCellVisible": true, - "isDerived": true, - "label": "UpVote", - "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.customColumn1))}}", - "buttonStyle": "rgb(3, 179, 101)", - "buttonLabelColor": "#FFFFFF", - "buttonColor": "#38AFF4", - "menuColor": "#03B365", - "labelColor": "#FFFFFF", - "buttonLabel": "{{Table1.sanitizedTableData.map((currentRow) => ( 'Upvote'))}}", - "iconName": "caret-up", - "borderRadius": "ROUNDED", - "buttonVariant": "SECONDARY", - "onClick": "{{showModal('upvote_modal')}}", - "horizontalAlignment": "LEFT", - "textSize": "PARAGRAPH" - }, - "id": { - "index": 0.0, - "width": 150.0, - "id": "id", - "horizontalAlignment": "LEFT", - "verticalAlignment": "CENTER", - "columnType": "text", - "textSize": "PARAGRAPH", - "enableFilter": true, - "enableSort": true, - "isVisible": false, - "isDisabled": false, - "isCellVisible": true, - "isDerived": false, - "label": "id", - "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.id))}}" - }, - "github_issue_id": { - "index": 1.0, - "width": 150.0, - "id": "github_issue_id", - "horizontalAlignment": "LEFT", - "verticalAlignment": "CENTER", - "columnType": "text", - "textSize": "PARAGRAPH", - "enableFilter": true, - "enableSort": true, - "isVisible": false, - "isDisabled": false, - "isCellVisible": true, - "isDerived": false, - "label": "github_issue_id", - "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.github_issue_id))}}" - }, - "author": { - "index": 2.0, - "width": 150.0, - "id": "author", - "horizontalAlignment": "LEFT", - "verticalAlignment": "CENTER", - "columnType": "text", - "textSize": "PARAGRAPH", - "enableFilter": true, - "enableSort": true, - "isVisible": false, - "isDisabled": false, - "isCellVisible": true, - "isDerived": false, - "label": "author", - "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.author))}}" - }, - "created_at": { - "index": 3.0, - "width": 150.0, - "id": "created_at", - "horizontalAlignment": "LEFT", - "verticalAlignment": "CENTER", - "columnType": "text", - "textSize": "PARAGRAPH", - "enableFilter": true, - "enableSort": true, - "isVisible": false, - "isDisabled": false, - "isCellVisible": true, - "isDerived": false, - "label": "created_at", - "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.created_at))}}" - }, - "title": { - "index": 4.0, - "width": 150.0, - "id": "title", - "horizontalAlignment": "LEFT", - "verticalAlignment": "CENTER", - "columnType": "text", - "textSize": "PARAGRAPH", - "enableFilter": true, - "enableSort": true, - "isVisible": true, - "isDisabled": false, - "isCellVisible": true, - "isDerived": false, - "label": "Title", - "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.title))}}" - }, - "description": { - "index": 5.0, - "width": 150.0, - "id": "description", - "horizontalAlignment": "LEFT", - "verticalAlignment": "CENTER", - "columnType": "text", - "textSize": "PARAGRAPH", - "enableFilter": true, - "enableSort": true, - "isVisible": false, - "isDisabled": false, - "isCellVisible": true, - "isDerived": false, - "label": "description", - "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.description))}}" - }, - "labels": { - "index": 6.0, - "width": 150.0, - "id": "labels", - "horizontalAlignment": "LEFT", - "verticalAlignment": "CENTER", - "columnType": "text", - "textSize": "PARAGRAPH", - "enableFilter": true, - "enableSort": true, - "isVisible": false, - "isDisabled": false, - "isCellVisible": true, - "isDerived": false, - "label": "labels", - "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.labels))}}" - }, - "type": { - "index": 7.0, - "width": 150.0, - "id": "type", - "horizontalAlignment": "LEFT", - "verticalAlignment": "CENTER", - "columnType": "text", - "textSize": "PARAGRAPH", - "enableFilter": true, - "enableSort": true, - "isVisible": true, - "isDisabled": false, - "isCellVisible": true, - "isDerived": false, - "label": "Type", - "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.type))}}" - }, - "state": { - "index": 8.0, - "width": 150.0, - "id": "state", - "horizontalAlignment": "LEFT", - "verticalAlignment": "CENTER", - "columnType": "text", - "textSize": "PARAGRAPH", - "enableFilter": true, - "enableSort": true, - "isVisible": false, - "isDisabled": false, - "isCellVisible": true, - "isDerived": false, - "label": "state", - "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.state))}}" - }, - "answer": { - "index": 9.0, - "width": 150.0, - "id": "answer", - "horizontalAlignment": "LEFT", - "verticalAlignment": "CENTER", - "columnType": "iconButton", - "textSize": "PARAGRAPH", - "enableFilter": true, - "enableSort": true, - "isVisible": true, - "isDisabled": false, - "isCellVisible": "{{Table1.sanitizedTableData.map((currentRow) => ( !!currentRow.answer))}}", - "isDerived": false, - "label": "Answer", - "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.answer))}}", - "iconName": "duplicate", - "buttonVariant": "TERTIARY", - "buttonColor": "#2E3D49", - "onClick": "{{copyToClipboard(currentRow.answer); showAlert('Copied');}}" - }, - "link": { - "index": 11.0, - "width": 150.0, - "id": "link", - "horizontalAlignment": "LEFT", - "verticalAlignment": "CENTER", - "columnType": "text", - "textSize": "PARAGRAPH", - "enableFilter": true, - "enableSort": true, - "isVisible": false, - "isDisabled": false, - "isCellVisible": true, - "isDerived": false, - "label": "link", - "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.link))}}" - }, - "count": { - "index": 12.0, - "width": 150.0, - "id": "count", - "horizontalAlignment": "LEFT", - "verticalAlignment": "CENTER", - "columnType": "number", - "textSize": "PARAGRAPH", - "enableFilter": true, - "enableSort": true, - "isVisible": true, - "isDisabled": false, - "isCellVisible": true, - "isDerived": false, - "label": "Votes", - "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.count))}}" - }, - "upvote_id": { - "index": 13.0, - "width": 150.0, - "id": "upvote_id", - "horizontalAlignment": "LEFT", - "verticalAlignment": "CENTER", - "columnType": "text", - "textSize": "PARAGRAPH", - "enableFilter": true, - "enableSort": true, - "isVisible": false, - "isDisabled": false, - "isCellVisible": true, - "isDerived": false, - "label": "upvote_id", - "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.upvote_id))}}" - }, - "total_reactions": { - "index": 14.0, - "width": 150.0, - "id": "total_reactions", - "horizontalAlignment": "LEFT", - "verticalAlignment": "CENTER", - "columnType": "text", - "textSize": "PARAGRAPH", - "enableFilter": true, - "enableSort": true, - "isVisible": true, - "isDisabled": false, - "isCellVisible": true, - "isDerived": false, - "label": "+1", - "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.total_reactions))}}" - }, - "unique_commentors": { - "index": 15.0, - "width": 150.0, - "id": "unique_commentors", - "horizontalAlignment": "LEFT", - "verticalAlignment": "CENTER", - "columnType": "text", - "textSize": "PARAGRAPH", - "enableFilter": true, - "enableSort": true, - "isVisible": true, - "isDisabled": false, - "isCellVisible": true, - "isDerived": false, - "label": "Commentors", - "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.unique_commentors))}}" - }, - "states": { - "index": 16.0, - "width": 150.0, - "id": "states", - "horizontalAlignment": "LEFT", - "verticalAlignment": "CENTER", - "columnType": "text", - "textSize": "PARAGRAPH", - "enableFilter": true, - "enableSort": true, - "isVisible": false, - "isDisabled": false, - "isCellVisible": true, - "isDerived": false, - "label": "States", - "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.states))}}" - }, - "updated_at": { - "index": 16.0, - "width": 150.0, - "id": "updated_at", - "horizontalAlignment": "LEFT", - "verticalAlignment": "CENTER", - "columnType": "text", - "textSize": "PARAGRAPH", - "enableFilter": true, - "enableSort": true, - "isVisible": false, - "isDisabled": false, - "isCellVisible": true, - "isDerived": false, - "label": "updated_at", - "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.updated_at))}}" - }, - "customColumn2": { - "index": 18.0, - "width": 150.0, - "id": "customColumn2", - "horizontalAlignment": "LEFT", - "columnType": "text", - "enableFilter": true, - "enableSort": true, - "isVisible": true, - "isDisabled": false, - "isCellVisible": true, - "isDerived": true, - "label": "Status", - "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( Configs.getTitleState(currentRow.states)))}}", - "buttonStyle": "rgb(3, 179, 101)", - "buttonLabelColor": "#FFFFFF", - "buttonColor": "#03B365", - "menuColor": "#03B365", - "labelColor": "#FFFFFF", - "textSize": "PARAGRAPH" - } - }, - "onRowSelected": "{{resetWidget(\"Tabs1\")}}", - "key": "tr3pdljkm8", - "derivedColumns": { - "customColumn1": { - "index": 7.0, - "width": 150.0, - "id": "customColumn1", - "columnType": "iconButton", - "enableFilter": true, - "enableSort": true, - "isVisible": true, - "isDisabled": false, - "isCellVisible": true, - "isDerived": true, - "label": "UpVote", - "computedValue": "", - "buttonStyle": "rgb(3, 179, 101)", - "buttonLabelColor": "#FFFFFF", - "buttonColor": "#38AFF4", - "menuColor": "#03B365", - "labelColor": "#FFFFFF", - "buttonLabel": "{{Table1.sanitizedTableData.map((currentRow) => ( 'Upvote'))}}", - "iconName": "caret-up", - "borderRadius": "ROUNDED", - "buttonVariant": "PRIMARY", - "horizontalAlignment": "LEFT", - "textSize": "PARAGRAPH" - }, - "customColumn2": { - "index": 18.0, - "width": 150.0, - "id": "customColumn2", - "horizontalAlignment": "LEFT", - "columnType": "text", - "enableFilter": true, - "enableSort": true, - "isVisible": true, - "isDisabled": false, - "isCellVisible": true, - "isDerived": true, - "label": "Status", - "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( Configs.getTitleState(currentRow.states)))}}", - "buttonStyle": "rgb(3, 179, 101)", - "buttonLabelColor": "#FFFFFF", - "buttonColor": "#03B365", - "menuColor": "#03B365", - "labelColor": "#FFFFFF", - "textSize": "PARAGRAPH" - } - }, - "rightColumn": 44.0, - "textSize": "PARAGRAPH", - "widgetId": "zsilqrkvkw", - "tableData": "{{IssueManager.getIssueData()}}", - "label": "Data", - "searchKey": "", - "parentId": "0", - "serverSidePaginationEnabled": true, - "renderMode": "CANVAS", - "horizontalAlignment": "LEFT", - "isVisibleSearch": true, - "isVisiblePagination": true, - "verticalAlignment": "CENTER" - }, - { - "widgetName": "Text1", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b52.svg", - "topRow": 0.0, - "bottomRow": 4.0, - "parentRowSpace": 10.0, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 16.71875, - "dynamicTriggerPathList": [ - - ], - "leftColumn": 0.0, - "dynamicBindingPathList": [ - - ], - "shouldTruncate": false, - "truncateButtonColor": "#FFC13D", - "text": "🗓 Issues", - "key": "t8e7qdq1ol", - "rightColumn": 7.0, - "textAlign": "LEFT", - "widgetId": "yyqsgarlj7", - "isVisible": true, - "fontStyle": "BOLD", - "textColor": "#231F20", - "shouldScroll": false, - "version": 1.0, - "parentId": "0", - "renderMode": "CANVAS", - "isLoading": false, - "fontSize": "HEADING1" - } - ] - }, - "layoutOnLoadActions": [ - [ - { - "id": "Issues_search_github_issues", - "name": "search_github_issues", - "confirmBeforeExecute": false, - "pluginType": "DB", - "jsonPathKeys": [ - "\"%\" + this.params.searchText + \"%\"" - ], - "timeoutInMillisecond": 10000 - }, - { - "id": "Issues_fetch_label_config", - "name": "fetch_label_config", - "confirmBeforeExecute": false, - "pluginType": "API", - "jsonPathKeys": [ - - ], - "timeoutInMillisecond": 10000 - } - ], - [ - { - "id": "Issues_fetch_comments", - "name": "fetch_comments", - "confirmBeforeExecute": false, - "pluginType": "DB", - "jsonPathKeys": [ - "Table1.selectedRow.id" - ], - "timeoutInMillisecond": 10000 - } - ], - [ - { - "id": "Issues_fetch_labels", - "name": "fetch_labels", - "confirmBeforeExecute": false, - "pluginType": "API", - "jsonPathKeys": [ - - ], - "timeoutInMillisecond": 10000 - }, - { - "id": "Issues_fetch_issues", - "name": "fetch_issues", - "confirmBeforeExecute": false, - "pluginType": "DB", - "jsonPathKeys": [ - "appsmith.URL.queryParams.id ? \" and global_issues.id=\" + appsmith.URL.queryParams.id: \"\"", - "type_filter.selectedOptionValue && type_filter.selectedOptionValue !== \"ALL\" ? \"and global_issues.type ='\" + type_filter.selectedOptionValue + \"'\" : \"\"", - "\"%\" + Table1.searchText + \"%\"", - "(Table1.pageNo - 1) * Table1.pageSize", - "Table1.pageSize", - "status_filter.selectedOptionValue && status_filter.selectedOptionValue !== \"ALL\" ? \"and '\" + status_filter.selectedOptionValue + \"' =ANY(global_issues.states)\" : \"\"", - "pod_filter.selectedOptionValue && pod_filter.selectedOptionValue !== \"ALL\" ? \"and '\" + pod_filter.selectedOptionValue + \"'=ANY(global_issues.labels)\" : \"\"", - "sort_select.selectedOptionValue === \"GITHUB\" ? \"total_reactions desc, count desc, upvote_id desc\" : sort_select.selectedOptionValue === \"VOTES\" ? \"count desc, upvote_id desc, total_reactions desc\" : sort_select.selectedOptionValue === \"COMMENTORS\" ? \"unique_commentors desc, total_reactions desc, count desc, upvote_id desc\" : \"updated_at desc\"" - ], - "timeoutInMillisecond": 10000 - } - ] - ], - "new": false - } - ], - "userPermissions": [ - - ], - "isHidden": false - }, - "new": true - } - ], - "publishedDefaultPageName": "Issues", - "unpublishedDefaultPageName": "Issues", - "actionList": [ - { - "id": "Issues_fetch_label_config", - "userPermissions": [ - "read:actions", - "execute:actions", - "manage:actions" - ], - "gitSyncId": "623762992e5d3f189d0c3c23_623765542e5d3f189d0c3c2d", - "pluginType": "API", - "pluginId": "restapi-plugin", - "unpublishedAction": { - "name": "fetch_label_config", - "datasource": { - "userPermissions": [ - - ], - "name": "DEFAULT_REST_DATASOURCE", - "pluginId": "restapi-plugin", - "datasourceConfiguration": { - "url": "https://hook.integromat.com" - }, - "invalids": [ - - ], - "messages": [ - - ], - "isValid": true, - "new": true - }, - "pageId": "Issues", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "path": "/3yepr9ekaott9io115jl2lifd5z469s9", - "headers": [ - - ], - "encodeParamsToggle": true, - "queryParameters": [ - - ], - "httpMethod": "GET", - "pluginSpecifiedTemplates": [ - { - "value": true - } - ], - "formData": { - "apiContentType": "none" - } - }, - "executeOnLoad": true, - "dynamicBindingPathList": [ - - ], - "isValid": true, - "invalids": [ - - ], - "messages": [ - - ], - "jsonPathKeys": [ - - ], - "confirmBeforeExecute": false, - "userPermissions": [ - - ], - "validName": "fetch_label_config" - }, - "publishedAction": { - "name": "fetch_label_config", - "datasource": { - "userPermissions": [ - - ], - "name": "DEFAULT_REST_DATASOURCE", - "pluginId": "restapi-plugin", - "datasourceConfiguration": { - "url": "https://hook.integromat.com" - }, - "invalids": [ - - ], - "messages": [ - - ], - "isValid": true, - "new": true - }, - "pageId": "Issues", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "path": "/3yepr9ekaott9io115jl2lifd5z469s9", - "headers": [ - - ], - "encodeParamsToggle": true, - "queryParameters": [ - - ], - "httpMethod": "GET", - "pluginSpecifiedTemplates": [ - { - "value": true - } - ], - "formData": { - "apiContentType": "none" - } - }, - "executeOnLoad": true, - "dynamicBindingPathList": [ - - ], - "isValid": true, - "invalids": [ - - ], - "messages": [ - - ], - "jsonPathKeys": [ - - ], - "confirmBeforeExecute": false, - "userPermissions": [ - - ], - "validName": "fetch_label_config" - }, - "new": false - }, - { - "id": "Issues_Utils.getPodLabels", - "userPermissions": [ - "read:actions", - "execute:actions", - "manage:actions" - ], - "gitSyncId": "623762992e5d3f189d0c3c23_623765f12e5d3f189d0c3c35", - "pluginType": "JS", - "pluginId": "js-plugin", - "unpublishedAction": { - "name": "getPodLabels", - "fullyQualifiedName": "Utils.getPodLabels", - "datasource": { - "userPermissions": [ - - ], - "name": "UNUSED_DATASOURCE", - "pluginId": "js-plugin", - "messages": [ - - ], - "isValid": true, - "new": true - }, - "pageId": "Issues", - "collectionId": "Issues_Utils", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "encodeParamsToggle": true, - "body": "() => {\n\t\treturn Object.keys(fetch_label_config.data.runners[0].issue.labels)\n\t\t\t.map((pod) => { \n\t\t\t\treturn {\n\t\t\t\t\tlabel: pod,\n\t\t\t\t\tvalue: pod\n\t\t\t\t}\n\t\t\t});\n\t}", - "jsArguments": [ - - ], - "isAsync": false - }, - "executeOnLoad": false, - "dynamicBindingPathList": [ - { - "key": "body" - } - ], - "isValid": true, - "invalids": [ - - ], - "messages": [ - - ], - "jsonPathKeys": [ - "() => {\n\t\treturn Object.keys(fetch_label_config.data.runners[0].issue.labels)\n\t\t\t.map((pod) => { \n\t\t\t\treturn {\n\t\t\t\t\tlabel: pod,\n\t\t\t\t\tvalue: pod\n\t\t\t\t}\n\t\t\t});\n\t}" - ], - "confirmBeforeExecute": false, - "userPermissions": [ - - ], - "validName": "Utils.getPodLabels" - }, - "publishedAction": { - "name": "getPodLabels", - "fullyQualifiedName": "Utils.getPodLabels", - "datasource": { - "userPermissions": [ - - ], - "name": "UNUSED_DATASOURCE", - "pluginId": "js-plugin", - "messages": [ - - ], - "isValid": true, - "new": true - }, - "pageId": "Issues", - "collectionId": "Issues_Utils", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "encodeParamsToggle": true, - "body": "() => {\n\t\treturn Object.keys(fetch_label_config.data.runners[0].issue.labels)\n\t\t\t.map((pod) => { \n\t\t\t\treturn {\n\t\t\t\t\tlabel: pod,\n\t\t\t\t\tvalue: pod\n\t\t\t\t}\n\t\t\t});\n\t}", - "jsArguments": [ - - ], - "isAsync": false - }, - "executeOnLoad": false, - "dynamicBindingPathList": [ - { - "key": "body" - } - ], - "isValid": true, - "invalids": [ - - ], - "messages": [ - - ], - "jsonPathKeys": [ - "() => {\n\t\treturn Object.keys(fetch_label_config.data.runners[0].issue.labels)\n\t\t\t.map((pod) => { \n\t\t\t\treturn {\n\t\t\t\t\tlabel: pod,\n\t\t\t\t\tvalue: pod\n\t\t\t\t}\n\t\t\t});\n\t}" - ], - "confirmBeforeExecute": false, - "userPermissions": [ - - ], - "validName": "Utils.getPodLabels" - }, - "new": false - }, - { - "id": "Issues_Utils.getConfig", - "userPermissions": [ - "read:actions", - "execute:actions", - "manage:actions" - ], - "gitSyncId": "623762992e5d3f189d0c3c23_6237662e2e5d3f189d0c3c37", - "pluginType": "JS", - "pluginId": "js-plugin", - "unpublishedAction": { - "name": "getConfig", - "fullyQualifiedName": "Utils.getConfig", - "datasource": { - "userPermissions": [ - - ], - "name": "UNUSED_DATASOURCE", - "pluginId": "js-plugin", - "messages": [ - - ], - "isValid": true, - "new": true - }, - "pageId": "Issues", - "collectionId": "Issues_Utils", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "encodeParamsToggle": true, - "body": "() => {\n\t\treturn fetch_label_config.data;\n\t}", - "jsArguments": [ - - ], - "isAsync": false - }, - "executeOnLoad": false, - "dynamicBindingPathList": [ - { - "key": "body" - } - ], - "isValid": true, - "invalids": [ - - ], - "messages": [ - - ], - "jsonPathKeys": [ - "() => {\n\t\treturn fetch_label_config.data;\n\t}" - ], - "confirmBeforeExecute": false, - "userPermissions": [ - - ], - "validName": "Utils.getConfig" - }, - "publishedAction": { - "name": "getConfig", - "fullyQualifiedName": "Utils.getConfig", - "datasource": { - "userPermissions": [ - - ], - "name": "UNUSED_DATASOURCE", - "pluginId": "js-plugin", - "messages": [ - - ], - "isValid": true, - "new": true - }, - "pageId": "Issues", - "collectionId": "Issues_Utils", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "encodeParamsToggle": true, - "body": "() => {\n\t\treturn fetch_label_config.data;\n\t}", - "jsArguments": [ - - ], - "isAsync": false - }, - "executeOnLoad": false, - "dynamicBindingPathList": [ - { - "key": "body" - } - ], - "isValid": true, - "invalids": [ - - ], - "messages": [ - - ], - "jsonPathKeys": [ - "() => {\n\t\treturn fetch_label_config.data;\n\t}" - ], - "confirmBeforeExecute": false, - "userPermissions": [ - - ], - "validName": "Utils.getConfig" - }, - "new": false - }, - { - "id": "Issues_Utils.checkIsPod", - "userPermissions": [ - "read:actions", - "execute:actions", - "manage:actions" - ], - "gitSyncId": "623762992e5d3f189d0c3c23_6237662e2e5d3f189d0c3c38", - "pluginType": "JS", - "pluginId": "js-plugin", - "unpublishedAction": { - "name": "checkIsPod", - "fullyQualifiedName": "Utils.checkIsPod", - "datasource": { - "userPermissions": [ - - ], - "name": "UNUSED_DATASOURCE", - "pluginId": "js-plugin", - "messages": [ - - ], - "isValid": true, - "new": true - }, - "pageId": "Issues", - "collectionId": "Issues_Utils", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "encodeParamsToggle": true, - "body": "(label) => {\n\t\treturn fetch_label_config.data.runners[0].issue.labels[label] !== undefined\n\t}", - "jsArguments": [ - { - "name": "label" - } - ], - "isAsync": false - }, - "executeOnLoad": false, - "dynamicBindingPathList": [ - { - "key": "body" - } - ], - "isValid": true, - "invalids": [ - - ], - "messages": [ - - ], - "jsonPathKeys": [ - "(label) => {\n\t\treturn fetch_label_config.data.runners[0].issue.labels[label] !== undefined\n\t}" - ], - "confirmBeforeExecute": false, - "userPermissions": [ - - ], - "validName": "Utils.checkIsPod" - }, - "publishedAction": { - "name": "checkIsPod", - "fullyQualifiedName": "Utils.checkIsPod", - "datasource": { - "userPermissions": [ - - ], - "name": "UNUSED_DATASOURCE", - "pluginId": "js-plugin", - "messages": [ - - ], - "isValid": true, - "new": true - }, - "pageId": "Issues", - "collectionId": "Issues_Utils", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "encodeParamsToggle": true, - "body": "(label) => {\n\t\treturn fetch_label_config.data.runners[0].issue.labels[label] !== undefined\n\t}", - "jsArguments": [ - { - "name": "label" - } - ], - "isAsync": false - }, - "executeOnLoad": false, - "dynamicBindingPathList": [ - { - "key": "body" - } - ], - "isValid": true, - "invalids": [ - - ], - "messages": [ - - ], - "jsonPathKeys": [ - "(label) => {\n\t\treturn fetch_label_config.data.runners[0].issue.labels[label] !== undefined\n\t}" - ], - "confirmBeforeExecute": false, - "userPermissions": [ - - ], - "validName": "Utils.checkIsPod" - }, - "new": false - }, - { - "id": "Issues_Utils.getLabelsForPod", - "userPermissions": [ - "read:actions", - "execute:actions", - "manage:actions" - ], - "gitSyncId": "623762992e5d3f189d0c3c23_623766812e5d3f189d0c3c3d", - "pluginType": "JS", - "pluginId": "js-plugin", - "unpublishedAction": { - "name": "getLabelsForPod", - "fullyQualifiedName": "Utils.getLabelsForPod", - "datasource": { - "userPermissions": [ - - ], - "name": "UNUSED_DATASOURCE", - "pluginId": "js-plugin", - "messages": [ - - ], - "isValid": true, - "new": true - }, - "pageId": "Issues", - "collectionId": "Issues_Utils", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "encodeParamsToggle": true, - "body": "(pod) => {\n\t\treturn fetch_label_config.data.runners[0]\n\t\t\t.issue.labels[pod].conditions.map((label) => \n\t\t\t\t\tfetch_label_config.data.labels[label.label])\n\t\t\t.filter((label) => label !== undefined)\n\t}", - "jsArguments": [ - { - "name": "pod" - } - ], - "isAsync": false - }, - "executeOnLoad": false, - "dynamicBindingPathList": [ - { - "key": "body" - } - ], - "isValid": true, - "invalids": [ - - ], - "messages": [ - - ], - "jsonPathKeys": [ - "(pod) => {\n\t\treturn fetch_label_config.data.runners[0]\n\t\t\t.issue.labels[pod].conditions.map((label) => \n\t\t\t\t\tfetch_label_config.data.labels[label.label])\n\t\t\t.filter((label) => label !== undefined)\n\t}" - ], - "confirmBeforeExecute": false, - "userPermissions": [ - - ], - "validName": "Utils.getLabelsForPod" - }, - "publishedAction": { - "name": "getLabelsForPod", - "fullyQualifiedName": "Utils.getLabelsForPod", - "datasource": { - "userPermissions": [ - - ], - "name": "UNUSED_DATASOURCE", - "pluginId": "js-plugin", - "messages": [ - - ], - "isValid": true, - "new": true - }, - "pageId": "Issues", - "collectionId": "Issues_Utils", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "encodeParamsToggle": true, - "body": "(pod) => {\n\t\treturn fetch_label_config.data.runners[0]\n\t\t\t.issue.labels[pod].conditions.map((label) => \n\t\t\t\t\tfetch_label_config.data.labels[label.label])\n\t\t\t.filter((label) => label !== undefined)\n\t}", - "jsArguments": [ - { - "name": "pod" - } - ], - "isAsync": false - }, - "executeOnLoad": false, - "dynamicBindingPathList": [ - { - "key": "body" - } - ], - "isValid": true, - "invalids": [ - - ], - "messages": [ - - ], - "jsonPathKeys": [ - "(pod) => {\n\t\treturn fetch_label_config.data.runners[0]\n\t\t\t.issue.labels[pod].conditions.map((label) => \n\t\t\t\t\tfetch_label_config.data.labels[label.label])\n\t\t\t.filter((label) => label !== undefined)\n\t}" - ], - "confirmBeforeExecute": false, - "userPermissions": [ - - ], - "validName": "Utils.getLabelsForPod" - }, - "new": false - }, - { - "id": "Issues_Utils.getPodForLabel", - "userPermissions": [ - "read:actions", - "execute:actions", - "manage:actions" - ], - "gitSyncId": "623762992e5d3f189d0c3c23_623766592e5d3f189d0c3c3b", - "pluginType": "JS", - "pluginId": "js-plugin", - "unpublishedAction": { - "name": "getPodForLabel", - "fullyQualifiedName": "Utils.getPodForLabel", - "datasource": { - "userPermissions": [ - - ], - "name": "UNUSED_DATASOURCE", - "pluginId": "js-plugin", - "messages": [ - - ], - "isValid": true, - "new": true - }, - "pageId": "Issues", - "collectionId": "Issues_Utils", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "encodeParamsToggle": true, - "body": "(label = \"New JS Function\") => {\n\t\tconst labels = fetch_label_config.data.runners[0].issue.labels;\n\t\tconst pods = Utils.getPodLabels().map((pod) => pod.label);\n\t\tlet foundPod;\n\t\tpods.map((podLabel) => {\n\t\t\tconst foundLabel = labels[podLabel].conditions.find((condition) => {\n\t\t\t\treturn condition.label === label && podLabel !== label\n\t\t\t})\n\t\t\tif (foundLabel) {\n\t\t\t\tfoundPod = podLabel\n\t\t\t}\n\t\t});\n\t\treturn foundPod;\n\t}", - "jsArguments": [ - { - "name": "label" - }, - { - "name": "", - "value": "" - }, - { - "name": "\"New" - }, - { - "name": "JS" - }, - { - "name": "Function\"" - } - ], - "isAsync": false - }, - "executeOnLoad": false, - "dynamicBindingPathList": [ - { - "key": "body" - } - ], - "isValid": true, - "invalids": [ - - ], - "messages": [ - - ], - "jsonPathKeys": [ - "(label = \"New JS Function\") => {\n\t\tconst labels = fetch_label_config.data.runners[0].issue.labels;\n\t\tconst pods = Utils.getPodLabels().map((pod) => pod.label);\n\t\tlet foundPod;\n\t\tpods.map((podLabel) => {\n\t\t\tconst foundLabel = labels[podLabel].conditions.find((condition) => {\n\t\t\t\treturn condition.label === label && podLabel !== label\n\t\t\t})\n\t\t\tif (foundLabel) {\n\t\t\t\tfoundPod = podLabel\n\t\t\t}\n\t\t});\n\t\treturn foundPod;\n\t}" - ], - "confirmBeforeExecute": false, - "userPermissions": [ - - ], - "validName": "Utils.getPodForLabel" - }, - "publishedAction": { - "name": "getPodForLabel", - "fullyQualifiedName": "Utils.getPodForLabel", - "datasource": { - "userPermissions": [ - - ], - "name": "UNUSED_DATASOURCE", - "pluginId": "js-plugin", - "messages": [ - - ], - "isValid": true, - "new": true - }, - "pageId": "Issues", - "collectionId": "Issues_Utils", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "encodeParamsToggle": true, - "body": "(label = \"New JS Function\") => {\n\t\tconst labels = fetch_label_config.data.runners[0].issue.labels;\n\t\tconst pods = Utils.getPodLabels().map((pod) => pod.label);\n\t\tlet foundPod;\n\t\tpods.map((podLabel) => {\n\t\t\tconst foundLabel = labels[podLabel].conditions.find((condition) => {\n\t\t\t\treturn condition.label === label && podLabel !== label\n\t\t\t})\n\t\t\tif (foundLabel) {\n\t\t\t\tfoundPod = podLabel\n\t\t\t}\n\t\t});\n\t\treturn foundPod;\n\t}", - "jsArguments": [ - { - "name": "label" - }, - { - "name": "", - "value": "" - }, - { - "name": "\"New" - }, - { - "name": "JS" - }, - { - "name": "Function\"" - } - ], - "isAsync": false - }, - "executeOnLoad": false, - "dynamicBindingPathList": [ - { - "key": "body" - } - ], - "isValid": true, - "invalids": [ - - ], - "messages": [ - - ], - "jsonPathKeys": [ - "(label = \"New JS Function\") => {\n\t\tconst labels = fetch_label_config.data.runners[0].issue.labels;\n\t\tconst pods = Utils.getPodLabels().map((pod) => pod.label);\n\t\tlet foundPod;\n\t\tpods.map((podLabel) => {\n\t\t\tconst foundLabel = labels[podLabel].conditions.find((condition) => {\n\t\t\t\treturn condition.label === label && podLabel !== label\n\t\t\t})\n\t\t\tif (foundLabel) {\n\t\t\t\tfoundPod = podLabel\n\t\t\t}\n\t\t});\n\t\treturn foundPod;\n\t}" - ], - "confirmBeforeExecute": false, - "userPermissions": [ - - ], - "validName": "Utils.getPodForLabel" - }, - "new": false - }, - { - "id": "Issues_Utils.csvToArr", - "userPermissions": [ - "read:actions", - "execute:actions", - "manage:actions" - ], - "gitSyncId": "623762992e5d3f189d0c3c23_623766812e5d3f189d0c3c3e", - "pluginType": "JS", - "pluginId": "js-plugin", - "unpublishedAction": { - "name": "csvToArr", - "fullyQualifiedName": "Utils.csvToArr", - "datasource": { - "userPermissions": [ - - ], - "name": "UNUSED_DATASOURCE", - "pluginId": "js-plugin", - "messages": [ - - ], - "isValid": true, - "new": true - }, - "pageId": "Issues", - "collectionId": "Issues_Utils", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "encodeParamsToggle": true, - "body": "() => {\n\t\t//const csvRows = FilePicker1.files[1].data.split(\"\\n\");\n\t\t//const objArr = [];\n\t\t//const headers = csvRows[0].split(',');\n\t\t\t//for(let i = 1; i < csvRows.length; i++) {\n\t\t\t\t//const rowObj = {};\n\t\t\t\t//objArr.push(rowObj);\n\t\t\t\t//const rowArr = csvRows[i].split(',');\n\t\t\t\t//rowArr.forEach((val, index) => {\n\t\t\t\t//rowObj[headers[index]] = val;\n\t\t\t\t//});\n\t\t\t//}\n\t\t//return objArr;\n\t}", - "jsArguments": [ - - ], - "isAsync": false - }, - "executeOnLoad": false, - "dynamicBindingPathList": [ - { - "key": "body" - } - ], - "isValid": true, - "invalids": [ - - ], - "messages": [ - - ], - "jsonPathKeys": [ - "() => {\n\t\t//const csvRows = FilePicker1.files[1].data.split(\"\\n\");\n\t\t//const objArr = [];\n\t\t//const headers = csvRows[0].split(',');\n\t\t\t//for(let i = 1; i < csvRows.length; i++) {\n\t\t\t\t//const rowObj = {};\n\t\t\t\t//objArr.push(rowObj);\n\t\t\t\t//const rowArr = csvRows[i].split(',');\n\t\t\t\t//rowArr.forEach((val, index) => {\n\t\t\t\t//rowObj[headers[index]] = val;\n\t\t\t\t//});\n\t\t\t//}\n\t\t//return objArr;\n\t}" - ], - "confirmBeforeExecute": false, - "userPermissions": [ - - ], - "validName": "Utils.csvToArr" - }, - "publishedAction": { - "name": "csvToArr", - "fullyQualifiedName": "Utils.csvToArr", - "datasource": { - "userPermissions": [ - - ], - "name": "UNUSED_DATASOURCE", - "pluginId": "js-plugin", - "messages": [ - - ], - "isValid": true, - "new": true - }, - "pageId": "Issues", - "collectionId": "Issues_Utils", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "encodeParamsToggle": true, - "body": "() => {\n\t\t//const csvRows = FilePicker1.files[1].data.split(\"\\n\");\n\t\t//const objArr = [];\n\t\t//const headers = csvRows[0].split(',');\n\t\t\t//for(let i = 1; i < csvRows.length; i++) {\n\t\t\t\t//const rowObj = {};\n\t\t\t\t//objArr.push(rowObj);\n\t\t\t\t//const rowArr = csvRows[i].split(',');\n\t\t\t\t//rowArr.forEach((val, index) => {\n\t\t\t\t//rowObj[headers[index]] = val;\n\t\t\t\t//});\n\t\t\t//}\n\t\t//return objArr;\n\t}", - "jsArguments": [ - - ], - "isAsync": false - }, - "executeOnLoad": false, - "dynamicBindingPathList": [ - { - "key": "body" - } - ], - "isValid": true, - "invalids": [ - - ], - "messages": [ - - ], - "jsonPathKeys": [ - "() => {\n\t\t//const csvRows = FilePicker1.files[1].data.split(\"\\n\");\n\t\t//const objArr = [];\n\t\t//const headers = csvRows[0].split(',');\n\t\t\t//for(let i = 1; i < csvRows.length; i++) {\n\t\t\t\t//const rowObj = {};\n\t\t\t\t//objArr.push(rowObj);\n\t\t\t\t//const rowArr = csvRows[i].split(',');\n\t\t\t\t//rowArr.forEach((val, index) => {\n\t\t\t\t//rowObj[headers[index]] = val;\n\t\t\t\t//});\n\t\t\t//}\n\t\t//return objArr;\n\t}" - ], - "confirmBeforeExecute": false, - "userPermissions": [ - - ], - "validName": "Utils.csvToArr" - }, - "new": false - }, - { - "id": "Issues_IssueManager.create_issue", - "userPermissions": [ - "read:actions", - "execute:actions", - "manage:actions" - ], - "gitSyncId": "623762992e5d3f189d0c3c23_62382c40cb09660cd0f703bf", - "pluginType": "JS", - "pluginId": "js-plugin", - "unpublishedAction": { - "name": "create_issue", - "fullyQualifiedName": "IssueManager.create_issue", - "datasource": { - "userPermissions": [ - - ], - "name": "UNUSED_DATASOURCE", - "pluginId": "js-plugin", - "messages": [ - - ], - "isValid": true, - "new": true - }, - "pageId": "Issues", - "collectionId": "Issues_IssueManager", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "encodeParamsToggle": true, - "body": "() => {\n\t\tconst labels = IssueManager.getAssignedLabels(label_select.selectedOptionValues);\n\t\tadd_new_issue.run(() => {\n\t\t\t\tfetch_issues.run(() => {\n\t\t\t\t\tresetWidget('add_issue_modal', true);\n\t\t\t\t\tcloseModal('add_issue_modal');\n\t\t\t\t});\n\t\t}, undefined, { labels: labels })\n\t}", - "jsArguments": [ - - ], - "isAsync": false - }, - "executeOnLoad": false, - "dynamicBindingPathList": [ - { - "key": "body" - } - ], - "isValid": true, - "invalids": [ - - ], - "messages": [ - - ], - "jsonPathKeys": [ - "() => {\n\t\tconst labels = IssueManager.getAssignedLabels(label_select.selectedOptionValues);\n\t\tadd_new_issue.run(() => {\n\t\t\t\tfetch_issues.run(() => {\n\t\t\t\t\tresetWidget('add_issue_modal', true);\n\t\t\t\t\tcloseModal('add_issue_modal');\n\t\t\t\t});\n\t\t}, undefined, { labels: labels })\n\t}" - ], - "confirmBeforeExecute": false, - "userPermissions": [ - - ], - "validName": "IssueManager.create_issue" - }, - "publishedAction": { - "name": "create_issue", - "fullyQualifiedName": "IssueManager.create_issue", - "datasource": { - "userPermissions": [ - - ], - "name": "UNUSED_DATASOURCE", - "pluginId": "js-plugin", - "messages": [ - - ], - "isValid": true, - "new": true - }, - "pageId": "Issues", - "collectionId": "Issues_IssueManager", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "encodeParamsToggle": true, - "body": "() => {\n\t\tconst labels = IssueManager.getAssignedLabels(label_select.selectedOptionValues);\n\t\tadd_new_issue.run(() => {\n\t\t\t\tfetch_issues.run(() => {\n\t\t\t\t\tresetWidget('add_issue_modal', true);\n\t\t\t\t\tcloseModal('add_issue_modal');\n\t\t\t\t});\n\t\t}, undefined, { labels: labels })\n\t}", - "jsArguments": [ - - ], - "isAsync": false - }, - "executeOnLoad": false, - "dynamicBindingPathList": [ - { - "key": "body" - } - ], - "isValid": true, - "invalids": [ - - ], - "messages": [ - - ], - "jsonPathKeys": [ - "() => {\n\t\tconst labels = IssueManager.getAssignedLabels(label_select.selectedOptionValues);\n\t\tadd_new_issue.run(() => {\n\t\t\t\tfetch_issues.run(() => {\n\t\t\t\t\tresetWidget('add_issue_modal', true);\n\t\t\t\t\tcloseModal('add_issue_modal');\n\t\t\t\t});\n\t\t}, undefined, { labels: labels })\n\t}" - ], - "confirmBeforeExecute": false, - "userPermissions": [ - - ], - "validName": "IssueManager.create_issue" - }, - "new": false - }, - { - "id": "Issues_add_new_comment", - "userPermissions": [ - "read:actions", - "execute:actions", - "manage:actions" - ], - "gitSyncId": "623762992e5d3f189d0c3c23_62382bb0cb09660cd0f703b7", - "pluginType": "DB", - "pluginId": "postgres-plugin", - "unpublishedAction": { - "name": "add_new_comment", - "datasource": { - "id": "AForceDB", - "userPermissions": [ - - ], - "pluginId": "postgres-plugin", - "messages": [ - - ], - "isValid": true, - "new": false - }, - "pageId": "Issues", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "encodeParamsToggle": true, - "body": "INSERT INTO issue_upvote\n (link, comment, author, created_at, issue_id, id)\nVALUES\n (\n '{{ comment_link_input.text }}',\n '{{ comment_input.text }}',\n\t\t'{{ appsmith.user.email }}',\n\t\tnow(),\n\t\t{{Table1.selectedRow.id}},\n\t\t(SELECT max(id) + 1\nFROM public.\"issue_upvote\")\n );", - "pluginSpecifiedTemplates": [ - { - "value": false - } - ] - }, - "executeOnLoad": false, - "dynamicBindingPathList": [ - { - "key": "body" - } - ], - "isValid": true, - "invalids": [ - - ], - "messages": [ - - ], - "jsonPathKeys": [ - "Table1.selectedRow.id", - "comment_input.text", - "appsmith.user.email", - "comment_link_input.text" - ], - "confirmBeforeExecute": false, - "userPermissions": [ - - ], - "validName": "add_new_comment" - }, - "publishedAction": { - "name": "add_new_comment", - "datasource": { - "id": "AForceDB", - "userPermissions": [ - - ], - "pluginId": "postgres-plugin", - "messages": [ - - ], - "isValid": true, - "new": false - }, - "pageId": "Issues", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "encodeParamsToggle": true, - "body": "INSERT INTO issue_upvote\n (link, comment, author, created_at, issue_id, id)\nVALUES\n (\n '{{ comment_link_input.text }}',\n '{{ comment_input.text }}',\n\t\t'{{ appsmith.user.email }}',\n\t\tnow(),\n\t\t{{Table1.selectedRow.id}},\n\t\t(SELECT max(id) + 1\nFROM public.\"issue_upvote\")\n );", - "pluginSpecifiedTemplates": [ - { - "value": false - } - ] - }, - "executeOnLoad": false, - "dynamicBindingPathList": [ - { - "key": "body" - } - ], - "isValid": true, - "invalids": [ - - ], - "messages": [ - - ], - "jsonPathKeys": [ - "Table1.selectedRow.id", - "comment_input.text", - "appsmith.user.email", - "comment_link_input.text" - ], - "confirmBeforeExecute": false, - "userPermissions": [ - - ], - "validName": "add_new_comment" - }, - "new": false - }, - { - "id": "Issues_IssueManager.getAssignedLabels", - "userPermissions": [ - "read:actions", - "execute:actions", - "manage:actions" - ], - "gitSyncId": "623762992e5d3f189d0c3c23_62382c40cb09660cd0f703c3", - "pluginType": "JS", - "pluginId": "js-plugin", - "unpublishedAction": { - "name": "getAssignedLabels", - "fullyQualifiedName": "IssueManager.getAssignedLabels", - "datasource": { - "userPermissions": [ - - ], - "name": "UNUSED_DATASOURCE", - "pluginId": "js-plugin", - "messages": [ - - ], - "isValid": true, - "new": true - }, - "pageId": "Issues", - "collectionId": "Issues_IssueManager", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "encodeParamsToggle": true, - "body": "(allLabels = label_select.selectedOptionValues) => {\n\t\tconst labels = allLabels.filter((label) => {\n\t\t\treturn Utils.checkIsPod(label) !== true;\n\t\t}); \n\t\tconst podMap = {};\n\t\tlabels.map((label) => {\n\t\t\tconst pod = Utils.getPodForLabel(label);\n\t\t\tif (pod)\n\t\t\t\tpodMap[pod] = true;\n\t\t});\n\t\treturn [...Object.keys(podMap), ...labels];\n\t}", - "jsArguments": [ - { - "name": "allLabels" - }, - { - "name": "", - "value": "" - }, - { - "name": "label_select.selectedOptionValues" - } - ], - "isAsync": false - }, - "executeOnLoad": false, - "dynamicBindingPathList": [ - { - "key": "body" - } - ], - "isValid": true, - "invalids": [ - - ], - "messages": [ - - ], - "jsonPathKeys": [ - "(allLabels = label_select.selectedOptionValues) => {\n\t\tconst labels = allLabels.filter((label) => {\n\t\t\treturn Utils.checkIsPod(label) !== true;\n\t\t}); \n\t\tconst podMap = {};\n\t\tlabels.map((label) => {\n\t\t\tconst pod = Utils.getPodForLabel(label);\n\t\t\tif (pod)\n\t\t\t\tpodMap[pod] = true;\n\t\t});\n\t\treturn [...Object.keys(podMap), ...labels];\n\t}" - ], - "confirmBeforeExecute": false, - "userPermissions": [ - - ], - "validName": "IssueManager.getAssignedLabels" - }, - "publishedAction": { - "name": "getAssignedLabels", - "fullyQualifiedName": "IssueManager.getAssignedLabels", - "datasource": { - "userPermissions": [ - - ], - "name": "UNUSED_DATASOURCE", - "pluginId": "js-plugin", - "messages": [ - - ], - "isValid": true, - "new": true - }, - "pageId": "Issues", - "collectionId": "Issues_IssueManager", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "encodeParamsToggle": true, - "body": "(allLabels = label_select.selectedOptionValues) => {\n\t\tconst labels = allLabels.filter((label) => {\n\t\t\treturn Utils.checkIsPod(label) !== true;\n\t\t}); \n\t\tconst podMap = {};\n\t\tlabels.map((label) => {\n\t\t\tconst pod = Utils.getPodForLabel(label);\n\t\t\tif (pod)\n\t\t\t\tpodMap[pod] = true;\n\t\t});\n\t\treturn [...Object.keys(podMap), ...labels];\n\t}", - "jsArguments": [ - { - "name": "allLabels" - }, - { - "name": "", - "value": "" - }, - { - "name": "label_select.selectedOptionValues" - } - ], - "isAsync": false - }, - "executeOnLoad": false, - "dynamicBindingPathList": [ - { - "key": "body" - } - ], - "isValid": true, - "invalids": [ - - ], - "messages": [ - - ], - "jsonPathKeys": [ - "(allLabels = label_select.selectedOptionValues) => {\n\t\tconst labels = allLabels.filter((label) => {\n\t\t\treturn Utils.checkIsPod(label) !== true;\n\t\t}); \n\t\tconst podMap = {};\n\t\tlabels.map((label) => {\n\t\t\tconst pod = Utils.getPodForLabel(label);\n\t\t\tif (pod)\n\t\t\t\tpodMap[pod] = true;\n\t\t});\n\t\treturn [...Object.keys(podMap), ...labels];\n\t}" - ], - "confirmBeforeExecute": false, - "userPermissions": [ - - ], - "validName": "IssueManager.getAssignedLabels" - }, - "new": false - }, - { - "id": "Issues_IssueManager.getIssueData", - "userPermissions": [ - "read:actions", - "execute:actions", - "manage:actions" - ], - "gitSyncId": "623762992e5d3f189d0c3c23_62382c40cb09660cd0f703c2", - "pluginType": "JS", - "pluginId": "js-plugin", - "unpublishedAction": { - "name": "getIssueData", - "fullyQualifiedName": "IssueManager.getIssueData", - "datasource": { - "userPermissions": [ - - ], - "name": "UNUSED_DATASOURCE", - "pluginId": "js-plugin", - "messages": [ - - ], - "isValid": true, - "new": true - }, - "pageId": "Issues", - "collectionId": "Issues_IssueManager", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "encodeParamsToggle": true, - "body": "() => {\n\t\treturn fetch_issues.data.map((issue) => {\n\t\t\tif (issue.upvote_id > 0)\n\t\t\t\tissue.count = issue.count + 1;\n\t\t\treturn { type: issue.type, title: issue.title, total_reactions: issue.total_reactions, unique_commentors: issue.unique_commentors, upvote_id: issue.upvote_id ,...issue};\n\t\t});\n\t}", - "jsArguments": [ - - ], - "isAsync": false - }, - "executeOnLoad": false, - "dynamicBindingPathList": [ - { - "key": "body" - } - ], - "isValid": true, - "invalids": [ - - ], - "messages": [ - - ], - "jsonPathKeys": [ - "() => {\n\t\treturn fetch_issues.data.map((issue) => {\n\t\t\tif (issue.upvote_id > 0)\n\t\t\t\tissue.count = issue.count + 1;\n\t\t\treturn { type: issue.type, title: issue.title, total_reactions: issue.total_reactions, unique_commentors: issue.unique_commentors, upvote_id: issue.upvote_id ,...issue};\n\t\t});\n\t}" - ], - "confirmBeforeExecute": false, - "userPermissions": [ - - ], - "validName": "IssueManager.getIssueData" - }, - "publishedAction": { - "name": "getIssueData", - "fullyQualifiedName": "IssueManager.getIssueData", - "datasource": { - "userPermissions": [ - - ], - "name": "UNUSED_DATASOURCE", - "pluginId": "js-plugin", - "messages": [ - - ], - "isValid": true, - "new": true - }, - "pageId": "Issues", - "collectionId": "Issues_IssueManager", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "encodeParamsToggle": true, - "body": "() => {\n\t\treturn fetch_issues.data.map((issue) => {\n\t\t\tif (issue.upvote_id > 0)\n\t\t\t\tissue.count = issue.count + 1;\n\t\t\treturn { type: issue.type, title: issue.title, total_reactions: issue.total_reactions, unique_commentors: issue.unique_commentors, upvote_id: issue.upvote_id ,...issue};\n\t\t});\n\t}", - "jsArguments": [ - - ], - "isAsync": false - }, - "executeOnLoad": false, - "dynamicBindingPathList": [ - { - "key": "body" - } - ], - "isValid": true, - "invalids": [ - - ], - "messages": [ - - ], - "jsonPathKeys": [ - "() => {\n\t\treturn fetch_issues.data.map((issue) => {\n\t\t\tif (issue.upvote_id > 0)\n\t\t\t\tissue.count = issue.count + 1;\n\t\t\treturn { type: issue.type, title: issue.title, total_reactions: issue.total_reactions, unique_commentors: issue.unique_commentors, upvote_id: issue.upvote_id ,...issue};\n\t\t});\n\t}" - ], - "confirmBeforeExecute": false, - "userPermissions": [ - - ], - "validName": "IssueManager.getIssueData" - }, - "new": false - }, - { - "id": "Issues_IssueManager.fetchIssues", - "userPermissions": [ - "read:actions", - "execute:actions", - "manage:actions" - ], - "gitSyncId": "623762992e5d3f189d0c3c23_62382c40cb09660cd0f703cf", - "pluginType": "JS", - "pluginId": "js-plugin", - "unpublishedAction": { - "name": "fetchIssues", - "fullyQualifiedName": "IssueManager.fetchIssues", - "datasource": { - "userPermissions": [ - - ], - "name": "UNUSED_DATASOURCE", - "pluginId": "js-plugin", - "messages": [ - - ], - "isValid": true, - "new": true - }, - "pageId": "Issues", - "collectionId": "Issues_IssueManager", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "encodeParamsToggle": true, - "body": "() => {\n\t\tfetch_issues.run();\n\t}", - "jsArguments": [ - - ], - "isAsync": true - }, - "executeOnLoad": false, - "dynamicBindingPathList": [ - { - "key": "body" - } - ], - "isValid": true, - "invalids": [ - - ], - "messages": [ - - ], - "jsonPathKeys": [ - "() => {\n\t\tfetch_issues.run();\n\t}" - ], - "confirmBeforeExecute": false, - "userPermissions": [ - - ], - "validName": "IssueManager.fetchIssues" - }, - "publishedAction": { - "name": "fetchIssues", - "fullyQualifiedName": "IssueManager.fetchIssues", - "datasource": { - "userPermissions": [ - - ], - "name": "UNUSED_DATASOURCE", - "pluginId": "js-plugin", - "messages": [ - - ], - "isValid": true, - "new": true - }, - "pageId": "Issues", - "collectionId": "Issues_IssueManager", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "encodeParamsToggle": true, - "body": "() => {\n\t\tfetch_issues.run();\n\t}", - "jsArguments": [ - - ], - "isAsync": true - }, - "executeOnLoad": false, - "dynamicBindingPathList": [ - { - "key": "body" - } - ], - "isValid": true, - "invalids": [ - - ], - "messages": [ - - ], - "jsonPathKeys": [ - "() => {\n\t\tfetch_issues.run();\n\t}" - ], - "confirmBeforeExecute": false, - "userPermissions": [ - - ], - "validName": "IssueManager.fetchIssues" - }, - "new": false - }, - { - "id": "Issues_add_new_issue", - "userPermissions": [ - "read:actions", - "execute:actions", - "manage:actions" - ], - "gitSyncId": "623762992e5d3f189d0c3c23_62382cf9cb09660cd0f703db", - "pluginType": "DB", - "pluginId": "postgres-plugin", - "unpublishedAction": { - "name": "add_new_issue", - "datasource": { - "id": "AForceDB", - "userPermissions": [ - - ], - "pluginId": "postgres-plugin", - "messages": [ - - ], - "isValid": true, - "new": false - }, - "pageId": "Issues", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "encodeParamsToggle": true, - "body": "INSERT INTO global_issues\n (title, description, github_issue_id, author, created_at, labels, type, answer, link, states, state, id)\nVALUES\n (\n '{{ title_input.text }}',\n '{{ description_input.text }}',\n {{ add_issue_select.selectedOptionValue }},\n\t\t'{{ appsmith.user.email }}',\n\t\tnow(),\n\t\t'{{ \"{\" + (this.params.labels ?? []).join(\",\") + \"}\" }}',\n\t\t'{{ type_select.selectedOptionValue }}',\n\t\t'{{answer_input.text}}',\n\t\t'{{link_input.text}}',\n\t\t'{{\"{\" + states_select.selectedOptionValues.join(\",\") + \"}\"}}',\n\t\t'Opened',\n\t\t(SELECT max(id) + 1 FROM public.\"global_issues\")\n );", - "pluginSpecifiedTemplates": [ - { - "value": false - } - ] - }, - "executeOnLoad": false, - "dynamicBindingPathList": [ - { - "key": "body" - } - ], - "isValid": true, - "invalids": [ - - ], - "messages": [ - - ], - "jsonPathKeys": [ - "answer_input.text", - "description_input.text", - "add_issue_select.selectedOptionValue", - "appsmith.user.email", - "\"{\" + (this.params.labels ?? []).join(\",\") + \"}\"", - "\"{\" + states_select.selectedOptionValues.join(\",\") + \"}\"", - "type_select.selectedOptionValue", - "title_input.text", - "link_input.text" - ], - "confirmBeforeExecute": false, - "userPermissions": [ - - ], - "validName": "add_new_issue" - }, - "publishedAction": { - "name": "add_new_issue", - "datasource": { - "id": "AForceDB", - "userPermissions": [ - - ], - "pluginId": "postgres-plugin", - "messages": [ - - ], - "isValid": true, - "new": false - }, - "pageId": "Issues", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "encodeParamsToggle": true, - "body": "INSERT INTO global_issues\n (title, description, github_issue_id, author, created_at, labels, type, answer, link, states, state, id)\nVALUES\n (\n '{{ title_input.text }}',\n '{{ description_input.text }}',\n {{ add_issue_select.selectedOptionValue }},\n\t\t'{{ appsmith.user.email }}',\n\t\tnow(),\n\t\t'{{ \"{\" + (this.params.labels ?? []).join(\",\") + \"}\" }}',\n\t\t'{{ type_select.selectedOptionValue }}',\n\t\t'{{answer_input.text}}',\n\t\t'{{link_input.text}}',\n\t\t'{{\"{\" + states_select.selectedOptionValues.join(\",\") + \"}\"}}',\n\t\t'Opened',\n\t\t(SELECT max(id) + 1 FROM public.\"global_issues\")\n );", - "pluginSpecifiedTemplates": [ - { - "value": false - } - ] - }, - "executeOnLoad": false, - "dynamicBindingPathList": [ - { - "key": "body" - } - ], - "isValid": true, - "invalids": [ - - ], - "messages": [ - - ], - "jsonPathKeys": [ - "answer_input.text", - "description_input.text", - "add_issue_select.selectedOptionValue", - "appsmith.user.email", - "\"{\" + (this.params.labels ?? []).join(\",\") + \"}\"", - "\"{\" + states_select.selectedOptionValues.join(\",\") + \"}\"", - "type_select.selectedOptionValue", - "title_input.text", - "link_input.text" - ], - "confirmBeforeExecute": false, - "userPermissions": [ - - ], - "validName": "add_new_issue" - }, - "new": false - }, - { - "id": "Issues_fetch_comments", - "userPermissions": [ - "read:actions", - "execute:actions", - "manage:actions" - ], - "gitSyncId": "623762992e5d3f189d0c3c23_623850eacb09660cd0f703ff", - "pluginType": "DB", - "pluginId": "postgres-plugin", - "unpublishedAction": { - "name": "fetch_comments", - "datasource": { - "id": "AForceDB", - "userPermissions": [ - - ], - "pluginId": "postgres-plugin", - "messages": [ - - ], - "isValid": true, - "new": false - }, - "pageId": "Issues", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "encodeParamsToggle": true, - "body": "select * from issue_upvote where issue_id = {{Table1.selectedRow.id}}" - }, - "executeOnLoad": true, - "dynamicBindingPathList": [ - { - "key": "body" - } - ], - "isValid": true, - "invalids": [ - - ], - "messages": [ - - ], - "jsonPathKeys": [ - "Table1.selectedRow.id" - ], - "confirmBeforeExecute": false, - "userPermissions": [ - - ], - "validName": "fetch_comments" - }, - "publishedAction": { - "name": "fetch_comments", - "datasource": { - "id": "AForceDB", - "userPermissions": [ - - ], - "pluginId": "postgres-plugin", - "messages": [ - - ], - "isValid": true, - "new": false - }, - "pageId": "Issues", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "encodeParamsToggle": true, - "body": "select * from issue_upvote where issue_id = {{Table1.selectedRow.id}}" - }, - "executeOnLoad": true, - "dynamicBindingPathList": [ - { - "key": "body" - } - ], - "isValid": true, - "invalids": [ - - ], - "messages": [ - - ], - "jsonPathKeys": [ - "Table1.selectedRow.id" - ], - "confirmBeforeExecute": false, - "userPermissions": [ - - ], - "validName": "fetch_comments" - }, - "new": false - }, - { - "id": "Issues_fetch_issues", - "userPermissions": [ - "read:actions", - "execute:actions", - "manage:actions" - ], - "gitSyncId": "623762992e5d3f189d0c3c23_62383bb7cb09660cd0f703e5", - "pluginType": "DB", - "pluginId": "postgres-plugin", - "unpublishedAction": { - "name": "fetch_issues", - "datasource": { - "id": "AForceDB", - "userPermissions": [ - - ], - "pluginId": "postgres-plugin", - "messages": [ - - ], - "isValid": true, - "new": false - }, - "pageId": "Issues", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "encodeParamsToggle": true, - "body": "select global_issues.*, count(global_issues.id), count(issue_upvote.id) as upvote_id, COALESCE (github_issues.total_reactions, 0) as total_reactions, COALESCE(github_issues.unique_commentors,0) as unique_commentors, GREATEST(MAX(issue_upvote.created_at), MAX(global_issues.created_at)) as updated_at from global_issues left join github_issues on github_issues.id = global_issues.github_issue_id left join issue_upvote on global_issues.id = issue_upvote.issue_id where global_issues.title ilike '{{ \"%\" + Table1.searchText + \"%\" }}' {{appsmith.URL.queryParams.id ? \" and global_issues.id=\" + appsmith.URL.queryParams.id: \"\"}} and global_issues.state != 'DELETED' {{ type_filter.selectedOptionValue && type_filter.selectedOptionValue !== \"ALL\" ? \"and global_issues.type ='\" + type_filter.selectedOptionValue + \"'\" : \"\" }} {{ pod_filter.selectedOptionValue && pod_filter.selectedOptionValue !== \"ALL\" ? \"and '\" + pod_filter.selectedOptionValue + \"'=ANY(global_issues.labels)\" : \"\" }} \n{{ status_filter.selectedOptionValue && status_filter.selectedOptionValue !== \"ALL\" ? \"and '\" + status_filter.selectedOptionValue + \"' =ANY(global_issues.states)\" : \"\" }} group by global_issues.id, github_issues.id, global_issues.github_issue_id, global_issues.author, global_issues.created_at, global_issues.title, global_issues.description, global_issues.labels, global_issues.type, global_issues.state, global_issues.answer, global_issues.link, global_issues.states, github_issues.total_reactions, github_issues.unique_commentors order by {{sort_select.selectedOptionValue === \"GITHUB\" ? \"total_reactions desc, count desc, upvote_id desc\" : sort_select.selectedOptionValue === \"VOTES\" ? \"count desc, upvote_id desc, total_reactions desc\" : sort_select.selectedOptionValue === \"COMMENTORS\" ? \"unique_commentors desc, total_reactions desc, count desc, upvote_id desc\" : \"updated_at desc\" }} offset {{(Table1.pageNo - 1) * Table1.pageSize}} limit {{Table1.pageSize}}", - "pluginSpecifiedTemplates": [ - { - "value": false - } - ] - }, - "executeOnLoad": true, - "dynamicBindingPathList": [ - { - "key": "body" - } - ], - "isValid": true, - "invalids": [ - - ], - "messages": [ - - ], - "jsonPathKeys": [ - "appsmith.URL.queryParams.id ? \" and global_issues.id=\" + appsmith.URL.queryParams.id: \"\"", - "type_filter.selectedOptionValue && type_filter.selectedOptionValue !== \"ALL\" ? \"and global_issues.type ='\" + type_filter.selectedOptionValue + \"'\" : \"\"", - "\"%\" + Table1.searchText + \"%\"", - "(Table1.pageNo - 1) * Table1.pageSize", - "Table1.pageSize", - "status_filter.selectedOptionValue && status_filter.selectedOptionValue !== \"ALL\" ? \"and '\" + status_filter.selectedOptionValue + \"' =ANY(global_issues.states)\" : \"\"", - "pod_filter.selectedOptionValue && pod_filter.selectedOptionValue !== \"ALL\" ? \"and '\" + pod_filter.selectedOptionValue + \"'=ANY(global_issues.labels)\" : \"\"", - "sort_select.selectedOptionValue === \"GITHUB\" ? \"total_reactions desc, count desc, upvote_id desc\" : sort_select.selectedOptionValue === \"VOTES\" ? \"count desc, upvote_id desc, total_reactions desc\" : sort_select.selectedOptionValue === \"COMMENTORS\" ? \"unique_commentors desc, total_reactions desc, count desc, upvote_id desc\" : \"updated_at desc\"" - ], - "confirmBeforeExecute": false, - "userPermissions": [ - - ], - "validName": "fetch_issues" - }, - "publishedAction": { - "name": "fetch_issues", - "datasource": { - "id": "AForceDB", - "userPermissions": [ - - ], - "pluginId": "postgres-plugin", - "messages": [ - - ], - "isValid": true, - "new": false - }, - "pageId": "Issues", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "encodeParamsToggle": true, - "body": "select global_issues.*, count(global_issues.id), count(issue_upvote.id) as upvote_id, COALESCE (github_issues.total_reactions, 0) as total_reactions, COALESCE(github_issues.unique_commentors,0) as unique_commentors, GREATEST(MAX(issue_upvote.created_at), MAX(global_issues.created_at)) as updated_at from global_issues left join github_issues on github_issues.id = global_issues.github_issue_id left join issue_upvote on global_issues.id = issue_upvote.issue_id where global_issues.title ilike '{{ \"%\" + Table1.searchText + \"%\" }}' {{appsmith.URL.queryParams.id ? \" and global_issues.id=\" + appsmith.URL.queryParams.id: \"\"}} and global_issues.state != 'DELETED' {{ type_filter.selectedOptionValue && type_filter.selectedOptionValue !== \"ALL\" ? \"and global_issues.type ='\" + type_filter.selectedOptionValue + \"'\" : \"\" }} {{ pod_filter.selectedOptionValue && pod_filter.selectedOptionValue !== \"ALL\" ? \"and '\" + pod_filter.selectedOptionValue + \"'=ANY(global_issues.labels)\" : \"\" }} \n{{ status_filter.selectedOptionValue && status_filter.selectedOptionValue !== \"ALL\" ? \"and '\" + status_filter.selectedOptionValue + \"' =ANY(global_issues.states)\" : \"\" }} group by global_issues.id, github_issues.id, global_issues.github_issue_id, global_issues.author, global_issues.created_at, global_issues.title, global_issues.description, global_issues.labels, global_issues.type, global_issues.state, global_issues.answer, global_issues.link, global_issues.states, github_issues.total_reactions, github_issues.unique_commentors order by {{sort_select.selectedOptionValue === \"GITHUB\" ? \"total_reactions desc, count desc, upvote_id desc\" : sort_select.selectedOptionValue === \"VOTES\" ? \"count desc, upvote_id desc, total_reactions desc\" : sort_select.selectedOptionValue === \"COMMENTORS\" ? \"unique_commentors desc, total_reactions desc, count desc, upvote_id desc\" : \"updated_at desc\" }} offset {{(Table1.pageNo - 1) * Table1.pageSize}} limit {{Table1.pageSize}}", - "pluginSpecifiedTemplates": [ - { - "value": false - } - ] - }, - "executeOnLoad": true, - "dynamicBindingPathList": [ - { - "key": "body" - } - ], - "isValid": true, - "invalids": [ - - ], - "messages": [ - - ], - "jsonPathKeys": [ - "appsmith.URL.queryParams.id ? \" and global_issues.id=\" + appsmith.URL.queryParams.id: \"\"", - "type_filter.selectedOptionValue && type_filter.selectedOptionValue !== \"ALL\" ? \"and global_issues.type ='\" + type_filter.selectedOptionValue + \"'\" : \"\"", - "\"%\" + Table1.searchText + \"%\"", - "(Table1.pageNo - 1) * Table1.pageSize", - "Table1.pageSize", - "status_filter.selectedOptionValue && status_filter.selectedOptionValue !== \"ALL\" ? \"and '\" + status_filter.selectedOptionValue + \"' =ANY(global_issues.states)\" : \"\"", - "pod_filter.selectedOptionValue && pod_filter.selectedOptionValue !== \"ALL\" ? \"and '\" + pod_filter.selectedOptionValue + \"'=ANY(global_issues.labels)\" : \"\"", - "sort_select.selectedOptionValue === \"GITHUB\" ? \"total_reactions desc, count desc, upvote_id desc\" : sort_select.selectedOptionValue === \"VOTES\" ? \"count desc, upvote_id desc, total_reactions desc\" : sort_select.selectedOptionValue === \"COMMENTORS\" ? \"unique_commentors desc, total_reactions desc, count desc, upvote_id desc\" : \"updated_at desc\"" - ], - "confirmBeforeExecute": false, - "userPermissions": [ - - ], - "validName": "fetch_issues" - }, - "new": false - }, - { - "id": "Issues_fetch_labels", - "userPermissions": [ - "read:actions", - "execute:actions", - "manage:actions" - ], - "gitSyncId": "623762992e5d3f189d0c3c23_62389caf2d7f921bb707cf4b", - "pluginType": "API", - "pluginId": "restapi-plugin", - "unpublishedAction": { - "name": "fetch_labels", - "datasource": { - "userPermissions": [ - - ], - "name": "DEFAULT_REST_DATASOURCE", - "pluginId": "restapi-plugin", - "datasourceConfiguration": { - "url": "http://host.docker.internal:5001/v1/mock-api" - }, - "invalids": [ - - ], - "messages": [ - - ], - "isValid": true, - "new": true - }, - "pageId": "Issues", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "path": "/echo", - "headers": [ - { - "key": "content-type", - "value": "application/json" - } - ], - "encodeParamsToggle": true, - "queryParameters": [ - - ], - "body": "{\n \"total_count\": 16,\n \"incomplete_results\": false,\n \"items\": [\n {\n \"id\": 3393754279,\n \"node_id\": \"LA_kwDOEHNVHc7KSJSn\",\n \"url\": \"https://api.github.com/repos/appsmithorg/appsmith/labels/New%20Widget\",\n \"name\": \"New Widget\",\n \"color\": \"be4cf2\",\n \"default\": false,\n \"description\": \"A request for a new widget\",\n \"score\": 1\n },\n {\n \"id\": 2730904585,\n \"node_id\": \"MDU6TGFiZWwyNzMwOTA0NTg1\",\n \"url\": \"https://api.github.com/repos/appsmithorg/appsmith/labels/Epic\",\n \"name\": \"Epic\",\n \"color\": \"3E4B9E\",\n \"default\": false,\n \"description\": \"A zenhub epic that describes a project\",\n \"score\": 1\n },\n {\n \"id\": 2768358578,\n \"node_id\": \"MDU6TGFiZWwyNzY4MzU4NTc4\",\n \"url\": \"https://api.github.com/repos/appsmithorg/appsmith/labels/Task\",\n \"name\": \"Task\",\n \"color\": \"085630\",\n \"default\": false,\n \"description\": \"A simple Todo\",\n \"score\": 1\n },\n {\n \"id\": 2640225158,\n \"node_id\": \"MDU6TGFiZWwyNjQwMjI1MTU4\",\n \"url\": \"https://api.github.com/repos/appsmithorg/appsmith/labels/Medium%20effort\",\n \"name\": \"Medium effort\",\n \"color\": \"D31156\",\n \"default\": false,\n \"description\": \"Something that'll take more than a week but less than a month to build\",\n \"score\": 1\n },\n {\n \"id\": 2384759598,\n \"node_id\": \"MDU6TGFiZWwyMzg0NzU5NTk4\",\n \"url\": \"https://api.github.com/repos/appsmithorg/appsmith/labels/High\",\n \"name\": \"High\",\n \"color\": \"c94d14\",\n \"default\": false,\n \"description\": \"This issue blocks a user from building or impacts a lot of users\",\n \"score\": 1\n },\n {\n \"id\": 2184776572,\n \"node_id\": \"MDU6TGFiZWwyMTg0Nzc2NTcy\",\n \"url\": \"https://api.github.com/repos/appsmithorg/appsmith/labels/Dependencies\",\n \"name\": \"Dependencies\",\n \"color\": \"0366d6\",\n \"default\": false,\n \"description\": \"Pull requests that update a dependency file\",\n \"score\": 1\n },\n {\n \"id\": 3684243954,\n \"node_id\": \"LA_kwDOEHNVHc7bmRny\",\n \"url\": \"https://api.github.com/repos/appsmithorg/appsmith/labels/New%20JS%20Function\",\n \"name\": \"New JS Function\",\n \"color\": \"8e8aa4\",\n \"default\": false,\n \"description\": \"Issues related to adding a JS Function\",\n \"score\": 1\n },\n {\n \"id\": 2640223895,\n \"node_id\": \"MDU6TGFiZWwyNjQwMjIzODk1\",\n \"url\": \"https://api.github.com/repos/appsmithorg/appsmith/labels/Low%20effort\",\n \"name\": \"Low effort\",\n \"color\": \"8B59F0\",\n \"default\": false,\n \"description\": \"Something that'll take a few days to build\",\n \"score\": 1\n },\n {\n \"id\": 2640221594,\n \"node_id\": \"MDU6TGFiZWwyNjQwMjIxNTk0\",\n \"url\": \"https://api.github.com/repos/appsmithorg/appsmith/labels/Quick%20effort\",\n \"name\": \"Quick effort\",\n \"color\": \"95ED65\",\n \"default\": false,\n \"description\": \"Something that'll take a few hours to build\",\n \"score\": 1\n },\n {\n \"id\": 2640225928,\n \"node_id\": \"MDU6TGFiZWwyNjQwMjI1OTI4\",\n \"url\": \"https://api.github.com/repos/appsmithorg/appsmith/labels/High%20effort\",\n \"name\": \"High effort\",\n \"color\": \"A7E87B\",\n \"default\": false,\n \"description\": \"Something that'll take more than a month to build\",\n \"score\": 1\n },\n {\n \"id\": 2484384496,\n \"node_id\": \"MDU6TGFiZWwyNDg0Mzg0NDk2\",\n \"url\": \"https://api.github.com/repos/appsmithorg/appsmith/labels/Needs%20Tests\",\n \"name\": \"Needs Tests\",\n \"color\": \"8ee263\",\n \"default\": false,\n \"description\": \"Needs automated tests to assert a feature/bug fix\",\n \"score\": 1\n },\n {\n \"id\": 2482077195,\n \"node_id\": \"MDU6TGFiZWwyNDgyMDc3MTk1\",\n \"url\": \"https://api.github.com/repos/appsmithorg/appsmith/labels/Query%20Editor\",\n \"name\": \"Query Editor\",\n \"color\": \"8887af\",\n \"default\": false,\n \"description\": \"The section where a user can write DB queries.\",\n \"score\": 1\n },\n {\n \"id\": 3012242710,\n \"node_id\": \"MDU6TGFiZWwzMDEyMjQyNzEw\",\n \"url\": \"https://api.github.com/repos/appsmithorg/appsmith/labels/skip-changelog\",\n \"name\": \"skip-changelog\",\n \"color\": \"06086F\",\n \"default\": false,\n \"description\": \"Adding this label to a PR prevents it from being listed in the changelog\",\n \"score\": 1\n },\n {\n \"id\": 2384760942,\n \"node_id\": \"MDU6TGFiZWwyMzg0NzYwOTQy\",\n \"url\": \"https://api.github.com/repos/appsmithorg/appsmith/labels/Low\",\n \"name\": \"Low\",\n \"color\": \"79e53b\",\n \"default\": false,\n \"description\": \"An issue that is neither critical nor breaks a user flow\",\n \"score\": 1\n },\n {\n \"id\": 3949573096,\n \"node_id\": \"LA_kwDOEHNVHc7rabPo\",\n \"url\": \"https://api.github.com/repos/appsmithorg/appsmith/labels/Support\",\n \"name\": \"Support\",\n \"color\": \"f6ff4d\",\n \"default\": false,\n \"description\": \"Issues created by the A-force team to address user queries\",\n \"score\": 1\n },\n {\n \"id\": 3596711146,\n \"node_id\": \"LA_kwDOEHNVHc7WYXTq\",\n \"url\": \"https://api.github.com/repos/appsmithorg/appsmith/labels/Old%20App%20Issues\",\n \"name\": \"Old App Issues\",\n \"color\": \"87ab18\",\n \"default\": false,\n \"description\": \"Issues related to apps old apps a few weeks old and app issues in stale browser session\",\n \"score\": 1\n }\n ]\n}", - "httpMethod": "POST", - "pluginSpecifiedTemplates": [ - { - "value": true - } - ], - "formData": { - "apiContentType": "none" - } - }, - "executeOnLoad": true, - "dynamicBindingPathList": [ - - ], - "isValid": true, - "invalids": [ - - ], - "messages": [ - - ], - "jsonPathKeys": [ - - ], - "confirmBeforeExecute": false, - "userPermissions": [ - - ], - "validName": "fetch_labels" - }, - "publishedAction": { - "name": "fetch_labels", - "datasource": { - "userPermissions": [ - - ], - "name": "DEFAULT_REST_DATASOURCE", - "pluginId": "restapi-plugin", - "datasourceConfiguration": { - "url": "http://host.docker.internal:5001/v1/mock-api" - }, - "invalids": [ - - ], - "messages": [ - - ], - "isValid": true, - "new": true - }, - "pageId": "Issues", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "path": "/echo", - "headers": [ - { - "key": "content-type", - "value": "application/json" - } - ], - "encodeParamsToggle": true, - "queryParameters": [ - - ], - "body": "{\n \"total_count\": 16,\n \"incomplete_results\": false,\n \"items\": [\n {\n \"id\": 3393754279,\n \"node_id\": \"LA_kwDOEHNVHc7KSJSn\",\n \"url\": \"https://api.github.com/repos/appsmithorg/appsmith/labels/New%20Widget\",\n \"name\": \"New Widget\",\n \"color\": \"be4cf2\",\n \"default\": false,\n \"description\": \"A request for a new widget\",\n \"score\": 1\n },\n {\n \"id\": 2730904585,\n \"node_id\": \"MDU6TGFiZWwyNzMwOTA0NTg1\",\n \"url\": \"https://api.github.com/repos/appsmithorg/appsmith/labels/Epic\",\n \"name\": \"Epic\",\n \"color\": \"3E4B9E\",\n \"default\": false,\n \"description\": \"A zenhub epic that describes a project\",\n \"score\": 1\n },\n {\n \"id\": 2768358578,\n \"node_id\": \"MDU6TGFiZWwyNzY4MzU4NTc4\",\n \"url\": \"https://api.github.com/repos/appsmithorg/appsmith/labels/Task\",\n \"name\": \"Task\",\n \"color\": \"085630\",\n \"default\": false,\n \"description\": \"A simple Todo\",\n \"score\": 1\n },\n {\n \"id\": 2640225158,\n \"node_id\": \"MDU6TGFiZWwyNjQwMjI1MTU4\",\n \"url\": \"https://api.github.com/repos/appsmithorg/appsmith/labels/Medium%20effort\",\n \"name\": \"Medium effort\",\n \"color\": \"D31156\",\n \"default\": false,\n \"description\": \"Something that'll take more than a week but less than a month to build\",\n \"score\": 1\n },\n {\n \"id\": 2384759598,\n \"node_id\": \"MDU6TGFiZWwyMzg0NzU5NTk4\",\n \"url\": \"https://api.github.com/repos/appsmithorg/appsmith/labels/High\",\n \"name\": \"High\",\n \"color\": \"c94d14\",\n \"default\": false,\n \"description\": \"This issue blocks a user from building or impacts a lot of users\",\n \"score\": 1\n },\n {\n \"id\": 2184776572,\n \"node_id\": \"MDU6TGFiZWwyMTg0Nzc2NTcy\",\n \"url\": \"https://api.github.com/repos/appsmithorg/appsmith/labels/Dependencies\",\n \"name\": \"Dependencies\",\n \"color\": \"0366d6\",\n \"default\": false,\n \"description\": \"Pull requests that update a dependency file\",\n \"score\": 1\n },\n {\n \"id\": 3684243954,\n \"node_id\": \"LA_kwDOEHNVHc7bmRny\",\n \"url\": \"https://api.github.com/repos/appsmithorg/appsmith/labels/New%20JS%20Function\",\n \"name\": \"New JS Function\",\n \"color\": \"8e8aa4\",\n \"default\": false,\n \"description\": \"Issues related to adding a JS Function\",\n \"score\": 1\n },\n {\n \"id\": 2640223895,\n \"node_id\": \"MDU6TGFiZWwyNjQwMjIzODk1\",\n \"url\": \"https://api.github.com/repos/appsmithorg/appsmith/labels/Low%20effort\",\n \"name\": \"Low effort\",\n \"color\": \"8B59F0\",\n \"default\": false,\n \"description\": \"Something that'll take a few days to build\",\n \"score\": 1\n },\n {\n \"id\": 2640221594,\n \"node_id\": \"MDU6TGFiZWwyNjQwMjIxNTk0\",\n \"url\": \"https://api.github.com/repos/appsmithorg/appsmith/labels/Quick%20effort\",\n \"name\": \"Quick effort\",\n \"color\": \"95ED65\",\n \"default\": false,\n \"description\": \"Something that'll take a few hours to build\",\n \"score\": 1\n },\n {\n \"id\": 2640225928,\n \"node_id\": \"MDU6TGFiZWwyNjQwMjI1OTI4\",\n \"url\": \"https://api.github.com/repos/appsmithorg/appsmith/labels/High%20effort\",\n \"name\": \"High effort\",\n \"color\": \"A7E87B\",\n \"default\": false,\n \"description\": \"Something that'll take more than a month to build\",\n \"score\": 1\n },\n {\n \"id\": 2484384496,\n \"node_id\": \"MDU6TGFiZWwyNDg0Mzg0NDk2\",\n \"url\": \"https://api.github.com/repos/appsmithorg/appsmith/labels/Needs%20Tests\",\n \"name\": \"Needs Tests\",\n \"color\": \"8ee263\",\n \"default\": false,\n \"description\": \"Needs automated tests to assert a feature/bug fix\",\n \"score\": 1\n },\n {\n \"id\": 2482077195,\n \"node_id\": \"MDU6TGFiZWwyNDgyMDc3MTk1\",\n \"url\": \"https://api.github.com/repos/appsmithorg/appsmith/labels/Query%20Editor\",\n \"name\": \"Query Editor\",\n \"color\": \"8887af\",\n \"default\": false,\n \"description\": \"The section where a user can write DB queries.\",\n \"score\": 1\n },\n {\n \"id\": 3012242710,\n \"node_id\": \"MDU6TGFiZWwzMDEyMjQyNzEw\",\n \"url\": \"https://api.github.com/repos/appsmithorg/appsmith/labels/skip-changelog\",\n \"name\": \"skip-changelog\",\n \"color\": \"06086F\",\n \"default\": false,\n \"description\": \"Adding this label to a PR prevents it from being listed in the changelog\",\n \"score\": 1\n },\n {\n \"id\": 2384760942,\n \"node_id\": \"MDU6TGFiZWwyMzg0NzYwOTQy\",\n \"url\": \"https://api.github.com/repos/appsmithorg/appsmith/labels/Low\",\n \"name\": \"Low\",\n \"color\": \"79e53b\",\n \"default\": false,\n \"description\": \"An issue that is neither critical nor breaks a user flow\",\n \"score\": 1\n },\n {\n \"id\": 3949573096,\n \"node_id\": \"LA_kwDOEHNVHc7rabPo\",\n \"url\": \"https://api.github.com/repos/appsmithorg/appsmith/labels/Support\",\n \"name\": \"Support\",\n \"color\": \"f6ff4d\",\n \"default\": false,\n \"description\": \"Issues created by the A-force team to address user queries\",\n \"score\": 1\n },\n {\n \"id\": 3596711146,\n \"node_id\": \"LA_kwDOEHNVHc7WYXTq\",\n \"url\": \"https://api.github.com/repos/appsmithorg/appsmith/labels/Old%20App%20Issues\",\n \"name\": \"Old App Issues\",\n \"color\": \"87ab18\",\n \"default\": false,\n \"description\": \"Issues related to apps old apps a few weeks old and app issues in stale browser session\",\n \"score\": 1\n }\n ]\n}", - "httpMethod": "POST", - "pluginSpecifiedTemplates": [ - { - "value": true - } - ], - "formData": { - "apiContentType": "none" - } - }, - "executeOnLoad": true, - "dynamicBindingPathList": [ - - ], - "isValid": true, - "invalids": [ - - ], - "messages": [ - - ], - "jsonPathKeys": [ - - ], - "confirmBeforeExecute": false, - "userPermissions": [ - - ], - "validName": "fetch_labels" - }, - "new": false - }, - { - "id": "Issues_GithubManager.getLabels", - "userPermissions": [ - "read:actions", - "execute:actions", - "manage:actions" - ], - "gitSyncId": "623762992e5d3f189d0c3c23_62389d702d7f921bb707cf53", - "pluginType": "JS", - "pluginId": "js-plugin", - "unpublishedAction": { - "name": "getLabels", - "fullyQualifiedName": "GithubManager.getLabels", - "datasource": { - "userPermissions": [ - - ], - "name": "UNUSED_DATASOURCE", - "pluginId": "js-plugin", - "messages": [ - - ], - "isValid": true, - "new": true - }, - "pageId": "Issues", - "collectionId": "Issues_GithubManager", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "encodeParamsToggle": true, - "body": "() => {\n\t\treturn fetch_labels.data.body.items.filter((label) => {\n\t\t\treturn !label.name.includes('Pod');\n\t\t}).map((item) => {\n\t\t\treturn { label: item.name, value: item.name } \n\t\t}); \n\t}", - "jsArguments": [ - - ], - "isAsync": false - }, - "executeOnLoad": false, - "dynamicBindingPathList": [ - { - "key": "body" - } - ], - "isValid": true, - "invalids": [ - - ], - "messages": [ - - ], - "jsonPathKeys": [ - "() => {\n\t\treturn fetch_labels.data.body.items.filter((label) => {\n\t\t\treturn !label.name.includes('Pod');\n\t\t}).map((item) => {\n\t\t\treturn { label: item.name, value: item.name } \n\t\t}); \n\t}" - ], - "confirmBeforeExecute": false, - "userPermissions": [ - - ], - "validName": "GithubManager.getLabels" - }, - "publishedAction": { - "name": "getLabels", - "fullyQualifiedName": "GithubManager.getLabels", - "datasource": { - "userPermissions": [ - - ], - "name": "UNUSED_DATASOURCE", - "pluginId": "js-plugin", - "messages": [ - - ], - "isValid": true, - "new": true - }, - "pageId": "Issues", - "collectionId": "Issues_GithubManager", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "encodeParamsToggle": true, - "body": "() => {\n\t\treturn fetch_labels.data.body.items.filter((label) => {\n\t\t\treturn !label.name.includes('Pod');\n\t\t}).map((item) => {\n\t\t\treturn { label: item.name, value: item.name } \n\t\t}); \n\t}", - "jsArguments": [ - - ], - "isAsync": false - }, - "executeOnLoad": false, - "dynamicBindingPathList": [ - { - "key": "body" - } - ], - "isValid": true, - "invalids": [ - - ], - "messages": [ - - ], - "jsonPathKeys": [ - "() => {\n\t\treturn fetch_labels.data.body.items.filter((label) => {\n\t\t\treturn !label.name.includes('Pod');\n\t\t}).map((item) => {\n\t\t\treturn { label: item.name, value: item.name } \n\t\t}); \n\t}" - ], - "confirmBeforeExecute": false, - "userPermissions": [ - - ], - "validName": "GithubManager.getLabels" - }, - "new": false - }, - { - "id": "Issues_search_github_issues", - "userPermissions": [ - "read:actions", - "execute:actions", - "manage:actions" - ], - "gitSyncId": "623762992e5d3f189d0c3c23_62389e1e2d7f921bb707cf55", - "pluginType": "DB", - "pluginId": "postgres-plugin", - "unpublishedAction": { - "name": "search_github_issues", - "datasource": { - "id": "AForceDB", - "userPermissions": [ - - ], - "pluginId": "postgres-plugin", - "messages": [ - - ], - "isValid": true, - "new": false - }, - "pageId": "Issues", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "encodeParamsToggle": true, - "body": "select * from github_issues where title ilike {{ \"%\" + this.params.searchText + \"%\" }} or issue_number ::text ilike {{ \"%\" + this.params.searchText + \"%\" }}", - "pluginSpecifiedTemplates": [ - { - "value": true - } - ] - }, - "executeOnLoad": true, - "dynamicBindingPathList": [ - { - "key": "body" - } - ], - "isValid": true, - "invalids": [ - - ], - "messages": [ - - ], - "jsonPathKeys": [ - "\"%\" + this.params.searchText + \"%\"" - ], - "confirmBeforeExecute": false, - "userPermissions": [ - - ], - "validName": "search_github_issues" - }, - "publishedAction": { - "name": "search_github_issues", - "datasource": { - "id": "AForceDB", - "userPermissions": [ - - ], - "pluginId": "postgres-plugin", - "messages": [ - - ], - "isValid": true, - "new": false - }, - "pageId": "Issues", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "encodeParamsToggle": true, - "body": "select * from github_issues where title ilike {{ \"%\" + this.params.searchText + \"%\" }} or issue_number ::text ilike {{ \"%\" + this.params.searchText + \"%\" }}", - "pluginSpecifiedTemplates": [ - { - "value": true - } - ] - }, - "executeOnLoad": true, - "dynamicBindingPathList": [ - { - "key": "body" - } - ], - "isValid": true, - "invalids": [ - - ], - "messages": [ - - ], - "jsonPathKeys": [ - "\"%\" + this.params.searchText + \"%\"" - ], - "confirmBeforeExecute": false, - "userPermissions": [ - - ], - "validName": "search_github_issues" - }, - "new": false - }, - { - "id": "Issues_IssueManager.addComment", - "userPermissions": [ - "read:actions", - "execute:actions", - "manage:actions" - ], - "gitSyncId": "623762992e5d3f189d0c3c23_62394b6837307a6b1cf05f23", - "pluginType": "JS", - "pluginId": "js-plugin", - "unpublishedAction": { - "name": "addComment", - "fullyQualifiedName": "IssueManager.addComment", - "datasource": { - "userPermissions": [ - - ], - "name": "UNUSED_DATASOURCE", - "pluginId": "js-plugin", - "messages": [ - - ], - "isValid": true, - "new": true - }, - "pageId": "Issues", - "collectionId": "Issues_IssueManager", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "encodeParamsToggle": true, - "body": "() => {\n\t\tadd_new_comment.run(() => {\n\t\t\tfetch_comments.run();\n\t\t\tupdate_issue_labels.run(() => \n\t\t\t\tfetch_issues.run());\n\t\t\tcloseModal('upvote_modal');\n\t\t\tresetWidget('upvote_modal', true);\n\t\t});\n\t}", - "jsArguments": [ - - ], - "isAsync": true - }, - "executeOnLoad": false, - "dynamicBindingPathList": [ - { - "key": "body" - } - ], - "isValid": true, - "invalids": [ - - ], - "messages": [ - - ], - "jsonPathKeys": [ - "() => {\n\t\tadd_new_comment.run(() => {\n\t\t\tfetch_comments.run();\n\t\t\tupdate_issue_labels.run(() => \n\t\t\t\tfetch_issues.run());\n\t\t\tcloseModal('upvote_modal');\n\t\t\tresetWidget('upvote_modal', true);\n\t\t});\n\t}" - ], - "confirmBeforeExecute": false, - "userPermissions": [ - - ], - "validName": "IssueManager.addComment" - }, - "publishedAction": { - "name": "addComment", - "fullyQualifiedName": "IssueManager.addComment", - "datasource": { - "userPermissions": [ - - ], - "name": "UNUSED_DATASOURCE", - "pluginId": "js-plugin", - "messages": [ - - ], - "isValid": true, - "new": true - }, - "pageId": "Issues", - "collectionId": "Issues_IssueManager", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "encodeParamsToggle": true, - "body": "() => {\n\t\tadd_new_comment.run(() => {\n\t\t\tfetch_comments.run();\n\t\t\tupdate_issue_labels.run(() => \n\t\t\t\tfetch_issues.run());\n\t\t\tcloseModal('upvote_modal');\n\t\t\tresetWidget('upvote_modal', true);\n\t\t});\n\t}", - "jsArguments": [ - - ], - "isAsync": true - }, - "executeOnLoad": false, - "dynamicBindingPathList": [ - { - "key": "body" - } - ], - "isValid": true, - "invalids": [ - - ], - "messages": [ - - ], - "jsonPathKeys": [ - "() => {\n\t\tadd_new_comment.run(() => {\n\t\t\tfetch_comments.run();\n\t\t\tupdate_issue_labels.run(() => \n\t\t\t\tfetch_issues.run());\n\t\t\tcloseModal('upvote_modal');\n\t\t\tresetWidget('upvote_modal', true);\n\t\t});\n\t}" - ], - "confirmBeforeExecute": false, - "userPermissions": [ - - ], - "validName": "IssueManager.addComment" - }, - "new": false - }, - { - "id": "Issues_GithubManager.getSelectedGithubIssue", - "userPermissions": [ - "read:actions", - "execute:actions", - "manage:actions" - ], - "gitSyncId": "623762992e5d3f189d0c3c23_6239d1a8a11e927e2cfc8276", - "pluginType": "JS", - "pluginId": "js-plugin", - "unpublishedAction": { - "name": "getSelectedGithubIssue", - "fullyQualifiedName": "GithubManager.getSelectedGithubIssue", - "datasource": { - "userPermissions": [ - - ], - "name": "UNUSED_DATASOURCE", - "pluginId": "js-plugin", - "messages": [ - - ], - "isValid": true, - "new": true - }, - "pageId": "Issues", - "collectionId": "Issues_GithubManager", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "encodeParamsToggle": true, - "body": "() => {\n\t\treturn search_github_issues.data.find((issue) => issue.id == add_issue_select.selectedOptionValue);\n\t}", - "jsArguments": [ - - ], - "isAsync": false - }, - "executeOnLoad": false, - "dynamicBindingPathList": [ - { - "key": "body" - } - ], - "isValid": true, - "invalids": [ - - ], - "messages": [ - - ], - "jsonPathKeys": [ - "() => {\n\t\treturn search_github_issues.data.find((issue) => issue.id == add_issue_select.selectedOptionValue);\n\t}" - ], - "confirmBeforeExecute": false, - "userPermissions": [ - - ], - "validName": "GithubManager.getSelectedGithubIssue" - }, - "publishedAction": { - "name": "getSelectedGithubIssue", - "fullyQualifiedName": "GithubManager.getSelectedGithubIssue", - "datasource": { - "userPermissions": [ - - ], - "name": "UNUSED_DATASOURCE", - "pluginId": "js-plugin", - "messages": [ - - ], - "isValid": true, - "new": true - }, - "pageId": "Issues", - "collectionId": "Issues_GithubManager", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "encodeParamsToggle": true, - "body": "() => {\n\t\treturn search_github_issues.data.find((issue) => issue.id == add_issue_select.selectedOptionValue);\n\t}", - "jsArguments": [ - - ], - "isAsync": false - }, - "executeOnLoad": false, - "dynamicBindingPathList": [ - { - "key": "body" - } - ], - "isValid": true, - "invalids": [ - - ], - "messages": [ - - ], - "jsonPathKeys": [ - "() => {\n\t\treturn search_github_issues.data.find((issue) => issue.id == add_issue_select.selectedOptionValue);\n\t}" - ], - "confirmBeforeExecute": false, - "userPermissions": [ - - ], - "validName": "GithubManager.getSelectedGithubIssue" - }, - "new": false - }, - { - "id": "Issues_update_issue", - "userPermissions": [ - "read:actions", - "execute:actions", - "manage:actions" - ], - "gitSyncId": "623762992e5d3f189d0c3c23_6239d7e9a11e927e2cfc8278", - "pluginType": "DB", - "pluginId": "postgres-plugin", - "unpublishedAction": { - "name": "update_issue", - "datasource": { - "id": "AForceDB", - "userPermissions": [ - - ], - "pluginId": "postgres-plugin", - "messages": [ - - ], - "isValid": true, - "new": false - }, - "pageId": "Issues", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "encodeParamsToggle": true, - "body": "update global_issues set \ntitle = {{edit_title_input.text}}, \ndescription = {{edit_description_input.text}},\ntype = {{edit_type_input.selectedOptionValue}},\nlabels = {{ \"{\" + this.params.labels.join(\",\") + \"}\" }}::text[],\nanswer = {{edit_answer_input.text}},\ngithub_issue_id = {{edit_issue_select.selectedOptionValue || Table1.selectedRow.github_issue_id}},\nlink = {{edit_link_input.text}},\nstates = {{\"{\" + edit_states_select.selectedOptionValues.join(\",\") + \"}\"}}::text[] where id = {{Table1.selectedRow.id}}", - "pluginSpecifiedTemplates": [ - { - "value": true - } - ] - }, - "executeOnLoad": false, - "dynamicBindingPathList": [ - { - "key": "body" - } - ], - "isValid": true, - "invalids": [ - - ], - "messages": [ - - ], - "jsonPathKeys": [ - "edit_title_input.text", - "edit_description_input.text", - "edit_type_input.selectedOptionValue", - "edit_answer_input.text", - "edit_issue_select.selectedOptionValue || Table1.selectedRow.github_issue_id", - "Table1.selectedRow.id", - "\"{\" + this.params.labels.join(\",\") + \"}\"", - "edit_link_input.text", - "\"{\" + edit_states_select.selectedOptionValues.join(\",\") + \"}\"" - ], - "confirmBeforeExecute": false, - "userPermissions": [ - - ], - "validName": "update_issue" - }, - "publishedAction": { - "name": "update_issue", - "datasource": { - "id": "AForceDB", - "userPermissions": [ - - ], - "pluginId": "postgres-plugin", - "messages": [ - - ], - "isValid": true, - "new": false - }, - "pageId": "Issues", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "encodeParamsToggle": true, - "body": "update global_issues set \ntitle = {{edit_title_input.text}}, \ndescription = {{edit_description_input.text}},\ntype = {{edit_type_input.selectedOptionValue}},\nlabels = {{ \"{\" + this.params.labels.join(\",\") + \"}\" }}::text[],\nanswer = {{edit_answer_input.text}},\ngithub_issue_id = {{edit_issue_select.selectedOptionValue || Table1.selectedRow.github_issue_id}},\nlink = {{edit_link_input.text}},\nstates = {{\"{\" + edit_states_select.selectedOptionValues.join(\",\") + \"}\"}}::text[] where id = {{Table1.selectedRow.id}}", - "pluginSpecifiedTemplates": [ - { - "value": true - } - ] - }, - "executeOnLoad": false, - "dynamicBindingPathList": [ - { - "key": "body" - } - ], - "isValid": true, - "invalids": [ - - ], - "messages": [ - - ], - "jsonPathKeys": [ - "edit_title_input.text", - "edit_description_input.text", - "edit_type_input.selectedOptionValue", - "edit_answer_input.text", - "edit_issue_select.selectedOptionValue || Table1.selectedRow.github_issue_id", - "Table1.selectedRow.id", - "\"{\" + this.params.labels.join(\",\") + \"}\"", - "edit_link_input.text", - "\"{\" + edit_states_select.selectedOptionValues.join(\",\") + \"}\"" - ], - "confirmBeforeExecute": false, - "userPermissions": [ - - ], - "validName": "update_issue" - }, - "new": false - }, - { - "id": "Issues_Configs.getTitleState", - "userPermissions": [ - "read:actions", - "execute:actions", - "manage:actions" - ], - "gitSyncId": "623762992e5d3f189d0c3c23_6239488837307a6b1cf05f1f", - "pluginType": "JS", - "pluginId": "js-plugin", - "unpublishedAction": { - "name": "getTitleState", - "fullyQualifiedName": "Configs.getTitleState", - "datasource": { - "userPermissions": [ - - ], - "name": "UNUSED_DATASOURCE", - "pluginId": "js-plugin", - "messages": [ - - ], - "isValid": true, - "new": true - }, - "pageId": "Issues", - "collectionId": "Issues_Configs", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "encodeParamsToggle": true, - "body": "(states) => {\n\t\treturn states ? states.map((state) => Configs.statesMap[state]?.icon + \" \").join(\" \") : \"\"\n\t}", - "jsArguments": [ - - ], - "isAsync": false - }, - "executeOnLoad": false, - "dynamicBindingPathList": [ - { - "key": "body" - } - ], - "isValid": true, - "invalids": [ - - ], - "messages": [ - - ], - "jsonPathKeys": [ - "(states) => {\n\t\treturn states ? states.map((state) => Configs.statesMap[state]?.icon + \" \").join(\" \") : \"\"\n\t}" - ], - "confirmBeforeExecute": false, - "userPermissions": [ - - ], - "validName": "Configs.getTitleState" - }, - "publishedAction": { - "name": "getTitleState", - "fullyQualifiedName": "Configs.getTitleState", - "datasource": { - "userPermissions": [ - - ], - "name": "UNUSED_DATASOURCE", - "pluginId": "js-plugin", - "messages": [ - - ], - "isValid": true, - "new": true - }, - "pageId": "Issues", - "collectionId": "Issues_Configs", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "encodeParamsToggle": true, - "body": "(states) => {\n\t\treturn states ? states.map((state) => Configs.statesMap[state]?.icon + \" \").join(\" \") : \"\"\n\t}", - "jsArguments": [ - - ], - "isAsync": false - }, - "executeOnLoad": false, - "dynamicBindingPathList": [ - { - "key": "body" - } - ], - "isValid": true, - "invalids": [ - - ], - "messages": [ - - ], - "jsonPathKeys": [ - "(states) => {\n\t\treturn states ? states.map((state) => Configs.statesMap[state]?.icon + \" \").join(\" \") : \"\"\n\t}" - ], - "confirmBeforeExecute": false, - "userPermissions": [ - - ], - "validName": "Configs.getTitleState" - }, - "new": false - }, - { - "id": "Issues_delete_issue", - "userPermissions": [ - "read:actions", - "execute:actions", - "manage:actions" - ], - "gitSyncId": "623762992e5d3f189d0c3c23_6239ce9ba11e927e2cfc8274", - "pluginType": "DB", - "pluginId": "postgres-plugin", - "unpublishedAction": { - "name": "delete_issue", - "datasource": { - "id": "AForceDB", - "userPermissions": [ - - ], - "pluginId": "postgres-plugin", - "messages": [ - - ], - "isValid": true, - "new": false - }, - "pageId": "Issues", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "encodeParamsToggle": true, - "body": "update global_issues set state = 'DELETED' where id = {{Table1.selectedRow.id.toString()}}" - }, - "executeOnLoad": false, - "dynamicBindingPathList": [ - { - "key": "body" - } - ], - "isValid": true, - "invalids": [ - - ], - "messages": [ - - ], - "jsonPathKeys": [ - "Table1.selectedRow.id.toString()" - ], - "confirmBeforeExecute": false, - "userPermissions": [ - - ], - "validName": "delete_issue" - }, - "publishedAction": { - "name": "delete_issue", - "datasource": { - "id": "AForceDB", - "userPermissions": [ - - ], - "pluginId": "postgres-plugin", - "messages": [ - - ], - "isValid": true, - "new": false - }, - "pageId": "Issues", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "encodeParamsToggle": true, - "body": "update global_issues set state = 'DELETED' where id = {{Table1.selectedRow.id.toString()}}" - }, - "executeOnLoad": false, - "dynamicBindingPathList": [ - { - "key": "body" - } - ], - "isValid": true, - "invalids": [ - - ], - "messages": [ - - ], - "jsonPathKeys": [ - "Table1.selectedRow.id.toString()" - ], - "confirmBeforeExecute": false, - "userPermissions": [ - - ], - "validName": "delete_issue" - }, - "new": false - }, - { - "id": "Issues_IssueManager.delete", - "userPermissions": [ - "read:actions", - "execute:actions", - "manage:actions" - ], - "gitSyncId": "623762992e5d3f189d0c3c23_623a10fba11e927e2cfc8284", - "pluginType": "JS", - "pluginId": "js-plugin", - "unpublishedAction": { - "name": "delete", - "fullyQualifiedName": "IssueManager.delete", - "datasource": { - "userPermissions": [ - - ], - "name": "UNUSED_DATASOURCE", - "pluginId": "js-plugin", - "messages": [ - - ], - "isValid": true, - "new": true - }, - "pageId": "Issues", - "collectionId": "Issues_IssueManager", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "encodeParamsToggle": true, - "body": "async () => {\n\t\tawait delete_issue.run(() => fetch_issues.run());\n\t}", - "jsArguments": [ - - ], - "isAsync": true - }, - "executeOnLoad": false, - "dynamicBindingPathList": [ - { - "key": "body" - } - ], - "isValid": true, - "invalids": [ - - ], - "messages": [ - - ], - "jsonPathKeys": [ - "async () => {\n\t\tawait delete_issue.run(() => fetch_issues.run());\n\t}" - ], - "confirmBeforeExecute": false, - "userPermissions": [ - - ], - "validName": "IssueManager.delete" - }, - "publishedAction": { - "name": "delete", - "fullyQualifiedName": "IssueManager.delete", - "datasource": { - "userPermissions": [ - - ], - "name": "UNUSED_DATASOURCE", - "pluginId": "js-plugin", - "messages": [ - - ], - "isValid": true, - "new": true - }, - "pageId": "Issues", - "collectionId": "Issues_IssueManager", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "encodeParamsToggle": true, - "body": "async () => {\n\t\tawait delete_issue.run(() => fetch_issues.run());\n\t}", - "jsArguments": [ - - ], - "isAsync": true - }, - "executeOnLoad": false, - "dynamicBindingPathList": [ - { - "key": "body" - } - ], - "isValid": true, - "invalids": [ - - ], - "messages": [ - - ], - "jsonPathKeys": [ - "async () => {\n\t\tawait delete_issue.run(() => fetch_issues.run());\n\t}" - ], - "confirmBeforeExecute": false, - "userPermissions": [ - - ], - "validName": "IssueManager.delete" - }, - "new": false - }, - { - "id": "Issues_GithubManager.getIssues", - "userPermissions": [ - "read:actions", - "execute:actions", - "manage:actions" - ], - "gitSyncId": "623762992e5d3f189d0c3c23_62389edb2d7f921bb707cf57", - "pluginType": "JS", - "pluginId": "js-plugin", - "unpublishedAction": { - "name": "getIssues", - "fullyQualifiedName": "GithubManager.getIssues", - "datasource": { - "userPermissions": [ - - ], - "name": "UNUSED_DATASOURCE", - "pluginId": "js-plugin", - "messages": [ - - ], - "isValid": true, - "new": true - }, - "pageId": "Issues", - "collectionId": "Issues_GithubManager", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "encodeParamsToggle": true, - "body": "() => {\n\t\treturn search_github_issues.data.map((item) => {\n\t\t\treturn {\n\t\t\t\tlabel: item.title,\n\t\t\t\tvalue: item.id + \"\"\n\t\t\t}\n\t\t})\n\t}", - "jsArguments": [ - - ], - "isAsync": false - }, - "executeOnLoad": false, - "dynamicBindingPathList": [ - { - "key": "body" - } - ], - "isValid": true, - "invalids": [ - - ], - "messages": [ - - ], - "jsonPathKeys": [ - "() => {\n\t\treturn search_github_issues.data.map((item) => {\n\t\t\treturn {\n\t\t\t\tlabel: item.title,\n\t\t\t\tvalue: item.id + \"\"\n\t\t\t}\n\t\t})\n\t}" - ], - "confirmBeforeExecute": false, - "userPermissions": [ - - ], - "validName": "GithubManager.getIssues" - }, - "publishedAction": { - "name": "getIssues", - "fullyQualifiedName": "GithubManager.getIssues", - "datasource": { - "userPermissions": [ - - ], - "name": "UNUSED_DATASOURCE", - "pluginId": "js-plugin", - "messages": [ - - ], - "isValid": true, - "new": true - }, - "pageId": "Issues", - "collectionId": "Issues_GithubManager", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "encodeParamsToggle": true, - "body": "() => {\n\t\treturn search_github_issues.data.map((item) => {\n\t\t\treturn {\n\t\t\t\tlabel: item.title,\n\t\t\t\tvalue: item.id + \"\"\n\t\t\t}\n\t\t})\n\t}", - "jsArguments": [ - - ], - "isAsync": false - }, - "executeOnLoad": false, - "dynamicBindingPathList": [ - { - "key": "body" - } - ], - "isValid": true, - "invalids": [ - - ], - "messages": [ - - ], - "jsonPathKeys": [ - "() => {\n\t\treturn search_github_issues.data.map((item) => {\n\t\t\treturn {\n\t\t\t\tlabel: item.title,\n\t\t\t\tvalue: item.id + \"\"\n\t\t\t}\n\t\t})\n\t}" - ], - "confirmBeforeExecute": false, - "userPermissions": [ - - ], - "validName": "GithubManager.getIssues" - }, - "new": false - }, - { - "id": "Issues_IssueManager.update", - "userPermissions": [ - "read:actions", - "execute:actions", - "manage:actions" - ], - "gitSyncId": "623762992e5d3f189d0c3c23_6239dff0a11e927e2cfc827a", - "pluginType": "JS", - "pluginId": "js-plugin", - "unpublishedAction": { - "name": "update", - "fullyQualifiedName": "IssueManager.update", - "datasource": { - "userPermissions": [ - - ], - "name": "UNUSED_DATASOURCE", - "pluginId": "js-plugin", - "messages": [ - - ], - "isValid": true, - "new": true - }, - "pageId": "Issues", - "collectionId": "Issues_IssueManager", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "encodeParamsToggle": true, - "body": "async () => {\n\t\tconst labels = IssueManager.getAssignedLabels(edit_label_select.selectedOptionValues);\n\t\tawait update_issue.run({ labels: labels });\n\t\tawait fetch_issues.run();\n\t}", - "jsArguments": [ - - ], - "isAsync": true - }, - "executeOnLoad": false, - "dynamicBindingPathList": [ - { - "key": "body" - } - ], - "isValid": true, - "invalids": [ - - ], - "messages": [ - - ], - "jsonPathKeys": [ - "async () => {\n\t\tconst labels = IssueManager.getAssignedLabels(edit_label_select.selectedOptionValues);\n\t\tawait update_issue.run({ labels: labels });\n\t\tawait fetch_issues.run();\n\t}" - ], - "confirmBeforeExecute": false, - "userPermissions": [ - - ], - "validName": "IssueManager.update" - }, - "publishedAction": { - "name": "update", - "fullyQualifiedName": "IssueManager.update", - "datasource": { - "userPermissions": [ - - ], - "name": "UNUSED_DATASOURCE", - "pluginId": "js-plugin", - "messages": [ - - ], - "isValid": true, - "new": true - }, - "pageId": "Issues", - "collectionId": "Issues_IssueManager", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "encodeParamsToggle": true, - "body": "async () => {\n\t\tconst labels = IssueManager.getAssignedLabels(edit_label_select.selectedOptionValues);\n\t\tawait update_issue.run({ labels: labels });\n\t\tawait fetch_issues.run();\n\t}", - "jsArguments": [ - - ], - "isAsync": true - }, - "executeOnLoad": false, - "dynamicBindingPathList": [ - { - "key": "body" - } - ], - "isValid": true, - "invalids": [ - - ], - "messages": [ - - ], - "jsonPathKeys": [ - "async () => {\n\t\tconst labels = IssueManager.getAssignedLabels(edit_label_select.selectedOptionValues);\n\t\tawait update_issue.run({ labels: labels });\n\t\tawait fetch_issues.run();\n\t}" - ], - "confirmBeforeExecute": false, - "userPermissions": [ - - ], - "validName": "IssueManager.update" - }, - "new": false - }, - { - "id": "Issues_update_issue_labels", - "userPermissions": [ - "read:actions", - "execute:actions", - "manage:actions" - ], - "gitSyncId": "623762992e5d3f189d0c3c23_62394b3e37307a6b1cf05f21", - "pluginType": "DB", - "pluginId": "postgres-plugin", - "unpublishedAction": { - "name": "update_issue_labels", - "datasource": { - "id": "AForceDB", - "userPermissions": [ - - ], - "pluginId": "postgres-plugin", - "messages": [ - - ], - "isValid": true, - "new": false - }, - "pageId": "Issues", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "encodeParamsToggle": true, - "body": "update global_issues set \nlabels = {{ \"{\" + IssueManager.getAssignedLabels(upvote_label_select.selectedOptionValues) + \"}\" }}::text[]\n where id = {{Table1.selectedRow.id}}", - "pluginSpecifiedTemplates": [ - { - "value": true - } - ] - }, - "executeOnLoad": false, - "dynamicBindingPathList": [ - { - "key": "body" - } - ], - "isValid": true, - "invalids": [ - - ], - "messages": [ - - ], - "jsonPathKeys": [ - "Table1.selectedRow.id", - "\"{\" + IssueManager.getAssignedLabels(upvote_label_select.selectedOptionValues) + \"}\"" - ], - "confirmBeforeExecute": false, - "userPermissions": [ - - ], - "validName": "update_issue_labels" - }, - "publishedAction": { - "name": "update_issue_labels", - "datasource": { - "id": "AForceDB", - "userPermissions": [ - - ], - "pluginId": "postgres-plugin", - "messages": [ - - ], - "isValid": true, - "new": false - }, - "pageId": "Issues", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "encodeParamsToggle": true, - "body": "update global_issues set \nlabels = {{ \"{\" + IssueManager.getAssignedLabels(upvote_label_select.selectedOptionValues) + \"}\" }}::text[]\n where id = {{Table1.selectedRow.id}}", - "pluginSpecifiedTemplates": [ - { - "value": true - } - ] - }, - "executeOnLoad": false, - "dynamicBindingPathList": [ - { - "key": "body" - } - ], - "isValid": true, - "invalids": [ - - ], - "messages": [ - - ], - "jsonPathKeys": [ - "Table1.selectedRow.id", - "\"{\" + IssueManager.getAssignedLabels(upvote_label_select.selectedOptionValues) + \"}\"" - ], - "confirmBeforeExecute": false, - "userPermissions": [ - - ], - "validName": "update_issue_labels" - }, - "new": false - } - ], - "actionCollectionList": [ - { - "id": "Issues_Utils", - "userPermissions": [ - "read:actions", - "execute:actions", - "manage:actions" - ], - "gitSyncId": "623762992e5d3f189d0c3c23_623765e92e5d3f189d0c3c33", - "unpublishedCollection": { - "name": "Utils", - "pageId": "Issues", - "pluginId": "js-plugin", - "pluginType": "JS", - "actionIds": [ - - ], - "archivedActionIds": [ - - ], - "actions": [ - - ], - "archivedActions": [ - - ], - "body": "export default {\n\tgetPodLabels: () => {\n\t\treturn Object.keys(fetch_label_config.data.runners[0].issue.labels)\n\t\t\t.map((pod) => { \n\t\t\t\treturn {\n\t\t\t\t\tlabel: pod,\n\t\t\t\t\tvalue: pod\n\t\t\t\t}\n\t\t\t});\n\t},\n\tcheckIsPod: (label) => {\n\t\treturn fetch_label_config.data.runners[0].issue.labels[label] !== undefined\n\t},\n\tgetConfig: () => {\n\t\treturn fetch_label_config.data;\n\t},\n\tgetPodForLabel: (label = \"New JS Function\") => {\n\t\tconst labels = fetch_label_config.data.runners[0].issue.labels;\n\t\tconst pods = this.getPodLabels().map((pod) => pod.label);\n\t\tlet foundPod;\n\t\tpods.map((podLabel) => {\n\t\t\tconst foundLabel = labels[podLabel].conditions.find((condition) => {\n\t\t\t\treturn condition.label === label && podLabel !== label\n\t\t\t})\n\t\t\tif (foundLabel) {\n\t\t\t\tfoundPod = podLabel\n\t\t\t}\n\t\t});\n\t\treturn foundPod;\n\t},\n\tgetLabelsForPod: (pod) => {\n\t\treturn fetch_label_config.data.runners[0]\n\t\t\t.issue.labels[pod].conditions.map((label) => \n\t\t\t\t\tfetch_label_config.data.labels[label.label])\n\t\t\t.filter((label) => label !== undefined)\n\t},\n\tcsvToArr: () => {\n\t\t//const csvRows = FilePicker1.files[1].data.split(\"\\n\");\n\t\t//const objArr = [];\n\t\t//const headers = csvRows[0].split(',');\n\t\t\t//for(let i = 1; i < csvRows.length; i++) {\n\t\t\t\t//const rowObj = {};\n\t\t\t\t//objArr.push(rowObj);\n\t\t\t\t//const rowArr = csvRows[i].split(',');\n\t\t\t\t//rowArr.forEach((val, index) => {\n\t\t\t\t//rowObj[headers[index]] = val;\n\t\t\t\t//});\n\t\t\t//}\n\t\t//return objArr;\n\t}\n}", - "variables": [ - - ] - }, - "publishedCollection": { - "name": "Utils", - "pageId": "Issues", - "pluginId": "js-plugin", - "pluginType": "JS", - "actionIds": [ - - ], - "archivedActionIds": [ - - ], - "actions": [ - - ], - "archivedActions": [ - - ], - "body": "export default {\n\tgetPodLabels: () => {\n\t\treturn Object.keys(fetch_label_config.data.runners[0].issue.labels)\n\t\t\t.map((pod) => { \n\t\t\t\treturn {\n\t\t\t\t\tlabel: pod,\n\t\t\t\t\tvalue: pod\n\t\t\t\t}\n\t\t\t});\n\t},\n\tcheckIsPod: (label) => {\n\t\treturn fetch_label_config.data.runners[0].issue.labels[label] !== undefined\n\t},\n\tgetConfig: () => {\n\t\treturn fetch_label_config.data;\n\t},\n\tgetPodForLabel: (label = \"New JS Function\") => {\n\t\tconst labels = fetch_label_config.data.runners[0].issue.labels;\n\t\tconst pods = this.getPodLabels().map((pod) => pod.label);\n\t\tlet foundPod;\n\t\tpods.map((podLabel) => {\n\t\t\tconst foundLabel = labels[podLabel].conditions.find((condition) => {\n\t\t\t\treturn condition.label === label && podLabel !== label\n\t\t\t})\n\t\t\tif (foundLabel) {\n\t\t\t\tfoundPod = podLabel\n\t\t\t}\n\t\t});\n\t\treturn foundPod;\n\t},\n\tgetLabelsForPod: (pod) => {\n\t\treturn fetch_label_config.data.runners[0]\n\t\t\t.issue.labels[pod].conditions.map((label) => \n\t\t\t\t\tfetch_label_config.data.labels[label.label])\n\t\t\t.filter((label) => label !== undefined)\n\t},\n\tcsvToArr: () => {\n\t\t//const csvRows = FilePicker1.files[1].data.split(\"\\n\");\n\t\t//const objArr = [];\n\t\t//const headers = csvRows[0].split(',');\n\t\t\t//for(let i = 1; i < csvRows.length; i++) {\n\t\t\t\t//const rowObj = {};\n\t\t\t\t//objArr.push(rowObj);\n\t\t\t\t//const rowArr = csvRows[i].split(',');\n\t\t\t\t//rowArr.forEach((val, index) => {\n\t\t\t\t//rowObj[headers[index]] = val;\n\t\t\t\t//});\n\t\t\t//}\n\t\t//return objArr;\n\t}\n}", - "variables": [ - - ] - }, - "new": false - }, - { - "id": "Issues_Configs", - "userPermissions": [ - "read:actions", - "execute:actions", - "manage:actions" - ], - "gitSyncId": "623762992e5d3f189d0c3c23_623763562e5d3f189d0c3c2b", - "unpublishedCollection": { - "name": "Configs", - "pageId": "Issues", - "pluginId": "js-plugin", - "pluginType": "JS", - "actionIds": [ - - ], - "archivedActionIds": [ - - ], - "actions": [ - - ], - "archivedActions": [ - - ], - "body": "export default {\n\ttype: [\n\t\t{\n\t\t\tlabel: \"All\",\n\t\t\tvalue: \"ALL\"\n\t\t}, \n\t\t{\n\t\t\tlabel: \"Feature\",\n\t\t\tvalue: \"Feature\"\n\t\t},\n\t\t{\n\t\t\tlabel: \"Bug\",\n\t\t\tvalue: \"Bug\"\n\t\t},\n\t\t{\n\t\t\tlabel: \"Question\",\n\t\t\tvalue: \"Question\"\n\t\t},\n\t\t{\n\t\t\tlabel: \"Troubleshooting\",\n\t\t\tvalue: \"Troubleshooting\"\n\t\t},\n\t\t{\n\t\t\tlabel: \"Suggestion\",\n\t\t\tvalue: \"Suggestion\"\n\t\t}\n\t],\n\tpods: [\n\t\t{\n\t\t\tlabel: \"All\",\n\t\t\tvalue: \"ALL\"\n\t\t},\n\t\t{\n\t\t\tlabel: \"App Viewers Pod\",\n\t\t\tvalue: \"App Viewers Pod\"\n\t\t},\n\t\t{\n\t\t\tlabel: \"UI Builders Pod\",\n\t\t\tvalue: \"UI Builders Pod\"\n\t\t},\n\t\t{\n\t\t\tlabel: \"Team Managers Pod\",\n\t\t\tvalue: \"Team Managers Pod\"\n\t\t},\n\t\t{\n\t\t\tlabel: \"FE Coders Pod\",\n\t\t\tvalue: \"FE Coders Pod\"\n\t\t},\n\t\t{\n\t\t\tlabel: \"BE Coders Pod\",\n\t\t\tvalue: \"BE Coders Pod\"\n\t\t},\n\t\t{\n\t\t\tlabel: \"New Developers Pod\",\n\t\t\tvalue: \"New Developers Pod\"\n\t\t}\n\t],\n\tstatus: [\n\t\t{\n\t\t\tlabel: \"Opened\",\n\t\t\tvalue: \"Opened\"\n\t\t},\n\t\t{\n\t\t\tlabel: \"Solved\",\n\t\t\tvalue: \"Solved\"\n\t\t},\n\t\t{\n\t\t\tlabel: \"Communicated to user\",\n\t\t\tvalue: \"Communicated to user\"\n\t\t}\n\t],\n\tstatesMap: {\n\t\t[\"Needs Documentation\"]: {\n\t\t\tlabel: \"Needs Docs\",\n\t\t\tvalue: \"Needs Documentation\",\n\t\t\ticon: \"❓📑\",\n\t\t\torder: 1\n\t\t},\n\t\t[\"Documented\"]: {\n\t\t\tlabel: \"Documented\",\n\t\t\tvalue: \"Documented\",\n\t\t\ticon: \"📑\",\n\t\t\torder: 2\n\t\t},\n\t\t[\"Needs App\"]: {\n\t\t\tlabel: \"Needs App\",\n\t\t\tvalue: \"Needs App\",\n\t\t\ticon: \"❓💻\",\n\t\t\torder: 3\n\t\t},\n\t\t[\"App Built\"]: {\n\t\t\tlabel: \"App Built\",\n\t\t\tvalue: \"App Built\",\n\t\t\ticon: \"💻\",\n\t\t\torder: 4\n\t\t},\n\t\t[\"Needs Product\"]: {\n\t\t\tlabel: \"Needs Product\",\n\t\t\tvalue: \"Needs Product\",\n\t\t\ticon: \"❓🧩\",\n\t\t\torder: 5\n\t\t},\n\t\t[\"Product Solved\"]: {\n\t\t\tlabel: \"Product Solved\",\n\t\t\tvalue: \"Product Solved\",\n\t\t\ticon: \"🧩\",\n\t\t\torder: 6\n\t\t},\n\t},\n\tstates: [ { label: \"All\", value: \"ALL\" }, ...Object.values(this.statesMap)],\n\tgetTitleState: (states) => {\n\t\treturn states ? states.map((state) => this.statesMap[state]?.icon + \" \").join(\" \") : \"\"\n\t}\n}", - "variables": [ - { - "name": "type", - "value": [ - { - "label": "All", - "value": "ALL" - }, - { - "label": "Feature", - "value": "Feature" - }, - { - "label": "Bug", - "value": "Bug" - }, - { - "label": "Question", - "value": "Question" - }, - { - "label": "Troubleshooting", - "value": "Troubleshooting" - }, - { - "label": "Suggestion", - "value": "Suggestion" - } - ] - }, - { - "name": "pods", - "value": [ - { - "label": "All", - "value": "ALL" - }, - { - "label": "App Viewers Pod", - "value": "App Viewers Pod" - }, - { - "label": "UI Builders Pod", - "value": "UI Builders Pod" - }, - { - "label": "Team Managers Pod", - "value": "Team Managers Pod" - }, - { - "label": "FE Coders Pod", - "value": "FE Coders Pod" - }, - { - "label": "BE Coders Pod", - "value": "BE Coders Pod" - }, - { - "label": "New Developers Pod", - "value": "New Developers Pod" - } - ] - }, - { - "name": "status", - "value": [ - { - "label": "Opened", - "value": "Opened" - }, - { - "label": "Solved", - "value": "Solved" - }, - { - "label": "Communicated to user", - "value": "Communicated to user" - } - ] - }, - { - "name": "statesMap", - "value": { - "Needs Documentation": { - "label": "Needs Docs", - "value": "Needs Documentation", - "icon": "❓📑", - "order": 1.0 - }, - "Documented": { - "label": "Documented", - "value": "Documented", - "icon": "📑", - "order": 2.0 - }, - "Needs App": { - "label": "Needs App", - "value": "Needs App", - "icon": "❓💻", - "order": 3.0 - }, - "App Built": { - "label": "App Built", - "value": "App Built", - "icon": "💻", - "order": 4.0 - }, - "Needs Product": { - "label": "Needs Product", - "value": "Needs Product", - "icon": "❓🧩", - "order": 5.0 - }, - "Product Solved": { - "label": "Product Solved", - "value": "Product Solved", - "icon": "🧩", - "order": 6.0 - } - } - }, - { - "name": "states", - "value": [ - { - "label": "All", - "value": "ALL" - }, - { - "label": "Needs Docs", - "value": "Needs Documentation", - "icon": "❓📑", - "order": 1.0 - }, - { - "label": "Documented", - "value": "Documented", - "icon": "📑", - "order": 2.0 - }, - { - "label": "Needs App", - "value": "Needs App", - "icon": "❓💻", - "order": 3.0 - }, - { - "label": "App Built", - "value": "App Built", - "icon": "💻", - "order": 4.0 - }, - { - "label": "Needs Product", - "value": "Needs Product", - "icon": "❓🧩", - "order": 5.0 - }, - { - "label": "Product Solved", - "value": "Product Solved", - "icon": "🧩", - "order": 6.0 - } - ] - } - ] - }, - "publishedCollection": { - "name": "Configs", - "pageId": "Issues", - "pluginId": "js-plugin", - "pluginType": "JS", - "actionIds": [ - - ], - "archivedActionIds": [ - - ], - "actions": [ - - ], - "archivedActions": [ - - ], - "body": "export default {\n\ttype: [\n\t\t{\n\t\t\tlabel: \"All\",\n\t\t\tvalue: \"ALL\"\n\t\t}, \n\t\t{\n\t\t\tlabel: \"Feature\",\n\t\t\tvalue: \"Feature\"\n\t\t},\n\t\t{\n\t\t\tlabel: \"Bug\",\n\t\t\tvalue: \"Bug\"\n\t\t},\n\t\t{\n\t\t\tlabel: \"Question\",\n\t\t\tvalue: \"Question\"\n\t\t},\n\t\t{\n\t\t\tlabel: \"Troubleshooting\",\n\t\t\tvalue: \"Troubleshooting\"\n\t\t},\n\t\t{\n\t\t\tlabel: \"Suggestion\",\n\t\t\tvalue: \"Suggestion\"\n\t\t}\n\t],\n\tpods: [\n\t\t{\n\t\t\tlabel: \"All\",\n\t\t\tvalue: \"ALL\"\n\t\t},\n\t\t{\n\t\t\tlabel: \"App Viewers Pod\",\n\t\t\tvalue: \"App Viewers Pod\"\n\t\t},\n\t\t{\n\t\t\tlabel: \"UI Builders Pod\",\n\t\t\tvalue: \"UI Builders Pod\"\n\t\t},\n\t\t{\n\t\t\tlabel: \"Team Managers Pod\",\n\t\t\tvalue: \"Team Managers Pod\"\n\t\t},\n\t\t{\n\t\t\tlabel: \"FE Coders Pod\",\n\t\t\tvalue: \"FE Coders Pod\"\n\t\t},\n\t\t{\n\t\t\tlabel: \"BE Coders Pod\",\n\t\t\tvalue: \"BE Coders Pod\"\n\t\t},\n\t\t{\n\t\t\tlabel: \"New Developers Pod\",\n\t\t\tvalue: \"New Developers Pod\"\n\t\t}\n\t],\n\tstatus: [\n\t\t{\n\t\t\tlabel: \"Opened\",\n\t\t\tvalue: \"Opened\"\n\t\t},\n\t\t{\n\t\t\tlabel: \"Solved\",\n\t\t\tvalue: \"Solved\"\n\t\t},\n\t\t{\n\t\t\tlabel: \"Communicated to user\",\n\t\t\tvalue: \"Communicated to user\"\n\t\t}\n\t],\n\tstatesMap: {\n\t\t[\"Needs Documentation\"]: {\n\t\t\tlabel: \"Needs Docs\",\n\t\t\tvalue: \"Needs Documentation\",\n\t\t\ticon: \"❓📑\",\n\t\t\torder: 1\n\t\t},\n\t\t[\"Documented\"]: {\n\t\t\tlabel: \"Documented\",\n\t\t\tvalue: \"Documented\",\n\t\t\ticon: \"📑\",\n\t\t\torder: 2\n\t\t},\n\t\t[\"Needs App\"]: {\n\t\t\tlabel: \"Needs App\",\n\t\t\tvalue: \"Needs App\",\n\t\t\ticon: \"❓💻\",\n\t\t\torder: 3\n\t\t},\n\t\t[\"App Built\"]: {\n\t\t\tlabel: \"App Built\",\n\t\t\tvalue: \"App Built\",\n\t\t\ticon: \"💻\",\n\t\t\torder: 4\n\t\t},\n\t\t[\"Needs Product\"]: {\n\t\t\tlabel: \"Needs Product\",\n\t\t\tvalue: \"Needs Product\",\n\t\t\ticon: \"❓🧩\",\n\t\t\torder: 5\n\t\t},\n\t\t[\"Product Solved\"]: {\n\t\t\tlabel: \"Product Solved\",\n\t\t\tvalue: \"Product Solved\",\n\t\t\ticon: \"🧩\",\n\t\t\torder: 6\n\t\t},\n\t},\n\tstates: [ { label: \"All\", value: \"ALL\" }, ...Object.values(this.statesMap)],\n\tgetTitleState: (states) => {\n\t\treturn states ? states.map((state) => this.statesMap[state]?.icon + \" \").join(\" \") : \"\"\n\t}\n}", - "variables": [ - { - "name": "type", - "value": [ - { - "label": "All", - "value": "ALL" - }, - { - "label": "Feature", - "value": "Feature" - }, - { - "label": "Bug", - "value": "Bug" - }, - { - "label": "Question", - "value": "Question" - }, - { - "label": "Troubleshooting", - "value": "Troubleshooting" - }, - { - "label": "Suggestion", - "value": "Suggestion" - } - ] - }, - { - "name": "pods", - "value": [ - { - "label": "All", - "value": "ALL" - }, - { - "label": "App Viewers Pod", - "value": "App Viewers Pod" - }, - { - "label": "UI Builders Pod", - "value": "UI Builders Pod" - }, - { - "label": "Team Managers Pod", - "value": "Team Managers Pod" - }, - { - "label": "FE Coders Pod", - "value": "FE Coders Pod" - }, - { - "label": "BE Coders Pod", - "value": "BE Coders Pod" - }, - { - "label": "New Developers Pod", - "value": "New Developers Pod" - } - ] - }, - { - "name": "status", - "value": [ - { - "label": "Opened", - "value": "Opened" - }, - { - "label": "Solved", - "value": "Solved" - }, - { - "label": "Communicated to user", - "value": "Communicated to user" - } - ] - }, - { - "name": "statesMap", - "value": { - "Needs Documentation": { - "label": "Needs Docs", - "value": "Needs Documentation", - "icon": "❓📑", - "order": 1.0 - }, - "Documented": { - "label": "Documented", - "value": "Documented", - "icon": "📑", - "order": 2.0 - }, - "Needs App": { - "label": "Needs App", - "value": "Needs App", - "icon": "❓💻", - "order": 3.0 - }, - "App Built": { - "label": "App Built", - "value": "App Built", - "icon": "💻", - "order": 4.0 - }, - "Needs Product": { - "label": "Needs Product", - "value": "Needs Product", - "icon": "❓🧩", - "order": 5.0 - }, - "Product Solved": { - "label": "Product Solved", - "value": "Product Solved", - "icon": "🧩", - "order": 6.0 - } - } - }, - { - "name": "states", - "value": [ - { - "label": "All", - "value": "ALL" - }, - { - "label": "Needs Docs", - "value": "Needs Documentation", - "icon": "❓📑", - "order": 1.0 - }, - { - "label": "Documented", - "value": "Documented", - "icon": "📑", - "order": 2.0 - }, - { - "label": "Needs App", - "value": "Needs App", - "icon": "❓💻", - "order": 3.0 - }, - { - "label": "App Built", - "value": "App Built", - "icon": "💻", - "order": 4.0 - }, - { - "label": "Needs Product", - "value": "Needs Product", - "icon": "❓🧩", - "order": 5.0 - }, - { - "label": "Product Solved", - "value": "Product Solved", - "icon": "🧩", - "order": 6.0 - } - ] - } - ] - }, - "new": false - }, - { - "id": "Issues_IssueManager", - "userPermissions": [ - "read:actions", - "execute:actions", - "manage:actions" - ], - "gitSyncId": "623762992e5d3f189d0c3c23_62382c35cb09660cd0f703bd", - "unpublishedCollection": { - "name": "IssueManager", - "pageId": "Issues", - "pluginId": "js-plugin", - "pluginType": "JS", - "actionIds": [ - - ], - "archivedActionIds": [ - - ], - "actions": [ - - ], - "archivedActions": [ - - ], - "body": "export default {\n\tgetAssignedLabels: (allLabels = label_select.selectedOptionValues) => {\n\t\tconst labels = allLabels.filter((label) => {\n\t\t\treturn Utils.checkIsPod(label) !== true;\n\t\t}); \n\t\tconst podMap = {};\n\t\tlabels.map((label) => {\n\t\t\tconst pod = Utils.getPodForLabel(label);\n\t\t\tif (pod)\n\t\t\t\tpodMap[pod] = true;\n\t\t});\n\t\treturn [...Object.keys(podMap), ...labels];\n\t}, \n\tcreate_issue: () => {\n\t\tconst labels = this.getAssignedLabels(label_select.selectedOptionValues);\n\t\tadd_new_issue.run(() => {\n\t\t\t\tfetch_issues.run(() => {\n\t\t\t\t\tresetWidget('add_issue_modal', true);\n\t\t\t\t\tcloseModal('add_issue_modal');\n\t\t\t\t});\n\t\t}, undefined, { labels: labels })\n\t},\n\tfetchIssues: () => {\n\t\tfetch_issues.run();\n\t},\n\tgetIssueData: () => {\n\t\treturn fetch_issues.data.map((issue) => {\n\t\t\tif (issue.upvote_id > 0)\n\t\t\t\tissue.count = issue.count + 1;\n\t\t\treturn { type: issue.type, title: issue.title, total_reactions: issue.total_reactions, unique_commentors: issue.unique_commentors, upvote_id: issue.upvote_id ,...issue};\n\t\t});\n\t},\n\taddComment: () => {\n\t\tadd_new_comment.run(() => {\n\t\t\tfetch_comments.run();\n\t\t\tupdate_issue_labels.run(() => \n\t\t\t\tfetch_issues.run());\n\t\t\tcloseModal('upvote_modal');\n\t\t\tresetWidget('upvote_modal', true);\n\t\t});\n\t},\n\tupdate: async () => {\n\t\tconst labels = this.getAssignedLabels(edit_label_select.selectedOptionValues);\n\t\tawait update_issue.run({ labels: labels });\n\t\tawait fetch_issues.run();\n\t},\n\tdelete: async () => {\n\t\tawait delete_issue.run(() => fetch_issues.run());\n\t}\n}", - "variables": [ - - ] - }, - "publishedCollection": { - "name": "IssueManager", - "pageId": "Issues", - "pluginId": "js-plugin", - "pluginType": "JS", - "actionIds": [ - - ], - "archivedActionIds": [ - - ], - "actions": [ - - ], - "archivedActions": [ - - ], - "body": "export default {\n\tgetAssignedLabels: (allLabels = label_select.selectedOptionValues) => {\n\t\tconst labels = allLabels.filter((label) => {\n\t\t\treturn Utils.checkIsPod(label) !== true;\n\t\t}); \n\t\tconst podMap = {};\n\t\tlabels.map((label) => {\n\t\t\tconst pod = Utils.getPodForLabel(label);\n\t\t\tif (pod)\n\t\t\t\tpodMap[pod] = true;\n\t\t});\n\t\treturn [...Object.keys(podMap), ...labels];\n\t}, \n\tcreate_issue: () => {\n\t\tconst labels = this.getAssignedLabels(label_select.selectedOptionValues);\n\t\tadd_new_issue.run(() => {\n\t\t\t\tfetch_issues.run(() => {\n\t\t\t\t\tresetWidget('add_issue_modal', true);\n\t\t\t\t\tcloseModal('add_issue_modal');\n\t\t\t\t});\n\t\t}, undefined, { labels: labels })\n\t},\n\tfetchIssues: () => {\n\t\tfetch_issues.run();\n\t},\n\tgetIssueData: () => {\n\t\treturn fetch_issues.data.map((issue) => {\n\t\t\tif (issue.upvote_id > 0)\n\t\t\t\tissue.count = issue.count + 1;\n\t\t\treturn { type: issue.type, title: issue.title, total_reactions: issue.total_reactions, unique_commentors: issue.unique_commentors, upvote_id: issue.upvote_id ,...issue};\n\t\t});\n\t},\n\taddComment: () => {\n\t\tadd_new_comment.run(() => {\n\t\t\tfetch_comments.run();\n\t\t\tupdate_issue_labels.run(() => \n\t\t\t\tfetch_issues.run());\n\t\t\tcloseModal('upvote_modal');\n\t\t\tresetWidget('upvote_modal', true);\n\t\t});\n\t},\n\tupdate: async () => {\n\t\tconst labels = this.getAssignedLabels(edit_label_select.selectedOptionValues);\n\t\tawait update_issue.run({ labels: labels });\n\t\tawait fetch_issues.run();\n\t},\n\tdelete: async () => {\n\t\tawait delete_issue.run(() => fetch_issues.run());\n\t}\n}", - "variables": [ - - ] - }, - "new": false - }, - { - "id": "Issues_GithubManager", - "userPermissions": [ - "read:actions", - "execute:actions", - "manage:actions" - ], - "gitSyncId": "623762992e5d3f189d0c3c23_62389d692d7f921bb707cf51", - "unpublishedCollection": { - "name": "GithubManager", - "pageId": "Issues", - "pluginId": "js-plugin", - "pluginType": "JS", - "actionIds": [ - - ], - "archivedActionIds": [ - - ], - "actions": [ - - ], - "archivedActions": [ - - ], - "body": "export default {\n\tgetLabels: () => {\n\t\treturn fetch_labels.data.body.items.filter((label) => {\n\t\t\treturn !label.name.includes('Pod');\n\t\t}).map((item) => {\n\t\t\treturn { label: item.name, value: item.name } \n\t\t}); \n\t}, \n\tgetIssues: () => {\n\t\treturn search_github_issues.data.map((item) => {\n\t\t\treturn {\n\t\t\t\tlabel: item.title,\n\t\t\t\tvalue: item.id + \"\"\n\t\t\t}\n\t\t})\n\t},\n\tgetSelectedGithubIssue: () => {\n\t\treturn search_github_issues.data.find((issue) => issue.id == add_issue_select.selectedOptionValue);\n\t}\n}", - "variables": [ - - ] - }, - "publishedCollection": { - "name": "GithubManager", - "pageId": "Issues", - "pluginId": "js-plugin", - "pluginType": "JS", - "actionIds": [ - - ], - "archivedActionIds": [ - - ], - "actions": [ - - ], - "archivedActions": [ - - ], - "body": "export default {\n\tgetLabels: () => {\n\t\treturn fetch_labels.data.body.items.filter((label) => {\n\t\t\treturn !label.name.includes('Pod');\n\t\t}).map((item) => {\n\t\t\treturn { label: item.name, value: item.name } \n\t\t}); \n\t}, \n\tgetIssues: () => {\n\t\treturn search_github_issues.data.map((item) => {\n\t\t\treturn {\n\t\t\t\tlabel: item.title,\n\t\t\t\tvalue: item.id + \"\"\n\t\t\t}\n\t\t})\n\t},\n\tgetSelectedGithubIssue: () => {\n\t\treturn search_github_issues.data.find((issue) => issue.id == add_issue_select.selectedOptionValue);\n\t}\n}", - "variables": [ - - ] - }, - "new": false - } - ], - "invisibleActionFields": { - "Issues_Utils.getConfig": { - "unpublishedUserSetOnLoad": false, - "publishedUserSetOnLoad": false - }, - "Issues_IssueManager.fetchIssues": { - "unpublishedUserSetOnLoad": false, - "publishedUserSetOnLoad": false - }, - "Issues_Utils.checkIsPod": { - "unpublishedUserSetOnLoad": false, - "publishedUserSetOnLoad": false - }, - "Issues_IssueManager.create_issue": { - "unpublishedUserSetOnLoad": false, - "publishedUserSetOnLoad": false - }, - "Issues_GithubManager.getSelectedGithubIssue": { - "unpublishedUserSetOnLoad": false, - "publishedUserSetOnLoad": false - }, - "Issues_GithubManager.getIssues": { - "unpublishedUserSetOnLoad": false, - "publishedUserSetOnLoad": false - }, - "Issues_fetch_label_config": { - "unpublishedUserSetOnLoad": false, - "publishedUserSetOnLoad": false - }, - "Issues_fetch_comments": { - "unpublishedUserSetOnLoad": false, - "publishedUserSetOnLoad": false - }, - "Issues_fetch_labels": { - "unpublishedUserSetOnLoad": false, - "publishedUserSetOnLoad": false - }, - "Issues_IssueManager.getAssignedLabels": { - "unpublishedUserSetOnLoad": false, - "publishedUserSetOnLoad": false - }, - "Issues_update_issue_labels": { - "unpublishedUserSetOnLoad": false, - "publishedUserSetOnLoad": false - }, - "Issues_Utils.csvToArr": { - "unpublishedUserSetOnLoad": false, - "publishedUserSetOnLoad": false - }, - "Issues_update_issue": { - "unpublishedUserSetOnLoad": false, - "publishedUserSetOnLoad": false - }, - "Issues_IssueManager.addComment": { - "unpublishedUserSetOnLoad": false, - "publishedUserSetOnLoad": false - }, - "Issues_IssueManager.update": { - "unpublishedUserSetOnLoad": false, - "publishedUserSetOnLoad": false - }, - "Issues_Utils.getLabelsForPod": { - "unpublishedUserSetOnLoad": false, - "publishedUserSetOnLoad": false - }, - "Issues_Utils.getPodForLabel": { - "unpublishedUserSetOnLoad": false, - "publishedUserSetOnLoad": false - }, - "Issues_search_github_issues": { - "unpublishedUserSetOnLoad": false, - "publishedUserSetOnLoad": false - }, - "Issues_IssueManager.delete": { - "unpublishedUserSetOnLoad": false, - "publishedUserSetOnLoad": false - }, - "Issues_IssueManager.getIssueData": { - "unpublishedUserSetOnLoad": false, - "publishedUserSetOnLoad": false - }, - "Issues_GithubManager.getLabels": { - "unpublishedUserSetOnLoad": false, - "publishedUserSetOnLoad": false - }, - "Issues_fetch_issues": { - "unpublishedUserSetOnLoad": false, - "publishedUserSetOnLoad": false - }, - "Issues_add_new_comment": { - "unpublishedUserSetOnLoad": false, - "publishedUserSetOnLoad": false - }, - "Issues_delete_issue": { - "unpublishedUserSetOnLoad": false, - "publishedUserSetOnLoad": false - }, - "Issues_add_new_issue": { - "unpublishedUserSetOnLoad": false, - "publishedUserSetOnLoad": false - }, - "Issues_Utils.getPodLabels": { - "unpublishedUserSetOnLoad": false, - "publishedUserSetOnLoad": false - }, - "Issues_Configs.getTitleState": { - "unpublishedUserSetOnLoad": false, - "publishedUserSetOnLoad": false - } - }, - "editModeTheme": { - "name": "Classic", - "displayName": "Classic", - "new": true, - "isSystemTheme": true - }, - "publishedTheme": { - "name": "Classic", - "displayName": "Classic", - "new": true, - "isSystemTheme": true - }, - "publishedLayoutmongoEscapedWidgets": { - }, - "unpublishedLayoutmongoEscapedWidgets": { - } -} \ No newline at end of file + "clientSchemaVersion": 1.0, + "serverSchemaVersion": 6.0, + "exportedApplication": { + "name": "Community Issues", + "isPublic": false, + "pages": [{ "id": "Issues", "isDefault": true }], + "publishedPages": [{ "id": "Issues", "isDefault": true }], + "viewMode": false, + "appIsExample": false, + "unreadCommentThreads": 0.0, + "color": "#CCCCCC", + "icon": "arrow-right", + "slug": "community-issues", + "unpublishedCustomJSLibs": [], + "publishedCustomJSLibs": [], + "evaluationVersion": 2.0, + "applicationVersion": 1.0, + "isManualUpdate": false, + "deleted": false + }, + "datasourceList": [ + { + "name": "AForceDB", + "pluginId": "postgres-plugin", + "messages": [], + "isAutoGenerated": false, + "deleted": false, + "gitSyncId": "620251c917bfcd7d6017a1fc_622201ea20daed7797f5693c" + } + ], + "customJSLibList": [], + "pageList": [ + { + "unpublishedPage": { + "name": "Issues", + "slug": "issues", + "layouts": [ + { + "viewMode": false, + "dsl": { + "widgetName": "MainContainer", + "backgroundColor": "none", + "rightColumn": 1082.0, + "snapColumns": 64.0, + "detachFromLayout": true, + "widgetId": "0", + "topRow": 0.0, + "bottomRow": 890.0, + "containerStyle": "none", + "snapRows": 125.0, + "parentRowSpace": 1.0, + "type": "CANVAS_WIDGET", + "canExtend": true, + "version": 78.0, + "minHeight": 940.0, + "parentColumnSpace": 1.0, + "dynamicBindingPathList": [], + "leftColumn": 0.0, + "children": [ + { + "boxShadow": "none", + "widgetName": "upvote_modal", + "isCanvas": true, + "displayName": "Modal", + "iconSVG": "/static/media/icon.4975978e.svg", + "topRow": 90.0, + "bottomRow": 90.0, + "parentRowSpace": 1.0, + "type": "MODAL_WIDGET", + "hideCard": false, + "shouldScrollContents": true, + "animateLoading": true, + "parentColumnSpace": 1.0, + "leftColumn": 0.0, + "dynamicBindingPathList": [], + "children": [ + { + "boxShadow": "none", + "widgetName": "Canvas5", + "displayName": "Canvas", + "topRow": 0.0, + "bottomRow": 470.0, + "parentRowSpace": 1.0, + "type": "CANVAS_WIDGET", + "canExtend": true, + "hideCard": true, + "shouldScrollContents": false, + "minHeight": 478.0, + "parentColumnSpace": 1.0, + "dynamicTriggerPathList": [], + "leftColumn": 0.0, + "dynamicBindingPathList": [], + "children": [ + { + "boxShadow": "none", + "widgetName": "upvote_label_select", + "isFilterable": true, + "dynamicPropertyPathList": [ + { "key": "onFilterUpdate" } + ], + "displayName": "MultiSelect", + "iconSVG": "/static/media/icon.a3495809.svg", + "labelText": "", + "topRow": 35.0, + "bottomRow": 39.0, + "parentRowSpace": 10.0, + "type": "MULTI_SELECT_WIDGET_V2", + "serverSideFiltering": true, + "hideCard": false, + "defaultOptionValue": "{{ ((options, serverSideFiltering) => ( Table1.selectedRow.labels.map((label) => {\n return {\n\t label: label,\n\t value: label\n }\n})))(upvote_label_select.options, upvote_label_select.serverSideFiltering) }}", + "animateLoading": true, + "parentColumnSpace": 16.3125, + "dynamicTriggerPathList": [ + { "key": "onFilterUpdate" } + ], + "leftColumn": 1.0, + "dynamicBindingPathList": [ + { "key": "options" }, + { "key": "defaultOptionValue" }, + { "key": "accentColor" } + ], + "options": "{{GithubManager.getLabels()}}", + "placeholderText": "Select label(s)", + "isDisabled": false, + "key": "5rw0979hv0", + "labelTextSize": "0.875rem", + "isRequired": true, + "rightColumn": 64.0, + "dynamicHeight": "FIXED", + "widgetId": "xdplbo2hdw", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "version": 1.0, + "parentId": "a189hjos00", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000.0, + "onFilterUpdate": "{{fetch_labels.run({ filterText: upvote_label_select.filterText })}}", + "minDynamicHeight": 4.0 + }, + { + "boxShadow": "none", + "widgetName": "Text12Copy", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b52.svg", + "topRow": 15.0, + "bottomRow": 19.0, + "parentRowSpace": 10.0, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 6.9375, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 1.0, + "dynamicBindingPathList": [], + "text": "Comment", + "key": "fzyz91gt8q", + "labelTextSize": "0.875rem", + "rightColumn": 17.0, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "hx56ibu1uk", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1.0, + "parentId": "a189hjos00", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000.0, + "fontSize": "0.875rem", + "minDynamicHeight": 4.0 + }, + { + "boxShadow": "none", + "widgetName": "comment_input", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595.svg", + "topRow": 19.0, + "bottomRow": 31.0, + "parentRowSpace": 10.0, + "autoFocus": false, + "type": "INPUT_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 6.9375, + "resetOnSubmit": true, + "leftColumn": 1.0, + "dynamicBindingPathList": [{ "key": "accentColor" }], + "labelStyle": "", + "inputType": "TEXT", + "isDisabled": false, + "key": "zyoraxqcrl", + "labelTextSize": "0.875rem", + "isRequired": false, + "rightColumn": 62.0, + "widgetId": "x2u0y4ound", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "label": "", + "allowCurrencyChange": false, + "version": 1.0, + "parentId": "a189hjos00", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "iconAlign": "left", + "defaultText": "" + }, + { + "boxShadow": "none", + "widgetName": "Icon2", + "onClick": "{{closeModal('upvote_modal')}}", + "buttonColor": "#2E3D49", + "displayName": "Icon", + "iconSVG": "/static/media/icon.31d6cfe0.svg", + "topRow": 1.0, + "bottomRow": 5.0, + "type": "ICON_BUTTON_WIDGET", + "hideCard": true, + "leftColumn": 58.0, + "dynamicBindingPathList": [], + "iconSize": 24.0, + "key": "aeg87lexno", + "labelTextSize": "0.875rem", + "rightColumn": 64.0, + "iconName": "cross", + "widgetId": "nphe3f67yt", + "isVisible": true, + "version": 1.0, + "parentId": "a189hjos00", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "buttonVariant": "TERTIARY" + }, + { + "boxShadow": "none", + "widgetName": "Text11", + "dynamicPropertyPathList": [{ "key": "fontSize" }], + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b52.svg", + "topRow": 1.0, + "bottomRow": 5.0, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 1.0, + "dynamicBindingPathList": [], + "text": "Upvote Issue", + "key": "fzyz91gt8q", + "labelTextSize": "0.875rem", + "rightColumn": 41.0, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "bfqckgaole", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1.0, + "parentId": "a189hjos00", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000.0, + "fontSize": "1.5rem", + "minDynamicHeight": 4.0 + }, + { + "boxShadow": "none", + "widgetName": "Button5", + "onClick": "{{closeModal('upvote_modal')}}", + "buttonColor": "#2E3D49", + "displayName": "Button", + "iconSVG": "/static/media/icon.cca02633.svg", + "topRow": 41.0, + "bottomRow": 45.0, + "type": "BUTTON_WIDGET", + "hideCard": false, + "animateLoading": true, + "dynamicTriggerPathList": [], + "leftColumn": 30.0, + "dynamicBindingPathList": [], + "text": "Close", + "isDisabled": false, + "key": "oz6v5ujks3", + "labelTextSize": "0.875rem", + "rightColumn": 42.0, + "isDefaultClickDisabled": true, + "widgetId": "2mnhq3yf99", + "buttonStyle": "PRIMARY", + "isVisible": true, + "version": 1.0, + "recaptchaType": "V3", + "parentId": "a189hjos00", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "buttonVariant": "SECONDARY" + }, + { + "boxShadow": "none", + "widgetName": "Button6", + "onClick": "{{IssueManager.addComment()}}", + "buttonColor": "#2E3D49", + "dynamicPropertyPathList": [ + { "key": "onClick" }, + { "key": "isDisabled" } + ], + "displayName": "Button", + "iconSVG": "/static/media/icon.cca02633.svg", + "topRow": 41.0, + "bottomRow": 45.0, + "type": "BUTTON_WIDGET", + "hideCard": false, + "animateLoading": true, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 42.0, + "dynamicBindingPathList": [{ "key": "isDisabled" }], + "text": "Save", + "isDisabled": "{{!comment_link_input.isValid || IssueManager.getAssignedLabels(upvote_label_select.selectedOptionValues).length == 0}}", + "key": "oz6v5ujks3", + "labelTextSize": "0.875rem", + "rightColumn": 64.0, + "isDefaultClickDisabled": true, + "widgetId": "8ph22tfh2p", + "buttonStyle": "PRIMARY_BUTTON", + "isVisible": true, + "version": 1.0, + "recaptchaType": "V3", + "parentId": "a189hjos00", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "buttonVariant": "PRIMARY" + }, + { + "boxShadow": "none", + "widgetName": "Text12", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b52.svg", + "topRow": 6.0, + "bottomRow": 10.0, + "parentRowSpace": 10.0, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 6.9375, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 1.0, + "dynamicBindingPathList": [], + "text": "Link", + "key": "fzyz91gt8q", + "labelTextSize": "0.875rem", + "rightColumn": 17.0, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "gculfyyarv", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1.0, + "parentId": "a189hjos00", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000.0, + "fontSize": "0.875rem", + "minDynamicHeight": 4.0 + }, + { + "boxShadow": "none", + "widgetName": "comment_link_input", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595.svg", + "topRow": 10.0, + "bottomRow": 14.0, + "parentRowSpace": 10.0, + "autoFocus": false, + "type": "INPUT_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 6.9375, + "dynamicTriggerPathList": [], + "resetOnSubmit": true, + "leftColumn": 1.0, + "dynamicBindingPathList": [{ "key": "accentColor" }], + "labelStyle": "", + "inputType": "TEXT", + "isDisabled": false, + "key": "zyoraxqcrl", + "labelTextSize": "0.875rem", + "isRequired": true, + "rightColumn": 62.0, + "widgetId": "hhr3oe3adk", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "label": "", + "allowCurrencyChange": false, + "version": 1.0, + "parentId": "a189hjos00", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "iconAlign": "left", + "defaultText": "" + }, + { + "boxShadow": "none", + "widgetName": "Text25", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b52.svg", + "topRow": 31.0, + "bottomRow": 35.0, + "parentRowSpace": 10.0, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 6.9375, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 1.0, + "dynamicBindingPathList": [], + "truncateButtonColor": "#FFC13D", + "text": "Labels", + "key": "z1pp8v2iis", + "labelTextSize": "0.875rem", + "rightColumn": 17.0, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "jj9lerbuso", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1.0, + "parentId": "a189hjos00", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000.0, + "fontSize": "0.875rem", + "minDynamicHeight": 4.0 + } + ], + "isDisabled": false, + "key": "6u4x0kf3h8", + "labelTextSize": "0.875rem", + "rightColumn": 0.0, + "detachFromLayout": true, + "widgetId": "a189hjos00", + "isVisible": true, + "version": 1.0, + "parentId": "wfscrnavzk", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px" + } + ], + "key": "9ppzbhlnqc", + "height": 478.0, + "labelTextSize": "0.875rem", + "rightColumn": 0.0, + "detachFromLayout": true, + "dynamicHeight": "FIXED", + "widgetId": "wfscrnavzk", + "canOutsideClickClose": true, + "canEscapeKeyClose": true, + "version": 2.0, + "parentId": "0", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000.0, + "width": 456.0, + "minDynamicHeight": 4.0 + }, + { + "boxShadow": "none", + "widgetName": "Tabs1", + "isCanvas": true, + "dynamicPropertyPathList": [ + { "key": "isVisible" }, + { "key": "onTabSelected" } + ], + "displayName": "Tabs", + "iconSVG": "/static/media/icon.74a6d653.svg", + "topRow": 5.0, + "bottomRow": 89.0, + "parentRowSpace": 10.0, + "type": "TABS_WIDGET", + "hideCard": false, + "shouldScrollContents": false, + "animateLoading": false, + "parentColumnSpace": 17.9375, + "dynamicTriggerPathList": [{ "key": "onTabSelected" }], + "leftColumn": 44.0, + "dynamicBindingPathList": [ + { "key": "isVisible" }, + { "key": "accentColor" } + ], + "children": [ + { + "tabId": "tab1", + "boxShadow": "none", + "widgetName": "Canvas1", + "displayName": "Canvas", + "topRow": 0.0, + "bottomRow": 810.0, + "parentRowSpace": 1.0, + "type": "CANVAS_WIDGET", + "canExtend": true, + "hideCard": true, + "shouldScrollContents": false, + "minHeight": 400.0, + "parentColumnSpace": 1.0, + "dynamicTriggerPathList": [], + "leftColumn": 0.0, + "dynamicBindingPathList": [], + "children": [ + { + "template": { + "Canvas1Copy": { + "widgetName": "Canvas1Copy", + "displayName": "Canvas", + "topRow": 0.0, + "bottomRow": 400.0, + "parentRowSpace": 1.0, + "type": "CANVAS_WIDGET", + "canExtend": false, + "hideCard": true, + "dropDisabled": true, + "openParentPropertyPane": true, + "minHeight": 400.0, + "noPad": true, + "parentColumnSpace": 1.0, + "leftColumn": 0.0, + "dynamicBindingPathList": [], + "children": ["2mnw941o3c"], + "key": "6u4x0kf3h8", + "rightColumn": 430.5, + "detachFromLayout": true, + "widgetId": "ucvwcx91v9", + "containerStyle": "none", + "isVisible": true, + "version": 1.0, + "parentId": "cu1twhxgsd", + "renderMode": "CANVAS", + "isLoading": false + }, + "Container1": { + "boxShadow": "NONE", + "widgetName": "Container1", + "borderColor": "transparent", + "disallowCopy": true, + "isCanvas": true, + "displayName": "Container", + "iconSVG": "/static/media/icon.1977dca3.svg", + "topRow": 0.0, + "bottomRow": 12.0, + "dragDisabled": true, + "type": "CONTAINER_WIDGET", + "hideCard": false, + "openParentPropertyPane": true, + "isDeletable": false, + "animateLoading": true, + "leftColumn": 0.0, + "dynamicBindingPathList": [], + "children": ["tog68u9on9"], + "borderWidth": "0", + "key": "kvuew872nd", + "disablePropertyPane": true, + "backgroundColor": "white", + "rightColumn": 64.0, + "widgetId": "2mnw941o3c", + "containerStyle": "card", + "isVisible": true, + "version": 1.0, + "parentId": "ucvwcx91v9", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0" + }, + "Canvas2Copy": { + "widgetName": "Canvas2Copy", + "detachFromLayout": true, + "displayName": "Canvas", + "widgetId": "tog68u9on9", + "containerStyle": "none", + "topRow": 0.0, + "bottomRow": 120.0, + "parentRowSpace": 1.0, + "isVisible": true, + "type": "CANVAS_WIDGET", + "canExtend": false, + "version": 1.0, + "hideCard": true, + "parentId": "2mnw941o3c", + "renderMode": "CANVAS", + "isLoading": false, + "parentColumnSpace": 1.0, + "leftColumn": 0.0, + "dynamicBindingPathList": [], + "children": [ + "kklt0cg1tk", + "7sjskfdsub", + "6sjuuvj9ls", + "22rrixkfjj", + "05joyb6dqj" + ], + "key": "6u4x0kf3h8" + }, + "Text2": { + "widgetName": "Text2", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b52.svg", + "topRow": 0.0, + "bottomRow": 4.0, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "dynamicTriggerPathList": [], + "dynamicBindingPathList": [{ "key": "text" }], + "leftColumn": 1.0, + "text": "{{List1.listData.map((currentItem) => currentItem.author)}}", + "key": "fzyz91gt8q", + "rightColumn": 29.0, + "textAlign": "LEFT", + "widgetId": "kklt0cg1tk", + "logBlackList": { + "isVisible": true, + "text": true, + "fontSize": true, + "fontStyle": true, + "textAlign": true, + "textColor": true, + "widgetName": true, + "version": true, + "animateLoading": true, + "type": true, + "hideCard": true, + "displayName": true, + "key": true, + "iconSVG": true, + "isCanvas": true, + "textStyle": true, + "dynamicBindingPathList": true, + "dynamicTriggerPathList": true, + "minHeight": true, + "widgetId": true, + "renderMode": true, + "isLoading": true, + "parentColumnSpace": true, + "parentRowSpace": true, + "leftColumn": true, + "rightColumn": true, + "topRow": true, + "bottomRow": true, + "parentId": true + }, + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1.0, + "parentId": "tog68u9on9", + "renderMode": "CANVAS", + "isLoading": false, + "fontSize": "PARAGRAPH2", + "textStyle": "HEADING" + }, + "Text3": { + "widgetName": "Text3", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b52.svg", + "topRow": 4.0, + "bottomRow": 10.0, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "dynamicTriggerPathList": [], + "dynamicBindingPathList": [{ "key": "text" }], + "leftColumn": 1.0, + "text": "{{List1.listData.map((currentItem) => currentItem.comment)}}", + "key": "fzyz91gt8q", + "rightColumn": 64.0, + "textAlign": "LEFT", + "widgetId": "7sjskfdsub", + "logBlackList": { + "isVisible": true, + "text": true, + "fontSize": true, + "fontStyle": true, + "textAlign": true, + "textColor": true, + "widgetName": true, + "version": true, + "animateLoading": true, + "type": true, + "hideCard": true, + "displayName": true, + "key": true, + "iconSVG": true, + "isCanvas": true, + "textStyle": true, + "dynamicBindingPathList": true, + "dynamicTriggerPathList": true, + "minHeight": true, + "widgetId": true, + "renderMode": true, + "isLoading": true, + "parentColumnSpace": true, + "parentRowSpace": true, + "leftColumn": true, + "rightColumn": true, + "topRow": true, + "bottomRow": true, + "parentId": true + }, + "isVisible": true, + "fontStyle": "", + "textColor": "#231F20", + "version": 1.0, + "shouldScroll": true, + "parentId": "tog68u9on9", + "renderMode": "CANVAS", + "isLoading": false, + "fontSize": "PARAGRAPH2", + "textStyle": "BODY" + }, + "IconButton2": { + "boxShadow": "NONE", + "widgetName": "IconButton2", + "onClick": "{{List1.listData.map((currentItem) => navigateTo(currentItem.link, {},'NEW_WINDOW'))}}", + "buttonColor": "#03B365", + "displayName": "Icon Button", + "iconSVG": "/static/media/icon.1a0c634a.svg", + "topRow": 0.0, + "bottomRow": 4.0, + "parentRowSpace": 10.0, + "type": "ICON_BUTTON_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 6.2890625, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 56.0, + "dynamicBindingPathList": [], + "isDisabled": false, + "key": "35uqmnh3wt", + "rightColumn": 64.0, + "iconName": "link", + "widgetId": "6sjuuvj9ls", + "logBlackList": { + "isVisible": true, + "iconName": true, + "borderRadius": true, + "boxShadow": true, + "buttonColor": true, + "buttonVariant": true, + "isDisabled": true, + "widgetName": true, + "version": true, + "animateLoading": true, + "type": true, + "hideCard": true, + "displayName": true, + "key": true, + "iconSVG": true, + "isCanvas": true, + "minHeight": true, + "widgetId": true, + "renderMode": true, + "isLoading": true, + "parentColumnSpace": true, + "parentRowSpace": true, + "leftColumn": true, + "rightColumn": true, + "topRow": true, + "bottomRow": true, + "parentId": true + }, + "isVisible": true, + "version": 1.0, + "parentId": "tog68u9on9", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "CIRCLE", + "buttonVariant": "TERTIARY" + }, + "IconButton3": { + "boxShadow": "NONE", + "widgetName": "IconButton3", + "onClick": "{{IssueManager.deleteComment()}}", + "buttonColor": "#F86A2B", + "displayName": "Icon Button", + "iconSVG": "/static/media/icon.1a0c634a.svg", + "topRow": 0.0, + "bottomRow": 4.0, + "parentRowSpace": 10.0, + "type": "ICON_BUTTON_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 6.2890625, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 49.0, + "dynamicBindingPathList": [], + "isDisabled": false, + "key": "35uqmnh3wt", + "rightColumn": 56.0, + "iconName": "trash", + "widgetId": "22rrixkfjj", + "logBlackList": { + "isVisible": true, + "iconName": true, + "borderRadius": true, + "boxShadow": true, + "buttonColor": true, + "buttonVariant": true, + "isDisabled": true, + "widgetName": true, + "version": true, + "animateLoading": true, + "type": true, + "hideCard": true, + "displayName": true, + "key": true, + "iconSVG": true, + "isCanvas": true, + "minHeight": true, + "widgetId": true, + "renderMode": true, + "isLoading": true, + "parentColumnSpace": true, + "parentRowSpace": true, + "leftColumn": true, + "rightColumn": true, + "topRow": true, + "bottomRow": true, + "parentId": true + }, + "isVisible": true, + "version": 1.0, + "parentId": "tog68u9on9", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "CIRCLE", + "buttonVariant": "TERTIARY" + }, + "Text14": { + "widgetName": "Text14", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b52.svg", + "topRow": 0.0, + "bottomRow": 4.0, + "parentRowSpace": 10.0, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 5.1357421875, + "dynamicTriggerPathList": [], + "leftColumn": 33.0, + "dynamicBindingPathList": [{ "key": "text" }], + "text": "{{List1.listData.map((currentItem) => moment(currentItem.created_at).format(\"Do MMM\"))}}", + "key": "w50usn0v9g", + "rightColumn": 49.0, + "textAlign": "RIGHT", + "widgetId": "05joyb6dqj", + "logBlackList": { + "isVisible": true, + "text": true, + "fontSize": true, + "fontStyle": true, + "textAlign": true, + "textColor": true, + "widgetName": true, + "version": true, + "animateLoading": true, + "type": true, + "hideCard": true, + "displayName": true, + "key": true, + "iconSVG": true, + "isCanvas": true, + "minHeight": true, + "widgetId": true, + "renderMode": true, + "isLoading": true, + "parentColumnSpace": true, + "parentRowSpace": true, + "leftColumn": true, + "rightColumn": true, + "topRow": true, + "bottomRow": true, + "parentId": true + }, + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1.0, + "parentId": "tog68u9on9", + "renderMode": "CANVAS", + "isLoading": false, + "fontSize": "PARAGRAPH2" + } + }, + "boxShadow": "none", + "widgetName": "List1", + "listData": "{{fetch_comments.data}}", + "isCanvas": true, + "displayName": "List", + "iconSVG": "/static/media/icon.9925ee17.svg", + "topRow": 0.0, + "bottomRow": 81.0, + "parentRowSpace": 10.0, + "type": "LIST_WIDGET", + "hideCard": false, + "gridGap": 0.0, + "animateLoading": true, + "parentColumnSpace": 6.7265625, + "dynamicTriggerPathList": [ + { "key": "template.IconButton2.onClick" }, + { "key": "template.IconButton3.onClick" } + ], + "leftColumn": 0.0, + "dynamicBindingPathList": [ + { "key": "listData" }, + { "key": "template.Text3.text" }, + { "key": "template.Text2.text" }, + { "key": "template.Text14.text" }, + { "key": "template.Text2.text" }, + { "key": "template.Text3.text" }, + { "key": "template.IconButton2.onClick" }, + { "key": "template.Text14.text" }, + { "key": "accentColor" } + ], + "gridType": "vertical", + "enhancements": true, + "children": [ + { + "boxShadow": "none", + "widgetName": "Canvas1Copy", + "displayName": "Canvas", + "topRow": 0.0, + "bottomRow": 400.0, + "parentRowSpace": 1.0, + "type": "CANVAS_WIDGET", + "canExtend": false, + "hideCard": true, + "dropDisabled": true, + "openParentPropertyPane": true, + "minHeight": 400.0, + "noPad": true, + "parentColumnSpace": 1.0, + "leftColumn": 0.0, + "dynamicBindingPathList": [], + "children": [ + { + "boxShadow": "none", + "widgetName": "Container1", + "borderColor": "transparent", + "disallowCopy": true, + "isCanvas": true, + "dynamicPropertyPathList": [ + { "key": "borderRadius" } + ], + "displayName": "Container", + "iconSVG": "/static/media/icon.1977dca3.svg", + "topRow": 0.0, + "bottomRow": 12.0, + "dragDisabled": true, + "type": "CONTAINER_WIDGET", + "hideCard": false, + "openParentPropertyPane": true, + "isDeletable": false, + "animateLoading": true, + "leftColumn": 0.0, + "dynamicBindingPathList": [], + "children": [ + { + "boxShadow": "none", + "widgetName": "Canvas2Copy", + "displayName": "Canvas", + "topRow": 0.0, + "bottomRow": 120.0, + "parentRowSpace": 1.0, + "type": "CANVAS_WIDGET", + "canExtend": false, + "hideCard": true, + "parentColumnSpace": 1.0, + "leftColumn": 0.0, + "dynamicBindingPathList": [], + "children": [ + { + "boxShadow": "none", + "widgetName": "Text2", + "dynamicPropertyPathList": [ + { "key": "fontSize" } + ], + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b52.svg", + "topRow": 0.0, + "bottomRow": 4.0, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "dynamicBindingPathList": [ + { "key": "text" } + ], + "leftColumn": 1.0, + "text": "{{currentItem.author}}", + "key": "fzyz91gt8q", + "labelTextSize": "0.875rem", + "rightColumn": 29.0, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "kklt0cg1tk", + "logBlackList": { + "isVisible": true, + "text": true, + "fontSize": true, + "fontStyle": true, + "textAlign": true, + "textColor": true, + "widgetName": true, + "version": true, + "animateLoading": true, + "type": true, + "hideCard": true, + "displayName": true, + "key": true, + "iconSVG": true, + "isCanvas": true, + "textStyle": true, + "dynamicBindingPathList": true, + "dynamicTriggerPathList": true, + "minHeight": true, + "widgetId": true, + "renderMode": true, + "isLoading": true, + "parentColumnSpace": true, + "parentRowSpace": true, + "leftColumn": true, + "rightColumn": true, + "topRow": true, + "bottomRow": true, + "parentId": true + }, + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1.0, + "parentId": "tog68u9on9", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000.0, + "fontSize": "0.75rem", + "textStyle": "HEADING", + "minDynamicHeight": 4.0 + }, + { + "boxShadow": "none", + "widgetName": "Text3", + "dynamicPropertyPathList": [ + { "key": "fontSize" } + ], + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b52.svg", + "topRow": 4.0, + "bottomRow": 10.0, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "dynamicTriggerPathList": [], + "overflow": "SCROLL", + "fontFamily": "System Default", + "dynamicBindingPathList": [ + { "key": "text" } + ], + "leftColumn": 1.0, + "text": "{{currentItem.comment}}", + "key": "fzyz91gt8q", + "labelTextSize": "0.875rem", + "rightColumn": 64.0, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "7sjskfdsub", + "logBlackList": { + "isVisible": true, + "text": true, + "fontSize": true, + "fontStyle": true, + "textAlign": true, + "textColor": true, + "widgetName": true, + "version": true, + "animateLoading": true, + "type": true, + "hideCard": true, + "displayName": true, + "key": true, + "iconSVG": true, + "isCanvas": true, + "textStyle": true, + "dynamicBindingPathList": true, + "dynamicTriggerPathList": true, + "minHeight": true, + "widgetId": true, + "renderMode": true, + "isLoading": true, + "parentColumnSpace": true, + "parentRowSpace": true, + "leftColumn": true, + "rightColumn": true, + "topRow": true, + "bottomRow": true, + "parentId": true + }, + "isVisible": true, + "fontStyle": "", + "textColor": "#231F20", + "version": 1.0, + "parentId": "tog68u9on9", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000.0, + "fontSize": "0.75rem", + "textStyle": "BODY", + "minDynamicHeight": 4.0 + }, + { + "boxShadow": "none", + "widgetName": "IconButton2", + "onClick": "{{navigateTo(currentItem.link, {},'NEW_WINDOW')}}", + "buttonColor": "#03B365", + "dynamicPropertyPathList": [ + { "key": "borderRadius" } + ], + "displayName": "Icon Button", + "iconSVG": "/static/media/icon.1a0c634a.svg", + "topRow": 0.0, + "bottomRow": 4.0, + "parentRowSpace": 10.0, + "type": "ICON_BUTTON_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 6.2890625, + "dynamicTriggerPathList": [ + { "key": "onClick" } + ], + "leftColumn": 56.0, + "dynamicBindingPathList": [], + "isDisabled": false, + "key": "35uqmnh3wt", + "labelTextSize": "0.875rem", + "rightColumn": 64.0, + "iconName": "link", + "dynamicHeight": "FIXED", + "widgetId": "6sjuuvj9ls", + "logBlackList": { + "isVisible": true, + "iconName": true, + "borderRadius": true, + "boxShadow": true, + "buttonColor": true, + "buttonVariant": true, + "isDisabled": true, + "widgetName": true, + "version": true, + "animateLoading": true, + "type": true, + "hideCard": true, + "displayName": true, + "key": true, + "iconSVG": true, + "isCanvas": true, + "minHeight": true, + "widgetId": true, + "renderMode": true, + "isLoading": true, + "parentColumnSpace": true, + "parentRowSpace": true, + "leftColumn": true, + "rightColumn": true, + "topRow": true, + "bottomRow": true, + "parentId": true + }, + "isVisible": true, + "version": 1.0, + "parentId": "tog68u9on9", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "9999px", + "buttonVariant": "TERTIARY" + }, + { + "boxShadow": "none", + "widgetName": "IconButton3", + "onClick": "{{IssueManager.deleteComment()}}", + "buttonColor": "#F86A2B", + "dynamicPropertyPathList": [ + { "key": "borderRadius" } + ], + "displayName": "Icon Button", + "iconSVG": "/static/media/icon.1a0c634a.svg", + "topRow": 0.0, + "bottomRow": 4.0, + "parentRowSpace": 10.0, + "type": "ICON_BUTTON_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 6.2890625, + "dynamicTriggerPathList": [ + { "key": "onClick" } + ], + "leftColumn": 49.0, + "dynamicBindingPathList": [], + "isDisabled": false, + "key": "35uqmnh3wt", + "labelTextSize": "0.875rem", + "rightColumn": 56.0, + "iconName": "trash", + "dynamicHeight": "FIXED", + "widgetId": "22rrixkfjj", + "logBlackList": { + "isVisible": true, + "iconName": true, + "borderRadius": true, + "boxShadow": true, + "buttonColor": true, + "buttonVariant": true, + "isDisabled": true, + "widgetName": true, + "version": true, + "animateLoading": true, + "type": true, + "hideCard": true, + "displayName": true, + "key": true, + "iconSVG": true, + "isCanvas": true, + "minHeight": true, + "widgetId": true, + "renderMode": true, + "isLoading": true, + "parentColumnSpace": true, + "parentRowSpace": true, + "leftColumn": true, + "rightColumn": true, + "topRow": true, + "bottomRow": true, + "parentId": true + }, + "isVisible": true, + "version": 1.0, + "parentId": "tog68u9on9", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "9999px", + "buttonVariant": "TERTIARY" + }, + { + "boxShadow": "none", + "widgetName": "Text14", + "dynamicPropertyPathList": [ + { "key": "fontSize" } + ], + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b52.svg", + "topRow": 0.0, + "bottomRow": 4.0, + "parentRowSpace": 10.0, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 5.1357421875, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 33.0, + "dynamicBindingPathList": [ + { "key": "text" } + ], + "text": "{{moment(currentItem.created_at).format(\"Do MMM\")}}", + "key": "w50usn0v9g", + "labelTextSize": "0.875rem", + "rightColumn": 49.0, + "textAlign": "RIGHT", + "dynamicHeight": "FIXED", + "widgetId": "05joyb6dqj", + "logBlackList": { + "isVisible": true, + "text": true, + "fontSize": true, + "fontStyle": true, + "textAlign": true, + "textColor": true, + "widgetName": true, + "version": true, + "animateLoading": true, + "type": true, + "hideCard": true, + "displayName": true, + "key": true, + "iconSVG": true, + "isCanvas": true, + "minHeight": true, + "widgetId": true, + "renderMode": true, + "isLoading": true, + "parentColumnSpace": true, + "parentRowSpace": true, + "leftColumn": true, + "rightColumn": true, + "topRow": true, + "bottomRow": true, + "parentId": true + }, + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1.0, + "parentId": "tog68u9on9", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000.0, + "fontSize": "0.75rem", + "minDynamicHeight": 4.0 + } + ], + "key": "6u4x0kf3h8", + "labelTextSize": "0.875rem", + "detachFromLayout": true, + "widgetId": "tog68u9on9", + "containerStyle": "none", + "isVisible": true, + "version": 1.0, + "parentId": "2mnw941o3c", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px" + } + ], + "borderWidth": "0", + "key": "kvuew872nd", + "disablePropertyPane": true, + "labelTextSize": "0.875rem", + "backgroundColor": "white", + "rightColumn": 64.0, + "dynamicHeight": "FIXED", + "widgetId": "2mnw941o3c", + "containerStyle": "card", + "isVisible": true, + "version": 1.0, + "parentId": "ucvwcx91v9", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000.0, + "minDynamicHeight": 4.0 + } + ], + "key": "6u4x0kf3h8", + "labelTextSize": "0.875rem", + "rightColumn": 430.5, + "detachFromLayout": true, + "widgetId": "ucvwcx91v9", + "containerStyle": "none", + "isVisible": true, + "version": 1.0, + "parentId": "cu1twhxgsd", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px" + } + ], + "privateWidgets": { + "Text2": true, + "Text3": true, + "IconButton2": true, + "IconButton3": true, + "Text14": true + }, + "key": "0d6epexg6w", + "labelTextSize": "0.875rem", + "backgroundColor": "transparent", + "rightColumn": 64.0, + "itemBackgroundColor": "#F6F7F8", + "widgetId": "cu1twhxgsd", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "parentId": "e05q08c1nq", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px" + } + ], + "isDisabled": false, + "key": "6u4x0kf3h8", + "labelTextSize": "0.875rem", + "tabName": "Upvotes", + "rightColumn": 430.5, + "detachFromLayout": true, + "widgetId": "e05q08c1nq", + "isVisible": true, + "version": 1.0, + "parentId": "n316autef7", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px" + }, + { + "tabId": "tab2", + "boxShadow": "none", + "widgetName": "Canvas2", + "displayName": "Canvas", + "topRow": 0.0, + "bottomRow": 800.0, + "parentRowSpace": 1.0, + "type": "CANVAS_WIDGET", + "canExtend": true, + "hideCard": true, + "shouldScrollContents": false, + "minHeight": 400.0, + "parentColumnSpace": 1.0, + "dynamicTriggerPathList": [], + "leftColumn": 0.0, + "dynamicBindingPathList": [], + "children": [ + { + "boxShadow": "none", + "widgetName": "Text5", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b52.svg", + "topRow": 0.0, + "bottomRow": 4.0, + "parentRowSpace": 10.0, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 6.4140625, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 0.0, + "dynamicBindingPathList": [], + "text": "Title", + "key": "fzyz91gt8q", + "labelTextSize": "0.875rem", + "rightColumn": 12.0, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "hb6ha60ybn", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1.0, + "parentId": "devkwyks4k", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000.0, + "fontSize": "0.875rem", + "minDynamicHeight": 4.0 + }, + { + "boxShadow": "none", + "widgetName": "Text6", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b52.svg", + "topRow": 8.0, + "bottomRow": 12.0, + "parentRowSpace": 10.0, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 6.4140625, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 0.0, + "dynamicBindingPathList": [], + "text": "Description", + "key": "fzyz91gt8q", + "labelTextSize": "0.875rem", + "rightColumn": 26.0, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "5ohkvurob7", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1.0, + "parentId": "devkwyks4k", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000.0, + "fontSize": "0.875rem", + "minDynamicHeight": 4.0 + }, + { + "boxShadow": "none", + "widgetName": "Text7", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b52.svg", + "topRow": 31.0, + "bottomRow": 35.0, + "parentRowSpace": 10.0, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 6.4140625, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 0.0, + "dynamicBindingPathList": [], + "text": "Type", + "key": "fzyz91gt8q", + "labelTextSize": "0.875rem", + "rightColumn": 16.0, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "ldimms4xqb", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1.0, + "parentId": "devkwyks4k", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000.0, + "fontSize": "0.875rem", + "minDynamicHeight": 4.0 + }, + { + "boxShadow": "none", + "widgetName": "Text8", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b52.svg", + "topRow": 39.0, + "bottomRow": 43.0, + "parentRowSpace": 10.0, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 6.4140625, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 0.0, + "dynamicBindingPathList": [{ "key": "text" }], + "text": "Labels: {{Table1.selectedRow.labels.join(\",\")}}", + "key": "fzyz91gt8q", + "labelTextSize": "0.875rem", + "rightColumn": 63.0, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "r5pmq8fk8b", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1.0, + "parentId": "devkwyks4k", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000.0, + "fontSize": "0.875rem", + "minDynamicHeight": 4.0 + }, + { + "boxShadow": "none", + "widgetName": "Text9", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b52.svg", + "topRow": 47.0, + "bottomRow": 51.0, + "parentRowSpace": 10.0, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 6.4140625, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 0.0, + "dynamicBindingPathList": [], + "text": "Github Issue Link", + "key": "fzyz91gt8q", + "labelTextSize": "0.875rem", + "rightColumn": 24.0, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "imcqf02q27", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1.0, + "parentId": "devkwyks4k", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000.0, + "fontSize": "0.875rem", + "minDynamicHeight": 4.0 + }, + { + "boxShadow": "none", + "widgetName": "Button1", + "onClick": "{{IssueManager.update()}}", + "buttonColor": "#2E3D49", + "dynamicPropertyPathList": [{ "key": "isDisabled" }], + "displayName": "Button", + "iconSVG": "/static/media/icon.cca02633.svg", + "topRow": 74.0, + "bottomRow": 78.0, + "parentRowSpace": 10.0, + "type": "BUTTON_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 6.4140625, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 42.0, + "dynamicBindingPathList": [{ "key": "isDisabled" }], + "text": "Save", + "isDisabled": "{{!edit_link_input.isValid || !edit_type_input.isValid || !edit_title_input.text || IssueManager.getAssignedLabels(edit_label_select.selectedOptionValues).length == 0}}", + "key": "oz6v5ujks3", + "labelTextSize": "0.875rem", + "rightColumn": 63.0, + "isDefaultClickDisabled": true, + "widgetId": "xl37pbnn45", + "isVisible": true, + "version": 1.0, + "recaptchaType": "V3", + "parentId": "devkwyks4k", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "buttonVariant": "PRIMARY" + }, + { + "boxShadow": "none", + "widgetName": "edit_title_input", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595.svg", + "topRow": 4.0, + "bottomRow": 8.0, + "parentRowSpace": 10.0, + "autoFocus": false, + "type": "INPUT_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 6.4140625, + "dynamicTriggerPathList": [], + "resetOnSubmit": true, + "leftColumn": 0.0, + "dynamicBindingPathList": [ + { "key": "defaultText" }, + { "key": "accentColor" } + ], + "labelStyle": "", + "inputType": "TEXT", + "isDisabled": false, + "key": "zyoraxqcrl", + "labelTextSize": "0.875rem", + "isRequired": true, + "rightColumn": 63.0, + "widgetId": "mtq0kmoqpi", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "label": "", + "allowCurrencyChange": false, + "version": 1.0, + "parentId": "devkwyks4k", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "iconAlign": "left", + "defaultText": "{{Table1.selectedRow.title}}" + }, + { + "boxShadow": "none", + "widgetName": "edit_description_input", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595.svg", + "topRow": 12.0, + "bottomRow": 23.0, + "parentRowSpace": 10.0, + "autoFocus": false, + "type": "INPUT_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 6.4140625, + "dynamicTriggerPathList": [], + "resetOnSubmit": true, + "leftColumn": 0.0, + "dynamicBindingPathList": [ + { "key": "defaultText" }, + { "key": "accentColor" } + ], + "labelStyle": "", + "inputType": "TEXT", + "isDisabled": false, + "key": "zyoraxqcrl", + "labelTextSize": "0.875rem", + "isRequired": false, + "rightColumn": 63.0, + "widgetId": "7kjh660g7v", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "label": "", + "allowCurrencyChange": false, + "version": 1.0, + "parentId": "devkwyks4k", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "iconAlign": "left", + "defaultText": "{{Table1.selectedRow.description}}" + }, + { + "boxShadow": "none", + "widgetName": "edit_type_input", + "isFilterable": false, + "displayName": "Select", + "iconSVG": "/static/media/icon.bd99caba.svg", + "labelText": "", + "topRow": 35.0, + "bottomRow": 39.0, + "parentRowSpace": 10.0, + "type": "DROP_DOWN_WIDGET", + "serverSideFiltering": false, + "hideCard": false, + "defaultOptionValue": "{{Table1.selectedRow.type}}", + "selectionType": "SINGLE_SELECT", + "animateLoading": true, + "parentColumnSpace": 6.4140625, + "dynamicTriggerPathList": [], + "leftColumn": 0.0, + "dynamicBindingPathList": [ + { "key": "options" }, + { "key": "defaultOptionValue" }, + { "key": "accentColor" } + ], + "options": "{{Configs.type}}", + "placeholderText": "Select option", + "isDisabled": false, + "key": "p2g6q7uu0o", + "labelTextSize": "0.875rem", + "isRequired": true, + "rightColumn": 63.0, + "widgetId": "pnfwyps2nc", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "version": 1.0, + "parentId": "devkwyks4k", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px" + }, + { + "boxShadow": "none", + "widgetName": "edit_issue_select", + "isFilterable": true, + "displayName": "Select", + "iconSVG": "/static/media/icon.bd99caba.svg", + "labelText": "", + "topRow": 51.0, + "bottomRow": 55.0, + "parentRowSpace": 10.0, + "type": "DROP_DOWN_WIDGET", + "serverSideFiltering": true, + "hideCard": false, + "defaultOptionValue": "{{Table1.selectedRow.github_issue_id || \"\"}}", + "selectionType": "SINGLE_SELECT", + "animateLoading": true, + "parentColumnSpace": 6.4140625, + "dynamicTriggerPathList": [ + { "key": "onFilterUpdate" } + ], + "leftColumn": 0.0, + "dynamicBindingPathList": [ + { "key": "options" }, + { "key": "defaultOptionValue" }, + { "key": "accentColor" } + ], + "options": "{{GithubManager.getIssues()}}", + "placeholderText": "Search Github Issue", + "isDisabled": false, + "key": "p2g6q7uu0o", + "labelTextSize": "0.875rem", + "isRequired": false, + "rightColumn": 63.0, + "widgetId": "kuwxh0qtmg", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "version": 1.0, + "parentId": "devkwyks4k", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "onFilterUpdate": "{{GithubManager.searchIssues(edit_issue_select.filterText)}}" + }, + { + "boxShadow": "none", + "widgetName": "Button4", + "onClick": "{{IssueManager.delete()}}", + "buttonColor": "#DD4B34", + "displayName": "Button", + "iconSVG": "/static/media/icon.cca02633.svg", + "topRow": 74.0, + "bottomRow": 78.0, + "parentRowSpace": 10.0, + "type": "BUTTON_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 6.4140625, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 32.0, + "dynamicBindingPathList": [], + "text": "", + "isDisabled": false, + "key": "oz6v5ujks3", + "labelTextSize": "0.875rem", + "rightColumn": 41.0, + "isDefaultClickDisabled": true, + "iconName": "trash", + "widgetId": "ehrkah2uam", + "isVisible": true, + "version": 1.0, + "recaptchaType": "V3", + "parentId": "devkwyks4k", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "buttonVariant": "PRIMARY", + "iconAlign": "left" + }, + { + "boxShadow": "none", + "widgetName": "Text15", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b52.svg", + "topRow": 55.0, + "bottomRow": 59.0, + "parentRowSpace": 10.0, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 5.5732421875, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 0.0, + "dynamicBindingPathList": [], + "text": "Answer Link", + "key": "w50usn0v9g", + "labelTextSize": "0.875rem", + "rightColumn": 30.0, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "ljq0eqe3o5", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1.0, + "parentId": "devkwyks4k", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000.0, + "fontSize": "0.875rem", + "minDynamicHeight": 4.0 + }, + { + "boxShadow": "none", + "widgetName": "edit_answer_input", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595.svg", + "topRow": 59.0, + "bottomRow": 63.0, + "parentRowSpace": 10.0, + "autoFocus": false, + "type": "INPUT_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 5.5732421875, + "dynamicTriggerPathList": [], + "resetOnSubmit": true, + "leftColumn": 0.0, + "dynamicBindingPathList": [{ "key": "accentColor" }], + "labelStyle": "", + "inputType": "TEXT", + "placeholderText": "Documentation / Example app URL", + "isDisabled": false, + "key": "iqxzeop4oc", + "labelTextSize": "0.875rem", + "isRequired": false, + "rightColumn": 63.0, + "widgetId": "82zz8zgqm9", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "label": "", + "allowCurrencyChange": false, + "version": 1.0, + "parentId": "devkwyks4k", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "iconAlign": "left", + "defaultText": "" + }, + { + "boxShadow": "none", + "widgetName": "IconButton6", + "onClick": "{{fetch_github_issue.run(() => navigateTo('https://github.com/appsmithorg/appsmith/issues/' + fetch_github_issue.data[0].issue_number, {},'NEW_WINDOW'))}}", + "buttonColor": "#2E3D49", + "dynamicPropertyPathList": [ + { "key": "onClick" }, + { "key": "isVisible" }, + { "key": "borderRadius" } + ], + "displayName": "Icon Button", + "iconSVG": "/static/media/icon.1a0c634a.svg", + "topRow": 47.0, + "bottomRow": 51.0, + "parentRowSpace": 10.0, + "type": "ICON_BUTTON_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 5.5732421875, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 24.0, + "dynamicBindingPathList": [{ "key": "isVisible" }], + "isDisabled": false, + "key": "xtq2jih6i3", + "labelTextSize": "0.875rem", + "rightColumn": 31.0, + "iconName": "link", + "widgetId": "yv95jo8zuk", + "isVisible": "{{!!Table1.selectedRow.github_issue_id}}", + "version": 1.0, + "parentId": "devkwyks4k", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "9999px", + "buttonVariant": "TERTIARY" + }, + { + "boxShadow": "none", + "widgetName": "Text17", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b52.svg", + "topRow": 0.0, + "bottomRow": 4.0, + "parentRowSpace": 10.0, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 5.5732421875, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 26.0, + "dynamicBindingPathList": [{ "key": "text" }], + "text": "{{Table1.selectedRow.author}}\n{{moment(Table1.selectedRow.created_at).format(\"Do MMM YYYY\")}}", + "key": "2y13r0w088", + "labelTextSize": "0.875rem", + "rightColumn": 63.0, + "disableLink": true, + "textAlign": "RIGHT", + "dynamicHeight": "FIXED", + "widgetId": "r0psmbf17o", + "isVisible": true, + "fontStyle": "", + "textColor": "#231F20", + "version": 1.0, + "parentId": "devkwyks4k", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000.0, + "fontSize": "0.875rem", + "minDynamicHeight": 4.0 + }, + { + "boxShadow": "none", + "widgetName": "Text18", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b52.svg", + "topRow": 23.0, + "bottomRow": 27.0, + "parentRowSpace": 10.0, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 6.1884765625, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 0.0, + "dynamicBindingPathList": [], + "text": "Issue Link", + "key": "2y13r0w088", + "labelTextSize": "0.875rem", + "rightColumn": 22.0, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "784m9ua7xy", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1.0, + "parentId": "devkwyks4k", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000.0, + "fontSize": "0.875rem", + "minDynamicHeight": 4.0 + }, + { + "boxShadow": "none", + "widgetName": "edit_link_input", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595.svg", + "topRow": 27.0, + "bottomRow": 31.0, + "parentRowSpace": 10.0, + "autoFocus": false, + "type": "INPUT_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 6.1884765625, + "dynamicTriggerPathList": [], + "resetOnSubmit": true, + "leftColumn": 0.0, + "dynamicBindingPathList": [ + { "key": "defaultText" }, + { "key": "accentColor" } + ], + "labelStyle": "", + "inputType": "TEXT", + "placeholderText": "Discord / Github / Discourse / Intercom msg URL", + "isDisabled": false, + "key": "xkaggmfnaa", + "labelTextSize": "0.875rem", + "isRequired": true, + "rightColumn": 63.0, + "widgetId": "hlhsn0qacz", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "label": "", + "allowCurrencyChange": false, + "version": 1.0, + "parentId": "devkwyks4k", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "iconAlign": "left", + "defaultText": "{{Table1.selectedRow.link || \"\"}}" + }, + { + "boxShadow": "none", + "widgetName": "Text19", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b52.svg", + "topRow": 63.0, + "bottomRow": 67.0, + "parentRowSpace": 10.0, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 5.5732421875, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 0.0, + "dynamicBindingPathList": [], + "truncateButtonColor": "#FFC13D", + "text": "States", + "key": "r0yrfpzmtn", + "labelTextSize": "0.875rem", + "rightColumn": 14.0, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "5vtar11iru", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1.0, + "parentId": "devkwyks4k", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000.0, + "fontSize": "0.875rem", + "minDynamicHeight": 4.0 + }, + { + "boxShadow": "none", + "widgetName": "edit_states_select", + "displayName": "MultiSelect", + "iconSVG": "/static/media/icon.a3495809.svg", + "labelText": "", + "topRow": 67.0, + "bottomRow": 71.0, + "parentRowSpace": 10.0, + "type": "MULTI_SELECT_WIDGET", + "serverSideFiltering": false, + "hideCard": false, + "defaultOptionValue": "{{Table1.selectedRow.states}}", + "animateLoading": true, + "parentColumnSpace": 5.87890625, + "dynamicTriggerPathList": [], + "leftColumn": 0.0, + "dynamicBindingPathList": [ + { "key": "options" }, + { "key": "defaultOptionValue" }, + { "key": "accentColor" } + ], + "options": "{{Configs.states}}", + "placeholderText": "Select state(s)", + "isDisabled": false, + "key": "lmf0nxzr5a", + "labelTextSize": "0.875rem", + "isRequired": false, + "rightColumn": 63.0, + "widgetId": "qemq1k1zhf", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "version": 1.0, + "parentId": "devkwyks4k", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px" + }, + { + "boxShadow": "none", + "widgetName": "IconButton9", + "onClick": "{{IssueManager.createGithubIssue()}}", + "buttonColor": "#2E3D49", + "dynamicPropertyPathList": [ + { "key": "borderRadius" } + ], + "displayName": "Icon Button", + "iconSVG": "/static/media/icon.1a0c634a.svg", + "topRow": 47.0, + "bottomRow": 51.0, + "parentRowSpace": 10.0, + "type": "ICON_BUTTON_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 4.78515625, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 52.0, + "dynamicBindingPathList": [], + "isDisabled": false, + "key": "6o86hsevdn", + "labelTextSize": "0.875rem", + "rightColumn": 63.0, + "iconName": "cube-add", + "widgetId": "uj3oiub9lt", + "isVisible": true, + "version": 1.0, + "parentId": "devkwyks4k", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "9999px", + "buttonVariant": "TERTIARY" + }, + { + "boxShadow": "none", + "widgetName": "IconButton10", + "onClick": "{{remove_github_issue.run().then(() => fetch_issues.run())}}", + "buttonColor": "#2E3D49", + "dynamicPropertyPathList": [ + { "key": "onClick" }, + { "key": "isVisible" }, + { "key": "borderRadius" } + ], + "displayName": "Icon Button", + "iconSVG": "/static/media/icon.1a0c634a.svg", + "topRow": 47.0, + "bottomRow": 51.0, + "parentRowSpace": 10.0, + "type": "ICON_BUTTON_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 4.78515625, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 31.0, + "dynamicBindingPathList": [{ "key": "isVisible" }], + "isDisabled": false, + "key": "66ba61jgdc", + "labelTextSize": "0.875rem", + "rightColumn": 38.0, + "iconName": "remove", + "widgetId": "ria4v9jmjk", + "isVisible": "{{!!Table1.selectedRow.github_issue_id}}", + "version": 1.0, + "parentId": "devkwyks4k", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "9999px", + "buttonVariant": "TERTIARY" + }, + { + "boxShadow": "none", + "widgetName": "edit_label_select", + "isFilterable": true, + "dynamicPropertyPathList": [ + { "key": "onFilterUpdate" } + ], + "displayName": "MultiSelect", + "iconSVG": "/static/media/icon.a3495809.svg", + "labelText": "", + "topRow": 43.0, + "bottomRow": 47.0, + "parentRowSpace": 10.0, + "type": "MULTI_SELECT_WIDGET_V2", + "serverSideFiltering": true, + "hideCard": false, + "defaultOptionValue": "{{ ((options, serverSideFiltering) => ( Table1.selectedRow.labels.map((label) => {\n return {\n\t label: label,\n\t value: label\n }\n})))(edit_label_select.options, edit_label_select.serverSideFiltering) }}", + "animateLoading": true, + "parentColumnSpace": 16.3125, + "dynamicTriggerPathList": [ + { "key": "onFilterUpdate" } + ], + "leftColumn": 0.0, + "dynamicBindingPathList": [ + { "key": "options" }, + { "key": "defaultOptionValue" }, + { "key": "accentColor" } + ], + "options": "{{GithubManager.getLabels()}}", + "placeholderText": "Select label(s)", + "isDisabled": false, + "key": "5rw0979hv0", + "labelTextSize": "0.875rem", + "isRequired": true, + "rightColumn": 63.0, + "dynamicHeight": "FIXED", + "widgetId": "ufwxmsi8gy", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "version": 1.0, + "parentId": "devkwyks4k", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000.0, + "onFilterUpdate": "{{fetch_labels.run({ filterText: edit_label_select.filterText })}}", + "minDynamicHeight": 4.0 + } + ], + "isDisabled": false, + "key": "6u4x0kf3h8", + "labelTextSize": "0.875rem", + "tabName": "Details", + "rightColumn": 430.5, + "detachFromLayout": true, + "widgetId": "devkwyks4k", + "isVisible": true, + "version": 1.0, + "parentId": "n316autef7", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px" + } + ], + "key": "5hk6y4h4e6", + "labelTextSize": "0.875rem", + "rightColumn": 64.0, + "dynamicHeight": "FIXED", + "widgetId": "n316autef7", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "defaultTab": "Details", + "onTabSelected": "{{Tabs1.selectedTab === \"Upvotes\" ? fetch_comments.run() : undefined}}", + "shouldShowTabs": true, + "tabsObj": { + "tab2": { + "label": "Details", + "id": "tab2", + "widgetId": "devkwyks4k", + "isVisible": true, + "index": 0.0 + }, + "tab1": { + "label": "Upvotes", + "id": "tab1", + "widgetId": "e05q08c1nq", + "isVisible": true, + "index": 1.0 + } + }, + "isVisible": "{{!!Table1.selectedRow.id}}", + "version": 3.0, + "parentId": "0", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000.0, + "minDynamicHeight": 4.0 + }, + { + "boxShadow": "none", + "widgetName": "FilePicker1", + "buttonColor": "#03B365", + "displayName": "FilePicker", + "iconSVG": "/static/media/icon.7c5ad9c3.svg", + "topRow": 0.0, + "bottomRow": 4.0, + "parentRowSpace": 10.0, + "allowedFileTypes": [], + "type": "FILE_PICKER_WIDGET_V2", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 17.9375, + "dynamicTriggerPathList": [], + "leftColumn": 59.0, + "dynamicBindingPathList": [], + "isDisabled": false, + "key": "vhc66isyeb", + "labelTextSize": "0.875rem", + "isRequired": false, + "rightColumn": 64.0, + "isDefaultClickDisabled": true, + "widgetId": "bitkgcu3n8", + "defaultSelectedFiles": [], + "isVisible": false, + "label": "Select Files", + "maxFileSize": "5", + "version": 1.0, + "fileDataType": "Text", + "parentId": "0", + "selectedFiles": [], + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "files": [], + "maxNumFiles": 1.0 + }, + { + "boxShadow": "none", + "widgetName": "AddIssue", + "onClick": "{{showModal('add_issue_modal')}}", + "buttonColor": "#2E3D49", + "displayName": "Icon Button", + "iconSVG": "/static/media/icon.1a0c634a.svg", + "topRow": 0.0, + "bottomRow": 4.0, + "parentRowSpace": 10.0, + "type": "ICON_BUTTON_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 9.8095703125, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 44.0, + "dynamicBindingPathList": [], + "isDisabled": false, + "key": "35uqmnh3wt", + "labelTextSize": "0.875rem", + "rightColumn": 47.0, + "iconName": "add", + "widgetId": "11kdci9jhn", + "isVisible": true, + "version": 1.0, + "parentId": "0", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "buttonVariant": "TERTIARY", + "boxShadowColor": "" + }, + { + "boxShadow": "none", + "widgetName": "add_issue_modal", + "isCanvas": true, + "displayName": "Modal", + "iconSVG": "/static/media/icon.4975978e.svg", + "topRow": 90.0, + "bottomRow": 114.0, + "parentRowSpace": 10.0, + "type": "MODAL_WIDGET", + "hideCard": false, + "shouldScrollContents": true, + "animateLoading": true, + "parentColumnSpace": 17.9375, + "dynamicTriggerPathList": [], + "leftColumn": 14.0, + "dynamicBindingPathList": [], + "children": [ + { + "boxShadow": "none", + "widgetName": "Canvas3", + "displayName": "Canvas", + "topRow": 0.0, + "bottomRow": 690.0, + "parentRowSpace": 1.0, + "type": "CANVAS_WIDGET", + "canExtend": true, + "hideCard": true, + "shouldScrollContents": false, + "minHeight": 694.0, + "parentColumnSpace": 1.0, + "leftColumn": 0.0, + "dynamicBindingPathList": [], + "children": [ + { + "boxShadow": "none", + "widgetName": "label_select", + "isFilterable": true, + "dynamicPropertyPathList": [ + { "key": "onFilterUpdate" } + ], + "displayName": "MultiSelect", + "iconSVG": "/static/media/icon.a3495809.svg", + "labelText": "", + "topRow": 35.0, + "bottomRow": 39.0, + "parentRowSpace": 10.0, + "type": "MULTI_SELECT_WIDGET_V2", + "serverSideFiltering": true, + "hideCard": false, + "defaultOptionValue": "", + "animateLoading": true, + "parentColumnSpace": 16.3125, + "dynamicTriggerPathList": [ + { "key": "onFilterUpdate" } + ], + "leftColumn": 17.0, + "dynamicBindingPathList": [ + { "key": "options" }, + { "key": "accentColor" } + ], + "options": "{{GithubManager.getLabels()}}", + "placeholderText": "Select label(s)", + "isDisabled": false, + "key": "5rw0979hv0", + "labelTextSize": "0.875rem", + "isRequired": true, + "rightColumn": 63.0, + "dynamicHeight": "FIXED", + "widgetId": "ankv8zz1xp", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "version": 1.0, + "parentId": "8tzkaielld", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000.0, + "onFilterUpdate": "{{fetch_labels.run({ filterText: label_select.filterText })}}", + "minDynamicHeight": 4.0 + }, + { + "boxShadow": "none", + "widgetName": "Text19Copy", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b52.svg", + "topRow": 45.0, + "bottomRow": 49.0, + "parentRowSpace": 10.0, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 5.5732421875, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 1.0, + "dynamicBindingPathList": [], + "truncateButtonColor": "#FFC13D", + "text": "States", + "key": "r0yrfpzmtn", + "labelTextSize": "0.875rem", + "rightColumn": 17.0, + "textAlign": "RIGHT", + "dynamicHeight": "FIXED", + "widgetId": "i9kgqmx0tz", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1.0, + "parentId": "8tzkaielld", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000.0, + "fontSize": "0.875rem", + "minDynamicHeight": 4.0 + }, + { + "boxShadow": "none", + "widgetName": "states_select", + "displayName": "MultiSelect", + "iconSVG": "/static/media/icon.a3495809.svg", + "labelText": "", + "topRow": 45.0, + "bottomRow": 49.0, + "parentRowSpace": 10.0, + "type": "MULTI_SELECT_WIDGET", + "serverSideFiltering": false, + "hideCard": false, + "defaultOptionValue": "{{Table1.selectedRow.states}}", + "animateLoading": true, + "parentColumnSpace": 5.87890625, + "dynamicTriggerPathList": [], + "leftColumn": 17.0, + "dynamicBindingPathList": [ + { "key": "options" }, + { "key": "defaultOptionValue" }, + { "key": "accentColor" } + ], + "options": "{{Configs.states}}", + "placeholderText": "Select state(s)", + "isDisabled": false, + "key": "lmf0nxzr5a", + "labelTextSize": "0.875rem", + "isRequired": false, + "rightColumn": 63.0, + "widgetId": "qawnxpxdix", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "version": 1.0, + "parentId": "8tzkaielld", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px" + }, + { + "boxShadow": "none", + "widgetName": "Text5Copy", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b52.svg", + "topRow": 16.0, + "bottomRow": 20.0, + "parentRowSpace": 10.0, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 6.4140625, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 0.0, + "dynamicBindingPathList": [], + "text": "Title", + "key": "fzyz91gt8q", + "labelTextSize": "0.875rem", + "rightColumn": 17.0, + "textAlign": "RIGHT", + "dynamicHeight": "FIXED", + "widgetId": "2mh922944s", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1.0, + "parentId": "8tzkaielld", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000.0, + "fontSize": "0.875rem", + "minDynamicHeight": 4.0 + }, + { + "boxShadow": "none", + "widgetName": "title_input", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595.svg", + "topRow": 16.0, + "bottomRow": 20.0, + "parentRowSpace": 10.0, + "autoFocus": false, + "type": "INPUT_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 6.4140625, + "dynamicTriggerPathList": [], + "resetOnSubmit": true, + "leftColumn": 17.0, + "dynamicBindingPathList": [ + { "key": "defaultText" }, + { "key": "accentColor" } + ], + "labelStyle": "", + "inputType": "TEXT", + "isDisabled": false, + "key": "zyoraxqcrl", + "labelTextSize": "0.875rem", + "isRequired": true, + "rightColumn": 63.0, + "widgetId": "glfkj7n61g", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "label": "", + "allowCurrencyChange": false, + "version": 1.0, + "parentId": "8tzkaielld", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "iconAlign": "left", + "defaultText": "{{GithubManager.getSelectedGithubIssue()?.title || \"\"}}" + }, + { + "boxShadow": "none", + "widgetName": "Text6Copy", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b52.svg", + "topRow": 21.0, + "bottomRow": 25.0, + "parentRowSpace": 10.0, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 6.4140625, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 0.0, + "dynamicBindingPathList": [], + "text": "Description", + "key": "fzyz91gt8q", + "labelTextSize": "0.875rem", + "rightColumn": 17.0, + "textAlign": "RIGHT", + "dynamicHeight": "FIXED", + "widgetId": "tx9h5i8ovw", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1.0, + "parentId": "8tzkaielld", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000.0, + "fontSize": "0.875rem", + "minDynamicHeight": 4.0 + }, + { + "boxShadow": "none", + "widgetName": "description_input", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595.svg", + "topRow": 21.0, + "bottomRow": 29.0, + "parentRowSpace": 10.0, + "autoFocus": false, + "type": "INPUT_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 6.4140625, + "dynamicTriggerPathList": [], + "resetOnSubmit": true, + "leftColumn": 17.0, + "dynamicBindingPathList": [{ "key": "accentColor" }], + "labelStyle": "", + "inputType": "TEXT", + "isDisabled": false, + "key": "zyoraxqcrl", + "labelTextSize": "0.875rem", + "isRequired": false, + "rightColumn": 63.0, + "widgetId": "xp8otc7k1c", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "label": "", + "allowCurrencyChange": false, + "version": 1.0, + "parentId": "8tzkaielld", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "iconAlign": "left", + "defaultText": "" + }, + { + "boxShadow": "none", + "widgetName": "Text7Copy", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b52.svg", + "topRow": 6.0, + "bottomRow": 10.0, + "parentRowSpace": 10.0, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 6.4140625, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 0.0, + "dynamicBindingPathList": [], + "text": "Type", + "key": "fzyz91gt8q", + "labelTextSize": "0.875rem", + "rightColumn": 17.0, + "textAlign": "RIGHT", + "dynamicHeight": "FIXED", + "widgetId": "xa5lprgkkr", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1.0, + "parentId": "8tzkaielld", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000.0, + "fontSize": "0.875rem", + "minDynamicHeight": 4.0 + }, + { + "boxShadow": "none", + "widgetName": "type_select", + "isFilterable": false, + "displayName": "Select", + "iconSVG": "/static/media/icon.bd99caba.svg", + "labelText": "", + "topRow": 6.0, + "bottomRow": 10.0, + "parentRowSpace": 10.0, + "type": "DROP_DOWN_WIDGET", + "serverSideFiltering": false, + "hideCard": false, + "defaultOptionValue": "", + "selectionType": "SINGLE_SELECT", + "animateLoading": true, + "parentColumnSpace": 6.4140625, + "dynamicTriggerPathList": [], + "leftColumn": 17.0, + "dynamicBindingPathList": [ + { "key": "options" }, + { "key": "accentColor" } + ], + "options": "{{Configs.type}}", + "placeholderText": "Select Type", + "isDisabled": false, + "key": "p2g6q7uu0o", + "labelTextSize": "0.875rem", + "isRequired": true, + "rightColumn": 63.0, + "widgetId": "jw4tgzde1z", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "version": 1.0, + "parentId": "8tzkaielld", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px" + }, + { + "boxShadow": "none", + "widgetName": "Text8Copy", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b52.svg", + "topRow": 35.0, + "bottomRow": 39.0, + "parentRowSpace": 10.0, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 6.4140625, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 1.0, + "dynamicBindingPathList": [], + "text": "Labels", + "key": "fzyz91gt8q", + "labelTextSize": "0.875rem", + "rightColumn": 17.0, + "textAlign": "RIGHT", + "dynamicHeight": "FIXED", + "widgetId": "483a8ji8wb", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1.0, + "parentId": "8tzkaielld", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000.0, + "fontSize": "0.875rem", + "minDynamicHeight": 4.0 + }, + { + "boxShadow": "none", + "widgetName": "Text9Copy", + "dynamicPropertyPathList": [{ "key": "isVisible" }], + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b52.svg", + "topRow": 11.0, + "bottomRow": 15.0, + "parentRowSpace": 10.0, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 6.4140625, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 0.0, + "dynamicBindingPathList": [{ "key": "isVisible" }], + "text": "Github Issue", + "key": "fzyz91gt8q", + "labelTextSize": "0.875rem", + "rightColumn": 17.0, + "textAlign": "RIGHT", + "dynamicHeight": "FIXED", + "widgetId": "cj7wnbg01q", + "isVisible": "{{type_select.selectedOptionValue === \"Feature\" || type_select.selectedOptionValue === \"Bug\"}}", + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1.0, + "parentId": "8tzkaielld", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000.0, + "fontSize": "0.875rem", + "minDynamicHeight": 4.0 + }, + { + "boxShadow": "none", + "widgetName": "add_issue_select", + "isFilterable": true, + "dynamicPropertyPathList": [ + { "key": "onFilterUpdate" }, + { "key": "isVisible" } + ], + "displayName": "Select", + "iconSVG": "/static/media/icon.bd99caba.svg", + "labelText": "", + "topRow": 11.0, + "bottomRow": 15.0, + "parentRowSpace": 10.0, + "type": "DROP_DOWN_WIDGET", + "serverSideFiltering": true, + "hideCard": false, + "defaultOptionValue": "", + "selectionType": "SINGLE_SELECT", + "animateLoading": true, + "parentColumnSpace": 6.4140625, + "dynamicTriggerPathList": [ + { "key": "onFilterUpdate" } + ], + "leftColumn": 17.0, + "dynamicBindingPathList": [ + { "key": "options" }, + { "key": "isVisible" }, + { "key": "accentColor" } + ], + "options": "{{GithubManager.getIssues()}}", + "placeholderText": "Search Github Issues", + "isDisabled": false, + "key": "p2g6q7uu0o", + "labelTextSize": "0.875rem", + "isRequired": false, + "rightColumn": 63.0, + "widgetId": "mle8h2yllt", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": "{{type_select.selectedOptionValue === \"Feature\" || type_select.selectedOptionValue === \"Bug\"}}", + "version": 1.0, + "parentId": "8tzkaielld", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "onFilterUpdate": "{{GithubManager.searchIssues(add_issue_select.filterText)}}" + }, + { + "boxShadow": "none", + "widgetName": "Text10", + "dynamicPropertyPathList": [{ "key": "fontSize" }], + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b52.svg", + "topRow": 0.0, + "bottomRow": 4.0, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 0.0, + "dynamicBindingPathList": [], + "text": "New Issue", + "key": "fzyz91gt8q", + "labelTextSize": "0.875rem", + "rightColumn": 28.0, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "240nwl18xx", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1.0, + "parentId": "8tzkaielld", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000.0, + "fontSize": "1.5rem", + "minDynamicHeight": 4.0 + }, + { + "boxShadow": "none", + "widgetName": "Button2", + "onClick": "{{closeModal('add_issue_modal')}}", + "buttonColor": "#2E3D49", + "displayName": "Button", + "iconSVG": "/static/media/icon.cca02633.svg", + "topRow": 63.0, + "bottomRow": 67.0, + "type": "BUTTON_WIDGET", + "hideCard": false, + "animateLoading": true, + "dynamicTriggerPathList": [], + "leftColumn": 26.0, + "dynamicBindingPathList": [], + "text": "Close", + "isDisabled": false, + "key": "oz6v5ujks3", + "labelTextSize": "0.875rem", + "rightColumn": 38.0, + "isDefaultClickDisabled": true, + "widgetId": "qk4c4nfb1q", + "buttonStyle": "PRIMARY", + "isVisible": true, + "version": 1.0, + "recaptchaType": "V3", + "parentId": "8tzkaielld", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "buttonVariant": "SECONDARY" + }, + { + "boxShadow": "none", + "widgetName": "Button3", + "onClick": "{{IssueManager.create_issue()}}", + "buttonColor": "#2E3D49", + "dynamicPropertyPathList": [ + { "key": "onClick" }, + { "key": "isDisabled" } + ], + "displayName": "Button", + "iconSVG": "/static/media/icon.cca02633.svg", + "topRow": 63.0, + "bottomRow": 67.0, + "type": "BUTTON_WIDGET", + "hideCard": false, + "animateLoading": true, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 38.0, + "dynamicBindingPathList": [{ "key": "isDisabled" }], + "text": "Confirm", + "isDisabled": "{{!link_input.isValid || !type_select.isValid || !title_input.text || IssueManager.getAssignedLabels(label_select.selectedOptionValues).length == 0}}", + "key": "oz6v5ujks3", + "labelTextSize": "0.875rem", + "rightColumn": 63.0, + "isDefaultClickDisabled": true, + "widgetId": "mhnwwl1t95", + "buttonStyle": "PRIMARY_BUTTON", + "isVisible": true, + "version": 1.0, + "recaptchaType": "V3", + "parentId": "8tzkaielld", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "buttonVariant": "PRIMARY" + }, + { + "boxShadow": "none", + "widgetName": "IconButton5", + "onClick": "{{closeModal('add_issue_modal')}}", + "buttonColor": "#2E3D49", + "dynamicPropertyPathList": [ + { "key": "borderRadius" } + ], + "displayName": "Icon Button", + "iconSVG": "/static/media/icon.1a0c634a.svg", + "topRow": 0.0, + "bottomRow": 4.0, + "parentRowSpace": 10.0, + "type": "ICON_BUTTON_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 6.9375, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 57.0, + "dynamicBindingPathList": [], + "isDisabled": false, + "key": "1b5hj6tv0b", + "labelTextSize": "0.875rem", + "rightColumn": 64.0, + "iconName": "cross", + "widgetId": "6tvffrozwj", + "isVisible": true, + "version": 1.0, + "parentId": "8tzkaielld", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "9999px", + "buttonVariant": "TERTIARY" + }, + { + "boxShadow": "none", + "widgetName": "Text13", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b52.svg", + "topRow": 30.0, + "bottomRow": 34.0, + "parentRowSpace": 10.0, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 6.9375, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 1.0, + "dynamicBindingPathList": [], + "text": "Issue Link", + "key": "w50usn0v9g", + "labelTextSize": "0.875rem", + "rightColumn": 17.0, + "textAlign": "RIGHT", + "dynamicHeight": "FIXED", + "widgetId": "w91q3a6doy", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1.0, + "parentId": "8tzkaielld", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000.0, + "fontSize": "0.875rem", + "minDynamicHeight": 4.0 + }, + { + "boxShadow": "none", + "widgetName": "link_input", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595.svg", + "topRow": 30.0, + "bottomRow": 34.0, + "parentRowSpace": 10.0, + "autoFocus": false, + "type": "INPUT_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 6.9375, + "dynamicTriggerPathList": [], + "resetOnSubmit": true, + "leftColumn": 17.0, + "dynamicBindingPathList": [ + { "key": "defaultText" }, + { "key": "accentColor" } + ], + "labelStyle": "", + "inputType": "TEXT", + "placeholderText": "Discord / Github / Discourse / Intercom msg URL", + "isDisabled": false, + "key": "iqxzeop4oc", + "labelTextSize": "0.875rem", + "isRequired": true, + "rightColumn": 63.0, + "widgetId": "erhs9rotun", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "label": "", + "allowCurrencyChange": false, + "version": 1.0, + "parentId": "8tzkaielld", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "iconAlign": "left", + "defaultText": "{{add_issue_select.selectedOptionValue ? \n\"https://github.com/appsmithorg/appsmith/issues/\" + GithubManager.getSelectedGithubIssue()?.issue_number : \"\"}}" + }, + { + "boxShadow": "none", + "widgetName": "answer_input", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595.svg", + "topRow": 40.0, + "bottomRow": 44.0, + "parentRowSpace": 10.0, + "autoFocus": false, + "type": "INPUT_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 6.9375, + "dynamicTriggerPathList": [], + "resetOnSubmit": true, + "leftColumn": 17.0, + "dynamicBindingPathList": [{ "key": "accentColor" }], + "labelStyle": "", + "inputType": "TEXT", + "placeholderText": "Documentation / Example app URL", + "isDisabled": false, + "key": "iqxzeop4oc", + "labelTextSize": "0.875rem", + "isRequired": false, + "rightColumn": 63.0, + "widgetId": "335stzmyk5", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "label": "", + "allowCurrencyChange": false, + "version": 1.0, + "parentId": "8tzkaielld", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "iconAlign": "left", + "defaultText": "" + }, + { + "boxShadow": "none", + "widgetName": "Text16", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b52.svg", + "topRow": 40.0, + "bottomRow": 44.0, + "parentRowSpace": 10.0, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 6.9375, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 1.0, + "dynamicBindingPathList": [], + "text": "Answer Link", + "key": "w50usn0v9g", + "labelTextSize": "0.875rem", + "rightColumn": 17.0, + "textAlign": "RIGHT", + "dynamicHeight": "FIXED", + "widgetId": "h9drw49jnw", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1.0, + "parentId": "8tzkaielld", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000.0, + "fontSize": "0.875rem", + "minDynamicHeight": 4.0 + } + ], + "isDisabled": false, + "key": "6u4x0kf3h8", + "labelTextSize": "0.875rem", + "rightColumn": 430.5, + "detachFromLayout": true, + "widgetId": "8tzkaielld", + "isVisible": true, + "version": 1.0, + "parentId": "rxoie5b5j5", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px" + } + ], + "key": "9ppzbhlnqc", + "height": 694.0, + "labelTextSize": "0.875rem", + "rightColumn": 38.0, + "detachFromLayout": true, + "dynamicHeight": "FIXED", + "widgetId": "rxoie5b5j5", + "canOutsideClickClose": true, + "canEscapeKeyClose": true, + "version": 2.0, + "parentId": "0", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000.0, + "width": 456.0, + "minDynamicHeight": 4.0 + }, + { + "boxShadow": "none", + "widgetName": "RefreshIssues", + "onClick": "{{IssueManager.fetchIssues()}}", + "buttonColor": "#2E3D49", + "displayName": "Icon Button", + "iconSVG": "/static/media/icon.1a0c634a.svg", + "topRow": 0.0, + "bottomRow": 4.0, + "parentRowSpace": 10.0, + "type": "ICON_BUTTON_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 9.8095703125, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 41.0, + "dynamicBindingPathList": [], + "isDisabled": false, + "key": "35uqmnh3wt", + "labelTextSize": "0.875rem", + "rightColumn": 44.0, + "iconName": "refresh", + "widgetId": "pu0p8ahn8i", + "isVisible": true, + "version": 1.0, + "parentId": "0", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "buttonVariant": "TERTIARY" + }, + { + "boxShadow": "none", + "widgetName": "sort_select", + "isFilterable": false, + "displayName": "Select", + "iconSVG": "/static/media/icon.bd99caba.svg", + "labelText": "", + "topRow": 0.0, + "bottomRow": 4.0, + "parentRowSpace": 10.0, + "type": "DROP_DOWN_WIDGET", + "serverSideFiltering": false, + "hideCard": false, + "defaultOptionValue": "GITHUB", + "selectionType": "SINGLE_SELECT", + "animateLoading": true, + "parentColumnSpace": 20.3125, + "dynamicTriggerPathList": [{ "key": "onOptionChange" }], + "leftColumn": 30.0, + "dynamicBindingPathList": [{ "key": "accentColor" }], + "options": "[\n {\n \"label\": \"Most Github Votes\",\n \"value\": \"GITHUB\"\n },\n {\n \"label\": \"Most Upvotes\",\n \"value\": \"VOTES\"\n },\n\t{\n \"label\": \"Most Commentors\",\n \"value\": \"COMMENTORS\"\n },\n\t{\n \"label\": \"Most Recent\",\n \"value\": \"RECENT\"\n }\n]", + "placeholderText": "Select option", + "isDisabled": false, + "key": "at2ne0v8x9", + "labelTextSize": "0.875rem", + "isRequired": true, + "rightColumn": 41.0, + "widgetId": "ra23cq4tyo", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "version": 1.0, + "parentId": "0", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "onOptionChange": "{{fetch_issues.run()}}" + }, + { + "boxShadow": "none", + "widgetName": "type_filter", + "isFilterable": false, + "displayName": "Select", + "iconSVG": "/static/media/icon.bd99caba.svg", + "labelText": "", + "topRow": 0.0, + "bottomRow": 4.0, + "parentRowSpace": 10.0, + "type": "DROP_DOWN_WIDGET", + "serverSideFiltering": false, + "hideCard": false, + "defaultOptionValue": "GREEN", + "selectionType": "SINGLE_SELECT", + "animateLoading": true, + "parentColumnSpace": 6.4140625, + "dynamicTriggerPathList": [{ "key": "onOptionChange" }], + "leftColumn": 23.0, + "dynamicBindingPathList": [ + { "key": "options" }, + { "key": "accentColor" } + ], + "options": "{{Configs.type}}", + "placeholderText": "Type", + "isDisabled": false, + "key": "p2g6q7uu0o", + "labelTextSize": "0.875rem", + "isRequired": false, + "rightColumn": 30.0, + "widgetId": "eznbmvwewn", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "version": 1.0, + "parentId": "0", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "onOptionChange": "{{IssueManager.fetchIssues()}}" + }, + { + "boxShadow": "none", + "widgetName": "status_filter", + "isFilterable": false, + "displayName": "Select", + "iconSVG": "/static/media/icon.bd99caba.svg", + "labelText": "", + "topRow": 0.0, + "bottomRow": 4.0, + "parentRowSpace": 10.0, + "type": "DROP_DOWN_WIDGET", + "serverSideFiltering": false, + "hideCard": false, + "defaultOptionValue": "", + "selectionType": "SINGLE_SELECT", + "animateLoading": true, + "parentColumnSpace": 17.9375, + "dynamicTriggerPathList": [{ "key": "onOptionChange" }], + "leftColumn": 14.0, + "dynamicBindingPathList": [ + { "key": "options" }, + { "key": "accentColor" } + ], + "options": "{{Configs.states}}", + "placeholderText": "States", + "isDisabled": false, + "key": "52qeg2r9uo", + "labelTextSize": "0.875rem", + "isRequired": false, + "rightColumn": 23.0, + "widgetId": "sinxumk3m3", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "version": 1.0, + "parentId": "0", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "onOptionChange": "{{IssueManager.fetchIssues()}}" + }, + { + "boxShadow": "none", + "widgetName": "pod_filter", + "isFilterable": false, + "displayName": "Select", + "iconSVG": "/static/media/icon.bd99caba.svg", + "labelText": "", + "topRow": 0.0, + "bottomRow": 4.0, + "parentRowSpace": 10.0, + "type": "DROP_DOWN_WIDGET", + "serverSideFiltering": false, + "hideCard": false, + "defaultOptionValue": "", + "selectionType": "SINGLE_SELECT", + "animateLoading": true, + "parentColumnSpace": 5.5732421875, + "dynamicTriggerPathList": [{ "key": "onOptionChange" }], + "leftColumn": 7.0, + "dynamicBindingPathList": [ + { "key": "options" }, + { "key": "accentColor" } + ], + "options": "{{Utils.getPodLabels()}}", + "placeholderText": "Pods", + "isDisabled": false, + "key": "qjixxicfzt", + "labelTextSize": "0.875rem", + "isRequired": false, + "rightColumn": 14.0, + "widgetId": "ajzvz766xg", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "version": 1.0, + "parentId": "0", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "onOptionChange": "{{IssueManager.fetchIssues()}}" + }, + { + "boxShadow": "none", + "widgetName": "Text1", + "dynamicPropertyPathList": [{ "key": "fontSize" }], + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b52.svg", + "topRow": 0.0, + "bottomRow": 4.0, + "parentRowSpace": 10.0, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 16.71875, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 0.0, + "dynamicBindingPathList": [], + "truncateButtonColor": "#FFC13D", + "text": "\uD83D\uDDD3 Issues", + "key": "t8e7qdq1ol", + "labelTextSize": "0.875rem", + "rightColumn": 7.0, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "yyqsgarlj7", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1.0, + "parentId": "0", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000.0, + "fontSize": "1.5rem", + "minDynamicHeight": 4.0 + }, + { + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "borderColor": "#E0DEDE", + "isVisibleDownload": true, + "iconSVG": "/static/media/icon.db8a9cbd2acd22a31ea91cc37ea2a46c.svg", + "topRow": 6.0, + "isSortable": true, + "onPageChange": "{{fetch_issues.run()}}", + "type": "TABLE_WIDGET_V2", + "inlineEditingSaveOption": "ROW_LEVEL", + "animateLoading": true, + "dynamicBindingPathList": [ + { "key": "accentColor" }, + { "key": "borderRadius" }, + { "key": "boxShadow" }, + { "key": "tableData" }, + { "key": "primaryColumns.type.computedValue" }, + { "key": "primaryColumns.title.computedValue" }, + { "key": "primaryColumns.total_reactions.computedValue" }, + { "key": "primaryColumns.unique_commentors.computedValue" }, + { "key": "primaryColumns.upvote_id.computedValue" }, + { "key": "primaryColumns.id.computedValue" }, + { "key": "primaryColumns.github_issue_id.computedValue" }, + { "key": "primaryColumns.author.computedValue" }, + { "key": "primaryColumns.created_at.computedValue" }, + { "key": "primaryColumns.description.computedValue" }, + { "key": "primaryColumns.labels.computedValue" }, + { "key": "primaryColumns.state.computedValue" }, + { "key": "primaryColumns.answer.computedValue" }, + { "key": "primaryColumns.link.computedValue" }, + { "key": "primaryColumns.states.computedValue" }, + { "key": "primaryColumns.count.computedValue" }, + { "key": "primaryColumns.updated_at.computedValue" }, + { "key": "primaryColumns.customColumn1.computedValue" } + ], + "needsHeightForContent": true, + "leftColumn": 0.0, + "delimiter": ",", + "defaultSelectedRowIndex": 0.0, + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisibleFilters": true, + "isVisible": true, + "enableClientSideSearch": true, + "version": 1.0, + "totalRecordsCount": 0.0, + "isLoading": false, + "onSearchTextChanged": "{{fetch_issues.run()}}", + "childStylesheet": { + "button": { + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none" + }, + "menuButton": { + "menuColor": "{{appsmith.theme.colors.primaryColor}}", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none" + }, + "iconButton": { + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none" + }, + "editActions": { + "saveButtonColor": "{{appsmith.theme.colors.primaryColor}}", + "saveBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "discardButtonColor": "{{appsmith.theme.colors.primaryColor}}", + "discardBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}" + } + }, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "columnUpdatedAt": 1.682960727224e12, + "defaultSelectedRowIndices": [0.0], + "mobileBottomRow": 42.0, + "widgetName": "Table1", + "defaultPageSize": 0.0, + "columnOrder": [ + "type", + "title", + "customColumn1", + "states", + "total_reactions", + "unique_commentors", + "upvote_id", + "id", + "github_issue_id", + "author", + "created_at", + "description", + "labels", + "state", + "link", + "count", + "answer", + "updated_at", + "customColumn2" + ], + "dynamicPropertyPathList": [], + "displayName": "Table", + "bottomRow": 89.0, + "columnWidthMap": { + "task": 245.0, + "step": 70.0, + "status": 85.0 + }, + "parentRowSpace": 10.0, + "hideCard": false, + "mobileRightColumn": 31.0, + "parentColumnSpace": 7.859375, + "dynamicTriggerPathList": [ + { "key": "primaryColumns.customColumn2.onClick" }, + { "key": "onPageChange" }, + { "key": "onRowSelected" }, + { "key": "onSearchTextChanged" } + ], + "borderWidth": "1", + "primaryColumns": { + "type": { + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "index": 0.0, + "width": 150.0, + "originalId": "type", + "id": "type", + "alias": "type", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "text", + "textColor": "", + "textSize": "0.875rem", + "fontStyle": "", + "enableFilter": true, + "enableSort": true, + "isVisible": true, + "isDisabled": false, + "isCellEditable": false, + "isEditable": false, + "isCellVisible": true, + "isDerived": false, + "label": "Type", + "isSaveVisible": true, + "isDiscardVisible": true, + "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"type\"]))}}", + "sticky": "", + "validation": {}, + "cellBackground": "" + }, + "title": { + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "index": 1.0, + "width": 150.0, + "originalId": "title", + "id": "title", + "alias": "title", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "text", + "textColor": "", + "textSize": "0.875rem", + "fontStyle": "", + "enableFilter": true, + "enableSort": true, + "isVisible": true, + "isDisabled": false, + "isCellEditable": false, + "isEditable": false, + "isCellVisible": true, + "isDerived": false, + "label": "Title", + "isSaveVisible": true, + "isDiscardVisible": true, + "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"title\"]))}}", + "sticky": "", + "validation": {}, + "cellBackground": "" + }, + "total_reactions": { + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "index": 2.0, + "width": 150.0, + "originalId": "total_reactions", + "id": "total_reactions", + "alias": "total_reactions", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "number", + "textColor": "", + "textSize": "0.875rem", + "fontStyle": "", + "enableFilter": true, + "enableSort": true, + "isVisible": true, + "isDisabled": false, + "isCellEditable": false, + "isEditable": false, + "isCellVisible": true, + "isDerived": false, + "label": "+1", + "isSaveVisible": true, + "isDiscardVisible": true, + "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"total_reactions\"]))}}", + "sticky": "", + "validation": {}, + "cellBackground": "" + }, + "unique_commentors": { + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "index": 3.0, + "width": 150.0, + "originalId": "unique_commentors", + "id": "unique_commentors", + "alias": "unique_commentors", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "number", + "textColor": "", + "textSize": "0.875rem", + "fontStyle": "", + "enableFilter": true, + "enableSort": true, + "isVisible": true, + "isDisabled": false, + "isCellEditable": false, + "isEditable": false, + "isCellVisible": true, + "isDerived": false, + "label": "Commentors", + "isSaveVisible": true, + "isDiscardVisible": true, + "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"unique_commentors\"]))}}", + "sticky": "", + "validation": {}, + "cellBackground": "" + }, + "upvote_id": { + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "index": 4.0, + "width": 150.0, + "originalId": "upvote_id", + "id": "upvote_id", + "alias": "upvote_id", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "number", + "textColor": "", + "textSize": "0.875rem", + "fontStyle": "", + "enableFilter": true, + "enableSort": true, + "isVisible": false, + "isDisabled": false, + "isCellEditable": false, + "isEditable": false, + "isCellVisible": true, + "isDerived": false, + "label": "upvote_id", + "isSaveVisible": true, + "isDiscardVisible": true, + "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"upvote_id\"]))}}", + "sticky": "", + "validation": {}, + "cellBackground": "" + }, + "id": { + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "index": 5.0, + "width": 150.0, + "originalId": "id", + "id": "id", + "alias": "id", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "number", + "textColor": "", + "textSize": "0.875rem", + "fontStyle": "", + "enableFilter": true, + "enableSort": true, + "isVisible": false, + "isDisabled": false, + "isCellEditable": false, + "isEditable": false, + "isCellVisible": true, + "isDerived": false, + "label": "id", + "isSaveVisible": true, + "isDiscardVisible": true, + "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"id\"]))}}", + "sticky": "", + "validation": {}, + "cellBackground": "" + }, + "github_issue_id": { + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "index": 6.0, + "width": 150.0, + "originalId": "github_issue_id", + "id": "github_issue_id", + "alias": "github_issue_id", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "number", + "textColor": "", + "textSize": "0.875rem", + "fontStyle": "", + "enableFilter": true, + "enableSort": true, + "isVisible": false, + "isDisabled": false, + "isCellEditable": false, + "isEditable": false, + "isCellVisible": true, + "isDerived": false, + "label": "github_issue_id", + "isSaveVisible": true, + "isDiscardVisible": true, + "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"github_issue_id\"]))}}", + "sticky": "", + "validation": {}, + "cellBackground": "" + }, + "author": { + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "index": 7.0, + "width": 150.0, + "originalId": "author", + "id": "author", + "alias": "author", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "text", + "textColor": "", + "textSize": "0.875rem", + "fontStyle": "", + "enableFilter": true, + "enableSort": true, + "isVisible": false, + "isDisabled": false, + "isCellEditable": false, + "isEditable": false, + "isCellVisible": true, + "isDerived": false, + "label": "author", + "isSaveVisible": true, + "isDiscardVisible": true, + "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"author\"]))}}", + "sticky": "", + "validation": {}, + "cellBackground": "" + }, + "created_at": { + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "index": 8.0, + "width": 150.0, + "originalId": "created_at", + "id": "created_at", + "alias": "created_at", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "text", + "textColor": "", + "textSize": "0.875rem", + "fontStyle": "", + "enableFilter": true, + "enableSort": true, + "isVisible": false, + "isDisabled": false, + "isCellEditable": false, + "isEditable": false, + "isCellVisible": true, + "isDerived": false, + "label": "created_at", + "isSaveVisible": true, + "isDiscardVisible": true, + "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"created_at\"]))}}", + "sticky": "", + "validation": {}, + "cellBackground": "" + }, + "description": { + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "index": 9.0, + "width": 150.0, + "originalId": "description", + "id": "description", + "alias": "description", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "text", + "textColor": "", + "textSize": "0.875rem", + "fontStyle": "", + "enableFilter": true, + "enableSort": true, + "isVisible": false, + "isDisabled": false, + "isCellEditable": false, + "isEditable": false, + "isCellVisible": true, + "isDerived": false, + "label": "description", + "isSaveVisible": true, + "isDiscardVisible": true, + "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"description\"]))}}", + "sticky": "", + "validation": {}, + "cellBackground": "" + }, + "labels": { + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "index": 10.0, + "width": 150.0, + "originalId": "labels", + "id": "labels", + "alias": "labels", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "text", + "textColor": "", + "textSize": "0.875rem", + "fontStyle": "", + "enableFilter": true, + "enableSort": true, + "isVisible": false, + "isDisabled": false, + "isCellEditable": false, + "isEditable": false, + "isCellVisible": true, + "isDerived": false, + "label": "labels", + "isSaveVisible": true, + "isDiscardVisible": true, + "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"labels\"]))}}", + "sticky": "", + "validation": {}, + "cellBackground": "" + }, + "state": { + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "index": 11.0, + "width": 150.0, + "originalId": "state", + "id": "state", + "alias": "state", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "text", + "textColor": "", + "textSize": "0.875rem", + "fontStyle": "", + "enableFilter": true, + "enableSort": true, + "isVisible": false, + "isDisabled": false, + "isCellEditable": false, + "isEditable": false, + "isCellVisible": true, + "isDerived": false, + "label": "state", + "isSaveVisible": true, + "isDiscardVisible": true, + "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"state\"]))}}", + "sticky": "", + "validation": {}, + "cellBackground": "" + }, + "answer": { + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "index": 12.0, + "width": 150.0, + "originalId": "answer", + "id": "answer", + "alias": "answer", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "text", + "textColor": "", + "textSize": "0.875rem", + "fontStyle": "", + "enableFilter": true, + "enableSort": true, + "isVisible": true, + "isDisabled": false, + "isCellEditable": false, + "isEditable": false, + "isCellVisible": true, + "isDerived": false, + "label": "Answer", + "isSaveVisible": true, + "isDiscardVisible": true, + "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"answer\"]))}}", + "sticky": "", + "validation": {}, + "cellBackground": "" + }, + "link": { + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "index": 13.0, + "width": 150.0, + "originalId": "link", + "id": "link", + "alias": "link", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "text", + "textColor": "", + "textSize": "0.875rem", + "fontStyle": "", + "enableFilter": true, + "enableSort": true, + "isVisible": false, + "isDisabled": false, + "isCellEditable": false, + "isEditable": false, + "isCellVisible": true, + "isDerived": false, + "label": "link", + "isSaveVisible": true, + "isDiscardVisible": true, + "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"link\"]))}}", + "sticky": "", + "validation": {}, + "cellBackground": "" + }, + "states": { + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "index": 14.0, + "width": 150.0, + "originalId": "states", + "id": "states", + "alias": "states", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "text", + "textColor": "", + "textSize": "0.875rem", + "fontStyle": "", + "enableFilter": true, + "enableSort": true, + "isVisible": false, + "isDisabled": false, + "isCellEditable": false, + "isEditable": false, + "isCellVisible": true, + "isDerived": false, + "label": "States", + "isSaveVisible": true, + "isDiscardVisible": true, + "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"states\"]))}}", + "sticky": "", + "validation": {}, + "cellBackground": "" + }, + "count": { + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "index": 15.0, + "width": 150.0, + "originalId": "count", + "id": "count", + "alias": "count", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "number", + "textColor": "", + "textSize": "0.875rem", + "fontStyle": "", + "enableFilter": true, + "enableSort": true, + "isVisible": true, + "isDisabled": false, + "isCellEditable": false, + "isEditable": false, + "isCellVisible": true, + "isDerived": false, + "label": "Votes", + "isSaveVisible": true, + "isDiscardVisible": true, + "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"count\"]))}}", + "sticky": "", + "validation": {}, + "cellBackground": "" + }, + "updated_at": { + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "index": 16.0, + "width": 150.0, + "originalId": "updated_at", + "id": "updated_at", + "alias": "updated_at", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "text", + "textColor": "", + "textSize": "0.875rem", + "fontStyle": "", + "enableFilter": true, + "enableSort": true, + "isVisible": false, + "isDisabled": false, + "isCellEditable": false, + "isEditable": false, + "isCellVisible": true, + "isDerived": false, + "label": "updated_at", + "isSaveVisible": true, + "isDiscardVisible": true, + "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"updated_at\"]))}}", + "sticky": "", + "validation": {}, + "cellBackground": "" + }, + "customColumn1": { + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "index": 10.0, + "width": 150.0, + "originalId": "customColumn1", + "id": "customColumn1", + "alias": "Status", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "text", + "textSize": "0.875rem", + "enableFilter": true, + "enableSort": true, + "isVisible": true, + "isDisabled": false, + "isCellEditable": false, + "isEditable": false, + "isCellVisible": true, + "isDerived": true, + "label": "Status", + "isSaveVisible": true, + "isDiscardVisible": true, + "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( Configs.getTitleState(currentRow.states)))}}", + "sticky": "", + "validation": {}, + "buttonStyle": "rgb(3, 179, 101)", + "labelColor": "#FFFFFF" + }, + "customColumn2": { + "allowCellWrapping": false, + "allowSameOptionsInNewRow": true, + "index": 10.0, + "width": 150.0, + "originalId": "customColumn2", + "id": "customColumn2", + "alias": "UpVote", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "iconButton", + "textSize": "0.875rem", + "enableFilter": true, + "enableSort": true, + "isVisible": true, + "isDisabled": false, + "isCellEditable": false, + "isEditable": false, + "isCellVisible": true, + "isDerived": true, + "label": "UpVote", + "isSaveVisible": true, + "isDiscardVisible": true, + "computedValue": "", + "sticky": "", + "validation": {}, + "buttonStyle": "rgb(3, 179, 101)", + "labelColor": "#FFFFFF", + "buttonColor": "#38AFF4", + "borderRadius": "0.375rem", + "boxShadow": "none", + "customAlias": "", + "iconName": "caret-up", + "onClick": "{{showModal('upvote_modal');}}", + "buttonVariant": "SECONDARY" + } + }, + "onRowSelected": "{{resetWidget(\"Tabs1\", true);}}", + "key": "eyftuk193m", + "canFreezeColumn": true, + "isDeprecated": false, + "rightColumn": 43.0, + "textSize": "0.875rem", + "widgetId": "t1du9nktbq", + "minWidth": 450.0, + "tableData": "{{IssueManager.getIssueData()}}", + "label": "Data", + "searchKey": "", + "parentId": "0", + "serverSidePaginationEnabled": true, + "renderMode": "CANVAS", + "mobileTopRow": 14.0, + "horizontalAlignment": "LEFT", + "isVisibleSearch": true, + "responsiveBehavior": "fill", + "mobileLeftColumn": 0.0, + "isVisiblePagination": true, + "verticalAlignment": "CENTER" + } + ] + }, + "layoutOnLoadActions": [ + [ + { + "id": "Issues_search_github_issues", + "name": "search_github_issues", + "confirmBeforeExecute": false, + "pluginType": "DB", + "jsonPathKeys": ["\"%\" + this.params.searchText + \"%\""], + "timeoutInMillisecond": 10000.0 + } + ], + [ + { + "id": "Issues_fetch_comments", + "name": "fetch_comments", + "confirmBeforeExecute": false, + "pluginType": "DB", + "jsonPathKeys": ["Table1.selectedRow.id"], + "timeoutInMillisecond": 10000.0 + } + ], + [ + { + "id": "Issues_fetch_issues", + "name": "fetch_issues", + "confirmBeforeExecute": false, + "pluginType": "DB", + "jsonPathKeys": [ + "appsmith.URL.queryParams.id ? \" and global_issues.id=\" + appsmith.URL.queryParams.id: \"\"", + " pod_filter.selectedOptionValue && pod_filter.selectedOptionValue !== \"ALL\" ? \"and '\" + pod_filter.selectedOptionValue + \"'=ANY(global_issues.labels)\" : \"\" ", + "(Table1.pageNo - 1) * Table1.pageSize", + " \"%\" + Table1.searchText + \"%\" ", + "sort_select.selectedOptionValue === \"GITHUB\" ? \"total_reactions desc, count desc, upvote_id desc\" : sort_select.selectedOptionValue === \"VOTES\" ? \"count desc, upvote_id desc, total_reactions desc\" : sort_select.selectedOptionValue === \"COMMENTORS\" ? \"unique_commentors desc, total_reactions desc, count desc, upvote_id desc\" : \"updated_at desc\" ", + "Table1.pageSize", + " type_filter.selectedOptionValue && type_filter.selectedOptionValue !== \"ALL\" ? \"and global_issues.type ='\" + type_filter.selectedOptionValue + \"'\" : \"\" ", + " status_filter.selectedOptionValue && status_filter.selectedOptionValue !== \"ALL\" ? \"and '\" + status_filter.selectedOptionValue + \"' =ANY(global_issues.states)\" : \"\" " + ], + "timeoutInMillisecond": 10000.0 + }, + { + "id": "Issues_fetch_labels", + "name": "fetch_labels", + "confirmBeforeExecute": false, + "pluginType": "API", + "jsonPathKeys": [], + "timeoutInMillisecond": 10000.0 + } + ], + [ + { + "id": "Issues_fetch_label_config", + "name": "fetch_label_config", + "confirmBeforeExecute": false, + "pluginType": "API", + "jsonPathKeys": [], + "timeoutInMillisecond": 10000.0 + } + ] + ], + "layoutOnLoadActionErrors": [], + "validOnPageLoadActions": true, + "id": "Issues", + "deleted": false, + "policies": [], + "userPermissions": [] + } + ], + "userPermissions": [], + "policies": [], + "isHidden": false + }, + "publishedPage": { + "name": "Issues", + "slug": "issues", + "layouts": [ + { + "viewMode": false, + "dsl": { + "widgetName": "MainContainer", + "backgroundColor": "none", + "rightColumn": 1082.0, + "snapColumns": 64.0, + "detachFromLayout": true, + "widgetId": "0", + "topRow": 0.0, + "bottomRow": 1160.0, + "containerStyle": "none", + "snapRows": 125.0, + "parentRowSpace": 1.0, + "type": "CANVAS_WIDGET", + "canExtend": true, + "version": 53.0, + "minHeight": 940.0, + "parentColumnSpace": 1.0, + "dynamicBindingPathList": [], + "leftColumn": 0.0, + "children": [ + { + "widgetName": "upvote_modal", + "isCanvas": true, + "displayName": "Modal", + "iconSVG": "/static/media/icon.4975978e.svg", + "topRow": 90.0, + "bottomRow": 90.0, + "parentRowSpace": 1.0, + "type": "MODAL_WIDGET", + "hideCard": false, + "shouldScrollContents": true, + "animateLoading": true, + "parentColumnSpace": 1.0, + "leftColumn": 0.0, + "dynamicBindingPathList": [], + "children": [ + { + "widgetName": "Canvas5", + "displayName": "Canvas", + "topRow": 0.0, + "bottomRow": 470.0, + "parentRowSpace": 1.0, + "type": "CANVAS_WIDGET", + "canExtend": true, + "hideCard": true, + "shouldScrollContents": false, + "minHeight": 478.0, + "parentColumnSpace": 1.0, + "dynamicTriggerPathList": [], + "leftColumn": 0.0, + "dynamicBindingPathList": [], + "children": [ + { + "widgetName": "upvote_label_select", + "isFilterable": true, + "dynamicPropertyPathList": [ + { "key": "onFilterUpdate" } + ], + "displayName": "MultiSelect", + "iconSVG": "/static/media/icon.a3495809.svg", + "labelText": "", + "topRow": 35.0, + "bottomRow": 39.0, + "parentRowSpace": 10.0, + "type": "MULTI_SELECT_WIDGET_V2", + "serverSideFiltering": true, + "hideCard": false, + "defaultOptionValue": "{{Table1.selectedRow.labels.map((label) => {\n return {\n\t label: label,\n\t value: label\n }\n})}}", + "animateLoading": true, + "parentColumnSpace": 16.3125, + "dynamicTriggerPathList": [ + { "key": "onFilterUpdate" } + ], + "leftColumn": 1.0, + "dynamicBindingPathList": [ + { "key": "options" }, + { "key": "defaultOptionValue" } + ], + "options": "{{GithubManager.getLabels()}}", + "placeholderText": "Select label(s)", + "isDisabled": false, + "key": "5rw0979hv0", + "isRequired": true, + "rightColumn": 64.0, + "widgetId": "xdplbo2hdw", + "isVisible": true, + "version": 1.0, + "parentId": "a189hjos00", + "renderMode": "CANVAS", + "isLoading": false, + "onFilterUpdate": "{{fetch_labels.run({ filterText: upvote_label_select.filterText })}}" + }, + { + "widgetName": "Text12Copy", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b52.svg", + "topRow": 15.0, + "bottomRow": 19.0, + "parentRowSpace": 10.0, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 6.9375, + "dynamicTriggerPathList": [], + "leftColumn": 1.0, + "dynamicBindingPathList": [], + "text": "Comment", + "key": "fzyz91gt8q", + "rightColumn": 17.0, + "textAlign": "LEFT", + "widgetId": "hx56ibu1uk", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1.0, + "parentId": "a189hjos00", + "renderMode": "CANVAS", + "isLoading": false, + "fontSize": "PARAGRAPH" + }, + { + "widgetName": "comment_input", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595.svg", + "topRow": 19.0, + "bottomRow": 31.0, + "parentRowSpace": 10.0, + "autoFocus": false, + "type": "INPUT_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 6.9375, + "resetOnSubmit": true, + "leftColumn": 1.0, + "dynamicBindingPathList": [], + "labelStyle": "", + "inputType": "TEXT", + "isDisabled": false, + "key": "zyoraxqcrl", + "isRequired": false, + "rightColumn": 62.0, + "widgetId": "x2u0y4ound", + "isVisible": true, + "label": "", + "allowCurrencyChange": false, + "version": 1.0, + "parentId": "a189hjos00", + "renderMode": "CANVAS", + "isLoading": false, + "iconAlign": "left", + "defaultText": "" + }, + { + "widgetName": "Icon2", + "rightColumn": 64.0, + "onClick": "{{closeModal('upvote_modal')}}", + "iconName": "cross", + "buttonColor": "#2E3D49", + "displayName": "Icon", + "iconSVG": "/static/media/icon.31d6cfe0.svg", + "widgetId": "nphe3f67yt", + "topRow": 1.0, + "bottomRow": 5.0, + "isVisible": true, + "type": "ICON_BUTTON_WIDGET", + "version": 1.0, + "hideCard": true, + "parentId": "a189hjos00", + "renderMode": "CANVAS", + "isLoading": false, + "leftColumn": 58.0, + "dynamicBindingPathList": [], + "borderRadius": "SHARP", + "buttonVariant": "TERTIARY", + "iconSize": 24.0, + "key": "aeg87lexno" + }, + { + "widgetName": "Text11", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b52.svg", + "topRow": 1.0, + "bottomRow": 5.0, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "dynamicTriggerPathList": [], + "leftColumn": 1.0, + "dynamicBindingPathList": [], + "text": "Upvote Issue", + "key": "fzyz91gt8q", + "rightColumn": 41.0, + "textAlign": "LEFT", + "widgetId": "bfqckgaole", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1.0, + "parentId": "a189hjos00", + "renderMode": "CANVAS", + "isLoading": false, + "fontSize": "HEADING1" + }, + { + "widgetName": "Button5", + "onClick": "{{closeModal('upvote_modal')}}", + "buttonColor": "#2E3D49", + "displayName": "Button", + "iconSVG": "/static/media/icon.cca02633.svg", + "topRow": 41.0, + "bottomRow": 45.0, + "type": "BUTTON_WIDGET", + "hideCard": false, + "animateLoading": true, + "dynamicTriggerPathList": [], + "leftColumn": 30.0, + "dynamicBindingPathList": [], + "text": "Close", + "isDisabled": false, + "key": "oz6v5ujks3", + "rightColumn": 42.0, + "isDefaultClickDisabled": true, + "widgetId": "2mnhq3yf99", + "buttonStyle": "PRIMARY", + "isVisible": true, + "version": 1.0, + "recaptchaType": "V3", + "parentId": "a189hjos00", + "renderMode": "CANVAS", + "isLoading": false, + "buttonVariant": "SECONDARY" + }, + { + "widgetName": "Button6", + "onClick": "{{IssueManager.addComment()}}", + "buttonColor": "#2E3D49", + "dynamicPropertyPathList": [ + { "key": "onClick" }, + { "key": "isDisabled" } + ], + "displayName": "Button", + "iconSVG": "/static/media/icon.cca02633.svg", + "topRow": 41.0, + "bottomRow": 45.0, + "type": "BUTTON_WIDGET", + "hideCard": false, + "animateLoading": true, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 42.0, + "dynamicBindingPathList": [{ "key": "isDisabled" }], + "text": "Save", + "isDisabled": "{{!comment_link_input.isValid || IssueManager.getAssignedLabels(upvote_label_select.selectedOptionValues).length == 0}}", + "key": "oz6v5ujks3", + "rightColumn": 64.0, + "isDefaultClickDisabled": true, + "widgetId": "8ph22tfh2p", + "buttonStyle": "PRIMARY_BUTTON", + "isVisible": true, + "version": 1.0, + "recaptchaType": "V3", + "parentId": "a189hjos00", + "renderMode": "CANVAS", + "isLoading": false, + "buttonVariant": "PRIMARY" + }, + { + "widgetName": "Text12", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b52.svg", + "topRow": 6.0, + "bottomRow": 10.0, + "parentRowSpace": 10.0, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 6.9375, + "dynamicTriggerPathList": [], + "leftColumn": 1.0, + "dynamicBindingPathList": [], + "text": "Link", + "key": "fzyz91gt8q", + "rightColumn": 17.0, + "textAlign": "LEFT", + "widgetId": "gculfyyarv", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1.0, + "parentId": "a189hjos00", + "renderMode": "CANVAS", + "isLoading": false, + "fontSize": "PARAGRAPH" + }, + { + "widgetName": "comment_link_input", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595.svg", + "topRow": 10.0, + "bottomRow": 14.0, + "parentRowSpace": 10.0, + "autoFocus": false, + "type": "INPUT_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 6.9375, + "dynamicTriggerPathList": [], + "resetOnSubmit": true, + "leftColumn": 1.0, + "dynamicBindingPathList": [], + "labelStyle": "", + "inputType": "TEXT", + "isDisabled": false, + "key": "zyoraxqcrl", + "isRequired": true, + "rightColumn": 62.0, + "widgetId": "hhr3oe3adk", + "isVisible": true, + "label": "", + "allowCurrencyChange": false, + "version": 1.0, + "parentId": "a189hjos00", + "renderMode": "CANVAS", + "isLoading": false, + "iconAlign": "left", + "defaultText": "" + }, + { + "widgetName": "Text25", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b52.svg", + "topRow": 31.0, + "bottomRow": 35.0, + "parentRowSpace": 10.0, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 6.9375, + "dynamicTriggerPathList": [], + "leftColumn": 1.0, + "dynamicBindingPathList": [], + "shouldTruncate": false, + "truncateButtonColor": "#FFC13D", + "text": "Labels", + "key": "z1pp8v2iis", + "rightColumn": 17.0, + "textAlign": "LEFT", + "widgetId": "jj9lerbuso", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "shouldScroll": false, + "version": 1.0, + "parentId": "a189hjos00", + "renderMode": "CANVAS", + "isLoading": false, + "fontSize": "PARAGRAPH" + } + ], + "isDisabled": false, + "key": "6u4x0kf3h8", + "rightColumn": 0.0, + "detachFromLayout": true, + "widgetId": "a189hjos00", + "isVisible": true, + "version": 1.0, + "parentId": "wfscrnavzk", + "renderMode": "CANVAS", + "isLoading": false + } + ], + "key": "9ppzbhlnqc", + "height": 478.0, + "rightColumn": 0.0, + "detachFromLayout": true, + "widgetId": "wfscrnavzk", + "canOutsideClickClose": true, + "canEscapeKeyClose": true, + "version": 2.0, + "parentId": "0", + "renderMode": "CANVAS", + "isLoading": false, + "width": 456.0 + }, + { + "widgetName": "Tabs1", + "isCanvas": true, + "dynamicPropertyPathList": [ + { "key": "isVisible" }, + { "key": "onTabSelected" } + ], + "displayName": "Tabs", + "iconSVG": "/static/media/icon.74a6d653.svg", + "topRow": 5.0, + "bottomRow": 89.0, + "parentRowSpace": 10.0, + "type": "TABS_WIDGET", + "hideCard": false, + "shouldScrollContents": false, + "animateLoading": false, + "parentColumnSpace": 17.9375, + "dynamicTriggerPathList": [{ "key": "onTabSelected" }], + "leftColumn": 44.0, + "dynamicBindingPathList": [{ "key": "isVisible" }], + "children": [ + { + "tabId": "tab1", + "widgetName": "Canvas1", + "displayName": "Canvas", + "topRow": 0.0, + "bottomRow": 830.0, + "parentRowSpace": 1.0, + "type": "CANVAS_WIDGET", + "canExtend": true, + "hideCard": true, + "shouldScrollContents": false, + "minHeight": 400.0, + "parentColumnSpace": 1.0, + "dynamicTriggerPathList": [], + "leftColumn": 0.0, + "dynamicBindingPathList": [], + "children": [ + { + "template": { + "Canvas1Copy": { + "widgetName": "Canvas1Copy", + "displayName": "Canvas", + "topRow": 0.0, + "bottomRow": 400.0, + "parentRowSpace": 1.0, + "type": "CANVAS_WIDGET", + "canExtend": false, + "hideCard": true, + "dropDisabled": true, + "openParentPropertyPane": true, + "minHeight": 400.0, + "noPad": true, + "parentColumnSpace": 1.0, + "leftColumn": 0.0, + "dynamicBindingPathList": [], + "children": ["2mnw941o3c"], + "key": "6u4x0kf3h8", + "rightColumn": 430.5, + "detachFromLayout": true, + "widgetId": "ucvwcx91v9", + "containerStyle": "none", + "isVisible": true, + "version": 1.0, + "parentId": "cu1twhxgsd", + "renderMode": "CANVAS", + "isLoading": false + }, + "Container1": { + "boxShadow": "NONE", + "widgetName": "Container1", + "borderColor": "transparent", + "disallowCopy": true, + "isCanvas": true, + "displayName": "Container", + "iconSVG": "/static/media/icon.1977dca3.svg", + "topRow": 0.0, + "bottomRow": 12.0, + "dragDisabled": true, + "type": "CONTAINER_WIDGET", + "hideCard": false, + "openParentPropertyPane": true, + "isDeletable": false, + "animateLoading": true, + "leftColumn": 0.0, + "dynamicBindingPathList": [], + "children": ["tog68u9on9"], + "borderWidth": "0", + "key": "kvuew872nd", + "disablePropertyPane": true, + "backgroundColor": "white", + "rightColumn": 64.0, + "widgetId": "2mnw941o3c", + "containerStyle": "card", + "isVisible": true, + "version": 1.0, + "parentId": "ucvwcx91v9", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0" + }, + "Canvas2Copy": { + "widgetName": "Canvas2Copy", + "detachFromLayout": true, + "displayName": "Canvas", + "widgetId": "tog68u9on9", + "containerStyle": "none", + "topRow": 0.0, + "bottomRow": 120.0, + "parentRowSpace": 1.0, + "isVisible": true, + "type": "CANVAS_WIDGET", + "canExtend": false, + "version": 1.0, + "hideCard": true, + "parentId": "2mnw941o3c", + "renderMode": "CANVAS", + "isLoading": false, + "parentColumnSpace": 1.0, + "leftColumn": 0.0, + "dynamicBindingPathList": [], + "children": [ + "kklt0cg1tk", + "7sjskfdsub", + "6sjuuvj9ls", + "22rrixkfjj", + "05joyb6dqj" + ], + "key": "6u4x0kf3h8" + }, + "Text2": { + "widgetName": "Text2", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b52.svg", + "topRow": 0.0, + "bottomRow": 4.0, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "dynamicTriggerPathList": [], + "dynamicBindingPathList": [{ "key": "text" }], + "leftColumn": 1.0, + "text": "{{List1.listData.map((currentItem) => currentItem.author)}}", + "key": "fzyz91gt8q", + "rightColumn": 29.0, + "textAlign": "LEFT", + "widgetId": "kklt0cg1tk", + "logBlackList": { + "isVisible": true, + "text": true, + "fontSize": true, + "fontStyle": true, + "textAlign": true, + "textColor": true, + "widgetName": true, + "version": true, + "animateLoading": true, + "type": true, + "hideCard": true, + "displayName": true, + "key": true, + "iconSVG": true, + "isCanvas": true, + "textStyle": true, + "dynamicBindingPathList": true, + "dynamicTriggerPathList": true, + "minHeight": true, + "widgetId": true, + "renderMode": true, + "isLoading": true, + "parentColumnSpace": true, + "parentRowSpace": true, + "leftColumn": true, + "rightColumn": true, + "topRow": true, + "bottomRow": true, + "parentId": true + }, + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1.0, + "parentId": "tog68u9on9", + "renderMode": "CANVAS", + "isLoading": false, + "fontSize": "PARAGRAPH2", + "textStyle": "HEADING" + }, + "Text3": { + "widgetName": "Text3", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b52.svg", + "topRow": 4.0, + "bottomRow": 10.0, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "dynamicTriggerPathList": [], + "dynamicBindingPathList": [{ "key": "text" }], + "leftColumn": 1.0, + "text": "{{List1.listData.map((currentItem) => currentItem.comment)}}", + "key": "fzyz91gt8q", + "rightColumn": 64.0, + "textAlign": "LEFT", + "widgetId": "7sjskfdsub", + "logBlackList": { + "isVisible": true, + "text": true, + "fontSize": true, + "fontStyle": true, + "textAlign": true, + "textColor": true, + "widgetName": true, + "version": true, + "animateLoading": true, + "type": true, + "hideCard": true, + "displayName": true, + "key": true, + "iconSVG": true, + "isCanvas": true, + "textStyle": true, + "dynamicBindingPathList": true, + "dynamicTriggerPathList": true, + "minHeight": true, + "widgetId": true, + "renderMode": true, + "isLoading": true, + "parentColumnSpace": true, + "parentRowSpace": true, + "leftColumn": true, + "rightColumn": true, + "topRow": true, + "bottomRow": true, + "parentId": true + }, + "isVisible": true, + "fontStyle": "", + "textColor": "#231F20", + "version": 1.0, + "shouldScroll": true, + "parentId": "tog68u9on9", + "renderMode": "CANVAS", + "isLoading": false, + "fontSize": "PARAGRAPH2", + "textStyle": "BODY" + }, + "IconButton2": { + "boxShadow": "NONE", + "widgetName": "IconButton2", + "onClick": "{{List1.listData.map((currentItem) => navigateTo(currentItem.link, {},'NEW_WINDOW'))}}", + "buttonColor": "#03B365", + "displayName": "Icon Button", + "iconSVG": "/static/media/icon.1a0c634a.svg", + "topRow": 0.0, + "bottomRow": 4.0, + "parentRowSpace": 10.0, + "type": "ICON_BUTTON_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 6.2890625, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 56.0, + "dynamicBindingPathList": [], + "isDisabled": false, + "key": "35uqmnh3wt", + "rightColumn": 64.0, + "iconName": "link", + "widgetId": "6sjuuvj9ls", + "logBlackList": { + "isVisible": true, + "iconName": true, + "borderRadius": true, + "boxShadow": true, + "buttonColor": true, + "buttonVariant": true, + "isDisabled": true, + "widgetName": true, + "version": true, + "animateLoading": true, + "type": true, + "hideCard": true, + "displayName": true, + "key": true, + "iconSVG": true, + "isCanvas": true, + "minHeight": true, + "widgetId": true, + "renderMode": true, + "isLoading": true, + "parentColumnSpace": true, + "parentRowSpace": true, + "leftColumn": true, + "rightColumn": true, + "topRow": true, + "bottomRow": true, + "parentId": true + }, + "isVisible": true, + "version": 1.0, + "parentId": "tog68u9on9", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "CIRCLE", + "buttonVariant": "TERTIARY" + }, + "IconButton3": { + "boxShadow": "NONE", + "widgetName": "IconButton3", + "onClick": "{{IssueManager.deleteComment()}}", + "buttonColor": "#F86A2B", + "displayName": "Icon Button", + "iconSVG": "/static/media/icon.1a0c634a.svg", + "topRow": 0.0, + "bottomRow": 4.0, + "parentRowSpace": 10.0, + "type": "ICON_BUTTON_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 6.2890625, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 49.0, + "dynamicBindingPathList": [], + "isDisabled": false, + "key": "35uqmnh3wt", + "rightColumn": 56.0, + "iconName": "trash", + "widgetId": "22rrixkfjj", + "logBlackList": { + "isVisible": true, + "iconName": true, + "borderRadius": true, + "boxShadow": true, + "buttonColor": true, + "buttonVariant": true, + "isDisabled": true, + "widgetName": true, + "version": true, + "animateLoading": true, + "type": true, + "hideCard": true, + "displayName": true, + "key": true, + "iconSVG": true, + "isCanvas": true, + "minHeight": true, + "widgetId": true, + "renderMode": true, + "isLoading": true, + "parentColumnSpace": true, + "parentRowSpace": true, + "leftColumn": true, + "rightColumn": true, + "topRow": true, + "bottomRow": true, + "parentId": true + }, + "isVisible": true, + "version": 1.0, + "parentId": "tog68u9on9", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "CIRCLE", + "buttonVariant": "TERTIARY" + }, + "Text14": { + "widgetName": "Text14", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b52.svg", + "topRow": 0.0, + "bottomRow": 4.0, + "parentRowSpace": 10.0, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 5.1357421875, + "dynamicTriggerPathList": [], + "leftColumn": 33.0, + "dynamicBindingPathList": [{ "key": "text" }], + "text": "{{List1.listData.map((currentItem) => moment(currentItem.created_at).format(\"Do MMM\"))}}", + "key": "w50usn0v9g", + "rightColumn": 49.0, + "textAlign": "RIGHT", + "widgetId": "05joyb6dqj", + "logBlackList": { + "isVisible": true, + "text": true, + "fontSize": true, + "fontStyle": true, + "textAlign": true, + "textColor": true, + "widgetName": true, + "version": true, + "animateLoading": true, + "type": true, + "hideCard": true, + "displayName": true, + "key": true, + "iconSVG": true, + "isCanvas": true, + "minHeight": true, + "widgetId": true, + "renderMode": true, + "isLoading": true, + "parentColumnSpace": true, + "parentRowSpace": true, + "leftColumn": true, + "rightColumn": true, + "topRow": true, + "bottomRow": true, + "parentId": true + }, + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1.0, + "parentId": "tog68u9on9", + "renderMode": "CANVAS", + "isLoading": false, + "fontSize": "PARAGRAPH2" + } + }, + "widgetName": "List1", + "listData": "{{fetch_comments.data}}", + "isCanvas": true, + "displayName": "List", + "iconSVG": "/static/media/icon.9925ee17.svg", + "topRow": 0.0, + "bottomRow": 81.0, + "parentRowSpace": 10.0, + "type": "LIST_WIDGET", + "hideCard": false, + "gridGap": 0.0, + "animateLoading": true, + "parentColumnSpace": 6.7265625, + "dynamicTriggerPathList": [ + { "key": "template.IconButton2.onClick" }, + { "key": "template.IconButton3.onClick" } + ], + "leftColumn": 0.0, + "dynamicBindingPathList": [ + { "key": "listData" }, + { "key": "template.Text3.text" }, + { "key": "template.Text2.text" }, + { "key": "template.Text14.text" }, + { "key": "template.Text2.text" }, + { "key": "template.Text3.text" }, + { "key": "template.IconButton2.onClick" }, + { "key": "template.Text14.text" } + ], + "gridType": "vertical", + "enhancements": true, + "children": [ + { + "widgetName": "Canvas1Copy", + "displayName": "Canvas", + "topRow": 0.0, + "bottomRow": 400.0, + "parentRowSpace": 1.0, + "type": "CANVAS_WIDGET", + "canExtend": false, + "hideCard": true, + "dropDisabled": true, + "openParentPropertyPane": true, + "minHeight": 400.0, + "noPad": true, + "parentColumnSpace": 1.0, + "leftColumn": 0.0, + "dynamicBindingPathList": [], + "children": [ + { + "boxShadow": "NONE", + "widgetName": "Container1", + "borderColor": "transparent", + "disallowCopy": true, + "isCanvas": true, + "displayName": "Container", + "iconSVG": "/static/media/icon.1977dca3.svg", + "topRow": 0.0, + "bottomRow": 12.0, + "dragDisabled": true, + "type": "CONTAINER_WIDGET", + "hideCard": false, + "openParentPropertyPane": true, + "isDeletable": false, + "animateLoading": true, + "leftColumn": 0.0, + "dynamicBindingPathList": [], + "children": [ + { + "widgetName": "Canvas2Copy", + "detachFromLayout": true, + "displayName": "Canvas", + "widgetId": "tog68u9on9", + "containerStyle": "none", + "topRow": 0.0, + "bottomRow": 120.0, + "parentRowSpace": 1.0, + "isVisible": true, + "type": "CANVAS_WIDGET", + "canExtend": false, + "version": 1.0, + "hideCard": true, + "parentId": "2mnw941o3c", + "renderMode": "CANVAS", + "isLoading": false, + "parentColumnSpace": 1.0, + "leftColumn": 0.0, + "dynamicBindingPathList": [], + "children": [ + { + "widgetName": "Text2", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b52.svg", + "topRow": 0.0, + "bottomRow": 4.0, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "dynamicTriggerPathList": [], + "dynamicBindingPathList": [ + { "key": "text" } + ], + "leftColumn": 1.0, + "text": "{{currentItem.author}}", + "key": "fzyz91gt8q", + "rightColumn": 29.0, + "textAlign": "LEFT", + "widgetId": "kklt0cg1tk", + "logBlackList": { + "isVisible": true, + "text": true, + "fontSize": true, + "fontStyle": true, + "textAlign": true, + "textColor": true, + "widgetName": true, + "version": true, + "animateLoading": true, + "type": true, + "hideCard": true, + "displayName": true, + "key": true, + "iconSVG": true, + "isCanvas": true, + "textStyle": true, + "dynamicBindingPathList": true, + "dynamicTriggerPathList": true, + "minHeight": true, + "widgetId": true, + "renderMode": true, + "isLoading": true, + "parentColumnSpace": true, + "parentRowSpace": true, + "leftColumn": true, + "rightColumn": true, + "topRow": true, + "bottomRow": true, + "parentId": true + }, + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1.0, + "parentId": "tog68u9on9", + "renderMode": "CANVAS", + "isLoading": false, + "fontSize": "PARAGRAPH2", + "textStyle": "HEADING" + }, + { + "widgetName": "Text3", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b52.svg", + "topRow": 4.0, + "bottomRow": 10.0, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "dynamicTriggerPathList": [], + "dynamicBindingPathList": [ + { "key": "text" } + ], + "leftColumn": 1.0, + "text": "{{currentItem.comment}}", + "key": "fzyz91gt8q", + "rightColumn": 64.0, + "textAlign": "LEFT", + "widgetId": "7sjskfdsub", + "logBlackList": { + "isVisible": true, + "text": true, + "fontSize": true, + "fontStyle": true, + "textAlign": true, + "textColor": true, + "widgetName": true, + "version": true, + "animateLoading": true, + "type": true, + "hideCard": true, + "displayName": true, + "key": true, + "iconSVG": true, + "isCanvas": true, + "textStyle": true, + "dynamicBindingPathList": true, + "dynamicTriggerPathList": true, + "minHeight": true, + "widgetId": true, + "renderMode": true, + "isLoading": true, + "parentColumnSpace": true, + "parentRowSpace": true, + "leftColumn": true, + "rightColumn": true, + "topRow": true, + "bottomRow": true, + "parentId": true + }, + "isVisible": true, + "fontStyle": "", + "textColor": "#231F20", + "version": 1.0, + "shouldScroll": true, + "parentId": "tog68u9on9", + "renderMode": "CANVAS", + "isLoading": false, + "fontSize": "PARAGRAPH2", + "textStyle": "BODY" + }, + { + "boxShadow": "NONE", + "widgetName": "IconButton2", + "onClick": "{{navigateTo(currentItem.link, {},'NEW_WINDOW')}}", + "buttonColor": "#03B365", + "displayName": "Icon Button", + "iconSVG": "/static/media/icon.1a0c634a.svg", + "topRow": 0.0, + "bottomRow": 4.0, + "parentRowSpace": 10.0, + "type": "ICON_BUTTON_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 6.2890625, + "dynamicTriggerPathList": [ + { "key": "onClick" } + ], + "leftColumn": 56.0, + "dynamicBindingPathList": [], + "isDisabled": false, + "key": "35uqmnh3wt", + "rightColumn": 64.0, + "iconName": "link", + "widgetId": "6sjuuvj9ls", + "logBlackList": { + "isVisible": true, + "iconName": true, + "borderRadius": true, + "boxShadow": true, + "buttonColor": true, + "buttonVariant": true, + "isDisabled": true, + "widgetName": true, + "version": true, + "animateLoading": true, + "type": true, + "hideCard": true, + "displayName": true, + "key": true, + "iconSVG": true, + "isCanvas": true, + "minHeight": true, + "widgetId": true, + "renderMode": true, + "isLoading": true, + "parentColumnSpace": true, + "parentRowSpace": true, + "leftColumn": true, + "rightColumn": true, + "topRow": true, + "bottomRow": true, + "parentId": true + }, + "isVisible": true, + "version": 1.0, + "parentId": "tog68u9on9", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "CIRCLE", + "buttonVariant": "TERTIARY" + }, + { + "boxShadow": "NONE", + "widgetName": "IconButton3", + "onClick": "{{IssueManager.deleteComment()}}", + "buttonColor": "#F86A2B", + "displayName": "Icon Button", + "iconSVG": "/static/media/icon.1a0c634a.svg", + "topRow": 0.0, + "bottomRow": 4.0, + "parentRowSpace": 10.0, + "type": "ICON_BUTTON_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 6.2890625, + "dynamicTriggerPathList": [ + { "key": "onClick" } + ], + "leftColumn": 49.0, + "dynamicBindingPathList": [], + "isDisabled": false, + "key": "35uqmnh3wt", + "rightColumn": 56.0, + "iconName": "trash", + "widgetId": "22rrixkfjj", + "logBlackList": { + "isVisible": true, + "iconName": true, + "borderRadius": true, + "boxShadow": true, + "buttonColor": true, + "buttonVariant": true, + "isDisabled": true, + "widgetName": true, + "version": true, + "animateLoading": true, + "type": true, + "hideCard": true, + "displayName": true, + "key": true, + "iconSVG": true, + "isCanvas": true, + "minHeight": true, + "widgetId": true, + "renderMode": true, + "isLoading": true, + "parentColumnSpace": true, + "parentRowSpace": true, + "leftColumn": true, + "rightColumn": true, + "topRow": true, + "bottomRow": true, + "parentId": true + }, + "isVisible": true, + "version": 1.0, + "parentId": "tog68u9on9", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "CIRCLE", + "buttonVariant": "TERTIARY" + }, + { + "widgetName": "Text14", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b52.svg", + "topRow": 0.0, + "bottomRow": 4.0, + "parentRowSpace": 10.0, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 5.1357421875, + "dynamicTriggerPathList": [], + "leftColumn": 33.0, + "dynamicBindingPathList": [ + { "key": "text" } + ], + "text": "{{moment(currentItem.created_at).format(\"Do MMM\")}}", + "key": "w50usn0v9g", + "rightColumn": 49.0, + "textAlign": "RIGHT", + "widgetId": "05joyb6dqj", + "logBlackList": { + "isVisible": true, + "text": true, + "fontSize": true, + "fontStyle": true, + "textAlign": true, + "textColor": true, + "widgetName": true, + "version": true, + "animateLoading": true, + "type": true, + "hideCard": true, + "displayName": true, + "key": true, + "iconSVG": true, + "isCanvas": true, + "minHeight": true, + "widgetId": true, + "renderMode": true, + "isLoading": true, + "parentColumnSpace": true, + "parentRowSpace": true, + "leftColumn": true, + "rightColumn": true, + "topRow": true, + "bottomRow": true, + "parentId": true + }, + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1.0, + "parentId": "tog68u9on9", + "renderMode": "CANVAS", + "isLoading": false, + "fontSize": "PARAGRAPH2" + } + ], + "key": "6u4x0kf3h8" + } + ], + "borderWidth": "0", + "key": "kvuew872nd", + "disablePropertyPane": true, + "backgroundColor": "white", + "rightColumn": 64.0, + "widgetId": "2mnw941o3c", + "containerStyle": "card", + "isVisible": true, + "version": 1.0, + "parentId": "ucvwcx91v9", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0" + } + ], + "key": "6u4x0kf3h8", + "rightColumn": 430.5, + "detachFromLayout": true, + "widgetId": "ucvwcx91v9", + "containerStyle": "none", + "isVisible": true, + "version": 1.0, + "parentId": "cu1twhxgsd", + "renderMode": "CANVAS", + "isLoading": false + } + ], + "privateWidgets": { + "Text2": true, + "Text3": true, + "IconButton2": true, + "IconButton3": true, + "Text14": true + }, + "key": "0d6epexg6w", + "backgroundColor": "transparent", + "rightColumn": 64.0, + "itemBackgroundColor": "#F6F7F8", + "widgetId": "cu1twhxgsd", + "isVisible": true, + "parentId": "e05q08c1nq", + "renderMode": "CANVAS", + "isLoading": false + } + ], + "isDisabled": false, + "key": "6u4x0kf3h8", + "tabName": "Upvotes", + "rightColumn": 430.5, + "detachFromLayout": true, + "widgetId": "e05q08c1nq", + "isVisible": true, + "version": 1.0, + "parentId": "n316autef7", + "renderMode": "CANVAS", + "isLoading": false + }, + { + "tabId": "tab2", + "widgetName": "Canvas2", + "displayName": "Canvas", + "topRow": 0.0, + "bottomRow": 800.0, + "parentRowSpace": 1.0, + "type": "CANVAS_WIDGET", + "canExtend": true, + "hideCard": true, + "shouldScrollContents": false, + "minHeight": 400.0, + "parentColumnSpace": 1.0, + "dynamicTriggerPathList": [], + "leftColumn": 0.0, + "dynamicBindingPathList": [], + "children": [ + { + "widgetName": "Text5", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b52.svg", + "topRow": 0.0, + "bottomRow": 4.0, + "parentRowSpace": 10.0, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 6.4140625, + "dynamicTriggerPathList": [], + "leftColumn": 0.0, + "dynamicBindingPathList": [], + "text": "Title", + "key": "fzyz91gt8q", + "rightColumn": 12.0, + "textAlign": "LEFT", + "widgetId": "hb6ha60ybn", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1.0, + "parentId": "devkwyks4k", + "renderMode": "CANVAS", + "isLoading": false, + "fontSize": "PARAGRAPH" + }, + { + "widgetName": "Text6", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b52.svg", + "topRow": 8.0, + "bottomRow": 12.0, + "parentRowSpace": 10.0, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 6.4140625, + "dynamicTriggerPathList": [], + "leftColumn": 0.0, + "dynamicBindingPathList": [], + "text": "Description", + "key": "fzyz91gt8q", + "rightColumn": 26.0, + "textAlign": "LEFT", + "widgetId": "5ohkvurob7", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1.0, + "parentId": "devkwyks4k", + "renderMode": "CANVAS", + "isLoading": false, + "fontSize": "PARAGRAPH" + }, + { + "widgetName": "Text7", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b52.svg", + "topRow": 31.0, + "bottomRow": 35.0, + "parentRowSpace": 10.0, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 6.4140625, + "dynamicTriggerPathList": [], + "leftColumn": 0.0, + "dynamicBindingPathList": [], + "text": "Type", + "key": "fzyz91gt8q", + "rightColumn": 16.0, + "textAlign": "LEFT", + "widgetId": "ldimms4xqb", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1.0, + "parentId": "devkwyks4k", + "renderMode": "CANVAS", + "isLoading": false, + "fontSize": "PARAGRAPH" + }, + { + "widgetName": "Text8", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b52.svg", + "topRow": 39.0, + "bottomRow": 43.0, + "parentRowSpace": 10.0, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 6.4140625, + "dynamicTriggerPathList": [], + "leftColumn": 0.0, + "dynamicBindingPathList": [{ "key": "text" }], + "text": "Labels: {{Table1.selectedRow.labels.join(\",\")}}", + "key": "fzyz91gt8q", + "rightColumn": 63.0, + "textAlign": "LEFT", + "widgetId": "r5pmq8fk8b", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1.0, + "parentId": "devkwyks4k", + "renderMode": "CANVAS", + "isLoading": false, + "fontSize": "PARAGRAPH" + }, + { + "widgetName": "Text9", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b52.svg", + "topRow": 47.0, + "bottomRow": 51.0, + "parentRowSpace": 10.0, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 6.4140625, + "dynamicTriggerPathList": [], + "leftColumn": 0.0, + "dynamicBindingPathList": [], + "text": "Github Issue Link", + "key": "fzyz91gt8q", + "rightColumn": 24.0, + "textAlign": "LEFT", + "widgetId": "imcqf02q27", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1.0, + "parentId": "devkwyks4k", + "renderMode": "CANVAS", + "isLoading": false, + "fontSize": "PARAGRAPH" + }, + { + "widgetName": "Button1", + "onClick": "{{IssueManager.update()}}", + "buttonColor": "#2E3D49", + "dynamicPropertyPathList": [{ "key": "isDisabled" }], + "displayName": "Button", + "iconSVG": "/static/media/icon.cca02633.svg", + "topRow": 74.0, + "bottomRow": 78.0, + "parentRowSpace": 10.0, + "type": "BUTTON_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 6.4140625, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 42.0, + "dynamicBindingPathList": [{ "key": "isDisabled" }], + "text": "Save", + "isDisabled": "{{!edit_link_input.isValid || !edit_type_input.isValid || !edit_title_input.text || IssueManager.getAssignedLabels(edit_label_select.selectedOptionValues).length == 0}}", + "key": "oz6v5ujks3", + "rightColumn": 63.0, + "isDefaultClickDisabled": true, + "widgetId": "xl37pbnn45", + "isVisible": true, + "version": 1.0, + "recaptchaType": "V3", + "parentId": "devkwyks4k", + "renderMode": "CANVAS", + "isLoading": false, + "buttonVariant": "PRIMARY" + }, + { + "widgetName": "edit_title_input", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595.svg", + "topRow": 4.0, + "bottomRow": 8.0, + "parentRowSpace": 10.0, + "autoFocus": false, + "type": "INPUT_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 6.4140625, + "dynamicTriggerPathList": [], + "resetOnSubmit": true, + "leftColumn": 0.0, + "dynamicBindingPathList": [{ "key": "defaultText" }], + "labelStyle": "", + "inputType": "TEXT", + "isDisabled": false, + "key": "zyoraxqcrl", + "isRequired": true, + "rightColumn": 63.0, + "widgetId": "mtq0kmoqpi", + "isVisible": true, + "label": "", + "allowCurrencyChange": false, + "version": 1.0, + "parentId": "devkwyks4k", + "renderMode": "CANVAS", + "isLoading": false, + "iconAlign": "left", + "defaultText": "{{Table1.selectedRow.title}}" + }, + { + "widgetName": "edit_description_input", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595.svg", + "topRow": 12.0, + "bottomRow": 23.0, + "parentRowSpace": 10.0, + "autoFocus": false, + "type": "INPUT_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 6.4140625, + "dynamicTriggerPathList": [], + "resetOnSubmit": true, + "leftColumn": 0.0, + "dynamicBindingPathList": [{ "key": "defaultText" }], + "labelStyle": "", + "inputType": "TEXT", + "isDisabled": false, + "key": "zyoraxqcrl", + "isRequired": false, + "rightColumn": 63.0, + "widgetId": "7kjh660g7v", + "isVisible": true, + "label": "", + "allowCurrencyChange": false, + "version": 1.0, + "parentId": "devkwyks4k", + "renderMode": "CANVAS", + "isLoading": false, + "iconAlign": "left", + "defaultText": "{{Table1.selectedRow.description}}" + }, + { + "widgetName": "edit_type_input", + "isFilterable": false, + "displayName": "Select", + "iconSVG": "/static/media/icon.bd99caba.svg", + "labelText": "", + "topRow": 35.0, + "bottomRow": 39.0, + "parentRowSpace": 10.0, + "type": "DROP_DOWN_WIDGET", + "serverSideFiltering": false, + "hideCard": false, + "defaultOptionValue": "{{Table1.selectedRow.type}}", + "selectionType": "SINGLE_SELECT", + "animateLoading": true, + "parentColumnSpace": 6.4140625, + "dynamicTriggerPathList": [], + "leftColumn": 0.0, + "dynamicBindingPathList": [ + { "key": "options" }, + { "key": "defaultOptionValue" } + ], + "options": "{{Configs.type}}", + "placeholderText": "Select option", + "isDisabled": false, + "key": "p2g6q7uu0o", + "isRequired": true, + "rightColumn": 63.0, + "widgetId": "pnfwyps2nc", + "isVisible": true, + "version": 1.0, + "parentId": "devkwyks4k", + "renderMode": "CANVAS", + "isLoading": false + }, + { + "widgetName": "edit_issue_select", + "isFilterable": true, + "displayName": "Select", + "iconSVG": "/static/media/icon.bd99caba.svg", + "labelText": "", + "topRow": 51.0, + "bottomRow": 55.0, + "parentRowSpace": 10.0, + "type": "DROP_DOWN_WIDGET", + "serverSideFiltering": true, + "hideCard": false, + "defaultOptionValue": "{{Table1.selectedRow.github_issue_id || \"\"}}", + "selectionType": "SINGLE_SELECT", + "animateLoading": true, + "parentColumnSpace": 6.4140625, + "dynamicTriggerPathList": [ + { "key": "onFilterUpdate" } + ], + "leftColumn": 0.0, + "dynamicBindingPathList": [ + { "key": "options" }, + { "key": "defaultOptionValue" } + ], + "options": "{{GithubManager.getIssues()}}", + "placeholderText": "Search Github Issue", + "isDisabled": false, + "key": "p2g6q7uu0o", + "isRequired": false, + "rightColumn": 63.0, + "widgetId": "kuwxh0qtmg", + "isVisible": true, + "version": 1.0, + "parentId": "devkwyks4k", + "renderMode": "CANVAS", + "isLoading": false, + "onFilterUpdate": "{{GithubManager.searchIssues(edit_issue_select.filterText)}}" + }, + { + "widgetName": "Button4", + "onClick": "{{IssueManager.delete()}}", + "buttonColor": "#DD4B34", + "displayName": "Button", + "iconSVG": "/static/media/icon.cca02633.svg", + "topRow": 74.0, + "bottomRow": 78.0, + "parentRowSpace": 10.0, + "type": "BUTTON_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 6.4140625, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 32.0, + "dynamicBindingPathList": [], + "text": "", + "isDisabled": false, + "key": "oz6v5ujks3", + "rightColumn": 41.0, + "isDefaultClickDisabled": true, + "iconName": "trash", + "widgetId": "ehrkah2uam", + "isVisible": true, + "version": 1.0, + "recaptchaType": "V3", + "parentId": "devkwyks4k", + "renderMode": "CANVAS", + "isLoading": false, + "buttonVariant": "PRIMARY", + "iconAlign": "left" + }, + { + "widgetName": "Text15", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b52.svg", + "topRow": 55.0, + "bottomRow": 59.0, + "parentRowSpace": 10.0, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 5.5732421875, + "dynamicTriggerPathList": [], + "leftColumn": 0.0, + "dynamicBindingPathList": [], + "text": "Answer Link", + "key": "w50usn0v9g", + "rightColumn": 30.0, + "textAlign": "LEFT", + "widgetId": "ljq0eqe3o5", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1.0, + "parentId": "devkwyks4k", + "renderMode": "CANVAS", + "isLoading": false, + "fontSize": "PARAGRAPH" + }, + { + "widgetName": "edit_answer_input", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595.svg", + "topRow": 59.0, + "bottomRow": 63.0, + "parentRowSpace": 10.0, + "autoFocus": false, + "type": "INPUT_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 5.5732421875, + "dynamicTriggerPathList": [], + "resetOnSubmit": true, + "leftColumn": 0.0, + "dynamicBindingPathList": [], + "labelStyle": "", + "inputType": "TEXT", + "placeholderText": "Documentation / Example app URL", + "isDisabled": false, + "key": "iqxzeop4oc", + "isRequired": false, + "rightColumn": 63.0, + "widgetId": "82zz8zgqm9", + "isVisible": true, + "label": "", + "allowCurrencyChange": false, + "version": 1.0, + "parentId": "devkwyks4k", + "renderMode": "CANVAS", + "isLoading": false, + "iconAlign": "left", + "defaultText": "{{Table1.selectedRow.answer}}" + }, + { + "boxShadow": "NONE", + "widgetName": "IconButton6", + "onClick": "{{fetch_github_issue.run(() => navigateTo('https://github.com/appsmithorg/appsmith/issues/' + fetch_github_issue.data[0].issue_number, {},'NEW_WINDOW'))}}", + "buttonColor": "#2E3D49", + "dynamicPropertyPathList": [ + { "key": "onClick" }, + { "key": "isVisible" } + ], + "displayName": "Icon Button", + "iconSVG": "/static/media/icon.1a0c634a.svg", + "topRow": 47.0, + "bottomRow": 51.0, + "parentRowSpace": 10.0, + "type": "ICON_BUTTON_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 5.5732421875, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 24.0, + "dynamicBindingPathList": [{ "key": "isVisible" }], + "isDisabled": false, + "key": "xtq2jih6i3", + "rightColumn": 31.0, + "iconName": "link", + "widgetId": "yv95jo8zuk", + "isVisible": "{{!!Table1.selectedRow.github_issue_id}}", + "version": 1.0, + "parentId": "devkwyks4k", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "CIRCLE", + "buttonVariant": "TERTIARY" + }, + { + "widgetName": "Text17", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b52.svg", + "topRow": 0.0, + "bottomRow": 4.0, + "parentRowSpace": 10.0, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 5.5732421875, + "dynamicTriggerPathList": [], + "leftColumn": 26.0, + "dynamicBindingPathList": [{ "key": "text" }], + "text": "{{Table1.selectedRow.author}}\n{{moment(Table1.selectedRow.created_at).format(\"Do MMM YYYY\")}}", + "key": "2y13r0w088", + "rightColumn": 63.0, + "disableLink": true, + "textAlign": "RIGHT", + "widgetId": "r0psmbf17o", + "isVisible": true, + "fontStyle": "", + "textColor": "#231F20", + "version": 1.0, + "parentId": "devkwyks4k", + "renderMode": "CANVAS", + "isLoading": false, + "fontSize": "PARAGRAPH" + }, + { + "widgetName": "Text18", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b52.svg", + "topRow": 23.0, + "bottomRow": 27.0, + "parentRowSpace": 10.0, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 6.1884765625, + "dynamicTriggerPathList": [], + "leftColumn": 0.0, + "dynamicBindingPathList": [], + "text": "Issue Link", + "key": "2y13r0w088", + "rightColumn": 22.0, + "textAlign": "LEFT", + "widgetId": "784m9ua7xy", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1.0, + "parentId": "devkwyks4k", + "renderMode": "CANVAS", + "isLoading": false, + "fontSize": "PARAGRAPH" + }, + { + "widgetName": "edit_link_input", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595.svg", + "topRow": 27.0, + "bottomRow": 31.0, + "parentRowSpace": 10.0, + "autoFocus": false, + "type": "INPUT_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 6.1884765625, + "dynamicTriggerPathList": [], + "resetOnSubmit": true, + "leftColumn": 0.0, + "dynamicBindingPathList": [{ "key": "defaultText" }], + "labelStyle": "", + "inputType": "TEXT", + "placeholderText": "Discord / Github / Discourse / Intercom msg URL", + "isDisabled": false, + "key": "xkaggmfnaa", + "isRequired": true, + "rightColumn": 63.0, + "widgetId": "hlhsn0qacz", + "isVisible": true, + "label": "", + "allowCurrencyChange": false, + "version": 1.0, + "parentId": "devkwyks4k", + "renderMode": "CANVAS", + "isLoading": false, + "iconAlign": "left", + "defaultText": "{{Table1.selectedRow.link || \"\"}}" + }, + { + "widgetName": "Text19", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b52.svg", + "topRow": 63.0, + "bottomRow": 67.0, + "parentRowSpace": 10.0, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 5.5732421875, + "dynamicTriggerPathList": [], + "leftColumn": 0.0, + "dynamicBindingPathList": [], + "shouldTruncate": false, + "truncateButtonColor": "#FFC13D", + "text": "States", + "key": "r0yrfpzmtn", + "rightColumn": 14.0, + "textAlign": "LEFT", + "widgetId": "5vtar11iru", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "shouldScroll": false, + "version": 1.0, + "parentId": "devkwyks4k", + "renderMode": "CANVAS", + "isLoading": false, + "fontSize": "PARAGRAPH" + }, + { + "widgetName": "edit_states_select", + "displayName": "MultiSelect", + "iconSVG": "/static/media/icon.a3495809.svg", + "labelText": "", + "topRow": 67.0, + "bottomRow": 71.0, + "parentRowSpace": 10.0, + "type": "MULTI_SELECT_WIDGET", + "serverSideFiltering": false, + "hideCard": false, + "defaultOptionValue": "{{Table1.selectedRow.states}}", + "animateLoading": true, + "parentColumnSpace": 5.87890625, + "dynamicTriggerPathList": [], + "leftColumn": 0.0, + "dynamicBindingPathList": [ + { "key": "options" }, + { "key": "defaultOptionValue" } + ], + "options": "{{Configs.states}}", + "placeholderText": "Select state(s)", + "isDisabled": false, + "key": "lmf0nxzr5a", + "isRequired": false, + "rightColumn": 63.0, + "widgetId": "qemq1k1zhf", + "isVisible": true, + "version": 1.0, + "parentId": "devkwyks4k", + "renderMode": "CANVAS", + "isLoading": false + }, + { + "boxShadow": "NONE", + "widgetName": "IconButton9", + "onClick": "{{IssueManager.createGithubIssue()}}", + "buttonColor": "#2E3D49", + "dynamicPropertyPathList": [], + "displayName": "Icon Button", + "iconSVG": "/static/media/icon.1a0c634a.svg", + "topRow": 47.0, + "bottomRow": 51.0, + "parentRowSpace": 10.0, + "type": "ICON_BUTTON_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 4.78515625, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 52.0, + "dynamicBindingPathList": [], + "isDisabled": false, + "key": "6o86hsevdn", + "rightColumn": 63.0, + "iconName": "cube-add", + "widgetId": "uj3oiub9lt", + "isVisible": true, + "version": 1.0, + "parentId": "devkwyks4k", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "CIRCLE", + "buttonVariant": "TERTIARY" + }, + { + "boxShadow": "NONE", + "widgetName": "IconButton10", + "onClick": "{{remove_github_issue.run().then(() => fetch_issues.run())}}", + "buttonColor": "#2E3D49", + "dynamicPropertyPathList": [ + { "key": "onClick" }, + { "key": "isVisible" } + ], + "displayName": "Icon Button", + "iconSVG": "/static/media/icon.1a0c634a.svg", + "topRow": 47.0, + "bottomRow": 51.0, + "parentRowSpace": 10.0, + "type": "ICON_BUTTON_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 4.78515625, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 31.0, + "dynamicBindingPathList": [{ "key": "isVisible" }], + "isDisabled": false, + "key": "66ba61jgdc", + "rightColumn": 38.0, + "iconName": "remove", + "widgetId": "ria4v9jmjk", + "isVisible": "{{!!Table1.selectedRow.github_issue_id}}", + "version": 1.0, + "parentId": "devkwyks4k", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "CIRCLE", + "buttonVariant": "TERTIARY" + }, + { + "widgetName": "edit_label_select", + "isFilterable": true, + "dynamicPropertyPathList": [ + { "key": "onFilterUpdate" } + ], + "displayName": "MultiSelect", + "iconSVG": "/static/media/icon.a3495809.svg", + "labelText": "", + "topRow": 43.0, + "bottomRow": 47.0, + "parentRowSpace": 10.0, + "type": "MULTI_SELECT_WIDGET_V2", + "serverSideFiltering": true, + "hideCard": false, + "defaultOptionValue": "{{Table1.selectedRow.labels.map((label) => {\n return {\n\t label: label,\n\t value: label\n }\n})}}", + "animateLoading": true, + "parentColumnSpace": 16.3125, + "dynamicTriggerPathList": [ + { "key": "onFilterUpdate" } + ], + "leftColumn": 0.0, + "dynamicBindingPathList": [ + { "key": "options" }, + { "key": "defaultOptionValue" } + ], + "options": "{{GithubManager.getLabels()}}", + "placeholderText": "Select label(s)", + "isDisabled": false, + "key": "5rw0979hv0", + "isRequired": true, + "rightColumn": 63.0, + "widgetId": "ufwxmsi8gy", + "isVisible": true, + "version": 1.0, + "parentId": "devkwyks4k", + "renderMode": "CANVAS", + "isLoading": false, + "onFilterUpdate": "{{fetch_labels.run({ filterText: edit_label_select.filterText })}}" + } + ], + "isDisabled": false, + "key": "6u4x0kf3h8", + "tabName": "Details", + "rightColumn": 430.5, + "detachFromLayout": true, + "widgetId": "devkwyks4k", + "isVisible": true, + "version": 1.0, + "parentId": "n316autef7", + "renderMode": "CANVAS", + "isLoading": false + } + ], + "key": "5hk6y4h4e6", + "rightColumn": 64.0, + "widgetId": "n316autef7", + "defaultTab": "Details", + "onTabSelected": "{{Tabs1.selectedTab === \"Upvotes\" ? fetch_comments.run() : undefined}}", + "shouldShowTabs": true, + "tabsObj": { + "tab2": { + "label": "Details", + "id": "tab2", + "widgetId": "devkwyks4k", + "isVisible": true, + "index": 0.0 + }, + "tab1": { + "label": "Upvotes", + "id": "tab1", + "widgetId": "e05q08c1nq", + "isVisible": true, + "index": 1.0 + } + }, + "isVisible": "{{!!Table1.selectedRow.id}}", + "version": 3.0, + "parentId": "0", + "renderMode": "CANVAS", + "isLoading": false + }, + { + "widgetName": "FilePicker1", + "displayName": "FilePicker", + "iconSVG": "/static/media/icon.7c5ad9c3.svg", + "topRow": 0.0, + "bottomRow": 4.0, + "parentRowSpace": 10.0, + "allowedFileTypes": [], + "type": "FILE_PICKER_WIDGET_V2", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 17.9375, + "dynamicTriggerPathList": [], + "leftColumn": 59.0, + "dynamicBindingPathList": [], + "isDisabled": false, + "key": "vhc66isyeb", + "isRequired": false, + "rightColumn": 64.0, + "isDefaultClickDisabled": true, + "widgetId": "bitkgcu3n8", + "defaultSelectedFiles": [], + "isVisible": false, + "label": "Select Files", + "maxFileSize": "5", + "version": 1.0, + "fileDataType": "Text", + "parentId": "0", + "selectedFiles": [], + "renderMode": "CANVAS", + "isLoading": false, + "files": [], + "maxNumFiles": 1.0 + }, + { + "boxShadow": "NONE", + "widgetName": "AddIssue", + "onClick": "{{showModal('add_issue_modal')}}", + "buttonColor": "#2E3D49", + "displayName": "Icon Button", + "iconSVG": "/static/media/icon.1a0c634a.svg", + "topRow": 0.0, + "bottomRow": 4.0, + "parentRowSpace": 10.0, + "type": "ICON_BUTTON_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 9.8095703125, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 44.0, + "dynamicBindingPathList": [], + "isDisabled": false, + "key": "35uqmnh3wt", + "rightColumn": 47.0, + "iconName": "add", + "widgetId": "11kdci9jhn", + "isVisible": true, + "version": 1.0, + "parentId": "0", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "SHARP", + "buttonVariant": "TERTIARY", + "boxShadowColor": "" + }, + { + "widgetName": "add_issue_modal", + "isCanvas": true, + "displayName": "Modal", + "iconSVG": "/static/media/icon.4975978e.svg", + "topRow": 90.0, + "bottomRow": 114.0, + "parentRowSpace": 10.0, + "type": "MODAL_WIDGET", + "hideCard": false, + "shouldScrollContents": true, + "animateLoading": true, + "parentColumnSpace": 17.9375, + "dynamicTriggerPathList": [], + "leftColumn": 14.0, + "dynamicBindingPathList": [], + "children": [ + { + "widgetName": "Canvas3", + "displayName": "Canvas", + "topRow": 0.0, + "bottomRow": 720.0, + "parentRowSpace": 1.0, + "type": "CANVAS_WIDGET", + "canExtend": true, + "hideCard": true, + "shouldScrollContents": false, + "minHeight": 694.0, + "parentColumnSpace": 1.0, + "leftColumn": 0.0, + "dynamicBindingPathList": [], + "children": [ + { + "widgetName": "label_select", + "isFilterable": true, + "dynamicPropertyPathList": [ + { "key": "onFilterUpdate" } + ], + "displayName": "MultiSelect", + "iconSVG": "/static/media/icon.a3495809.svg", + "labelText": "", + "topRow": 35.0, + "bottomRow": 39.0, + "parentRowSpace": 10.0, + "type": "MULTI_SELECT_WIDGET_V2", + "serverSideFiltering": true, + "hideCard": false, + "defaultOptionValue": "", + "animateLoading": true, + "parentColumnSpace": 16.3125, + "dynamicTriggerPathList": [ + { "key": "onFilterUpdate" } + ], + "leftColumn": 17.0, + "dynamicBindingPathList": [{ "key": "options" }], + "options": "{{GithubManager.getLabels()}}", + "placeholderText": "Select label(s)", + "isDisabled": false, + "key": "5rw0979hv0", + "isRequired": true, + "rightColumn": 63.0, + "widgetId": "ankv8zz1xp", + "isVisible": true, + "version": 1.0, + "parentId": "8tzkaielld", + "renderMode": "CANVAS", + "isLoading": false, + "onFilterUpdate": "{{fetch_labels.run({ filterText: label_select.filterText })}}" + }, + { + "widgetName": "Text19Copy", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b52.svg", + "topRow": 45.0, + "bottomRow": 49.0, + "parentRowSpace": 10.0, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 5.5732421875, + "dynamicTriggerPathList": [], + "leftColumn": 1.0, + "dynamicBindingPathList": [], + "shouldTruncate": false, + "truncateButtonColor": "#FFC13D", + "text": "States", + "key": "r0yrfpzmtn", + "rightColumn": 17.0, + "textAlign": "RIGHT", + "widgetId": "i9kgqmx0tz", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "shouldScroll": false, + "version": 1.0, + "parentId": "8tzkaielld", + "renderMode": "CANVAS", + "isLoading": false, + "fontSize": "PARAGRAPH" + }, + { + "widgetName": "states_select", + "displayName": "MultiSelect", + "iconSVG": "/static/media/icon.a3495809.svg", + "labelText": "", + "topRow": 45.0, + "bottomRow": 49.0, + "parentRowSpace": 10.0, + "type": "MULTI_SELECT_WIDGET", + "serverSideFiltering": false, + "hideCard": false, + "defaultOptionValue": "{{Table1.selectedRow.states}}", + "animateLoading": true, + "parentColumnSpace": 5.87890625, + "dynamicTriggerPathList": [], + "leftColumn": 17.0, + "dynamicBindingPathList": [ + { "key": "options" }, + { "key": "defaultOptionValue" } + ], + "options": "{{Configs.states}}", + "placeholderText": "Select state(s)", + "isDisabled": false, + "key": "lmf0nxzr5a", + "isRequired": false, + "rightColumn": 63.0, + "widgetId": "qawnxpxdix", + "isVisible": true, + "version": 1.0, + "parentId": "8tzkaielld", + "renderMode": "CANVAS", + "isLoading": false + }, + { + "widgetName": "Text5Copy", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b52.svg", + "topRow": 16.0, + "bottomRow": 20.0, + "parentRowSpace": 10.0, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 6.4140625, + "dynamicTriggerPathList": [], + "leftColumn": 0.0, + "dynamicBindingPathList": [], + "text": "Title", + "key": "fzyz91gt8q", + "rightColumn": 17.0, + "textAlign": "RIGHT", + "widgetId": "2mh922944s", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1.0, + "parentId": "8tzkaielld", + "renderMode": "CANVAS", + "isLoading": false, + "fontSize": "PARAGRAPH" + }, + { + "widgetName": "title_input", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595.svg", + "topRow": 16.0, + "bottomRow": 20.0, + "parentRowSpace": 10.0, + "autoFocus": false, + "type": "INPUT_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 6.4140625, + "dynamicTriggerPathList": [], + "resetOnSubmit": true, + "leftColumn": 17.0, + "dynamicBindingPathList": [{ "key": "defaultText" }], + "labelStyle": "", + "inputType": "TEXT", + "isDisabled": false, + "key": "zyoraxqcrl", + "isRequired": true, + "rightColumn": 63.0, + "widgetId": "glfkj7n61g", + "isVisible": true, + "label": "", + "allowCurrencyChange": false, + "version": 1.0, + "parentId": "8tzkaielld", + "renderMode": "CANVAS", + "isLoading": false, + "iconAlign": "left", + "defaultText": "{{GithubManager.getSelectedGithubIssue()?.title || \"\"}}" + }, + { + "widgetName": "Text6Copy", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b52.svg", + "topRow": 21.0, + "bottomRow": 25.0, + "parentRowSpace": 10.0, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 6.4140625, + "dynamicTriggerPathList": [], + "leftColumn": 0.0, + "dynamicBindingPathList": [], + "text": "Description", + "key": "fzyz91gt8q", + "rightColumn": 17.0, + "textAlign": "RIGHT", + "widgetId": "tx9h5i8ovw", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1.0, + "parentId": "8tzkaielld", + "renderMode": "CANVAS", + "isLoading": false, + "fontSize": "PARAGRAPH" + }, + { + "widgetName": "description_input", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595.svg", + "topRow": 21.0, + "bottomRow": 29.0, + "parentRowSpace": 10.0, + "autoFocus": false, + "type": "INPUT_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 6.4140625, + "dynamicTriggerPathList": [], + "resetOnSubmit": true, + "leftColumn": 17.0, + "dynamicBindingPathList": [], + "labelStyle": "", + "inputType": "TEXT", + "isDisabled": false, + "key": "zyoraxqcrl", + "isRequired": false, + "rightColumn": 63.0, + "widgetId": "xp8otc7k1c", + "isVisible": true, + "label": "", + "allowCurrencyChange": false, + "version": 1.0, + "parentId": "8tzkaielld", + "renderMode": "CANVAS", + "isLoading": false, + "iconAlign": "left", + "defaultText": "" + }, + { + "widgetName": "Text7Copy", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b52.svg", + "topRow": 6.0, + "bottomRow": 10.0, + "parentRowSpace": 10.0, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 6.4140625, + "dynamicTriggerPathList": [], + "leftColumn": 0.0, + "dynamicBindingPathList": [], + "text": "Type", + "key": "fzyz91gt8q", + "rightColumn": 17.0, + "textAlign": "RIGHT", + "widgetId": "xa5lprgkkr", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1.0, + "parentId": "8tzkaielld", + "renderMode": "CANVAS", + "isLoading": false, + "fontSize": "PARAGRAPH" + }, + { + "widgetName": "type_select", + "isFilterable": false, + "displayName": "Select", + "iconSVG": "/static/media/icon.bd99caba.svg", + "labelText": "", + "topRow": 6.0, + "bottomRow": 10.0, + "parentRowSpace": 10.0, + "type": "DROP_DOWN_WIDGET", + "serverSideFiltering": false, + "hideCard": false, + "defaultOptionValue": "", + "selectionType": "SINGLE_SELECT", + "animateLoading": true, + "parentColumnSpace": 6.4140625, + "dynamicTriggerPathList": [], + "leftColumn": 17.0, + "dynamicBindingPathList": [{ "key": "options" }], + "options": "{{Configs.type}}", + "placeholderText": "Select Type", + "isDisabled": false, + "key": "p2g6q7uu0o", + "isRequired": true, + "rightColumn": 63.0, + "widgetId": "jw4tgzde1z", + "isVisible": true, + "version": 1.0, + "parentId": "8tzkaielld", + "renderMode": "CANVAS", + "isLoading": false + }, + { + "widgetName": "Text8Copy", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b52.svg", + "topRow": 35.0, + "bottomRow": 39.0, + "parentRowSpace": 10.0, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 6.4140625, + "dynamicTriggerPathList": [], + "leftColumn": 1.0, + "dynamicBindingPathList": [], + "text": "Labels", + "key": "fzyz91gt8q", + "rightColumn": 17.0, + "textAlign": "RIGHT", + "widgetId": "483a8ji8wb", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1.0, + "parentId": "8tzkaielld", + "renderMode": "CANVAS", + "isLoading": false, + "fontSize": "PARAGRAPH" + }, + { + "widgetName": "Text9Copy", + "dynamicPropertyPathList": [{ "key": "isVisible" }], + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b52.svg", + "topRow": 11.0, + "bottomRow": 15.0, + "parentRowSpace": 10.0, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 6.4140625, + "dynamicTriggerPathList": [], + "leftColumn": 0.0, + "dynamicBindingPathList": [{ "key": "isVisible" }], + "text": "Github Issue", + "key": "fzyz91gt8q", + "rightColumn": 17.0, + "textAlign": "RIGHT", + "widgetId": "cj7wnbg01q", + "isVisible": "{{type_select.selectedOptionValue === \"Feature\" || type_select.selectedOptionValue === \"Bug\"}}", + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1.0, + "parentId": "8tzkaielld", + "renderMode": "CANVAS", + "isLoading": false, + "fontSize": "PARAGRAPH" + }, + { + "widgetName": "add_issue_select", + "isFilterable": true, + "dynamicPropertyPathList": [ + { "key": "onFilterUpdate" }, + { "key": "isVisible" } + ], + "displayName": "Select", + "iconSVG": "/static/media/icon.bd99caba.svg", + "labelText": "", + "topRow": 11.0, + "bottomRow": 15.0, + "parentRowSpace": 10.0, + "type": "DROP_DOWN_WIDGET", + "serverSideFiltering": true, + "hideCard": false, + "defaultOptionValue": "", + "selectionType": "SINGLE_SELECT", + "animateLoading": true, + "parentColumnSpace": 6.4140625, + "dynamicTriggerPathList": [ + { "key": "onFilterUpdate" } + ], + "leftColumn": 17.0, + "dynamicBindingPathList": [ + { "key": "options" }, + { "key": "isVisible" } + ], + "options": "{{GithubManager.getIssues()}}", + "placeholderText": "Search Github Issues", + "isDisabled": false, + "key": "p2g6q7uu0o", + "isRequired": false, + "rightColumn": 63.0, + "widgetId": "mle8h2yllt", + "isVisible": "{{type_select.selectedOptionValue === \"Feature\" || type_select.selectedOptionValue === \"Bug\"}}", + "version": 1.0, + "parentId": "8tzkaielld", + "renderMode": "CANVAS", + "isLoading": false, + "onFilterUpdate": "{{GithubManager.searchIssues(add_issue_select.filterText)}}" + }, + { + "widgetName": "Text10", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b52.svg", + "topRow": 0.0, + "bottomRow": 4.0, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "dynamicTriggerPathList": [], + "leftColumn": 0.0, + "dynamicBindingPathList": [], + "text": "New Issue", + "key": "fzyz91gt8q", + "rightColumn": 28.0, + "textAlign": "LEFT", + "widgetId": "240nwl18xx", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1.0, + "parentId": "8tzkaielld", + "renderMode": "CANVAS", + "isLoading": false, + "fontSize": "HEADING1" + }, + { + "widgetName": "Button2", + "onClick": "{{closeModal('add_issue_modal')}}", + "buttonColor": "#2E3D49", + "displayName": "Button", + "iconSVG": "/static/media/icon.cca02633.svg", + "topRow": 63.0, + "bottomRow": 67.0, + "type": "BUTTON_WIDGET", + "hideCard": false, + "animateLoading": true, + "dynamicTriggerPathList": [], + "leftColumn": 26.0, + "dynamicBindingPathList": [], + "text": "Close", + "isDisabled": false, + "key": "oz6v5ujks3", + "rightColumn": 38.0, + "isDefaultClickDisabled": true, + "widgetId": "qk4c4nfb1q", + "buttonStyle": "PRIMARY", + "isVisible": true, + "version": 1.0, + "recaptchaType": "V3", + "parentId": "8tzkaielld", + "renderMode": "CANVAS", + "isLoading": false, + "buttonVariant": "SECONDARY" + }, + { + "widgetName": "Button3", + "onClick": "{{IssueManager.create_issue()}}", + "buttonColor": "#2E3D49", + "dynamicPropertyPathList": [ + { "key": "onClick" }, + { "key": "isDisabled" } + ], + "displayName": "Button", + "iconSVG": "/static/media/icon.cca02633.svg", + "topRow": 63.0, + "bottomRow": 67.0, + "type": "BUTTON_WIDGET", + "hideCard": false, + "animateLoading": true, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 38.0, + "dynamicBindingPathList": [{ "key": "isDisabled" }], + "text": "Confirm", + "isDisabled": "{{!link_input.isValid || !type_select.isValid || !title_input.text || IssueManager.getAssignedLabels(label_select.selectedOptionValues).length == 0}}", + "key": "oz6v5ujks3", + "rightColumn": 63.0, + "isDefaultClickDisabled": true, + "widgetId": "mhnwwl1t95", + "buttonStyle": "PRIMARY_BUTTON", + "isVisible": true, + "version": 1.0, + "recaptchaType": "V3", + "parentId": "8tzkaielld", + "renderMode": "CANVAS", + "isLoading": false, + "buttonVariant": "PRIMARY" + }, + { + "boxShadow": "NONE", + "widgetName": "IconButton5", + "onClick": "{{closeModal('add_issue_modal')}}", + "buttonColor": "#2E3D49", + "displayName": "Icon Button", + "iconSVG": "/static/media/icon.1a0c634a.svg", + "topRow": 0.0, + "bottomRow": 4.0, + "parentRowSpace": 10.0, + "type": "ICON_BUTTON_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 6.9375, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 57.0, + "dynamicBindingPathList": [], + "isDisabled": false, + "key": "1b5hj6tv0b", + "rightColumn": 64.0, + "iconName": "cross", + "widgetId": "6tvffrozwj", + "isVisible": true, + "version": 1.0, + "parentId": "8tzkaielld", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "CIRCLE", + "buttonVariant": "TERTIARY" + }, + { + "widgetName": "Text13", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b52.svg", + "topRow": 30.0, + "bottomRow": 34.0, + "parentRowSpace": 10.0, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 6.9375, + "dynamicTriggerPathList": [], + "leftColumn": 1.0, + "dynamicBindingPathList": [], + "text": "Issue Link", + "key": "w50usn0v9g", + "rightColumn": 17.0, + "textAlign": "RIGHT", + "widgetId": "w91q3a6doy", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1.0, + "parentId": "8tzkaielld", + "renderMode": "CANVAS", + "isLoading": false, + "fontSize": "PARAGRAPH" + }, + { + "widgetName": "link_input", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595.svg", + "topRow": 30.0, + "bottomRow": 34.0, + "parentRowSpace": 10.0, + "autoFocus": false, + "type": "INPUT_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 6.9375, + "dynamicTriggerPathList": [], + "resetOnSubmit": true, + "leftColumn": 17.0, + "dynamicBindingPathList": [{ "key": "defaultText" }], + "labelStyle": "", + "inputType": "TEXT", + "placeholderText": "Discord / Github / Discourse / Intercom msg URL", + "isDisabled": false, + "key": "iqxzeop4oc", + "isRequired": true, + "rightColumn": 63.0, + "widgetId": "erhs9rotun", + "isVisible": true, + "label": "", + "allowCurrencyChange": false, + "version": 1.0, + "parentId": "8tzkaielld", + "renderMode": "CANVAS", + "isLoading": false, + "iconAlign": "left", + "defaultText": "{{add_issue_select.selectedOptionValue ? \n\"https://github.com/appsmithorg/appsmith/issues/\" + GithubManager.getSelectedGithubIssue()?.issue_number : \"\"}}" + }, + { + "widgetName": "answer_input", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595.svg", + "topRow": 40.0, + "bottomRow": 44.0, + "parentRowSpace": 10.0, + "autoFocus": false, + "type": "INPUT_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 6.9375, + "dynamicTriggerPathList": [], + "resetOnSubmit": true, + "leftColumn": 17.0, + "dynamicBindingPathList": [], + "labelStyle": "", + "inputType": "TEXT", + "placeholderText": "Documentation / Example app URL", + "isDisabled": false, + "key": "iqxzeop4oc", + "isRequired": false, + "rightColumn": 63.0, + "widgetId": "335stzmyk5", + "isVisible": true, + "label": "", + "allowCurrencyChange": false, + "version": 1.0, + "parentId": "8tzkaielld", + "renderMode": "CANVAS", + "isLoading": false, + "iconAlign": "left", + "defaultText": "" + }, + { + "widgetName": "Text16", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b52.svg", + "topRow": 40.0, + "bottomRow": 44.0, + "parentRowSpace": 10.0, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 6.9375, + "dynamicTriggerPathList": [], + "leftColumn": 1.0, + "dynamicBindingPathList": [], + "text": "Answer Link", + "key": "w50usn0v9g", + "rightColumn": 17.0, + "textAlign": "RIGHT", + "widgetId": "h9drw49jnw", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1.0, + "parentId": "8tzkaielld", + "renderMode": "CANVAS", + "isLoading": false, + "fontSize": "PARAGRAPH" + } + ], + "isDisabled": false, + "key": "6u4x0kf3h8", + "rightColumn": 430.5, + "detachFromLayout": true, + "widgetId": "8tzkaielld", + "isVisible": true, + "version": 1.0, + "parentId": "rxoie5b5j5", + "renderMode": "CANVAS", + "isLoading": false + } + ], + "key": "9ppzbhlnqc", + "height": 694.0, + "rightColumn": 38.0, + "detachFromLayout": true, + "widgetId": "rxoie5b5j5", + "canOutsideClickClose": true, + "canEscapeKeyClose": true, + "version": 2.0, + "parentId": "0", + "renderMode": "CANVAS", + "isLoading": false, + "width": 456.0 + }, + { + "boxShadow": "NONE", + "widgetName": "RefreshIssues", + "onClick": "{{IssueManager.fetchIssues()}}", + "buttonColor": "#2E3D49", + "displayName": "Icon Button", + "iconSVG": "/static/media/icon.1a0c634a.svg", + "topRow": 0.0, + "bottomRow": 4.0, + "parentRowSpace": 10.0, + "type": "ICON_BUTTON_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 9.8095703125, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 41.0, + "dynamicBindingPathList": [], + "isDisabled": false, + "key": "35uqmnh3wt", + "rightColumn": 44.0, + "iconName": "refresh", + "widgetId": "pu0p8ahn8i", + "isVisible": true, + "version": 1.0, + "parentId": "0", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "SHARP", + "buttonVariant": "TERTIARY" + }, + { + "widgetName": "sort_select", + "isFilterable": false, + "displayName": "Select", + "iconSVG": "/static/media/icon.bd99caba.svg", + "labelText": "", + "topRow": 0.0, + "bottomRow": 4.0, + "parentRowSpace": 10.0, + "type": "DROP_DOWN_WIDGET", + "serverSideFiltering": false, + "hideCard": false, + "defaultOptionValue": "GITHUB", + "selectionType": "SINGLE_SELECT", + "animateLoading": true, + "parentColumnSpace": 20.3125, + "dynamicTriggerPathList": [{ "key": "onOptionChange" }], + "leftColumn": 30.0, + "dynamicBindingPathList": [], + "options": "[\n {\n \"label\": \"Most Github Votes\",\n \"value\": \"GITHUB\"\n },\n {\n \"label\": \"Most Upvotes\",\n \"value\": \"VOTES\"\n },\n\t{\n \"label\": \"Most Commentors\",\n \"value\": \"COMMENTORS\"\n },\n\t{\n \"label\": \"Most Recent\",\n \"value\": \"RECENT\"\n }\n]", + "placeholderText": "Select option", + "isDisabled": false, + "key": "at2ne0v8x9", + "isRequired": true, + "rightColumn": 41.0, + "widgetId": "ra23cq4tyo", + "isVisible": true, + "version": 1.0, + "parentId": "0", + "renderMode": "CANVAS", + "isLoading": false, + "onOptionChange": "{{fetch_issues.run()}}" + }, + { + "widgetName": "type_filter", + "isFilterable": false, + "displayName": "Select", + "iconSVG": "/static/media/icon.bd99caba.svg", + "labelText": "", + "topRow": 0.0, + "bottomRow": 4.0, + "parentRowSpace": 10.0, + "type": "DROP_DOWN_WIDGET", + "serverSideFiltering": false, + "hideCard": false, + "defaultOptionValue": "GREEN", + "selectionType": "SINGLE_SELECT", + "animateLoading": true, + "parentColumnSpace": 6.4140625, + "dynamicTriggerPathList": [{ "key": "onOptionChange" }], + "leftColumn": 23.0, + "dynamicBindingPathList": [{ "key": "options" }], + "options": "{{Configs.type}}", + "placeholderText": "Type", + "isDisabled": false, + "key": "p2g6q7uu0o", + "isRequired": false, + "rightColumn": 30.0, + "widgetId": "eznbmvwewn", + "isVisible": true, + "version": 1.0, + "parentId": "0", + "renderMode": "CANVAS", + "isLoading": false, + "onOptionChange": "{{IssueManager.fetchIssues()}}" + }, + { + "widgetName": "status_filter", + "isFilterable": false, + "displayName": "Select", + "iconSVG": "/static/media/icon.bd99caba.svg", + "labelText": "", + "topRow": 0.0, + "bottomRow": 4.0, + "parentRowSpace": 10.0, + "type": "DROP_DOWN_WIDGET", + "serverSideFiltering": false, + "hideCard": false, + "defaultOptionValue": "", + "selectionType": "SINGLE_SELECT", + "animateLoading": true, + "parentColumnSpace": 17.9375, + "dynamicTriggerPathList": [{ "key": "onOptionChange" }], + "leftColumn": 14.0, + "dynamicBindingPathList": [{ "key": "options" }], + "options": "{{Configs.states}}", + "placeholderText": "States", + "isDisabled": false, + "key": "52qeg2r9uo", + "isRequired": false, + "rightColumn": 23.0, + "widgetId": "sinxumk3m3", + "isVisible": true, + "version": 1.0, + "parentId": "0", + "renderMode": "CANVAS", + "isLoading": false, + "onOptionChange": "{{IssueManager.fetchIssues()}}" + }, + { + "widgetName": "pod_filter", + "isFilterable": false, + "displayName": "Select", + "iconSVG": "/static/media/icon.bd99caba.svg", + "labelText": "", + "topRow": 0.0, + "bottomRow": 4.0, + "parentRowSpace": 10.0, + "type": "DROP_DOWN_WIDGET", + "serverSideFiltering": false, + "hideCard": false, + "defaultOptionValue": "", + "selectionType": "SINGLE_SELECT", + "animateLoading": true, + "parentColumnSpace": 5.5732421875, + "dynamicTriggerPathList": [{ "key": "onOptionChange" }], + "leftColumn": 7.0, + "dynamicBindingPathList": [{ "key": "options" }], + "options": "{{Utils.getPodLabels()}}", + "placeholderText": "Pods", + "isDisabled": false, + "key": "qjixxicfzt", + "isRequired": false, + "rightColumn": 14.0, + "widgetId": "ajzvz766xg", + "isVisible": true, + "version": 1.0, + "parentId": "0", + "renderMode": "CANVAS", + "isLoading": false, + "onOptionChange": "{{IssueManager.fetchIssues()}}" + }, + { + "multiRowSelection": false, + "onSort": "", + "isVisibleDownload": false, + "iconSVG": "/static/media/icon.db8a9cbd.svg", + "topRow": 5.0, + "isSortable": false, + "onPageChange": "{{fetch_issues.run()}}", + "type": "TABLE_WIDGET", + "animateLoading": true, + "dynamicBindingPathList": [ + { "key": "tableData" }, + { "key": "primaryColumns.unique_commentors.computedValue" }, + { "key": "primaryColumns.total_reactions.computedValue" }, + { "key": "primaryColumns.upvote_id.computedValue" }, + { "key": "primaryColumns.count.computedValue" }, + { "key": "primaryColumns.link.computedValue" }, + { "key": "primaryColumns.answer.isCellVisible" }, + { "key": "primaryColumns.state.computedValue" }, + { "key": "primaryColumns.type.computedValue" }, + { "key": "primaryColumns.labels.computedValue" }, + { "key": "primaryColumns.description.computedValue" }, + { "key": "primaryColumns.title.computedValue" }, + { "key": "primaryColumns.created_at.computedValue" }, + { "key": "primaryColumns.author.computedValue" }, + { "key": "primaryColumns.github_issue_id.computedValue" }, + { "key": "primaryColumns.id.computedValue" }, + { "key": "primaryColumns.states.computedValue" }, + { "key": "primaryColumns.updated_at.computedValue" }, + { "key": "derivedColumns.customColumn2.computedValue" }, + { "key": "primaryColumns.customColumn2.computedValue" } + ], + "leftColumn": 0.0, + "delimiter": ",", + "isVisibleFilters": true, + "isVisible": true, + "enableClientSideSearch": true, + "version": 3.0, + "totalRecordsCount": 0.0, + "isLoading": false, + "onSearchTextChanged": "{{fetch_issues.run()}}", + "columnSizeMap": { + "task": 245.0, + "step": 62.0, + "status": 75.0, + "id": 61.0, + "type": 88.0, + "title": 590.0, + "date": 101.0, + "created_at": 150.0, + "count": 69.00000000000001, + "customColumn1": 91.0, + "answer": 91.0, + "total_reactions": 60.0, + "unique_commentors": 144.0, + "states": 155.0, + "customColumn2": 77.0, + "state": 111.0, + "link": 188.0, + "description": 187.0, + "author": 157.0, + "github_issue_id": 163.0 + }, + "widgetName": "Table1", + "defaultPageSize": 0.0, + "columnOrder": [ + "type", + "title", + "customColumn2", + "total_reactions", + "unique_commentors", + "count", + "answer", + "customColumn1", + "states", + "upvote_id", + "id", + "github_issue_id", + "author", + "created_at", + "description", + "labels", + "state", + "link", + "updated_at" + ], + "dynamicPropertyPathList": [ + { "key": "primaryColumns.answer.onClick" }, + { "key": "primaryColumns.answer.isCellVisible" } + ], + "displayName": "Table", + "bottomRow": 89.0, + "parentRowSpace": 10.0, + "defaultSelectedRow": "0", + "hideCard": false, + "parentColumnSpace": 17.9375, + "dynamicTriggerPathList": [ + { "key": "primaryColumns.customColumn1.onClick" }, + { "key": "onRowSelected" }, + { "key": "onPageChange" }, + { "key": "onSearchTextChanged" }, + { "key": "onSort" }, + { "key": "primaryColumns.answer.onClick" } + ], + "primaryColumns": { + "customColumn1": { + "index": 7.0, + "width": 150.0, + "id": "customColumn1", + "columnType": "iconButton", + "enableFilter": true, + "enableSort": true, + "isVisible": true, + "isDisabled": false, + "isCellVisible": true, + "isDerived": true, + "label": "UpVote", + "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.customColumn1))}}", + "buttonStyle": "rgb(3, 179, 101)", + "buttonLabelColor": "#FFFFFF", + "buttonColor": "#38AFF4", + "menuColor": "#03B365", + "labelColor": "#FFFFFF", + "buttonLabel": "{{Table1.sanitizedTableData.map((currentRow) => ( 'Upvote'))}}", + "iconName": "caret-up", + "borderRadius": "ROUNDED", + "buttonVariant": "SECONDARY", + "onClick": "{{showModal('upvote_modal')}}", + "horizontalAlignment": "LEFT", + "textSize": "PARAGRAPH" + }, + "id": { + "index": 0.0, + "width": 150.0, + "id": "id", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "text", + "textSize": "PARAGRAPH", + "enableFilter": true, + "enableSort": true, + "isVisible": false, + "isDisabled": false, + "isCellVisible": true, + "isDerived": false, + "label": "id", + "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.id))}}" + }, + "github_issue_id": { + "index": 1.0, + "width": 150.0, + "id": "github_issue_id", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "text", + "textSize": "PARAGRAPH", + "enableFilter": true, + "enableSort": true, + "isVisible": false, + "isDisabled": false, + "isCellVisible": true, + "isDerived": false, + "label": "github_issue_id", + "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.github_issue_id))}}" + }, + "author": { + "index": 2.0, + "width": 150.0, + "id": "author", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "text", + "textSize": "PARAGRAPH", + "enableFilter": true, + "enableSort": true, + "isVisible": false, + "isDisabled": false, + "isCellVisible": true, + "isDerived": false, + "label": "author", + "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.author))}}" + }, + "created_at": { + "index": 3.0, + "width": 150.0, + "id": "created_at", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "text", + "textSize": "PARAGRAPH", + "enableFilter": true, + "enableSort": true, + "isVisible": false, + "isDisabled": false, + "isCellVisible": true, + "isDerived": false, + "label": "created_at", + "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.created_at))}}" + }, + "title": { + "index": 4.0, + "width": 150.0, + "id": "title", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "text", + "textSize": "PARAGRAPH", + "enableFilter": true, + "enableSort": true, + "isVisible": true, + "isDisabled": false, + "isCellVisible": true, + "isDerived": false, + "label": "Title", + "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.title))}}" + }, + "description": { + "index": 5.0, + "width": 150.0, + "id": "description", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "text", + "textSize": "PARAGRAPH", + "enableFilter": true, + "enableSort": true, + "isVisible": false, + "isDisabled": false, + "isCellVisible": true, + "isDerived": false, + "label": "description", + "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.description))}}" + }, + "labels": { + "index": 6.0, + "width": 150.0, + "id": "labels", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "text", + "textSize": "PARAGRAPH", + "enableFilter": true, + "enableSort": true, + "isVisible": false, + "isDisabled": false, + "isCellVisible": true, + "isDerived": false, + "label": "labels", + "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.labels))}}" + }, + "type": { + "index": 7.0, + "width": 150.0, + "id": "type", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "text", + "textSize": "PARAGRAPH", + "enableFilter": true, + "enableSort": true, + "isVisible": true, + "isDisabled": false, + "isCellVisible": true, + "isDerived": false, + "label": "Type", + "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.type))}}" + }, + "state": { + "index": 8.0, + "width": 150.0, + "id": "state", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "text", + "textSize": "PARAGRAPH", + "enableFilter": true, + "enableSort": true, + "isVisible": false, + "isDisabled": false, + "isCellVisible": true, + "isDerived": false, + "label": "state", + "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.state))}}" + }, + "answer": { + "index": 9.0, + "width": 150.0, + "id": "answer", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "iconButton", + "textSize": "PARAGRAPH", + "enableFilter": true, + "enableSort": true, + "isVisible": true, + "isDisabled": false, + "isCellVisible": "{{Table1.sanitizedTableData.map((currentRow) => ( !!currentRow.answer))}}", + "isDerived": false, + "label": "Answer", + "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.answer))}}", + "iconName": "duplicate", + "buttonVariant": "TERTIARY", + "buttonColor": "#2E3D49", + "onClick": "{{copyToClipboard(currentRow.answer); showAlert('Copied');}}" + }, + "link": { + "index": 11.0, + "width": 150.0, + "id": "link", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "text", + "textSize": "PARAGRAPH", + "enableFilter": true, + "enableSort": true, + "isVisible": false, + "isDisabled": false, + "isCellVisible": true, + "isDerived": false, + "label": "link", + "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.link))}}" + }, + "count": { + "index": 12.0, + "width": 150.0, + "id": "count", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "number", + "textSize": "PARAGRAPH", + "enableFilter": true, + "enableSort": true, + "isVisible": true, + "isDisabled": false, + "isCellVisible": true, + "isDerived": false, + "label": "Votes", + "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.count))}}" + }, + "upvote_id": { + "index": 13.0, + "width": 150.0, + "id": "upvote_id", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "text", + "textSize": "PARAGRAPH", + "enableFilter": true, + "enableSort": true, + "isVisible": false, + "isDisabled": false, + "isCellVisible": true, + "isDerived": false, + "label": "upvote_id", + "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.upvote_id))}}" + }, + "total_reactions": { + "index": 14.0, + "width": 150.0, + "id": "total_reactions", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "text", + "textSize": "PARAGRAPH", + "enableFilter": true, + "enableSort": true, + "isVisible": true, + "isDisabled": false, + "isCellVisible": true, + "isDerived": false, + "label": "+1", + "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.total_reactions))}}" + }, + "unique_commentors": { + "index": 15.0, + "width": 150.0, + "id": "unique_commentors", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "text", + "textSize": "PARAGRAPH", + "enableFilter": true, + "enableSort": true, + "isVisible": true, + "isDisabled": false, + "isCellVisible": true, + "isDerived": false, + "label": "Commentors", + "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.unique_commentors))}}" + }, + "states": { + "index": 16.0, + "width": 150.0, + "id": "states", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "text", + "textSize": "PARAGRAPH", + "enableFilter": true, + "enableSort": true, + "isVisible": false, + "isDisabled": false, + "isCellVisible": true, + "isDerived": false, + "label": "States", + "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.states))}}" + }, + "updated_at": { + "index": 16.0, + "width": 150.0, + "id": "updated_at", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "text", + "textSize": "PARAGRAPH", + "enableFilter": true, + "enableSort": true, + "isVisible": false, + "isDisabled": false, + "isCellVisible": true, + "isDerived": false, + "label": "updated_at", + "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.updated_at))}}" + }, + "customColumn2": { + "index": 18.0, + "width": 150.0, + "id": "customColumn2", + "horizontalAlignment": "LEFT", + "columnType": "text", + "enableFilter": true, + "enableSort": true, + "isVisible": true, + "isDisabled": false, + "isCellVisible": true, + "isDerived": true, + "label": "Status", + "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( Configs.getTitleState(currentRow.states)))}}", + "buttonStyle": "rgb(3, 179, 101)", + "buttonLabelColor": "#FFFFFF", + "buttonColor": "#03B365", + "menuColor": "#03B365", + "labelColor": "#FFFFFF", + "textSize": "PARAGRAPH" + } + }, + "onRowSelected": "{{resetWidget(\"Tabs1\")}}", + "key": "tr3pdljkm8", + "derivedColumns": { + "customColumn1": { + "index": 7.0, + "width": 150.0, + "id": "customColumn1", + "columnType": "iconButton", + "enableFilter": true, + "enableSort": true, + "isVisible": true, + "isDisabled": false, + "isCellVisible": true, + "isDerived": true, + "label": "UpVote", + "computedValue": "", + "buttonStyle": "rgb(3, 179, 101)", + "buttonLabelColor": "#FFFFFF", + "buttonColor": "#38AFF4", + "menuColor": "#03B365", + "labelColor": "#FFFFFF", + "buttonLabel": "{{Table1.sanitizedTableData.map((currentRow) => ( 'Upvote'))}}", + "iconName": "caret-up", + "borderRadius": "ROUNDED", + "buttonVariant": "PRIMARY", + "horizontalAlignment": "LEFT", + "textSize": "PARAGRAPH" + }, + "customColumn2": { + "index": 18.0, + "width": 150.0, + "id": "customColumn2", + "horizontalAlignment": "LEFT", + "columnType": "text", + "enableFilter": true, + "enableSort": true, + "isVisible": true, + "isDisabled": false, + "isCellVisible": true, + "isDerived": true, + "label": "Status", + "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( Configs.getTitleState(currentRow.states)))}}", + "buttonStyle": "rgb(3, 179, 101)", + "buttonLabelColor": "#FFFFFF", + "buttonColor": "#03B365", + "menuColor": "#03B365", + "labelColor": "#FFFFFF", + "textSize": "PARAGRAPH" + } + }, + "rightColumn": 44.0, + "textSize": "PARAGRAPH", + "widgetId": "zsilqrkvkw", + "tableData": "{{IssueManager.getIssueData()}}", + "label": "Data", + "searchKey": "", + "parentId": "0", + "serverSidePaginationEnabled": true, + "renderMode": "CANVAS", + "horizontalAlignment": "LEFT", + "isVisibleSearch": true, + "isVisiblePagination": true, + "verticalAlignment": "CENTER" + }, + { + "widgetName": "Text1", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b52.svg", + "topRow": 0.0, + "bottomRow": 4.0, + "parentRowSpace": 10.0, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 16.71875, + "dynamicTriggerPathList": [], + "leftColumn": 0.0, + "dynamicBindingPathList": [], + "shouldTruncate": false, + "truncateButtonColor": "#FFC13D", + "text": "\uD83D\uDDD3 Issues", + "key": "t8e7qdq1ol", + "rightColumn": 7.0, + "textAlign": "LEFT", + "widgetId": "yyqsgarlj7", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "shouldScroll": false, + "version": 1.0, + "parentId": "0", + "renderMode": "CANVAS", + "isLoading": false, + "fontSize": "HEADING1" + } + ] + }, + "layoutOnLoadActions": [ + [ + { + "id": "Issues_fetch_label_config", + "name": "fetch_label_config", + "confirmBeforeExecute": false, + "pluginType": "API", + "jsonPathKeys": [], + "timeoutInMillisecond": 10000.0 + }, + { + "id": "Issues_search_github_issues", + "name": "search_github_issues", + "confirmBeforeExecute": false, + "pluginType": "DB", + "jsonPathKeys": ["\"%\" + this.params.searchText + \"%\""], + "timeoutInMillisecond": 10000.0 + } + ], + [ + { + "id": "Issues_fetch_comments", + "name": "fetch_comments", + "confirmBeforeExecute": false, + "pluginType": "DB", + "jsonPathKeys": ["Table1.selectedRow.id"], + "timeoutInMillisecond": 10000.0 + } + ], + [ + { + "id": "Issues_fetch_issues", + "name": "fetch_issues", + "confirmBeforeExecute": false, + "pluginType": "DB", + "jsonPathKeys": [ + "appsmith.URL.queryParams.id ? \" and global_issues.id=\" + appsmith.URL.queryParams.id: \"\"", + "type_filter.selectedOptionValue && type_filter.selectedOptionValue !== \"ALL\" ? \"and global_issues.type ='\" + type_filter.selectedOptionValue + \"'\" : \"\"", + "\"%\" + Table1.searchText + \"%\"", + "(Table1.pageNo - 1) * Table1.pageSize", + "Table1.pageSize", + "status_filter.selectedOptionValue && status_filter.selectedOptionValue !== \"ALL\" ? \"and '\" + status_filter.selectedOptionValue + \"' =ANY(global_issues.states)\" : \"\"", + "pod_filter.selectedOptionValue && pod_filter.selectedOptionValue !== \"ALL\" ? \"and '\" + pod_filter.selectedOptionValue + \"'=ANY(global_issues.labels)\" : \"\"", + "sort_select.selectedOptionValue === \"GITHUB\" ? \"total_reactions desc, count desc, upvote_id desc\" : sort_select.selectedOptionValue === \"VOTES\" ? \"count desc, upvote_id desc, total_reactions desc\" : sort_select.selectedOptionValue === \"COMMENTORS\" ? \"unique_commentors desc, total_reactions desc, count desc, upvote_id desc\" : \"updated_at desc\"" + ], + "timeoutInMillisecond": 10000.0 + }, + { + "id": "Issues_fetch_labels", + "name": "fetch_labels", + "confirmBeforeExecute": false, + "pluginType": "API", + "jsonPathKeys": [], + "timeoutInMillisecond": 10000.0 + } + ] + ], + "validOnPageLoadActions": true, + "id": "Issues", + "deleted": false, + "policies": [], + "userPermissions": [] + } + ], + "userPermissions": [], + "policies": [], + "isHidden": false + }, + "deleted": false, + "gitSyncId": "623762992e5d3f189d0c3c23_623762992e5d3f189d0c3c25" + } + ], + "actionList": [ + { + "pluginType": "JS", + "pluginId": "js-plugin", + "unpublishedAction": { + "name": "getConfig", + "fullyQualifiedName": "Utils.getConfig", + "datasource": { + "name": "UNUSED_DATASOURCE", + "pluginId": "js-plugin", + "messages": [], + "isAutoGenerated": false, + "deleted": false, + "policies": [], + "userPermissions": [] + }, + "pageId": "Issues", + "collectionId": "Issues_Utils", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "encodeParamsToggle": true, + "body": "() => {\n return fetch_label_config.data;\n}", + "selfReferencingDataPaths": [], + "jsArguments": [], + "isAsync": false + }, + "executeOnLoad": false, + "dynamicBindingPathList": [{ "key": "body" }], + "isValid": true, + "invalids": [], + "messages": [], + "jsonPathKeys": ["() => {\n return fetch_label_config.data;\n}"], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [] + }, + "publishedAction": { + "name": "getConfig", + "fullyQualifiedName": "Utils.getConfig", + "datasource": { + "name": "UNUSED_DATASOURCE", + "pluginId": "js-plugin", + "messages": [], + "isAutoGenerated": false, + "deleted": false, + "policies": [], + "userPermissions": [] + }, + "pageId": "Issues", + "collectionId": "Issues_Utils", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "encodeParamsToggle": true, + "body": "() => {\n\t\treturn fetch_label_config.data;\n\t}", + "selfReferencingDataPaths": [], + "jsArguments": [], + "isAsync": false + }, + "executeOnLoad": false, + "dynamicBindingPathList": [{ "key": "body" }], + "isValid": true, + "invalids": [], + "messages": [], + "jsonPathKeys": ["() => {\n\t\treturn fetch_label_config.data;\n\t}"], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [] + }, + "id": "Issues_Utils.getConfig", + "deleted": false, + "gitSyncId": "623762992e5d3f189d0c3c23_6237662e2e5d3f189d0c3c37" + }, + { + "pluginType": "JS", + "pluginId": "js-plugin", + "unpublishedAction": { + "name": "checkIsPod", + "fullyQualifiedName": "Utils.checkIsPod", + "datasource": { + "name": "UNUSED_DATASOURCE", + "pluginId": "js-plugin", + "messages": [], + "isAutoGenerated": false, + "deleted": false, + "policies": [], + "userPermissions": [] + }, + "pageId": "Issues", + "collectionId": "Issues_Utils", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "encodeParamsToggle": true, + "body": "label => {\n return fetch_label_config.data.runners[0].issue.labels[label] !== undefined;\n}", + "selfReferencingDataPaths": [], + "jsArguments": [{ "name": "label" }], + "isAsync": false + }, + "executeOnLoad": false, + "dynamicBindingPathList": [{ "key": "body" }], + "isValid": true, + "invalids": [], + "messages": [], + "jsonPathKeys": [ + "label => {\n return fetch_label_config.data.runners[0].issue.labels[label] !== undefined;\n}" + ], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [] + }, + "publishedAction": { + "name": "checkIsPod", + "fullyQualifiedName": "Utils.checkIsPod", + "datasource": { + "name": "UNUSED_DATASOURCE", + "pluginId": "js-plugin", + "messages": [], + "isAutoGenerated": false, + "deleted": false, + "policies": [], + "userPermissions": [] + }, + "pageId": "Issues", + "collectionId": "Issues_Utils", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "encodeParamsToggle": true, + "body": "(label) => {\n\t\treturn fetch_label_config.data.runners[0].issue.labels[label] !== undefined\n\t}", + "selfReferencingDataPaths": [], + "jsArguments": [{ "name": "label" }], + "isAsync": false + }, + "executeOnLoad": false, + "dynamicBindingPathList": [{ "key": "body" }], + "isValid": true, + "invalids": [], + "messages": [], + "jsonPathKeys": [ + "(label) => {\n\t\treturn fetch_label_config.data.runners[0].issue.labels[label] !== undefined\n\t}" + ], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [] + }, + "id": "Issues_Utils.checkIsPod", + "deleted": false, + "gitSyncId": "623762992e5d3f189d0c3c23_6237662e2e5d3f189d0c3c38" + }, + { + "pluginType": "DB", + "pluginId": "postgres-plugin", + "unpublishedAction": { + "name": "fetch_issues", + "datasource": { + "name": "AForceDB", + "pluginId": "postgres-plugin", + "messages": [], + "isAutoGenerated": false, + "id": "AForceDB", + "deleted": false, + "policies": [], + "userPermissions": [] + }, + "pageId": "Issues", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "encodeParamsToggle": true, + "body": "select global_issues.*, count(global_issues.id), count(issue_upvote.id) as upvote_id, COALESCE (github_issues.total_reactions, 0) as total_reactions, COALESCE(github_issues.unique_commentors,0) as unique_commentors, GREATEST(MAX(issue_upvote.created_at), MAX(global_issues.created_at)) as updated_at from global_issues left join github_issues on github_issues.id = global_issues.github_issue_id left join issue_upvote on global_issues.id = issue_upvote.issue_id where global_issues.title ilike '{{ \"%\" + Table1.searchText + \"%\" }}' {{appsmith.URL.queryParams.id ? \" and global_issues.id=\" + appsmith.URL.queryParams.id: \"\"}} and global_issues.state != 'DELETED' {{ type_filter.selectedOptionValue && type_filter.selectedOptionValue !== \"ALL\" ? \"and global_issues.type ='\" + type_filter.selectedOptionValue + \"'\" : \"\" }} {{ pod_filter.selectedOptionValue && pod_filter.selectedOptionValue !== \"ALL\" ? \"and '\" + pod_filter.selectedOptionValue + \"'=ANY(global_issues.labels)\" : \"\" }} \n{{ status_filter.selectedOptionValue && status_filter.selectedOptionValue !== \"ALL\" ? \"and '\" + status_filter.selectedOptionValue + \"' =ANY(global_issues.states)\" : \"\" }} group by global_issues.id, github_issues.id, global_issues.github_issue_id, global_issues.author, global_issues.created_at, global_issues.title, global_issues.description, global_issues.labels, global_issues.type, global_issues.state, global_issues.answer, global_issues.link, global_issues.states, github_issues.total_reactions, github_issues.unique_commentors order by {{sort_select.selectedOptionValue === \"GITHUB\" ? \"total_reactions desc, count desc, upvote_id desc\" : sort_select.selectedOptionValue === \"VOTES\" ? \"count desc, upvote_id desc, total_reactions desc\" : sort_select.selectedOptionValue === \"COMMENTORS\" ? \"unique_commentors desc, total_reactions desc, count desc, upvote_id desc\" : \"updated_at desc\" }} offset {{(Table1.pageNo - 1) * Table1.pageSize}} limit {{Table1.pageSize}}", + "selfReferencingDataPaths": [], + "pluginSpecifiedTemplates": [{ "value": false }] + }, + "executeOnLoad": true, + "dynamicBindingPathList": [{ "key": "body" }], + "isValid": true, + "invalids": [], + "messages": [], + "jsonPathKeys": [ + "appsmith.URL.queryParams.id ? \" and global_issues.id=\" + appsmith.URL.queryParams.id: \"\"", + " pod_filter.selectedOptionValue && pod_filter.selectedOptionValue !== \"ALL\" ? \"and '\" + pod_filter.selectedOptionValue + \"'=ANY(global_issues.labels)\" : \"\" ", + "(Table1.pageNo - 1) * Table1.pageSize", + " \"%\" + Table1.searchText + \"%\" ", + "sort_select.selectedOptionValue === \"GITHUB\" ? \"total_reactions desc, count desc, upvote_id desc\" : sort_select.selectedOptionValue === \"VOTES\" ? \"count desc, upvote_id desc, total_reactions desc\" : sort_select.selectedOptionValue === \"COMMENTORS\" ? \"unique_commentors desc, total_reactions desc, count desc, upvote_id desc\" : \"updated_at desc\" ", + "Table1.pageSize", + " type_filter.selectedOptionValue && type_filter.selectedOptionValue !== \"ALL\" ? \"and global_issues.type ='\" + type_filter.selectedOptionValue + \"'\" : \"\" ", + " status_filter.selectedOptionValue && status_filter.selectedOptionValue !== \"ALL\" ? \"and '\" + status_filter.selectedOptionValue + \"' =ANY(global_issues.states)\" : \"\" " + ], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [] + }, + "publishedAction": { + "name": "fetch_issues", + "datasource": { + "pluginId": "postgres-plugin", + "messages": [], + "isAutoGenerated": false, + "id": "AForceDB", + "deleted": false, + "policies": [], + "userPermissions": [] + }, + "pageId": "Issues", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "encodeParamsToggle": true, + "body": "select global_issues.*, count(global_issues.id), count(issue_upvote.id) as upvote_id, COALESCE (github_issues.total_reactions, 0) as total_reactions, COALESCE(github_issues.unique_commentors,0) as unique_commentors, GREATEST(MAX(issue_upvote.created_at), MAX(global_issues.created_at)) as updated_at from global_issues left join github_issues on github_issues.id = global_issues.github_issue_id left join issue_upvote on global_issues.id = issue_upvote.issue_id where global_issues.title ilike '{{ \"%\" + Table1.searchText + \"%\" }}' {{appsmith.URL.queryParams.id ? \" and global_issues.id=\" + appsmith.URL.queryParams.id: \"\"}} and global_issues.state != 'DELETED' {{ type_filter.selectedOptionValue && type_filter.selectedOptionValue !== \"ALL\" ? \"and global_issues.type ='\" + type_filter.selectedOptionValue + \"'\" : \"\" }} {{ pod_filter.selectedOptionValue && pod_filter.selectedOptionValue !== \"ALL\" ? \"and '\" + pod_filter.selectedOptionValue + \"'=ANY(global_issues.labels)\" : \"\" }} \n{{ status_filter.selectedOptionValue && status_filter.selectedOptionValue !== \"ALL\" ? \"and '\" + status_filter.selectedOptionValue + \"' =ANY(global_issues.states)\" : \"\" }} group by global_issues.id, github_issues.id, global_issues.github_issue_id, global_issues.author, global_issues.created_at, global_issues.title, global_issues.description, global_issues.labels, global_issues.type, global_issues.state, global_issues.answer, global_issues.link, global_issues.states, github_issues.total_reactions, github_issues.unique_commentors order by {{sort_select.selectedOptionValue === \"GITHUB\" ? \"total_reactions desc, count desc, upvote_id desc\" : sort_select.selectedOptionValue === \"VOTES\" ? \"count desc, upvote_id desc, total_reactions desc\" : sort_select.selectedOptionValue === \"COMMENTORS\" ? \"unique_commentors desc, total_reactions desc, count desc, upvote_id desc\" : \"updated_at desc\" }} offset {{(Table1.pageNo - 1) * Table1.pageSize}} limit {{Table1.pageSize}}", + "selfReferencingDataPaths": [], + "pluginSpecifiedTemplates": [{ "value": false }] + }, + "executeOnLoad": true, + "dynamicBindingPathList": [{ "key": "body" }], + "isValid": true, + "invalids": [], + "messages": [], + "jsonPathKeys": [ + "appsmith.URL.queryParams.id ? \" and global_issues.id=\" + appsmith.URL.queryParams.id: \"\"", + "type_filter.selectedOptionValue && type_filter.selectedOptionValue !== \"ALL\" ? \"and global_issues.type ='\" + type_filter.selectedOptionValue + \"'\" : \"\"", + "\"%\" + Table1.searchText + \"%\"", + "(Table1.pageNo - 1) * Table1.pageSize", + "Table1.pageSize", + "status_filter.selectedOptionValue && status_filter.selectedOptionValue !== \"ALL\" ? \"and '\" + status_filter.selectedOptionValue + \"' =ANY(global_issues.states)\" : \"\"", + "pod_filter.selectedOptionValue && pod_filter.selectedOptionValue !== \"ALL\" ? \"and '\" + pod_filter.selectedOptionValue + \"'=ANY(global_issues.labels)\" : \"\"", + "sort_select.selectedOptionValue === \"GITHUB\" ? \"total_reactions desc, count desc, upvote_id desc\" : sort_select.selectedOptionValue === \"VOTES\" ? \"count desc, upvote_id desc, total_reactions desc\" : sort_select.selectedOptionValue === \"COMMENTORS\" ? \"unique_commentors desc, total_reactions desc, count desc, upvote_id desc\" : \"updated_at desc\"" + ], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [] + }, + "id": "Issues_fetch_issues", + "deleted": false, + "gitSyncId": "623762992e5d3f189d0c3c23_62383bb7cb09660cd0f703e5" + }, + { + "pluginType": "JS", + "pluginId": "js-plugin", + "unpublishedAction": { + "name": "getPodForLabel", + "fullyQualifiedName": "Utils.getPodForLabel", + "datasource": { + "name": "UNUSED_DATASOURCE", + "pluginId": "js-plugin", + "messages": [], + "isAutoGenerated": false, + "deleted": false, + "policies": [], + "userPermissions": [] + }, + "pageId": "Issues", + "collectionId": "Issues_Utils", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "encodeParamsToggle": true, + "body": "(label = \"New JS Function\") => {\n const labels = fetch_label_config.data.runners[0].issue.labels;\n const pods = Utils.getPodLabels().map(pod => pod.label);\n let foundPod;\n pods.map(podLabel => {\n const foundLabel = labels[podLabel].conditions.find(condition => {\n return condition.label === label && podLabel !== label;\n });\n if (foundLabel) {\n foundPod = podLabel;\n }\n });\n return foundPod;\n}", + "selfReferencingDataPaths": [], + "jsArguments": [{ "name": "label" }], + "isAsync": false + }, + "executeOnLoad": false, + "dynamicBindingPathList": [{ "key": "body" }], + "isValid": true, + "invalids": [], + "messages": [], + "jsonPathKeys": [ + "(label = \"New JS Function\") => {\n const labels = fetch_label_config.data.runners[0].issue.labels;\n const pods = Utils.getPodLabels().map(pod => pod.label);\n let foundPod;\n pods.map(podLabel => {\n const foundLabel = labels[podLabel].conditions.find(condition => {\n return condition.label === label && podLabel !== label;\n });\n if (foundLabel) {\n foundPod = podLabel;\n }\n });\n return foundPod;\n}" + ], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [] + }, + "publishedAction": { + "name": "getPodForLabel", + "fullyQualifiedName": "Utils.getPodForLabel", + "datasource": { + "name": "UNUSED_DATASOURCE", + "pluginId": "js-plugin", + "messages": [], + "isAutoGenerated": false, + "deleted": false, + "policies": [], + "userPermissions": [] + }, + "pageId": "Issues", + "collectionId": "Issues_Utils", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "encodeParamsToggle": true, + "body": "(label = \"New JS Function\") => {\n\t\tconst labels = fetch_label_config.data.runners[0].issue.labels;\n\t\tconst pods = Utils.getPodLabels().map((pod) => pod.label);\n\t\tlet foundPod;\n\t\tpods.map((podLabel) => {\n\t\t\tconst foundLabel = labels[podLabel].conditions.find((condition) => {\n\t\t\t\treturn condition.label === label && podLabel !== label\n\t\t\t})\n\t\t\tif (foundLabel) {\n\t\t\t\tfoundPod = podLabel\n\t\t\t}\n\t\t});\n\t\treturn foundPod;\n\t}", + "selfReferencingDataPaths": [], + "jsArguments": [ + { "name": "label" }, + { "name": "", "value": "" }, + { "name": "\"New" }, + { "name": "JS" }, + { "name": "Function\"" } + ], + "isAsync": false + }, + "executeOnLoad": false, + "dynamicBindingPathList": [{ "key": "body" }], + "isValid": true, + "invalids": [], + "messages": [], + "jsonPathKeys": [ + "(label = \"New JS Function\") => {\n\t\tconst labels = fetch_label_config.data.runners[0].issue.labels;\n\t\tconst pods = Utils.getPodLabels().map((pod) => pod.label);\n\t\tlet foundPod;\n\t\tpods.map((podLabel) => {\n\t\t\tconst foundLabel = labels[podLabel].conditions.find((condition) => {\n\t\t\t\treturn condition.label === label && podLabel !== label\n\t\t\t})\n\t\t\tif (foundLabel) {\n\t\t\t\tfoundPod = podLabel\n\t\t\t}\n\t\t});\n\t\treturn foundPod;\n\t}" + ], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [] + }, + "id": "Issues_Utils.getPodForLabel", + "deleted": false, + "gitSyncId": "623762992e5d3f189d0c3c23_623766592e5d3f189d0c3c3b" + }, + { + "pluginType": "JS", + "pluginId": "js-plugin", + "unpublishedAction": { + "name": "csvToArr", + "fullyQualifiedName": "Utils.csvToArr", + "datasource": { + "name": "UNUSED_DATASOURCE", + "pluginId": "js-plugin", + "messages": [], + "isAutoGenerated": false, + "deleted": false, + "policies": [], + "userPermissions": [] + }, + "pageId": "Issues", + "collectionId": "Issues_Utils", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "encodeParamsToggle": true, + "body": "() => {}", + "selfReferencingDataPaths": [], + "jsArguments": [], + "isAsync": false + }, + "executeOnLoad": false, + "dynamicBindingPathList": [{ "key": "body" }], + "isValid": true, + "invalids": [], + "messages": [], + "jsonPathKeys": ["() => {}"], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [] + }, + "publishedAction": { + "name": "csvToArr", + "fullyQualifiedName": "Utils.csvToArr", + "datasource": { + "name": "UNUSED_DATASOURCE", + "pluginId": "js-plugin", + "messages": [], + "isAutoGenerated": false, + "deleted": false, + "policies": [], + "userPermissions": [] + }, + "pageId": "Issues", + "collectionId": "Issues_Utils", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "encodeParamsToggle": true, + "body": "() => {\n\t\t//const csvRows = FilePicker1.files[1].data.split(\"\\n\");\n\t\t//const objArr = [];\n\t\t//const headers = csvRows[0].split(',');\n\t\t\t//for(let i = 1; i < csvRows.length; i++) {\n\t\t\t\t//const rowObj = {};\n\t\t\t\t//objArr.push(rowObj);\n\t\t\t\t//const rowArr = csvRows[i].split(',');\n\t\t\t\t//rowArr.forEach((val, index) => {\n\t\t\t\t//rowObj[headers[index]] = val;\n\t\t\t\t//});\n\t\t\t//}\n\t\t//return objArr;\n\t}", + "selfReferencingDataPaths": [], + "jsArguments": [], + "isAsync": false + }, + "executeOnLoad": false, + "dynamicBindingPathList": [{ "key": "body" }], + "isValid": true, + "invalids": [], + "messages": [], + "jsonPathKeys": [ + "() => {\n\t\t//const csvRows = FilePicker1.files[1].data.split(\"\\n\");\n\t\t//const objArr = [];\n\t\t//const headers = csvRows[0].split(',');\n\t\t\t//for(let i = 1; i < csvRows.length; i++) {\n\t\t\t\t//const rowObj = {};\n\t\t\t\t//objArr.push(rowObj);\n\t\t\t\t//const rowArr = csvRows[i].split(',');\n\t\t\t\t//rowArr.forEach((val, index) => {\n\t\t\t\t//rowObj[headers[index]] = val;\n\t\t\t\t//});\n\t\t\t//}\n\t\t//return objArr;\n\t}" + ], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [] + }, + "id": "Issues_Utils.csvToArr", + "deleted": false, + "gitSyncId": "623762992e5d3f189d0c3c23_623766812e5d3f189d0c3c3e" + }, + { + "pluginType": "JS", + "pluginId": "js-plugin", + "unpublishedAction": { + "name": "getAssignedLabels", + "fullyQualifiedName": "IssueManager.getAssignedLabels", + "datasource": { + "name": "UNUSED_DATASOURCE", + "pluginId": "js-plugin", + "messages": [], + "isAutoGenerated": false, + "deleted": false, + "policies": [], + "userPermissions": [] + }, + "pageId": "Issues", + "collectionId": "Issues_IssueManager", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "encodeParamsToggle": true, + "body": "(allLabels = label_select.selectedOptionValues) => {\n const labels = allLabels.filter(label => {\n return Utils.checkIsPod(label) !== true;\n });\n const podMap = {};\n labels.map(label => {\n const pod = Utils.getPodForLabel(label);\n if (pod) podMap[pod] = true;\n });\n return [...Object.keys(podMap), ...labels];\n}", + "selfReferencingDataPaths": [], + "jsArguments": [{ "name": "allLabels" }], + "isAsync": false + }, + "executeOnLoad": false, + "dynamicBindingPathList": [{ "key": "body" }], + "isValid": true, + "invalids": [], + "messages": [], + "jsonPathKeys": [ + "(allLabels = label_select.selectedOptionValues) => {\n const labels = allLabels.filter(label => {\n return Utils.checkIsPod(label) !== true;\n });\n const podMap = {};\n labels.map(label => {\n const pod = Utils.getPodForLabel(label);\n if (pod) podMap[pod] = true;\n });\n return [...Object.keys(podMap), ...labels];\n}" + ], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [] + }, + "publishedAction": { + "name": "getAssignedLabels", + "fullyQualifiedName": "IssueManager.getAssignedLabels", + "datasource": { + "name": "UNUSED_DATASOURCE", + "pluginId": "js-plugin", + "messages": [], + "isAutoGenerated": false, + "deleted": false, + "policies": [], + "userPermissions": [] + }, + "pageId": "Issues", + "collectionId": "Issues_IssueManager", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "encodeParamsToggle": true, + "body": "(allLabels = label_select.selectedOptionValues) => {\n\t\tconst labels = allLabels.filter((label) => {\n\t\t\treturn Utils.checkIsPod(label) !== true;\n\t\t}); \n\t\tconst podMap = {};\n\t\tlabels.map((label) => {\n\t\t\tconst pod = Utils.getPodForLabel(label);\n\t\t\tif (pod)\n\t\t\t\tpodMap[pod] = true;\n\t\t});\n\t\treturn [...Object.keys(podMap), ...labels];\n\t}", + "selfReferencingDataPaths": [], + "jsArguments": [ + { "name": "allLabels" }, + { "name": "", "value": "" }, + { "name": "label_select.selectedOptionValues" } + ], + "isAsync": false + }, + "executeOnLoad": false, + "dynamicBindingPathList": [{ "key": "body" }], + "isValid": true, + "invalids": [], + "messages": [], + "jsonPathKeys": [ + "(allLabels = label_select.selectedOptionValues) => {\n\t\tconst labels = allLabels.filter((label) => {\n\t\t\treturn Utils.checkIsPod(label) !== true;\n\t\t}); \n\t\tconst podMap = {};\n\t\tlabels.map((label) => {\n\t\t\tconst pod = Utils.getPodForLabel(label);\n\t\t\tif (pod)\n\t\t\t\tpodMap[pod] = true;\n\t\t});\n\t\treturn [...Object.keys(podMap), ...labels];\n\t}" + ], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [] + }, + "id": "Issues_IssueManager.getAssignedLabels", + "deleted": false, + "gitSyncId": "623762992e5d3f189d0c3c23_62382c40cb09660cd0f703c3" + }, + { + "pluginType": "JS", + "pluginId": "js-plugin", + "unpublishedAction": { + "name": "getLabelsForPod", + "fullyQualifiedName": "Utils.getLabelsForPod", + "datasource": { + "name": "UNUSED_DATASOURCE", + "pluginId": "js-plugin", + "messages": [], + "isAutoGenerated": false, + "deleted": false, + "policies": [], + "userPermissions": [] + }, + "pageId": "Issues", + "collectionId": "Issues_Utils", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "encodeParamsToggle": true, + "body": "pod => {\n return fetch_label_config.data.runners[0].issue.labels[pod].conditions.map(label => fetch_label_config.data.labels[label.label]).filter(label => label !== undefined);\n}", + "selfReferencingDataPaths": [], + "jsArguments": [{ "name": "pod" }], + "isAsync": false + }, + "executeOnLoad": false, + "dynamicBindingPathList": [{ "key": "body" }], + "isValid": true, + "invalids": [], + "messages": [], + "jsonPathKeys": [ + "pod => {\n return fetch_label_config.data.runners[0].issue.labels[pod].conditions.map(label => fetch_label_config.data.labels[label.label]).filter(label => label !== undefined);\n}" + ], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [] + }, + "publishedAction": { + "name": "getLabelsForPod", + "fullyQualifiedName": "Utils.getLabelsForPod", + "datasource": { + "name": "UNUSED_DATASOURCE", + "pluginId": "js-plugin", + "messages": [], + "isAutoGenerated": false, + "deleted": false, + "policies": [], + "userPermissions": [] + }, + "pageId": "Issues", + "collectionId": "Issues_Utils", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "encodeParamsToggle": true, + "body": "(pod) => {\n\t\treturn fetch_label_config.data.runners[0]\n\t\t\t.issue.labels[pod].conditions.map((label) => \n\t\t\t\t\tfetch_label_config.data.labels[label.label])\n\t\t\t.filter((label) => label !== undefined)\n\t}", + "selfReferencingDataPaths": [], + "jsArguments": [{ "name": "pod" }], + "isAsync": false + }, + "executeOnLoad": false, + "dynamicBindingPathList": [{ "key": "body" }], + "isValid": true, + "invalids": [], + "messages": [], + "jsonPathKeys": [ + "(pod) => {\n\t\treturn fetch_label_config.data.runners[0]\n\t\t\t.issue.labels[pod].conditions.map((label) => \n\t\t\t\t\tfetch_label_config.data.labels[label.label])\n\t\t\t.filter((label) => label !== undefined)\n\t}" + ], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [] + }, + "id": "Issues_Utils.getLabelsForPod", + "deleted": false, + "gitSyncId": "623762992e5d3f189d0c3c23_623766812e5d3f189d0c3c3d" + }, + { + "pluginType": "API", + "pluginId": "restapi-plugin", + "unpublishedAction": { + "name": "fetch_labels", + "datasource": { + "name": "DEFAULT_REST_DATASOURCE", + "pluginId": "restapi-plugin", + "datasourceConfiguration": { + "url": "http://host.docker.internal:5001/v1/mock-api" + }, + "invalids": [], + "messages": [], + "isAutoGenerated": false, + "deleted": false, + "policies": [], + "userPermissions": [] + }, + "pageId": "Issues", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "path": "/echo", + "headers": [{ "key": "content-type", "value": "application/json" }], + "encodeParamsToggle": true, + "queryParameters": [], + "body": "{\n \"total_count\": 16,\n \"incomplete_results\": false,\n \"items\": [\n {\n \"id\": 3393754279,\n \"node_id\": \"LA_kwDOEHNVHc7KSJSn\",\n \"url\": \"https://api.github.com/repos/appsmithorg/appsmith/labels/New%20Widget\",\n \"name\": \"New Widget\",\n \"color\": \"be4cf2\",\n \"default\": false,\n \"description\": \"A request for a new widget\",\n \"score\": 1\n },\n {\n \"id\": 2730904585,\n \"node_id\": \"MDU6TGFiZWwyNzMwOTA0NTg1\",\n \"url\": \"https://api.github.com/repos/appsmithorg/appsmith/labels/Epic\",\n \"name\": \"Epic\",\n \"color\": \"3E4B9E\",\n \"default\": false,\n \"description\": \"A zenhub epic that describes a project\",\n \"score\": 1\n },\n {\n \"id\": 2768358578,\n \"node_id\": \"MDU6TGFiZWwyNzY4MzU4NTc4\",\n \"url\": \"https://api.github.com/repos/appsmithorg/appsmith/labels/Task\",\n \"name\": \"Task\",\n \"color\": \"085630\",\n \"default\": false,\n \"description\": \"A simple Todo\",\n \"score\": 1\n },\n {\n \"id\": 2640225158,\n \"node_id\": \"MDU6TGFiZWwyNjQwMjI1MTU4\",\n \"url\": \"https://api.github.com/repos/appsmithorg/appsmith/labels/Medium%20effort\",\n \"name\": \"Medium effort\",\n \"color\": \"D31156\",\n \"default\": false,\n \"description\": \"Something that'll take more than a week but less than a month to build\",\n \"score\": 1\n },\n {\n \"id\": 2384759598,\n \"node_id\": \"MDU6TGFiZWwyMzg0NzU5NTk4\",\n \"url\": \"https://api.github.com/repos/appsmithorg/appsmith/labels/High\",\n \"name\": \"High\",\n \"color\": \"c94d14\",\n \"default\": false,\n \"description\": \"This issue blocks a user from building or impacts a lot of users\",\n \"score\": 1\n },\n {\n \"id\": 2184776572,\n \"node_id\": \"MDU6TGFiZWwyMTg0Nzc2NTcy\",\n \"url\": \"https://api.github.com/repos/appsmithorg/appsmith/labels/Dependencies\",\n \"name\": \"Dependencies\",\n \"color\": \"0366d6\",\n \"default\": false,\n \"description\": \"Pull requests that update a dependency file\",\n \"score\": 1\n },\n {\n \"id\": 3684243954,\n \"node_id\": \"LA_kwDOEHNVHc7bmRny\",\n \"url\": \"https://api.github.com/repos/appsmithorg/appsmith/labels/New%20JS%20Function\",\n \"name\": \"New JS Function\",\n \"color\": \"8e8aa4\",\n \"default\": false,\n \"description\": \"Issues related to adding a JS Function\",\n \"score\": 1\n },\n {\n \"id\": 2640223895,\n \"node_id\": \"MDU6TGFiZWwyNjQwMjIzODk1\",\n \"url\": \"https://api.github.com/repos/appsmithorg/appsmith/labels/Low%20effort\",\n \"name\": \"Low effort\",\n \"color\": \"8B59F0\",\n \"default\": false,\n \"description\": \"Something that'll take a few days to build\",\n \"score\": 1\n },\n {\n \"id\": 2640221594,\n \"node_id\": \"MDU6TGFiZWwyNjQwMjIxNTk0\",\n \"url\": \"https://api.github.com/repos/appsmithorg/appsmith/labels/Quick%20effort\",\n \"name\": \"Quick effort\",\n \"color\": \"95ED65\",\n \"default\": false,\n \"description\": \"Something that'll take a few hours to build\",\n \"score\": 1\n },\n {\n \"id\": 2640225928,\n \"node_id\": \"MDU6TGFiZWwyNjQwMjI1OTI4\",\n \"url\": \"https://api.github.com/repos/appsmithorg/appsmith/labels/High%20effort\",\n \"name\": \"High effort\",\n \"color\": \"A7E87B\",\n \"default\": false,\n \"description\": \"Something that'll take more than a month to build\",\n \"score\": 1\n },\n {\n \"id\": 2484384496,\n \"node_id\": \"MDU6TGFiZWwyNDg0Mzg0NDk2\",\n \"url\": \"https://api.github.com/repos/appsmithorg/appsmith/labels/Needs%20Tests\",\n \"name\": \"Needs Tests\",\n \"color\": \"8ee263\",\n \"default\": false,\n \"description\": \"Needs automated tests to assert a feature/bug fix\",\n \"score\": 1\n },\n {\n \"id\": 2482077195,\n \"node_id\": \"MDU6TGFiZWwyNDgyMDc3MTk1\",\n \"url\": \"https://api.github.com/repos/appsmithorg/appsmith/labels/Query%20Editor\",\n \"name\": \"Query Editor\",\n \"color\": \"8887af\",\n \"default\": false,\n \"description\": \"The section where a user can write DB queries.\",\n \"score\": 1\n },\n {\n \"id\": 3012242710,\n \"node_id\": \"MDU6TGFiZWwzMDEyMjQyNzEw\",\n \"url\": \"https://api.github.com/repos/appsmithorg/appsmith/labels/skip-changelog\",\n \"name\": \"skip-changelog\",\n \"color\": \"06086F\",\n \"default\": false,\n \"description\": \"Adding this label to a PR prevents it from being listed in the changelog\",\n \"score\": 1\n },\n {\n \"id\": 2384760942,\n \"node_id\": \"MDU6TGFiZWwyMzg0NzYwOTQy\",\n \"url\": \"https://api.github.com/repos/appsmithorg/appsmith/labels/Low\",\n \"name\": \"Low\",\n \"color\": \"79e53b\",\n \"default\": false,\n \"description\": \"An issue that is neither critical nor breaks a user flow\",\n \"score\": 1\n },\n {\n \"id\": 3949573096,\n \"node_id\": \"LA_kwDOEHNVHc7rabPo\",\n \"url\": \"https://api.github.com/repos/appsmithorg/appsmith/labels/Support\",\n \"name\": \"Support\",\n \"color\": \"f6ff4d\",\n \"default\": false,\n \"description\": \"Issues created by the A-force team to address user queries\",\n \"score\": 1\n },\n {\n \"id\": 3596711146,\n \"node_id\": \"LA_kwDOEHNVHc7WYXTq\",\n \"url\": \"https://api.github.com/repos/appsmithorg/appsmith/labels/Old%20App%20Issues\",\n \"name\": \"Old App Issues\",\n \"color\": \"87ab18\",\n \"default\": false,\n \"description\": \"Issues related to apps old apps a few weeks old and app issues in stale browser session\",\n \"score\": 1\n }\n ]\n}", + "httpMethod": "POST", + "selfReferencingDataPaths": [], + "pluginSpecifiedTemplates": [{ "value": true }], + "formData": { "apiContentType": "none" } + }, + "executeOnLoad": true, + "dynamicBindingPathList": [], + "isValid": true, + "invalids": [], + "messages": [], + "jsonPathKeys": [], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [] + }, + "publishedAction": { + "name": "fetch_labels", + "datasource": { + "name": "DEFAULT_REST_DATASOURCE", + "pluginId": "restapi-plugin", + "datasourceConfiguration": { + "url": "http://host.docker.internal:5001/v1/mock-api" + }, + "invalids": [], + "messages": [], + "isAutoGenerated": false, + "deleted": false, + "policies": [], + "userPermissions": [] + }, + "pageId": "Issues", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "path": "/echo", + "headers": [{ "key": "content-type", "value": "application/json" }], + "encodeParamsToggle": true, + "queryParameters": [], + "body": "{\n \"total_count\": 16,\n \"incomplete_results\": false,\n \"items\": [\n {\n \"id\": 3393754279,\n \"node_id\": \"LA_kwDOEHNVHc7KSJSn\",\n \"url\": \"https://api.github.com/repos/appsmithorg/appsmith/labels/New%20Widget\",\n \"name\": \"New Widget\",\n \"color\": \"be4cf2\",\n \"default\": false,\n \"description\": \"A request for a new widget\",\n \"score\": 1\n },\n {\n \"id\": 2730904585,\n \"node_id\": \"MDU6TGFiZWwyNzMwOTA0NTg1\",\n \"url\": \"https://api.github.com/repos/appsmithorg/appsmith/labels/Epic\",\n \"name\": \"Epic\",\n \"color\": \"3E4B9E\",\n \"default\": false,\n \"description\": \"A zenhub epic that describes a project\",\n \"score\": 1\n },\n {\n \"id\": 2768358578,\n \"node_id\": \"MDU6TGFiZWwyNzY4MzU4NTc4\",\n \"url\": \"https://api.github.com/repos/appsmithorg/appsmith/labels/Task\",\n \"name\": \"Task\",\n \"color\": \"085630\",\n \"default\": false,\n \"description\": \"A simple Todo\",\n \"score\": 1\n },\n {\n \"id\": 2640225158,\n \"node_id\": \"MDU6TGFiZWwyNjQwMjI1MTU4\",\n \"url\": \"https://api.github.com/repos/appsmithorg/appsmith/labels/Medium%20effort\",\n \"name\": \"Medium effort\",\n \"color\": \"D31156\",\n \"default\": false,\n \"description\": \"Something that'll take more than a week but less than a month to build\",\n \"score\": 1\n },\n {\n \"id\": 2384759598,\n \"node_id\": \"MDU6TGFiZWwyMzg0NzU5NTk4\",\n \"url\": \"https://api.github.com/repos/appsmithorg/appsmith/labels/High\",\n \"name\": \"High\",\n \"color\": \"c94d14\",\n \"default\": false,\n \"description\": \"This issue blocks a user from building or impacts a lot of users\",\n \"score\": 1\n },\n {\n \"id\": 2184776572,\n \"node_id\": \"MDU6TGFiZWwyMTg0Nzc2NTcy\",\n \"url\": \"https://api.github.com/repos/appsmithorg/appsmith/labels/Dependencies\",\n \"name\": \"Dependencies\",\n \"color\": \"0366d6\",\n \"default\": false,\n \"description\": \"Pull requests that update a dependency file\",\n \"score\": 1\n },\n {\n \"id\": 3684243954,\n \"node_id\": \"LA_kwDOEHNVHc7bmRny\",\n \"url\": \"https://api.github.com/repos/appsmithorg/appsmith/labels/New%20JS%20Function\",\n \"name\": \"New JS Function\",\n \"color\": \"8e8aa4\",\n \"default\": false,\n \"description\": \"Issues related to adding a JS Function\",\n \"score\": 1\n },\n {\n \"id\": 2640223895,\n \"node_id\": \"MDU6TGFiZWwyNjQwMjIzODk1\",\n \"url\": \"https://api.github.com/repos/appsmithorg/appsmith/labels/Low%20effort\",\n \"name\": \"Low effort\",\n \"color\": \"8B59F0\",\n \"default\": false,\n \"description\": \"Something that'll take a few days to build\",\n \"score\": 1\n },\n {\n \"id\": 2640221594,\n \"node_id\": \"MDU6TGFiZWwyNjQwMjIxNTk0\",\n \"url\": \"https://api.github.com/repos/appsmithorg/appsmith/labels/Quick%20effort\",\n \"name\": \"Quick effort\",\n \"color\": \"95ED65\",\n \"default\": false,\n \"description\": \"Something that'll take a few hours to build\",\n \"score\": 1\n },\n {\n \"id\": 2640225928,\n \"node_id\": \"MDU6TGFiZWwyNjQwMjI1OTI4\",\n \"url\": \"https://api.github.com/repos/appsmithorg/appsmith/labels/High%20effort\",\n \"name\": \"High effort\",\n \"color\": \"A7E87B\",\n \"default\": false,\n \"description\": \"Something that'll take more than a month to build\",\n \"score\": 1\n },\n {\n \"id\": 2484384496,\n \"node_id\": \"MDU6TGFiZWwyNDg0Mzg0NDk2\",\n \"url\": \"https://api.github.com/repos/appsmithorg/appsmith/labels/Needs%20Tests\",\n \"name\": \"Needs Tests\",\n \"color\": \"8ee263\",\n \"default\": false,\n \"description\": \"Needs automated tests to assert a feature/bug fix\",\n \"score\": 1\n },\n {\n \"id\": 2482077195,\n \"node_id\": \"MDU6TGFiZWwyNDgyMDc3MTk1\",\n \"url\": \"https://api.github.com/repos/appsmithorg/appsmith/labels/Query%20Editor\",\n \"name\": \"Query Editor\",\n \"color\": \"8887af\",\n \"default\": false,\n \"description\": \"The section where a user can write DB queries.\",\n \"score\": 1\n },\n {\n \"id\": 3012242710,\n \"node_id\": \"MDU6TGFiZWwzMDEyMjQyNzEw\",\n \"url\": \"https://api.github.com/repos/appsmithorg/appsmith/labels/skip-changelog\",\n \"name\": \"skip-changelog\",\n \"color\": \"06086F\",\n \"default\": false,\n \"description\": \"Adding this label to a PR prevents it from being listed in the changelog\",\n \"score\": 1\n },\n {\n \"id\": 2384760942,\n \"node_id\": \"MDU6TGFiZWwyMzg0NzYwOTQy\",\n \"url\": \"https://api.github.com/repos/appsmithorg/appsmith/labels/Low\",\n \"name\": \"Low\",\n \"color\": \"79e53b\",\n \"default\": false,\n \"description\": \"An issue that is neither critical nor breaks a user flow\",\n \"score\": 1\n },\n {\n \"id\": 3949573096,\n \"node_id\": \"LA_kwDOEHNVHc7rabPo\",\n \"url\": \"https://api.github.com/repos/appsmithorg/appsmith/labels/Support\",\n \"name\": \"Support\",\n \"color\": \"f6ff4d\",\n \"default\": false,\n \"description\": \"Issues created by the A-force team to address user queries\",\n \"score\": 1\n },\n {\n \"id\": 3596711146,\n \"node_id\": \"LA_kwDOEHNVHc7WYXTq\",\n \"url\": \"https://api.github.com/repos/appsmithorg/appsmith/labels/Old%20App%20Issues\",\n \"name\": \"Old App Issues\",\n \"color\": \"87ab18\",\n \"default\": false,\n \"description\": \"Issues related to apps old apps a few weeks old and app issues in stale browser session\",\n \"score\": 1\n }\n ]\n}", + "httpMethod": "POST", + "selfReferencingDataPaths": [], + "pluginSpecifiedTemplates": [{ "value": true }], + "formData": { "apiContentType": "none" } + }, + "executeOnLoad": true, + "dynamicBindingPathList": [], + "isValid": true, + "invalids": [], + "messages": [], + "jsonPathKeys": [], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [] + }, + "id": "Issues_fetch_labels", + "deleted": false, + "gitSyncId": "623762992e5d3f189d0c3c23_62389caf2d7f921bb707cf4b" + }, + { + "pluginType": "JS", + "pluginId": "js-plugin", + "unpublishedAction": { + "name": "fetchIssues", + "fullyQualifiedName": "IssueManager.fetchIssues", + "datasource": { + "name": "UNUSED_DATASOURCE", + "pluginId": "js-plugin", + "messages": [], + "isAutoGenerated": false, + "deleted": false, + "policies": [], + "userPermissions": [] + }, + "pageId": "Issues", + "collectionId": "Issues_IssueManager", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "encodeParamsToggle": true, + "body": "() => {\n fetch_issues.run();\n}", + "selfReferencingDataPaths": [], + "jsArguments": [], + "isAsync": true + }, + "executeOnLoad": false, + "dynamicBindingPathList": [{ "key": "body" }], + "isValid": true, + "invalids": [], + "messages": [], + "jsonPathKeys": ["() => {\n fetch_issues.run();\n}"], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [] + }, + "publishedAction": { + "name": "fetchIssues", + "fullyQualifiedName": "IssueManager.fetchIssues", + "datasource": { + "name": "UNUSED_DATASOURCE", + "pluginId": "js-plugin", + "messages": [], + "isAutoGenerated": false, + "deleted": false, + "policies": [], + "userPermissions": [] + }, + "pageId": "Issues", + "collectionId": "Issues_IssueManager", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "encodeParamsToggle": true, + "body": "() => {\n\t\tfetch_issues.run();\n\t}", + "selfReferencingDataPaths": [], + "jsArguments": [], + "isAsync": true + }, + "executeOnLoad": false, + "dynamicBindingPathList": [{ "key": "body" }], + "isValid": true, + "invalids": [], + "messages": [], + "jsonPathKeys": ["() => {\n\t\tfetch_issues.run();\n\t}"], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [] + }, + "id": "Issues_IssueManager.fetchIssues", + "deleted": false, + "gitSyncId": "623762992e5d3f189d0c3c23_62382c40cb09660cd0f703cf" + }, + { + "pluginType": "JS", + "pluginId": "js-plugin", + "unpublishedAction": { + "name": "create_issue", + "fullyQualifiedName": "IssueManager.create_issue", + "datasource": { + "name": "UNUSED_DATASOURCE", + "pluginId": "js-plugin", + "messages": [], + "isAutoGenerated": false, + "deleted": false, + "policies": [], + "userPermissions": [] + }, + "pageId": "Issues", + "collectionId": "Issues_IssueManager", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "encodeParamsToggle": true, + "body": "() => {\n const labels = IssueManager.getAssignedLabels(label_select.selectedOptionValues);\n add_new_issue.run(() => {\n fetch_issues.run(() => {\n resetWidget('add_issue_modal', true);\n closeModal('add_issue_modal');\n });\n }, undefined, {\n labels: labels\n });\n}", + "selfReferencingDataPaths": [], + "jsArguments": [], + "isAsync": false + }, + "executeOnLoad": false, + "dynamicBindingPathList": [{ "key": "body" }], + "isValid": true, + "invalids": [], + "messages": [], + "jsonPathKeys": [ + "() => {\n const labels = IssueManager.getAssignedLabels(label_select.selectedOptionValues);\n add_new_issue.run(() => {\n fetch_issues.run(() => {\n resetWidget('add_issue_modal', true);\n closeModal('add_issue_modal');\n });\n }, undefined, {\n labels: labels\n });\n}" + ], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [] + }, + "publishedAction": { + "name": "create_issue", + "fullyQualifiedName": "IssueManager.create_issue", + "datasource": { + "name": "UNUSED_DATASOURCE", + "pluginId": "js-plugin", + "messages": [], + "isAutoGenerated": false, + "deleted": false, + "policies": [], + "userPermissions": [] + }, + "pageId": "Issues", + "collectionId": "Issues_IssueManager", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "encodeParamsToggle": true, + "body": "() => {\n\t\tconst labels = IssueManager.getAssignedLabels(label_select.selectedOptionValues);\n\t\tadd_new_issue.run(() => {\n\t\t\t\tfetch_issues.run(() => {\n\t\t\t\t\tresetWidget('add_issue_modal', true);\n\t\t\t\t\tcloseModal('add_issue_modal');\n\t\t\t\t});\n\t\t}, undefined, { labels: labels })\n\t}", + "selfReferencingDataPaths": [], + "jsArguments": [], + "isAsync": false + }, + "executeOnLoad": false, + "dynamicBindingPathList": [{ "key": "body" }], + "isValid": true, + "invalids": [], + "messages": [], + "jsonPathKeys": [ + "() => {\n\t\tconst labels = IssueManager.getAssignedLabels(label_select.selectedOptionValues);\n\t\tadd_new_issue.run(() => {\n\t\t\t\tfetch_issues.run(() => {\n\t\t\t\t\tresetWidget('add_issue_modal', true);\n\t\t\t\t\tcloseModal('add_issue_modal');\n\t\t\t\t});\n\t\t}, undefined, { labels: labels })\n\t}" + ], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [] + }, + "id": "Issues_IssueManager.create_issue", + "deleted": false, + "gitSyncId": "623762992e5d3f189d0c3c23_62382c40cb09660cd0f703bf" + }, + { + "pluginType": "JS", + "pluginId": "js-plugin", + "unpublishedAction": { + "name": "getIssueData", + "fullyQualifiedName": "IssueManager.getIssueData", + "datasource": { + "name": "UNUSED_DATASOURCE", + "pluginId": "js-plugin", + "messages": [], + "isAutoGenerated": false, + "deleted": false, + "policies": [], + "userPermissions": [] + }, + "pageId": "Issues", + "collectionId": "Issues_IssueManager", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "encodeParamsToggle": true, + "body": "() => {\n return fetch_issues.data.map(issue => {\n if (issue.upvote_id > 0) issue.count = issue.count + 1;\n return {\n type: issue.type,\n title: issue.title,\n total_reactions: issue.total_reactions,\n unique_commentors: issue.unique_commentors,\n upvote_id: issue.upvote_id,\n ...issue\n };\n });\n}", + "selfReferencingDataPaths": [], + "jsArguments": [], + "isAsync": false + }, + "executeOnLoad": false, + "dynamicBindingPathList": [{ "key": "body" }], + "isValid": true, + "invalids": [], + "messages": [], + "jsonPathKeys": [ + "() => {\n return fetch_issues.data.map(issue => {\n if (issue.upvote_id > 0) issue.count = issue.count + 1;\n return {\n type: issue.type,\n title: issue.title,\n total_reactions: issue.total_reactions,\n unique_commentors: issue.unique_commentors,\n upvote_id: issue.upvote_id,\n ...issue\n };\n });\n}" + ], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [] + }, + "publishedAction": { + "name": "getIssueData", + "fullyQualifiedName": "IssueManager.getIssueData", + "datasource": { + "name": "UNUSED_DATASOURCE", + "pluginId": "js-plugin", + "messages": [], + "isAutoGenerated": false, + "deleted": false, + "policies": [], + "userPermissions": [] + }, + "pageId": "Issues", + "collectionId": "Issues_IssueManager", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "encodeParamsToggle": true, + "body": "() => {\n\t\treturn fetch_issues.data.map((issue) => {\n\t\t\tif (issue.upvote_id > 0)\n\t\t\t\tissue.count = issue.count + 1;\n\t\t\treturn { type: issue.type, title: issue.title, total_reactions: issue.total_reactions, unique_commentors: issue.unique_commentors, upvote_id: issue.upvote_id ,...issue};\n\t\t});\n\t}", + "selfReferencingDataPaths": [], + "jsArguments": [], + "isAsync": false + }, + "executeOnLoad": false, + "dynamicBindingPathList": [{ "key": "body" }], + "isValid": true, + "invalids": [], + "messages": [], + "jsonPathKeys": [ + "() => {\n\t\treturn fetch_issues.data.map((issue) => {\n\t\t\tif (issue.upvote_id > 0)\n\t\t\t\tissue.count = issue.count + 1;\n\t\t\treturn { type: issue.type, title: issue.title, total_reactions: issue.total_reactions, unique_commentors: issue.unique_commentors, upvote_id: issue.upvote_id ,...issue};\n\t\t});\n\t}" + ], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [] + }, + "id": "Issues_IssueManager.getIssueData", + "deleted": false, + "gitSyncId": "623762992e5d3f189d0c3c23_62382c40cb09660cd0f703c2" + }, + { + "pluginType": "DB", + "pluginId": "postgres-plugin", + "unpublishedAction": { + "name": "fetch_comments", + "datasource": { + "pluginId": "postgres-plugin", + "messages": [], + "isAutoGenerated": false, + "id": "AForceDB", + "deleted": false, + "policies": [], + "userPermissions": [] + }, + "pageId": "Issues", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "encodeParamsToggle": true, + "body": "select * from issue_upvote where issue_id = {{Table1.selectedRow.id}}", + "selfReferencingDataPaths": [] + }, + "executeOnLoad": true, + "dynamicBindingPathList": [{ "key": "body" }], + "isValid": true, + "invalids": [], + "messages": [], + "jsonPathKeys": ["Table1.selectedRow.id"], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [] + }, + "publishedAction": { + "name": "fetch_comments", + "datasource": { + "pluginId": "postgres-plugin", + "messages": [], + "isAutoGenerated": false, + "id": "AForceDB", + "deleted": false, + "policies": [], + "userPermissions": [] + }, + "pageId": "Issues", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "encodeParamsToggle": true, + "body": "select * from issue_upvote where issue_id = {{Table1.selectedRow.id}}", + "selfReferencingDataPaths": [] + }, + "executeOnLoad": true, + "dynamicBindingPathList": [{ "key": "body" }], + "isValid": true, + "invalids": [], + "messages": [], + "jsonPathKeys": ["Table1.selectedRow.id"], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [] + }, + "id": "Issues_fetch_comments", + "deleted": false, + "gitSyncId": "623762992e5d3f189d0c3c23_623850eacb09660cd0f703ff" + }, + { + "pluginType": "DB", + "pluginId": "postgres-plugin", + "unpublishedAction": { + "name": "add_new_comment", + "datasource": { + "pluginId": "postgres-plugin", + "messages": [], + "isAutoGenerated": false, + "id": "AForceDB", + "deleted": false, + "policies": [], + "userPermissions": [] + }, + "pageId": "Issues", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "encodeParamsToggle": true, + "body": "INSERT INTO issue_upvote\n (link, comment, author, created_at, issue_id, id)\nVALUES\n (\n '{{ comment_link_input.text }}',\n '{{ comment_input.text }}',\n\t\t'{{ appsmith.user.email }}',\n\t\tnow(),\n\t\t{{Table1.selectedRow.id}},\n\t\t(SELECT max(id) + 1\nFROM public.\"issue_upvote\")\n );", + "selfReferencingDataPaths": [], + "pluginSpecifiedTemplates": [{ "value": false }] + }, + "executeOnLoad": false, + "dynamicBindingPathList": [{ "key": "body" }], + "isValid": true, + "invalids": [], + "messages": [], + "jsonPathKeys": [ + "Table1.selectedRow.id", + "comment_input.text", + "appsmith.user.email", + "comment_link_input.text" + ], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [] + }, + "publishedAction": { + "name": "add_new_comment", + "datasource": { + "pluginId": "postgres-plugin", + "messages": [], + "isAutoGenerated": false, + "id": "AForceDB", + "deleted": false, + "policies": [], + "userPermissions": [] + }, + "pageId": "Issues", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "encodeParamsToggle": true, + "body": "INSERT INTO issue_upvote\n (link, comment, author, created_at, issue_id, id)\nVALUES\n (\n '{{ comment_link_input.text }}',\n '{{ comment_input.text }}',\n\t\t'{{ appsmith.user.email }}',\n\t\tnow(),\n\t\t{{Table1.selectedRow.id}},\n\t\t(SELECT max(id) + 1\nFROM public.\"issue_upvote\")\n );", + "selfReferencingDataPaths": [], + "pluginSpecifiedTemplates": [{ "value": false }] + }, + "executeOnLoad": false, + "dynamicBindingPathList": [{ "key": "body" }], + "isValid": true, + "invalids": [], + "messages": [], + "jsonPathKeys": [ + "Table1.selectedRow.id", + "comment_input.text", + "appsmith.user.email", + "comment_link_input.text" + ], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [] + }, + "id": "Issues_add_new_comment", + "deleted": false, + "gitSyncId": "623762992e5d3f189d0c3c23_62382bb0cb09660cd0f703b7" + }, + { + "pluginType": "JS", + "pluginId": "js-plugin", + "unpublishedAction": { + "name": "getLabels", + "fullyQualifiedName": "GithubManager.getLabels", + "datasource": { + "name": "UNUSED_DATASOURCE", + "pluginId": "js-plugin", + "messages": [], + "isAutoGenerated": false, + "deleted": false, + "policies": [], + "userPermissions": [] + }, + "pageId": "Issues", + "collectionId": "Issues_GithubManager", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "encodeParamsToggle": true, + "body": "() => {\n return fetch_labels.data.body.items.filter(label => {\n return !label.name.includes('Pod');\n }).map(item => {\n return {\n label: item.name,\n value: item.name\n };\n });\n}", + "selfReferencingDataPaths": [], + "jsArguments": [], + "isAsync": false + }, + "executeOnLoad": false, + "dynamicBindingPathList": [{ "key": "body" }], + "isValid": true, + "invalids": [], + "messages": [], + "jsonPathKeys": [ + "() => {\n return fetch_labels.data.body.items.filter(label => {\n return !label.name.includes('Pod');\n }).map(item => {\n return {\n label: item.name,\n value: item.name\n };\n });\n}" + ], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [] + }, + "publishedAction": { + "name": "getLabels", + "fullyQualifiedName": "GithubManager.getLabels", + "datasource": { + "name": "UNUSED_DATASOURCE", + "pluginId": "js-plugin", + "messages": [], + "isAutoGenerated": false, + "deleted": false, + "policies": [], + "userPermissions": [] + }, + "pageId": "Issues", + "collectionId": "Issues_GithubManager", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "encodeParamsToggle": true, + "body": "() => {\n\t\treturn fetch_labels.data.body.items.filter((label) => {\n\t\t\treturn !label.name.includes('Pod');\n\t\t}).map((item) => {\n\t\t\treturn { label: item.name, value: item.name } \n\t\t}); \n\t}", + "selfReferencingDataPaths": [], + "jsArguments": [], + "isAsync": false + }, + "executeOnLoad": false, + "dynamicBindingPathList": [{ "key": "body" }], + "isValid": true, + "invalids": [], + "messages": [], + "jsonPathKeys": [ + "() => {\n\t\treturn fetch_labels.data.body.items.filter((label) => {\n\t\t\treturn !label.name.includes('Pod');\n\t\t}).map((item) => {\n\t\t\treturn { label: item.name, value: item.name } \n\t\t}); \n\t}" + ], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [] + }, + "id": "Issues_GithubManager.getLabels", + "deleted": false, + "gitSyncId": "623762992e5d3f189d0c3c23_62389d702d7f921bb707cf53" + }, + { + "pluginType": "DB", + "pluginId": "postgres-plugin", + "unpublishedAction": { + "name": "search_github_issues", + "datasource": { + "pluginId": "postgres-plugin", + "messages": [], + "isAutoGenerated": false, + "id": "AForceDB", + "deleted": false, + "policies": [], + "userPermissions": [] + }, + "pageId": "Issues", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "encodeParamsToggle": true, + "body": "select * from github_issues where title ilike {{ \"%\" + this.params.searchText + \"%\" }} or issue_number ::text ilike {{ \"%\" + this.params.searchText + \"%\" }}", + "selfReferencingDataPaths": [], + "pluginSpecifiedTemplates": [{ "value": true }] + }, + "executeOnLoad": true, + "dynamicBindingPathList": [{ "key": "body" }], + "isValid": true, + "invalids": [], + "messages": [], + "jsonPathKeys": ["\"%\" + this.params.searchText + \"%\""], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [] + }, + "publishedAction": { + "name": "search_github_issues", + "datasource": { + "pluginId": "postgres-plugin", + "messages": [], + "isAutoGenerated": false, + "id": "AForceDB", + "deleted": false, + "policies": [], + "userPermissions": [] + }, + "pageId": "Issues", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "encodeParamsToggle": true, + "body": "select * from github_issues where title ilike {{ \"%\" + this.params.searchText + \"%\" }} or issue_number ::text ilike {{ \"%\" + this.params.searchText + \"%\" }}", + "selfReferencingDataPaths": [], + "pluginSpecifiedTemplates": [{ "value": true }] + }, + "executeOnLoad": true, + "dynamicBindingPathList": [{ "key": "body" }], + "isValid": true, + "invalids": [], + "messages": [], + "jsonPathKeys": ["\"%\" + this.params.searchText + \"%\""], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [] + }, + "id": "Issues_search_github_issues", + "deleted": false, + "gitSyncId": "623762992e5d3f189d0c3c23_62389e1e2d7f921bb707cf55" + }, + { + "pluginType": "DB", + "pluginId": "postgres-plugin", + "unpublishedAction": { + "name": "add_new_issue", + "datasource": { + "pluginId": "postgres-plugin", + "messages": [], + "isAutoGenerated": false, + "id": "AForceDB", + "deleted": false, + "policies": [], + "userPermissions": [] + }, + "pageId": "Issues", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "encodeParamsToggle": true, + "body": "INSERT INTO global_issues\n (title, description, github_issue_id, author, created_at, labels, type, answer, link, states, state, id)\nVALUES\n (\n '{{ title_input.text }}',\n '{{ description_input.text }}',\n {{ add_issue_select.selectedOptionValue }},\n\t\t'{{ appsmith.user.email }}',\n\t\tnow(),\n\t\t'{{ \"{\" + (this.params.labels ?? []).join(\",\") + \"}\" }}',\n\t\t'{{ type_select.selectedOptionValue }}',\n\t\t'{{answer_input.text}}',\n\t\t'{{link_input.text}}',\n\t\t'{{\"{\" + states_select.selectedOptionValues.join(\",\") + \"}\"}}',\n\t\t'Opened',\n\t\t(SELECT max(id) + 1 FROM public.\"global_issues\")\n );", + "selfReferencingDataPaths": [], + "pluginSpecifiedTemplates": [{ "value": false }] + }, + "executeOnLoad": false, + "dynamicBindingPathList": [{ "key": "body" }], + "isValid": true, + "invalids": [], + "messages": [], + "jsonPathKeys": [ + "answer_input.text", + "description_input.text", + "add_issue_select.selectedOptionValue", + "appsmith.user.email", + "\"{\" + (this.params.labels ?? []).join(\",\") + \"}\"", + "\"{\" + states_select.selectedOptionValues.join(\",\") + \"}\"", + "type_select.selectedOptionValue", + "title_input.text", + "link_input.text" + ], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [] + }, + "publishedAction": { + "name": "add_new_issue", + "datasource": { + "pluginId": "postgres-plugin", + "messages": [], + "isAutoGenerated": false, + "id": "AForceDB", + "deleted": false, + "policies": [], + "userPermissions": [] + }, + "pageId": "Issues", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "encodeParamsToggle": true, + "body": "INSERT INTO global_issues\n (title, description, github_issue_id, author, created_at, labels, type, answer, link, states, state, id)\nVALUES\n (\n '{{ title_input.text }}',\n '{{ description_input.text }}',\n {{ add_issue_select.selectedOptionValue }},\n\t\t'{{ appsmith.user.email }}',\n\t\tnow(),\n\t\t'{{ \"{\" + (this.params.labels ?? []).join(\",\") + \"}\" }}',\n\t\t'{{ type_select.selectedOptionValue }}',\n\t\t'{{answer_input.text}}',\n\t\t'{{link_input.text}}',\n\t\t'{{\"{\" + states_select.selectedOptionValues.join(\",\") + \"}\"}}',\n\t\t'Opened',\n\t\t(SELECT max(id) + 1 FROM public.\"global_issues\")\n );", + "selfReferencingDataPaths": [], + "pluginSpecifiedTemplates": [{ "value": false }] + }, + "executeOnLoad": false, + "dynamicBindingPathList": [{ "key": "body" }], + "isValid": true, + "invalids": [], + "messages": [], + "jsonPathKeys": [ + "answer_input.text", + "description_input.text", + "add_issue_select.selectedOptionValue", + "appsmith.user.email", + "\"{\" + (this.params.labels ?? []).join(\",\") + \"}\"", + "\"{\" + states_select.selectedOptionValues.join(\",\") + \"}\"", + "type_select.selectedOptionValue", + "title_input.text", + "link_input.text" + ], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [] + }, + "id": "Issues_add_new_issue", + "deleted": false, + "gitSyncId": "623762992e5d3f189d0c3c23_62382cf9cb09660cd0f703db" + }, + { + "pluginType": "JS", + "pluginId": "js-plugin", + "unpublishedAction": { + "name": "update", + "fullyQualifiedName": "IssueManager.update", + "datasource": { + "name": "UNUSED_DATASOURCE", + "pluginId": "js-plugin", + "messages": [], + "isAutoGenerated": false, + "deleted": false, + "policies": [], + "userPermissions": [] + }, + "pageId": "Issues", + "collectionId": "Issues_IssueManager", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "encodeParamsToggle": true, + "body": "async () => {\n const labels = IssueManager.getAssignedLabels(edit_label_select.selectedOptionValues);\n await update_issue.run({\n labels: labels\n });\n await fetch_issues.run();\n}", + "selfReferencingDataPaths": [], + "jsArguments": [], + "isAsync": true + }, + "executeOnLoad": false, + "dynamicBindingPathList": [{ "key": "body" }], + "isValid": true, + "invalids": [], + "messages": [], + "jsonPathKeys": [ + "async () => {\n const labels = IssueManager.getAssignedLabels(edit_label_select.selectedOptionValues);\n await update_issue.run({\n labels: labels\n });\n await fetch_issues.run();\n}" + ], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [] + }, + "publishedAction": { + "name": "update", + "fullyQualifiedName": "IssueManager.update", + "datasource": { + "name": "UNUSED_DATASOURCE", + "pluginId": "js-plugin", + "messages": [], + "isAutoGenerated": false, + "deleted": false, + "policies": [], + "userPermissions": [] + }, + "pageId": "Issues", + "collectionId": "Issues_IssueManager", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "encodeParamsToggle": true, + "body": "async () => {\n\t\tconst labels = IssueManager.getAssignedLabels(edit_label_select.selectedOptionValues);\n\t\tawait update_issue.run({ labels: labels });\n\t\tawait fetch_issues.run();\n\t}", + "selfReferencingDataPaths": [], + "jsArguments": [], + "isAsync": true + }, + "executeOnLoad": false, + "dynamicBindingPathList": [{ "key": "body" }], + "isValid": true, + "invalids": [], + "messages": [], + "jsonPathKeys": [ + "async () => {\n\t\tconst labels = IssueManager.getAssignedLabels(edit_label_select.selectedOptionValues);\n\t\tawait update_issue.run({ labels: labels });\n\t\tawait fetch_issues.run();\n\t}" + ], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [] + }, + "id": "Issues_IssueManager.update", + "deleted": false, + "gitSyncId": "623762992e5d3f189d0c3c23_6239dff0a11e927e2cfc827a" + }, + { + "pluginType": "JS", + "pluginId": "js-plugin", + "unpublishedAction": { + "name": "delete", + "fullyQualifiedName": "IssueManager.delete", + "datasource": { + "name": "UNUSED_DATASOURCE", + "pluginId": "js-plugin", + "messages": [], + "isAutoGenerated": false, + "deleted": false, + "policies": [], + "userPermissions": [] + }, + "pageId": "Issues", + "collectionId": "Issues_IssueManager", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "encodeParamsToggle": true, + "body": "async () => {\n await delete_issue.run(() => fetch_issues.run());\n}", + "selfReferencingDataPaths": [], + "jsArguments": [], + "isAsync": true + }, + "executeOnLoad": false, + "dynamicBindingPathList": [{ "key": "body" }], + "isValid": true, + "invalids": [], + "messages": [], + "jsonPathKeys": [ + "async () => {\n await delete_issue.run(() => fetch_issues.run());\n}" + ], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [] + }, + "publishedAction": { + "name": "delete", + "fullyQualifiedName": "IssueManager.delete", + "datasource": { + "name": "UNUSED_DATASOURCE", + "pluginId": "js-plugin", + "messages": [], + "isAutoGenerated": false, + "deleted": false, + "policies": [], + "userPermissions": [] + }, + "pageId": "Issues", + "collectionId": "Issues_IssueManager", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "encodeParamsToggle": true, + "body": "async () => {\n\t\tawait delete_issue.run(() => fetch_issues.run());\n\t}", + "selfReferencingDataPaths": [], + "jsArguments": [], + "isAsync": true + }, + "executeOnLoad": false, + "dynamicBindingPathList": [{ "key": "body" }], + "isValid": true, + "invalids": [], + "messages": [], + "jsonPathKeys": [ + "async () => {\n\t\tawait delete_issue.run(() => fetch_issues.run());\n\t}" + ], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [] + }, + "id": "Issues_IssueManager.delete", + "deleted": false, + "gitSyncId": "623762992e5d3f189d0c3c23_623a10fba11e927e2cfc8284" + }, + { + "pluginType": "JS", + "pluginId": "js-plugin", + "unpublishedAction": { + "name": "getSelectedGithubIssue", + "fullyQualifiedName": "GithubManager.getSelectedGithubIssue", + "datasource": { + "name": "UNUSED_DATASOURCE", + "pluginId": "js-plugin", + "messages": [], + "isAutoGenerated": false, + "deleted": false, + "policies": [], + "userPermissions": [] + }, + "pageId": "Issues", + "collectionId": "Issues_GithubManager", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "encodeParamsToggle": true, + "body": "() => {\n return search_github_issues.data.find(issue => issue.id == add_issue_select.selectedOptionValue);\n}", + "selfReferencingDataPaths": [], + "jsArguments": [], + "isAsync": false + }, + "executeOnLoad": false, + "dynamicBindingPathList": [{ "key": "body" }], + "isValid": true, + "invalids": [], + "messages": [], + "jsonPathKeys": [ + "() => {\n return search_github_issues.data.find(issue => issue.id == add_issue_select.selectedOptionValue);\n}" + ], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [] + }, + "publishedAction": { + "name": "getSelectedGithubIssue", + "fullyQualifiedName": "GithubManager.getSelectedGithubIssue", + "datasource": { + "name": "UNUSED_DATASOURCE", + "pluginId": "js-plugin", + "messages": [], + "isAutoGenerated": false, + "deleted": false, + "policies": [], + "userPermissions": [] + }, + "pageId": "Issues", + "collectionId": "Issues_GithubManager", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "encodeParamsToggle": true, + "body": "() => {\n\t\treturn search_github_issues.data.find((issue) => issue.id == add_issue_select.selectedOptionValue);\n\t}", + "selfReferencingDataPaths": [], + "jsArguments": [], + "isAsync": false + }, + "executeOnLoad": false, + "dynamicBindingPathList": [{ "key": "body" }], + "isValid": true, + "invalids": [], + "messages": [], + "jsonPathKeys": [ + "() => {\n\t\treturn search_github_issues.data.find((issue) => issue.id == add_issue_select.selectedOptionValue);\n\t}" + ], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [] + }, + "id": "Issues_GithubManager.getSelectedGithubIssue", + "deleted": false, + "gitSyncId": "623762992e5d3f189d0c3c23_6239d1a8a11e927e2cfc8276" + }, + { + "pluginType": "JS", + "pluginId": "js-plugin", + "unpublishedAction": { + "name": "getPodLabels", + "fullyQualifiedName": "Utils.getPodLabels", + "datasource": { + "name": "UNUSED_DATASOURCE", + "pluginId": "js-plugin", + "messages": [], + "isAutoGenerated": false, + "deleted": false, + "policies": [], + "userPermissions": [] + }, + "pageId": "Issues", + "collectionId": "Issues_Utils", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "encodeParamsToggle": true, + "body": "() => {\n return Object.keys(fetch_label_config.data.runners[0].issue.labels).map(pod => {\n return {\n label: pod,\n value: pod\n };\n });\n}", + "selfReferencingDataPaths": [], + "jsArguments": [], + "isAsync": false + }, + "executeOnLoad": false, + "dynamicBindingPathList": [{ "key": "body" }], + "isValid": true, + "invalids": [], + "messages": [], + "jsonPathKeys": [ + "() => {\n return Object.keys(fetch_label_config.data.runners[0].issue.labels).map(pod => {\n return {\n label: pod,\n value: pod\n };\n });\n}" + ], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [] + }, + "publishedAction": { + "name": "getPodLabels", + "fullyQualifiedName": "Utils.getPodLabels", + "datasource": { + "name": "UNUSED_DATASOURCE", + "pluginId": "js-plugin", + "messages": [], + "isAutoGenerated": false, + "deleted": false, + "policies": [], + "userPermissions": [] + }, + "pageId": "Issues", + "collectionId": "Issues_Utils", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "encodeParamsToggle": true, + "body": "() => {\n\t\treturn Object.keys(fetch_label_config.data.runners[0].issue.labels)\n\t\t\t.map((pod) => { \n\t\t\t\treturn {\n\t\t\t\t\tlabel: pod,\n\t\t\t\t\tvalue: pod\n\t\t\t\t}\n\t\t\t});\n\t}", + "selfReferencingDataPaths": [], + "jsArguments": [], + "isAsync": false + }, + "executeOnLoad": false, + "dynamicBindingPathList": [{ "key": "body" }], + "isValid": true, + "invalids": [], + "messages": [], + "jsonPathKeys": [ + "() => {\n\t\treturn Object.keys(fetch_label_config.data.runners[0].issue.labels)\n\t\t\t.map((pod) => { \n\t\t\t\treturn {\n\t\t\t\t\tlabel: pod,\n\t\t\t\t\tvalue: pod\n\t\t\t\t}\n\t\t\t});\n\t}" + ], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [] + }, + "id": "Issues_Utils.getPodLabels", + "deleted": false, + "gitSyncId": "623762992e5d3f189d0c3c23_623765f12e5d3f189d0c3c35" + }, + { + "pluginType": "DB", + "pluginId": "postgres-plugin", + "unpublishedAction": { + "name": "update_issue", + "datasource": { + "pluginId": "postgres-plugin", + "messages": [], + "isAutoGenerated": false, + "id": "AForceDB", + "deleted": false, + "policies": [], + "userPermissions": [] + }, + "pageId": "Issues", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "encodeParamsToggle": true, + "body": "update global_issues set \ntitle = {{edit_title_input.text}}, \ndescription = {{edit_description_input.text}},\ntype = {{edit_type_input.selectedOptionValue}},\nlabels = {{ \"{\" + this.params.labels.join(\",\") + \"}\" }}::text[],\nanswer = {{edit_answer_input.text}},\ngithub_issue_id = {{edit_issue_select.selectedOptionValue || Table1.selectedRow.github_issue_id}},\nlink = {{edit_link_input.text}},\nstates = {{\"{\" + edit_states_select.selectedOptionValues.join(\",\") + \"}\"}}::text[] where id = {{Table1.selectedRow.id}}", + "selfReferencingDataPaths": [], + "pluginSpecifiedTemplates": [{ "value": true }] + }, + "executeOnLoad": false, + "dynamicBindingPathList": [{ "key": "body" }], + "isValid": true, + "invalids": [], + "messages": [], + "jsonPathKeys": [ + "edit_title_input.text", + "edit_description_input.text", + "edit_type_input.selectedOptionValue", + "edit_answer_input.text", + "edit_issue_select.selectedOptionValue || Table1.selectedRow.github_issue_id", + "Table1.selectedRow.id", + "\"{\" + this.params.labels.join(\",\") + \"}\"", + "edit_link_input.text", + "\"{\" + edit_states_select.selectedOptionValues.join(\",\") + \"}\"" + ], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [] + }, + "publishedAction": { + "name": "update_issue", + "datasource": { + "pluginId": "postgres-plugin", + "messages": [], + "isAutoGenerated": false, + "id": "AForceDB", + "deleted": false, + "policies": [], + "userPermissions": [] + }, + "pageId": "Issues", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "encodeParamsToggle": true, + "body": "update global_issues set \ntitle = {{edit_title_input.text}}, \ndescription = {{edit_description_input.text}},\ntype = {{edit_type_input.selectedOptionValue}},\nlabels = {{ \"{\" + this.params.labels.join(\",\") + \"}\" }}::text[],\nanswer = {{edit_answer_input.text}},\ngithub_issue_id = {{edit_issue_select.selectedOptionValue || Table1.selectedRow.github_issue_id}},\nlink = {{edit_link_input.text}},\nstates = {{\"{\" + edit_states_select.selectedOptionValues.join(\",\") + \"}\"}}::text[] where id = {{Table1.selectedRow.id}}", + "selfReferencingDataPaths": [], + "pluginSpecifiedTemplates": [{ "value": true }] + }, + "executeOnLoad": false, + "dynamicBindingPathList": [{ "key": "body" }], + "isValid": true, + "invalids": [], + "messages": [], + "jsonPathKeys": [ + "edit_title_input.text", + "edit_description_input.text", + "edit_type_input.selectedOptionValue", + "edit_answer_input.text", + "edit_issue_select.selectedOptionValue || Table1.selectedRow.github_issue_id", + "Table1.selectedRow.id", + "\"{\" + this.params.labels.join(\",\") + \"}\"", + "edit_link_input.text", + "\"{\" + edit_states_select.selectedOptionValues.join(\",\") + \"}\"" + ], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [] + }, + "id": "Issues_update_issue", + "deleted": false, + "gitSyncId": "623762992e5d3f189d0c3c23_6239d7e9a11e927e2cfc8278" + }, + { + "pluginType": "JS", + "pluginId": "js-plugin", + "unpublishedAction": { + "name": "getIssues", + "fullyQualifiedName": "GithubManager.getIssues", + "datasource": { + "name": "UNUSED_DATASOURCE", + "pluginId": "js-plugin", + "messages": [], + "isAutoGenerated": false, + "deleted": false, + "policies": [], + "userPermissions": [] + }, + "pageId": "Issues", + "collectionId": "Issues_GithubManager", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "encodeParamsToggle": true, + "body": "() => {\n return search_github_issues.data.map(item => {\n return {\n label: item.title,\n value: item.id + \"\"\n };\n });\n}", + "selfReferencingDataPaths": [], + "jsArguments": [], + "isAsync": false + }, + "executeOnLoad": false, + "dynamicBindingPathList": [{ "key": "body" }], + "isValid": true, + "invalids": [], + "messages": [], + "jsonPathKeys": [ + "() => {\n return search_github_issues.data.map(item => {\n return {\n label: item.title,\n value: item.id + \"\"\n };\n });\n}" + ], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [] + }, + "publishedAction": { + "name": "getIssues", + "fullyQualifiedName": "GithubManager.getIssues", + "datasource": { + "name": "UNUSED_DATASOURCE", + "pluginId": "js-plugin", + "messages": [], + "isAutoGenerated": false, + "deleted": false, + "policies": [], + "userPermissions": [] + }, + "pageId": "Issues", + "collectionId": "Issues_GithubManager", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "encodeParamsToggle": true, + "body": "() => {\n\t\treturn search_github_issues.data.map((item) => {\n\t\t\treturn {\n\t\t\t\tlabel: item.title,\n\t\t\t\tvalue: item.id + \"\"\n\t\t\t}\n\t\t})\n\t}", + "selfReferencingDataPaths": [], + "jsArguments": [], + "isAsync": false + }, + "executeOnLoad": false, + "dynamicBindingPathList": [{ "key": "body" }], + "isValid": true, + "invalids": [], + "messages": [], + "jsonPathKeys": [ + "() => {\n\t\treturn search_github_issues.data.map((item) => {\n\t\t\treturn {\n\t\t\t\tlabel: item.title,\n\t\t\t\tvalue: item.id + \"\"\n\t\t\t}\n\t\t})\n\t}" + ], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [] + }, + "id": "Issues_GithubManager.getIssues", + "deleted": false, + "gitSyncId": "623762992e5d3f189d0c3c23_62389edb2d7f921bb707cf57" + }, + { + "pluginType": "API", + "pluginId": "restapi-plugin", + "unpublishedAction": { + "name": "fetch_label_config", + "datasource": { + "name": "DEFAULT_REST_DATASOURCE", + "pluginId": "restapi-plugin", + "datasourceConfiguration": { "url": "https://hook.integromat.com" }, + "invalids": [], + "messages": [], + "isAutoGenerated": false, + "deleted": false, + "policies": [], + "userPermissions": [] + }, + "pageId": "Issues", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "path": "/3yepr9ekaott9io115jl2lifd5z469s9", + "headers": [], + "encodeParamsToggle": true, + "queryParameters": [], + "httpMethod": "GET", + "selfReferencingDataPaths": [], + "pluginSpecifiedTemplates": [{ "value": true }], + "formData": { "apiContentType": "none" } + }, + "executeOnLoad": true, + "dynamicBindingPathList": [], + "isValid": true, + "invalids": [], + "messages": [], + "jsonPathKeys": [], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [] + }, + "publishedAction": { + "name": "fetch_label_config", + "datasource": { + "name": "DEFAULT_REST_DATASOURCE", + "pluginId": "restapi-plugin", + "datasourceConfiguration": { "url": "https://hook.integromat.com" }, + "invalids": [], + "messages": [], + "isAutoGenerated": false, + "deleted": false, + "policies": [], + "userPermissions": [] + }, + "pageId": "Issues", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "path": "/3yepr9ekaott9io115jl2lifd5z469s9", + "headers": [], + "encodeParamsToggle": true, + "queryParameters": [], + "httpMethod": "GET", + "selfReferencingDataPaths": [], + "pluginSpecifiedTemplates": [{ "value": true }], + "formData": { "apiContentType": "none" } + }, + "executeOnLoad": true, + "dynamicBindingPathList": [], + "isValid": true, + "invalids": [], + "messages": [], + "jsonPathKeys": [], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [] + }, + "id": "Issues_fetch_label_config", + "deleted": false, + "gitSyncId": "623762992e5d3f189d0c3c23_623765542e5d3f189d0c3c2d" + }, + { + "pluginType": "JS", + "pluginId": "js-plugin", + "unpublishedAction": { + "name": "addComment", + "fullyQualifiedName": "IssueManager.addComment", + "datasource": { + "name": "UNUSED_DATASOURCE", + "pluginId": "js-plugin", + "messages": [], + "isAutoGenerated": false, + "deleted": false, + "policies": [], + "userPermissions": [] + }, + "pageId": "Issues", + "collectionId": "Issues_IssueManager", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "encodeParamsToggle": true, + "body": "() => {\n add_new_comment.run(() => {\n fetch_comments.run();\n update_issue_labels.run(() => fetch_issues.run());\n closeModal('upvote_modal');\n resetWidget('upvote_modal', true);\n });\n}", + "selfReferencingDataPaths": [], + "jsArguments": [], + "isAsync": true + }, + "executeOnLoad": false, + "dynamicBindingPathList": [{ "key": "body" }], + "isValid": true, + "invalids": [], + "messages": [], + "jsonPathKeys": [ + "() => {\n add_new_comment.run(() => {\n fetch_comments.run();\n update_issue_labels.run(() => fetch_issues.run());\n closeModal('upvote_modal');\n resetWidget('upvote_modal', true);\n });\n}" + ], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [] + }, + "publishedAction": { + "name": "addComment", + "fullyQualifiedName": "IssueManager.addComment", + "datasource": { + "name": "UNUSED_DATASOURCE", + "pluginId": "js-plugin", + "messages": [], + "isAutoGenerated": false, + "deleted": false, + "policies": [], + "userPermissions": [] + }, + "pageId": "Issues", + "collectionId": "Issues_IssueManager", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "encodeParamsToggle": true, + "body": "() => {\n\t\tadd_new_comment.run(() => {\n\t\t\tfetch_comments.run();\n\t\t\tupdate_issue_labels.run(() => \n\t\t\t\tfetch_issues.run());\n\t\t\tcloseModal('upvote_modal');\n\t\t\tresetWidget('upvote_modal', true);\n\t\t});\n\t}", + "selfReferencingDataPaths": [], + "jsArguments": [], + "isAsync": true + }, + "executeOnLoad": false, + "dynamicBindingPathList": [{ "key": "body" }], + "isValid": true, + "invalids": [], + "messages": [], + "jsonPathKeys": [ + "() => {\n\t\tadd_new_comment.run(() => {\n\t\t\tfetch_comments.run();\n\t\t\tupdate_issue_labels.run(() => \n\t\t\t\tfetch_issues.run());\n\t\t\tcloseModal('upvote_modal');\n\t\t\tresetWidget('upvote_modal', true);\n\t\t});\n\t}" + ], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [] + }, + "id": "Issues_IssueManager.addComment", + "deleted": false, + "gitSyncId": "623762992e5d3f189d0c3c23_62394b6837307a6b1cf05f23" + }, + { + "pluginType": "DB", + "pluginId": "postgres-plugin", + "unpublishedAction": { + "name": "update_issue_labels", + "datasource": { + "pluginId": "postgres-plugin", + "messages": [], + "isAutoGenerated": false, + "id": "AForceDB", + "deleted": false, + "policies": [], + "userPermissions": [] + }, + "pageId": "Issues", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "encodeParamsToggle": true, + "body": "update global_issues set \nlabels = {{ \"{\" + IssueManager.getAssignedLabels(upvote_label_select.selectedOptionValues) + \"}\" }}::text[]\n where id = {{Table1.selectedRow.id}}", + "selfReferencingDataPaths": [], + "pluginSpecifiedTemplates": [{ "value": true }] + }, + "executeOnLoad": false, + "dynamicBindingPathList": [{ "key": "body" }], + "isValid": true, + "invalids": [], + "messages": [], + "jsonPathKeys": [ + "Table1.selectedRow.id", + "\"{\" + IssueManager.getAssignedLabels(upvote_label_select.selectedOptionValues) + \"}\"" + ], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [] + }, + "publishedAction": { + "name": "update_issue_labels", + "datasource": { + "pluginId": "postgres-plugin", + "messages": [], + "isAutoGenerated": false, + "id": "AForceDB", + "deleted": false, + "policies": [], + "userPermissions": [] + }, + "pageId": "Issues", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "encodeParamsToggle": true, + "body": "update global_issues set \nlabels = {{ \"{\" + IssueManager.getAssignedLabels(upvote_label_select.selectedOptionValues) + \"}\" }}::text[]\n where id = {{Table1.selectedRow.id}}", + "selfReferencingDataPaths": [], + "pluginSpecifiedTemplates": [{ "value": true }] + }, + "executeOnLoad": false, + "dynamicBindingPathList": [{ "key": "body" }], + "isValid": true, + "invalids": [], + "messages": [], + "jsonPathKeys": [ + "Table1.selectedRow.id", + "\"{\" + IssueManager.getAssignedLabels(upvote_label_select.selectedOptionValues) + \"}\"" + ], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [] + }, + "id": "Issues_update_issue_labels", + "deleted": false, + "gitSyncId": "623762992e5d3f189d0c3c23_62394b3e37307a6b1cf05f21" + }, + { + "pluginType": "JS", + "pluginId": "js-plugin", + "unpublishedAction": { + "name": "getTitleState", + "fullyQualifiedName": "Configs.getTitleState", + "datasource": { + "name": "UNUSED_DATASOURCE", + "pluginId": "js-plugin", + "messages": [], + "isAutoGenerated": false, + "deleted": false, + "policies": [], + "userPermissions": [] + }, + "pageId": "Issues", + "collectionId": "Issues_Configs", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "encodeParamsToggle": true, + "body": "states => {\n return states ? states.map(state => Configs.statesMap[state]?.icon + \" \").join(\" \") : \"\";\n}", + "selfReferencingDataPaths": [], + "jsArguments": [{ "name": "states" }], + "isAsync": false + }, + "executeOnLoad": false, + "dynamicBindingPathList": [{ "key": "body" }], + "isValid": true, + "invalids": [], + "messages": [], + "jsonPathKeys": [ + "states => {\n return states ? states.map(state => Configs.statesMap[state]?.icon + \" \").join(\" \") : \"\";\n}" + ], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [] + }, + "publishedAction": { + "name": "getTitleState", + "fullyQualifiedName": "Configs.getTitleState", + "datasource": { + "name": "UNUSED_DATASOURCE", + "pluginId": "js-plugin", + "messages": [], + "isAutoGenerated": false, + "deleted": false, + "policies": [], + "userPermissions": [] + }, + "pageId": "Issues", + "collectionId": "Issues_Configs", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "encodeParamsToggle": true, + "body": "(states) => {\n\t\treturn states ? states.map((state) => Configs.statesMap[state]?.icon + \" \").join(\" \") : \"\"\n\t}", + "selfReferencingDataPaths": [], + "jsArguments": [], + "isAsync": false + }, + "executeOnLoad": false, + "dynamicBindingPathList": [{ "key": "body" }], + "isValid": true, + "invalids": [], + "messages": [], + "jsonPathKeys": [ + "(states) => {\n\t\treturn states ? states.map((state) => Configs.statesMap[state]?.icon + \" \").join(\" \") : \"\"\n\t}" + ], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [] + }, + "id": "Issues_Configs.getTitleState", + "deleted": false, + "gitSyncId": "623762992e5d3f189d0c3c23_6239488837307a6b1cf05f1f" + }, + { + "pluginType": "DB", + "pluginId": "postgres-plugin", + "unpublishedAction": { + "name": "delete_issue", + "datasource": { + "pluginId": "postgres-plugin", + "messages": [], + "isAutoGenerated": false, + "id": "AForceDB", + "deleted": false, + "policies": [], + "userPermissions": [] + }, + "pageId": "Issues", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "encodeParamsToggle": true, + "body": "update global_issues set state = 'DELETED' where id = {{Table1.selectedRow.id.toString()}}", + "selfReferencingDataPaths": [] + }, + "executeOnLoad": false, + "dynamicBindingPathList": [{ "key": "body" }], + "isValid": true, + "invalids": [], + "messages": [], + "jsonPathKeys": ["Table1.selectedRow.id.toString()"], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [] + }, + "publishedAction": { + "name": "delete_issue", + "datasource": { + "pluginId": "postgres-plugin", + "messages": [], + "isAutoGenerated": false, + "id": "AForceDB", + "deleted": false, + "policies": [], + "userPermissions": [] + }, + "pageId": "Issues", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "encodeParamsToggle": true, + "body": "update global_issues set state = 'DELETED' where id = {{Table1.selectedRow.id.toString()}}", + "selfReferencingDataPaths": [] + }, + "executeOnLoad": false, + "dynamicBindingPathList": [{ "key": "body" }], + "isValid": true, + "invalids": [], + "messages": [], + "jsonPathKeys": ["Table1.selectedRow.id.toString()"], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [] + }, + "id": "Issues_delete_issue", + "deleted": false, + "gitSyncId": "623762992e5d3f189d0c3c23_6239ce9ba11e927e2cfc8274" + } + ], + "actionCollectionList": [ + { + "unpublishedCollection": { + "name": "Utils", + "pageId": "Issues", + "pluginId": "js-plugin", + "pluginType": "JS", + "actions": [], + "archivedActions": [], + "body": "export default {\n\tgetPodLabels: () => {\n\t\treturn Object.keys(fetch_label_config.data.runners[0].issue.labels)\n\t\t\t.map((pod) => { \n\t\t\t\treturn {\n\t\t\t\t\tlabel: pod,\n\t\t\t\t\tvalue: pod\n\t\t\t\t}\n\t\t\t});\n\t},\n\tcheckIsPod: (label) => {\n\t\treturn fetch_label_config.data.runners[0].issue.labels[label] !== undefined\n\t},\n\tgetConfig: () => {\n\t\treturn fetch_label_config.data;\n\t},\n\tgetPodForLabel: (label = \"New JS Function\") => {\n\t\tconst labels = fetch_label_config.data.runners[0].issue.labels;\n\t\tconst pods = this.getPodLabels().map((pod) => pod.label);\n\t\tlet foundPod;\n\t\tpods.map((podLabel) => {\n\t\t\tconst foundLabel = labels[podLabel].conditions.find((condition) => {\n\t\t\t\treturn condition.label === label && podLabel !== label\n\t\t\t})\n\t\t\tif (foundLabel) {\n\t\t\t\tfoundPod = podLabel\n\t\t\t}\n\t\t});\n\t\treturn foundPod;\n\t},\n\tgetLabelsForPod: (pod) => {\n\t\treturn fetch_label_config.data.runners[0]\n\t\t\t.issue.labels[pod].conditions.map((label) => \n\t\t\t\t\tfetch_label_config.data.labels[label.label])\n\t\t\t.filter((label) => label !== undefined)\n\t},\n\tcsvToArr: () => {\n\t\t//const csvRows = FilePicker1.files[1].data.split(\"\\n\");\n\t\t//const objArr = [];\n\t\t//const headers = csvRows[0].split(',');\n\t\t\t//for(let i = 1; i < csvRows.length; i++) {\n\t\t\t\t//const rowObj = {};\n\t\t\t\t//objArr.push(rowObj);\n\t\t\t\t//const rowArr = csvRows[i].split(',');\n\t\t\t\t//rowArr.forEach((val, index) => {\n\t\t\t\t//rowObj[headers[index]] = val;\n\t\t\t\t//});\n\t\t\t//}\n\t\t//return objArr;\n\t}\n}", + "variables": [], + "userPermissions": [] + }, + "publishedCollection": { + "name": "Utils", + "pageId": "Issues", + "pluginId": "js-plugin", + "pluginType": "JS", + "actions": [], + "archivedActions": [], + "body": "export default {\n\tgetPodLabels: () => {\n\t\treturn Object.keys(fetch_label_config.data.runners[0].issue.labels)\n\t\t\t.map((pod) => { \n\t\t\t\treturn {\n\t\t\t\t\tlabel: pod,\n\t\t\t\t\tvalue: pod\n\t\t\t\t}\n\t\t\t});\n\t},\n\tcheckIsPod: (label) => {\n\t\treturn fetch_label_config.data.runners[0].issue.labels[label] !== undefined\n\t},\n\tgetConfig: () => {\n\t\treturn fetch_label_config.data;\n\t},\n\tgetPodForLabel: (label = \"New JS Function\") => {\n\t\tconst labels = fetch_label_config.data.runners[0].issue.labels;\n\t\tconst pods = this.getPodLabels().map((pod) => pod.label);\n\t\tlet foundPod;\n\t\tpods.map((podLabel) => {\n\t\t\tconst foundLabel = labels[podLabel].conditions.find((condition) => {\n\t\t\t\treturn condition.label === label && podLabel !== label\n\t\t\t})\n\t\t\tif (foundLabel) {\n\t\t\t\tfoundPod = podLabel\n\t\t\t}\n\t\t});\n\t\treturn foundPod;\n\t},\n\tgetLabelsForPod: (pod) => {\n\t\treturn fetch_label_config.data.runners[0]\n\t\t\t.issue.labels[pod].conditions.map((label) => \n\t\t\t\t\tfetch_label_config.data.labels[label.label])\n\t\t\t.filter((label) => label !== undefined)\n\t},\n\tcsvToArr: () => {\n\t\t//const csvRows = FilePicker1.files[1].data.split(\"\\n\");\n\t\t//const objArr = [];\n\t\t//const headers = csvRows[0].split(',');\n\t\t\t//for(let i = 1; i < csvRows.length; i++) {\n\t\t\t\t//const rowObj = {};\n\t\t\t\t//objArr.push(rowObj);\n\t\t\t\t//const rowArr = csvRows[i].split(',');\n\t\t\t\t//rowArr.forEach((val, index) => {\n\t\t\t\t//rowObj[headers[index]] = val;\n\t\t\t\t//});\n\t\t\t//}\n\t\t//return objArr;\n\t}\n}", + "variables": [], + "userPermissions": [] + }, + "id": "Issues_Utils", + "deleted": false, + "gitSyncId": "623762992e5d3f189d0c3c23_623765e92e5d3f189d0c3c33" + }, + { + "unpublishedCollection": { + "name": "GithubManager", + "pageId": "Issues", + "pluginId": "js-plugin", + "pluginType": "JS", + "actions": [], + "archivedActions": [], + "body": "export default {\n\tgetLabels: () => {\n\t\treturn fetch_labels.data.body.items.filter((label) => {\n\t\t\treturn !label.name.includes('Pod');\n\t\t}).map((item) => {\n\t\t\treturn { label: item.name, value: item.name } \n\t\t}); \n\t}, \n\tgetIssues: () => {\n\t\treturn search_github_issues.data.map((item) => {\n\t\t\treturn {\n\t\t\t\tlabel: item.title,\n\t\t\t\tvalue: item.id + \"\"\n\t\t\t}\n\t\t})\n\t},\n\tgetSelectedGithubIssue: () => {\n\t\treturn search_github_issues.data.find((issue) => issue.id == add_issue_select.selectedOptionValue);\n\t}\n}", + "variables": [], + "userPermissions": [] + }, + "publishedCollection": { + "name": "GithubManager", + "pageId": "Issues", + "pluginId": "js-plugin", + "pluginType": "JS", + "actions": [], + "archivedActions": [], + "body": "export default {\n\tgetLabels: () => {\n\t\treturn fetch_labels.data.body.items.filter((label) => {\n\t\t\treturn !label.name.includes('Pod');\n\t\t}).map((item) => {\n\t\t\treturn { label: item.name, value: item.name } \n\t\t}); \n\t}, \n\tgetIssues: () => {\n\t\treturn search_github_issues.data.map((item) => {\n\t\t\treturn {\n\t\t\t\tlabel: item.title,\n\t\t\t\tvalue: item.id + \"\"\n\t\t\t}\n\t\t})\n\t},\n\tgetSelectedGithubIssue: () => {\n\t\treturn search_github_issues.data.find((issue) => issue.id == add_issue_select.selectedOptionValue);\n\t}\n}", + "variables": [], + "userPermissions": [] + }, + "id": "Issues_GithubManager", + "deleted": false, + "gitSyncId": "623762992e5d3f189d0c3c23_62389d692d7f921bb707cf51" + }, + { + "unpublishedCollection": { + "name": "IssueManager", + "pageId": "Issues", + "pluginId": "js-plugin", + "pluginType": "JS", + "actions": [], + "archivedActions": [], + "body": "export default {\n\tgetAssignedLabels: (allLabels = label_select.selectedOptionValues) => {\n\t\tconst labels = allLabels.filter((label) => {\n\t\t\treturn Utils.checkIsPod(label) !== true;\n\t\t}); \n\t\tconst podMap = {};\n\t\tlabels.map((label) => {\n\t\t\tconst pod = Utils.getPodForLabel(label);\n\t\t\tif (pod)\n\t\t\t\tpodMap[pod] = true;\n\t\t});\n\t\treturn [...Object.keys(podMap), ...labels];\n\t}, \n\tcreate_issue: () => {\n\t\tconst labels = this.getAssignedLabels(label_select.selectedOptionValues);\n\t\tadd_new_issue.run(() => {\n\t\t\t\tfetch_issues.run(() => {\n\t\t\t\t\tresetWidget('add_issue_modal', true);\n\t\t\t\t\tcloseModal('add_issue_modal');\n\t\t\t\t});\n\t\t}, undefined, { labels: labels })\n\t},\n\tfetchIssues: () => {\n\t\tfetch_issues.run();\n\t},\n\tgetIssueData: () => {\n\t\treturn fetch_issues.data.map((issue) => {\n\t\t\tif (issue.upvote_id > 0)\n\t\t\t\tissue.count = issue.count + 1;\n\t\t\treturn { type: issue.type, title: issue.title, total_reactions: issue.total_reactions, unique_commentors: issue.unique_commentors, upvote_id: issue.upvote_id ,...issue};\n\t\t});\n\t},\n\taddComment: () => {\n\t\tadd_new_comment.run(() => {\n\t\t\tfetch_comments.run();\n\t\t\tupdate_issue_labels.run(() => \n\t\t\t\tfetch_issues.run());\n\t\t\tcloseModal('upvote_modal');\n\t\t\tresetWidget('upvote_modal', true);\n\t\t});\n\t},\n\tupdate: async () => {\n\t\tconst labels = this.getAssignedLabels(edit_label_select.selectedOptionValues);\n\t\tawait update_issue.run({ labels: labels });\n\t\tawait fetch_issues.run();\n\t},\n\tdelete: async () => {\n\t\tawait delete_issue.run(() => fetch_issues.run());\n\t}\n}", + "variables": [], + "userPermissions": [] + }, + "publishedCollection": { + "name": "IssueManager", + "pageId": "Issues", + "pluginId": "js-plugin", + "pluginType": "JS", + "actions": [], + "archivedActions": [], + "body": "export default {\n\tgetAssignedLabels: (allLabels = label_select.selectedOptionValues) => {\n\t\tconst labels = allLabels.filter((label) => {\n\t\t\treturn Utils.checkIsPod(label) !== true;\n\t\t}); \n\t\tconst podMap = {};\n\t\tlabels.map((label) => {\n\t\t\tconst pod = Utils.getPodForLabel(label);\n\t\t\tif (pod)\n\t\t\t\tpodMap[pod] = true;\n\t\t});\n\t\treturn [...Object.keys(podMap), ...labels];\n\t}, \n\tcreate_issue: () => {\n\t\tconst labels = this.getAssignedLabels(label_select.selectedOptionValues);\n\t\tadd_new_issue.run(() => {\n\t\t\t\tfetch_issues.run(() => {\n\t\t\t\t\tresetWidget('add_issue_modal', true);\n\t\t\t\t\tcloseModal('add_issue_modal');\n\t\t\t\t});\n\t\t}, undefined, { labels: labels })\n\t},\n\tfetchIssues: () => {\n\t\tfetch_issues.run();\n\t},\n\tgetIssueData: () => {\n\t\treturn fetch_issues.data.map((issue) => {\n\t\t\tif (issue.upvote_id > 0)\n\t\t\t\tissue.count = issue.count + 1;\n\t\t\treturn { type: issue.type, title: issue.title, total_reactions: issue.total_reactions, unique_commentors: issue.unique_commentors, upvote_id: issue.upvote_id ,...issue};\n\t\t});\n\t},\n\taddComment: () => {\n\t\tadd_new_comment.run(() => {\n\t\t\tfetch_comments.run();\n\t\t\tupdate_issue_labels.run(() => \n\t\t\t\tfetch_issues.run());\n\t\t\tcloseModal('upvote_modal');\n\t\t\tresetWidget('upvote_modal', true);\n\t\t});\n\t},\n\tupdate: async () => {\n\t\tconst labels = this.getAssignedLabels(edit_label_select.selectedOptionValues);\n\t\tawait update_issue.run({ labels: labels });\n\t\tawait fetch_issues.run();\n\t},\n\tdelete: async () => {\n\t\tawait delete_issue.run(() => fetch_issues.run());\n\t}\n}", + "variables": [], + "userPermissions": [] + }, + "id": "Issues_IssueManager", + "deleted": false, + "gitSyncId": "623762992e5d3f189d0c3c23_62382c35cb09660cd0f703bd" + }, + { + "unpublishedCollection": { + "name": "Configs", + "pageId": "Issues", + "pluginId": "js-plugin", + "pluginType": "JS", + "actions": [], + "archivedActions": [], + "body": "export default {\n\ttype: [\n\t\t{\n\t\t\tlabel: \"All\",\n\t\t\tvalue: \"ALL\"\n\t\t}, \n\t\t{\n\t\t\tlabel: \"Feature\",\n\t\t\tvalue: \"Feature\"\n\t\t},\n\t\t{\n\t\t\tlabel: \"Bug\",\n\t\t\tvalue: \"Bug\"\n\t\t},\n\t\t{\n\t\t\tlabel: \"Question\",\n\t\t\tvalue: \"Question\"\n\t\t},\n\t\t{\n\t\t\tlabel: \"Troubleshooting\",\n\t\t\tvalue: \"Troubleshooting\"\n\t\t},\n\t\t{\n\t\t\tlabel: \"Suggestion\",\n\t\t\tvalue: \"Suggestion\"\n\t\t}\n\t],\n\tpods: [\n\t\t{\n\t\t\tlabel: \"All\",\n\t\t\tvalue: \"ALL\"\n\t\t},\n\t\t{\n\t\t\tlabel: \"App Viewers Pod\",\n\t\t\tvalue: \"App Viewers Pod\"\n\t\t},\n\t\t{\n\t\t\tlabel: \"UI Builders Pod\",\n\t\t\tvalue: \"UI Builders Pod\"\n\t\t},\n\t\t{\n\t\t\tlabel: \"Team Managers Pod\",\n\t\t\tvalue: \"Team Managers Pod\"\n\t\t},\n\t\t{\n\t\t\tlabel: \"FE Coders Pod\",\n\t\t\tvalue: \"FE Coders Pod\"\n\t\t},\n\t\t{\n\t\t\tlabel: \"BE Coders Pod\",\n\t\t\tvalue: \"BE Coders Pod\"\n\t\t},\n\t\t{\n\t\t\tlabel: \"New Developers Pod\",\n\t\t\tvalue: \"New Developers Pod\"\n\t\t}\n\t],\n\tstatus: [\n\t\t{\n\t\t\tlabel: \"Opened\",\n\t\t\tvalue: \"Opened\"\n\t\t},\n\t\t{\n\t\t\tlabel: \"Solved\",\n\t\t\tvalue: \"Solved\"\n\t\t},\n\t\t{\n\t\t\tlabel: \"Communicated to user\",\n\t\t\tvalue: \"Communicated to user\"\n\t\t}\n\t],\n\tstatesMap: {\n\t\t[\"Needs Documentation\"]: {\n\t\t\tlabel: \"Needs Docs\",\n\t\t\tvalue: \"Needs Documentation\",\n\t\t\ticon: \"❓\uD83D\uDCD1\",\n\t\t\torder: 1\n\t\t},\n\t\t[\"Documented\"]: {\n\t\t\tlabel: \"Documented\",\n\t\t\tvalue: \"Documented\",\n\t\t\ticon: \"\uD83D\uDCD1\",\n\t\t\torder: 2\n\t\t},\n\t\t[\"Needs App\"]: {\n\t\t\tlabel: \"Needs App\",\n\t\t\tvalue: \"Needs App\",\n\t\t\ticon: \"❓\uD83D\uDCBB\",\n\t\t\torder: 3\n\t\t},\n\t\t[\"App Built\"]: {\n\t\t\tlabel: \"App Built\",\n\t\t\tvalue: \"App Built\",\n\t\t\ticon: \"\uD83D\uDCBB\",\n\t\t\torder: 4\n\t\t},\n\t\t[\"Needs Product\"]: {\n\t\t\tlabel: \"Needs Product\",\n\t\t\tvalue: \"Needs Product\",\n\t\t\ticon: \"❓\uD83E\uDDE9\",\n\t\t\torder: 5\n\t\t},\n\t\t[\"Product Solved\"]: {\n\t\t\tlabel: \"Product Solved\",\n\t\t\tvalue: \"Product Solved\",\n\t\t\ticon: \"\uD83E\uDDE9\",\n\t\t\torder: 6\n\t\t},\n\t},\n\tstates: [ { label: \"All\", value: \"ALL\" }, ...Object.values(this.statesMap)],\n\tgetTitleState: (states) => {\n\t\treturn states ? states.map((state) => this.statesMap[state]?.icon + \" \").join(\" \") : \"\"\n\t}\n}", + "variables": [ + { + "name": "type", + "value": "[{\n label: \"All\",\n value: \"ALL\"\n}, {\n label: \"Feature\",\n value: \"Feature\"\n}, {\n label: \"Bug\",\n value: \"Bug\"\n}, {\n label: \"Question\",\n value: \"Question\"\n}, {\n label: \"Troubleshooting\",\n value: \"Troubleshooting\"\n}, {\n label: \"Suggestion\",\n value: \"Suggestion\"\n}]" + }, + { + "name": "pods", + "value": "[{\n label: \"All\",\n value: \"ALL\"\n}, {\n label: \"App Viewers Pod\",\n value: \"App Viewers Pod\"\n}, {\n label: \"UI Builders Pod\",\n value: \"UI Builders Pod\"\n}, {\n label: \"Team Managers Pod\",\n value: \"Team Managers Pod\"\n}, {\n label: \"FE Coders Pod\",\n value: \"FE Coders Pod\"\n}, {\n label: \"BE Coders Pod\",\n value: \"BE Coders Pod\"\n}, {\n label: \"New Developers Pod\",\n value: \"New Developers Pod\"\n}]" + }, + { + "name": "status", + "value": "[{\n label: \"Opened\",\n value: \"Opened\"\n}, {\n label: \"Solved\",\n value: \"Solved\"\n}, {\n label: \"Communicated to user\",\n value: \"Communicated to user\"\n}]" + }, + { + "name": "statesMap", + "value": "{\n [\"Needs Documentation\"]: {\n label: \"Needs Docs\",\n value: \"Needs Documentation\",\n icon: \"❓\uD83D\uDCD1\",\n order: 1\n },\n [\"Documented\"]: {\n label: \"Documented\",\n value: \"Documented\",\n icon: \"\uD83D\uDCD1\",\n order: 2\n },\n [\"Needs App\"]: {\n label: \"Needs App\",\n value: \"Needs App\",\n icon: \"❓\uD83D\uDCBB\",\n order: 3\n },\n [\"App Built\"]: {\n label: \"App Built\",\n value: \"App Built\",\n icon: \"\uD83D\uDCBB\",\n order: 4\n },\n [\"Needs Product\"]: {\n label: \"Needs Product\",\n value: \"Needs Product\",\n icon: \"❓\uD83E\uDDE9\",\n order: 5\n },\n [\"Product Solved\"]: {\n label: \"Product Solved\",\n value: \"Product Solved\",\n icon: \"\uD83E\uDDE9\",\n order: 6\n }\n}" + }, + { + "name": "states", + "value": "[{\n label: \"All\",\n value: \"ALL\"\n}, ...Object.values(Configs.statesMap)]" + } + ], + "userPermissions": [] + }, + "publishedCollection": { + "name": "Configs", + "pageId": "Issues", + "pluginId": "js-plugin", + "pluginType": "JS", + "actions": [], + "archivedActions": [], + "body": "export default {\n\ttype: [\n\t\t{\n\t\t\tlabel: \"All\",\n\t\t\tvalue: \"ALL\"\n\t\t}, \n\t\t{\n\t\t\tlabel: \"Feature\",\n\t\t\tvalue: \"Feature\"\n\t\t},\n\t\t{\n\t\t\tlabel: \"Bug\",\n\t\t\tvalue: \"Bug\"\n\t\t},\n\t\t{\n\t\t\tlabel: \"Question\",\n\t\t\tvalue: \"Question\"\n\t\t},\n\t\t{\n\t\t\tlabel: \"Troubleshooting\",\n\t\t\tvalue: \"Troubleshooting\"\n\t\t},\n\t\t{\n\t\t\tlabel: \"Suggestion\",\n\t\t\tvalue: \"Suggestion\"\n\t\t}\n\t],\n\tpods: [\n\t\t{\n\t\t\tlabel: \"All\",\n\t\t\tvalue: \"ALL\"\n\t\t},\n\t\t{\n\t\t\tlabel: \"App Viewers Pod\",\n\t\t\tvalue: \"App Viewers Pod\"\n\t\t},\n\t\t{\n\t\t\tlabel: \"UI Builders Pod\",\n\t\t\tvalue: \"UI Builders Pod\"\n\t\t},\n\t\t{\n\t\t\tlabel: \"Team Managers Pod\",\n\t\t\tvalue: \"Team Managers Pod\"\n\t\t},\n\t\t{\n\t\t\tlabel: \"FE Coders Pod\",\n\t\t\tvalue: \"FE Coders Pod\"\n\t\t},\n\t\t{\n\t\t\tlabel: \"BE Coders Pod\",\n\t\t\tvalue: \"BE Coders Pod\"\n\t\t},\n\t\t{\n\t\t\tlabel: \"New Developers Pod\",\n\t\t\tvalue: \"New Developers Pod\"\n\t\t}\n\t],\n\tstatus: [\n\t\t{\n\t\t\tlabel: \"Opened\",\n\t\t\tvalue: \"Opened\"\n\t\t},\n\t\t{\n\t\t\tlabel: \"Solved\",\n\t\t\tvalue: \"Solved\"\n\t\t},\n\t\t{\n\t\t\tlabel: \"Communicated to user\",\n\t\t\tvalue: \"Communicated to user\"\n\t\t}\n\t],\n\tstatesMap: {\n\t\t[\"Needs Documentation\"]: {\n\t\t\tlabel: \"Needs Docs\",\n\t\t\tvalue: \"Needs Documentation\",\n\t\t\ticon: \"❓\uD83D\uDCD1\",\n\t\t\torder: 1\n\t\t},\n\t\t[\"Documented\"]: {\n\t\t\tlabel: \"Documented\",\n\t\t\tvalue: \"Documented\",\n\t\t\ticon: \"\uD83D\uDCD1\",\n\t\t\torder: 2\n\t\t},\n\t\t[\"Needs App\"]: {\n\t\t\tlabel: \"Needs App\",\n\t\t\tvalue: \"Needs App\",\n\t\t\ticon: \"❓\uD83D\uDCBB\",\n\t\t\torder: 3\n\t\t},\n\t\t[\"App Built\"]: {\n\t\t\tlabel: \"App Built\",\n\t\t\tvalue: \"App Built\",\n\t\t\ticon: \"\uD83D\uDCBB\",\n\t\t\torder: 4\n\t\t},\n\t\t[\"Needs Product\"]: {\n\t\t\tlabel: \"Needs Product\",\n\t\t\tvalue: \"Needs Product\",\n\t\t\ticon: \"❓\uD83E\uDDE9\",\n\t\t\torder: 5\n\t\t},\n\t\t[\"Product Solved\"]: {\n\t\t\tlabel: \"Product Solved\",\n\t\t\tvalue: \"Product Solved\",\n\t\t\ticon: \"\uD83E\uDDE9\",\n\t\t\torder: 6\n\t\t},\n\t},\n\tstates: [ { label: \"All\", value: \"ALL\" }, ...Object.values(this.statesMap)],\n\tgetTitleState: (states) => {\n\t\treturn states ? states.map((state) => this.statesMap[state]?.icon + \" \").join(\" \") : \"\"\n\t}\n}", + "variables": [ + { + "name": "type", + "value": [ + { "label": "All", "value": "ALL" }, + { "label": "Feature", "value": "Feature" }, + { "label": "Bug", "value": "Bug" }, + { "label": "Question", "value": "Question" }, + { "label": "Troubleshooting", "value": "Troubleshooting" }, + { "label": "Suggestion", "value": "Suggestion" } + ] + }, + { + "name": "pods", + "value": [ + { "label": "All", "value": "ALL" }, + { "label": "App Viewers Pod", "value": "App Viewers Pod" }, + { "label": "UI Builders Pod", "value": "UI Builders Pod" }, + { "label": "Team Managers Pod", "value": "Team Managers Pod" }, + { "label": "FE Coders Pod", "value": "FE Coders Pod" }, + { "label": "BE Coders Pod", "value": "BE Coders Pod" }, + { "label": "New Developers Pod", "value": "New Developers Pod" } + ] + }, + { + "name": "status", + "value": [ + { "label": "Opened", "value": "Opened" }, + { "label": "Solved", "value": "Solved" }, + { + "label": "Communicated to user", + "value": "Communicated to user" + } + ] + }, + { + "name": "statesMap", + "value": { + "Needs Documentation": { + "label": "Needs Docs", + "value": "Needs Documentation", + "icon": "❓\uD83D\uDCD1", + "order": 1.0 + }, + "Documented": { + "label": "Documented", + "value": "Documented", + "icon": "\uD83D\uDCD1", + "order": 2.0 + }, + "Needs App": { + "label": "Needs App", + "value": "Needs App", + "icon": "❓\uD83D\uDCBB", + "order": 3.0 + }, + "App Built": { + "label": "App Built", + "value": "App Built", + "icon": "\uD83D\uDCBB", + "order": 4.0 + }, + "Needs Product": { + "label": "Needs Product", + "value": "Needs Product", + "icon": "❓\uD83E\uDDE9", + "order": 5.0 + }, + "Product Solved": { + "label": "Product Solved", + "value": "Product Solved", + "icon": "\uD83E\uDDE9", + "order": 6.0 + } + } + }, + { + "name": "states", + "value": [ + { "label": "All", "value": "ALL" }, + { + "label": "Needs Docs", + "value": "Needs Documentation", + "icon": "❓\uD83D\uDCD1", + "order": 1.0 + }, + { + "label": "Documented", + "value": "Documented", + "icon": "\uD83D\uDCD1", + "order": 2.0 + }, + { + "label": "Needs App", + "value": "Needs App", + "icon": "❓\uD83D\uDCBB", + "order": 3.0 + }, + { + "label": "App Built", + "value": "App Built", + "icon": "\uD83D\uDCBB", + "order": 4.0 + }, + { + "label": "Needs Product", + "value": "Needs Product", + "icon": "❓\uD83E\uDDE9", + "order": 5.0 + }, + { + "label": "Product Solved", + "value": "Product Solved", + "icon": "\uD83E\uDDE9", + "order": 6.0 + } + ] + } + ], + "userPermissions": [] + }, + "id": "Issues_Configs", + "deleted": false, + "gitSyncId": "623762992e5d3f189d0c3c23_623763562e5d3f189d0c3c2b" + } + ], + "updatedResources": { + "actionList": [ + "add_new_issue##ENTITY_SEPARATOR##Issues", + "fetch_label_config##ENTITY_SEPARATOR##Issues", + "Utils.getConfig##ENTITY_SEPARATOR##Issues", + "GithubManager.getIssues##ENTITY_SEPARATOR##Issues", + "update_issue_labels##ENTITY_SEPARATOR##Issues", + "Utils.getPodLabels##ENTITY_SEPARATOR##Issues", + "GithubManager.getSelectedGithubIssue##ENTITY_SEPARATOR##Issues", + "IssueManager.addComment##ENTITY_SEPARATOR##Issues", + "IssueManager.fetchIssues##ENTITY_SEPARATOR##Issues", + "fetch_labels##ENTITY_SEPARATOR##Issues", + "Configs.getTitleState##ENTITY_SEPARATOR##Issues", + "add_new_comment##ENTITY_SEPARATOR##Issues", + "update_issue##ENTITY_SEPARATOR##Issues", + "fetch_comments##ENTITY_SEPARATOR##Issues", + "GithubManager.getLabels##ENTITY_SEPARATOR##Issues", + "IssueManager.getAssignedLabels##ENTITY_SEPARATOR##Issues", + "fetch_issues##ENTITY_SEPARATOR##Issues", + "IssueManager.update##ENTITY_SEPARATOR##Issues", + "search_github_issues##ENTITY_SEPARATOR##Issues", + "Utils.checkIsPod##ENTITY_SEPARATOR##Issues", + "Utils.getLabelsForPod##ENTITY_SEPARATOR##Issues", + "IssueManager.getIssueData##ENTITY_SEPARATOR##Issues", + "IssueManager.delete##ENTITY_SEPARATOR##Issues", + "delete_issue##ENTITY_SEPARATOR##Issues", + "Utils.csvToArr##ENTITY_SEPARATOR##Issues", + "Utils.getPodForLabel##ENTITY_SEPARATOR##Issues", + "IssueManager.create_issue##ENTITY_SEPARATOR##Issues" + ], + "pageList": ["Issues"], + "actionCollectionList": [ + "Configs##ENTITY_SEPARATOR##Issues", + "Utils##ENTITY_SEPARATOR##Issues", + "GithubManager##ENTITY_SEPARATOR##Issues", + "IssueManager##ENTITY_SEPARATOR##Issues" + ] + }, + "editModeTheme": { + "name": "Classic", + "displayName": "Classic", + "isSystemTheme": true, + "deleted": false + }, + "publishedTheme": { + "name": "Classic", + "displayName": "Classic", + "isSystemTheme": true, + "deleted": false + } +} diff --git a/app/client/cypress/fixtures/mobileViewScrollDsl.json b/app/client/cypress/fixtures/mobileViewScrollDsl.json new file mode 100644 index 0000000000..8a5db57fbc --- /dev/null +++ b/app/client/cypress/fixtures/mobileViewScrollDsl.json @@ -0,0 +1,1200 @@ +{ + "dsl": { + "widgetName": "MainContainer", + "backgroundColor": "none", + "rightColumn": 4896, + "snapColumns": 64, + "detachFromLayout": true, + "widgetId": "0", + "topRow": 0, + "bottomRow": 986, + "containerStyle": "none", + "snapRows": 124, + "parentRowSpace": 1, + "type": "CANVAS_WIDGET", + "canExtend": true, + "version": 78, + "minHeight": 1292, + "useAutoLayout": true, + "dynamicTriggerPathList": [], + "parentColumnSpace": 1, + "responsiveBehavior": "fill", + "dynamicBindingPathList": [], + "leftColumn": 0, + "children": [ + { + "isVisible": true, + "backgroundColor": "transparent", + "itemBackgroundColor": "#FFFFFF", + "requiresFlatWidgetChildren": true, + "hasMetaWidgets": true, + "animateLoading": true, + "gridType": "vertical", + "minWidth": 450, + "responsiveBehavior": "fill", + "dynamicBindingPathList": [ + { + "key": "currentItemsView" + }, + { + "key": "selectedItemView" + }, + { + "key": "triggeredItemView" + }, + { + "key": "primaryKeys" + }, + { + "key": "accentColor" + }, + { + "key": "borderRadius" + }, + { + "key": "boxShadow" + } + ], + "currentItemsView": "{{[]}}", + "selectedItemView": "{{{}}}", + "triggeredItemView": "{{{}}}", + "enhancements": true, + "itemSpacing": 8, + "templateBottomRow": 16, + "listData": [ + { + "id": "001", + "name": "Blue", + "img": "https://assets.appsmith.com/widgets/default.png" + }, + { + "id": "002", + "name": "Green", + "img": "https://assets.appsmith.com/widgets/default.png" + }, + { + "id": "003", + "name": "Red", + "img": "https://assets.appsmith.com/widgets/default.png" + } + ], + "pageSize": 2, + "widgetName": "List1", + "children": [ + { + "isVisible": true, + "widgetName": "Canvas1", + "version": 1, + "detachFromLayout": true, + "flexLayers": [ + { + "children": [ + { + "id": "djr56i94xr", + "align": "center" + } + ] + } + ], + "responsiveBehavior": "fill", + "minWidth": 450, + "type": "CANVAS_WIDGET", + "hideCard": true, + "isDeprecated": false, + "displayName": "Canvas", + "key": "pgoeo499eu", + "containerStyle": "none", + "canExtend": false, + "dropDisabled": true, + "openParentPropertyPane": true, + "noPad": true, + "children": [ + { + "isVisible": true, + "backgroundColor": "white", + "widgetName": "Container1", + "containerStyle": "card", + "borderColor": "#E0DEDE", + "borderWidth": "1", + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "animateLoading": true, + "children": [ + { + "isVisible": true, + "widgetName": "Canvas2", + "version": 1, + "detachFromLayout": true, + "flexLayers": [ + { + "children": [ + { + "id": "2sim3no7wr", + "align": "start" + }, + { + "id": "3z1a69dmyt", + "align": "end" + } + ] + }, + { + "children": [ + { + "id": "h3ny53e7rb", + "align": "start" + } + ] + } + ], + "responsiveBehavior": "fill", + "minWidth": 450, + "type": "CANVAS_WIDGET", + "hideCard": true, + "isDeprecated": false, + "displayName": "Canvas", + "key": "pgoeo499eu", + "containerStyle": "none", + "canExtend": false, + "children": [ + { + "isVisible": true, + "defaultImage": "https://assets.appsmith.com/widgets/default.png", + "imageShape": "RECTANGLE", + "maxZoomLevel": 1, + "enableRotation": false, + "enableDownload": false, + "objectFit": "cover", + "image": "{{currentItem.img}}", + "widgetName": "Image1", + "version": 1, + "animateLoading": true, + "type": "IMAGE_WIDGET", + "hideCard": false, + "isDeprecated": false, + "displayName": "Image", + "key": "gu9civqjvf", + "iconSVG": "/static/media/icon.52d8fb963abcb95c79b10f1553389f22.svg", + "boxShadow": "none", + "dynamicBindingPathList": [ + { + "key": "image" + }, + { + "key": "borderRadius" + } + ], + "dynamicTriggerPathList": [], + "widgetId": "3z1a69dmyt", + "renderMode": "CANVAS", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "isLoading": false, + "leftColumn": 36.43076923076923, + "rightColumn": 64, + "topRow": 0, + "bottomRow": 6, + "mobileLeftColumn": 0, + "mobileRightColumn": 16, + "mobileTopRow": 0, + "mobileBottomRow": 8, + "parentId": "zmdhzf1mt7", + "widthInPercentage": 0.25, + "responsiveBehavior": "hug", + "alignment": "end" + }, + { + "isVisible": true, + "text": "{{currentItem.name}}", + "fontSize": "1rem", + "fontStyle": "BOLD", + "textAlign": "LEFT", + "textColor": "#231F20", + "widgetName": "Text1", + "shouldTruncate": false, + "overflow": "NONE", + "version": 1, + "animateLoading": true, + "responsiveBehavior": "fill", + "minWidth": 450, + "minDynamicHeight": 4, + "maxDynamicHeight": 9000, + "dynamicHeight": "FIXED", + "searchTags": [ + "typography", + "paragraph", + "label" + ], + "type": "TEXT_WIDGET", + "hideCard": false, + "isDeprecated": false, + "displayName": "Text", + "key": "33yjaezjdb", + "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", + "textStyle": "HEADING", + "boxShadow": "none", + "dynamicBindingPathList": [ + { + "key": "text" + }, + { + "key": "truncateButtonColor" + }, + { + "key": "fontFamily" + }, + { + "key": "borderRadius" + } + ], + "dynamicTriggerPathList": [], + "widgetId": "2sim3no7wr", + "renderMode": "CANVAS", + "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "isLoading": false, + "leftColumn": 0, + "rightColumn": 36.43076923076923, + "topRow": 0, + "bottomRow": 4, + "mobileLeftColumn": 16, + "mobileRightColumn": 80, + "mobileTopRow": 0, + "mobileBottomRow": 4, + "parentId": "zmdhzf1mt7", + "alignment": "start" + }, + { + "isVisible": true, + "text": "{{currentItem.id}}", + "fontSize": "1rem", + "fontStyle": "BOLD", + "textAlign": "LEFT", + "textColor": "#231F20", + "widgetName": "Text2", + "shouldTruncate": false, + "overflow": "NONE", + "version": 1, + "animateLoading": true, + "responsiveBehavior": "fill", + "minWidth": 450, + "minDynamicHeight": 4, + "maxDynamicHeight": 9000, + "dynamicHeight": "FIXED", + "searchTags": [ + "typography", + "paragraph", + "label" + ], + "type": "TEXT_WIDGET", + "hideCard": false, + "isDeprecated": false, + "displayName": "Text", + "key": "33yjaezjdb", + "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", + "textStyle": "BODY", + "boxShadow": "none", + "dynamicBindingPathList": [ + { + "key": "text" + }, + { + "key": "truncateButtonColor" + }, + { + "key": "fontFamily" + }, + { + "key": "borderRadius" + } + ], + "dynamicTriggerPathList": [], + "widgetId": "h3ny53e7rb", + "renderMode": "CANVAS", + "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "isLoading": false, + "leftColumn": 0, + "rightColumn": 64, + "topRow": 7.2, + "bottomRow": 11.2, + "mobileLeftColumn": 16, + "mobileRightColumn": 80, + "mobileTopRow": 4, + "mobileBottomRow": 8, + "parentId": "zmdhzf1mt7", + "alignment": "start" + } + ], + "useAutoLayout": true, + "minHeight": null, + "widgetId": "zmdhzf1mt7", + "renderMode": "CANVAS", + "isLoading": false, + "parentColumnSpace": 1, + "parentRowSpace": 1, + "leftColumn": 0, + "rightColumn": 64, + "topRow": 0, + "bottomRow": 132, + "mobileLeftColumn": 0, + "mobileRightColumn": 64, + "mobileTopRow": 0, + "mobileBottomRow": null, + "parentId": "djr56i94xr", + "dynamicBindingPathList": [], + "positioning": "vertical" + } + ], + "version": 1, + "flexVerticalAlignment": "start", + "responsiveBehavior": "fill", + "minWidth": 450, + "minDynamicHeight": 10, + "maxDynamicHeight": 9000, + "dynamicHeight": "FIXED", + "shouldScrollContents": false, + "searchTags": [ + "div", + "parent", + "group" + ], + "type": "CONTAINER_WIDGET", + "hideCard": false, + "isDeprecated": false, + "displayName": "Container", + "key": "3pyozfc6co", + "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg", + "isCanvas": true, + "dragDisabled": true, + "isDeletable": false, + "disallowCopy": true, + "noContainerOffset": true, + "positioning": "vertical", + "disabledWidgetFeatures": [ + "dynamicHeight" + ], + "widgetId": "djr56i94xr", + "renderMode": "CANVAS", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "isLoading": false, + "leftColumn": 0, + "rightColumn": 64, + "topRow": 0, + "bottomRow": 13.2, + "mobileLeftColumn": 0, + "mobileRightColumn": 64, + "mobileTopRow": 0, + "mobileBottomRow": 12, + "parentId": "6ab3iebzpm", + "dynamicBindingPathList": [ + { + "key": "borderRadius" + }, + { + "key": "boxShadow" + } + ] + } + ], + "minHeight": 400, + "widgetId": "6ab3iebzpm", + "renderMode": "CANVAS", + "isLoading": false, + "parentColumnSpace": 1, + "parentRowSpace": 1, + "leftColumn": 0, + "rightColumn": 64, + "topRow": 0, + "bottomRow": 400, + "mobileLeftColumn": 0, + "mobileRightColumn": 64, + "mobileTopRow": 0, + "mobileBottomRow": 400, + "parentId": "kiy5w4zqjk", + "dynamicBindingPathList": [], + "positioning": "vertical" + } + ], + "additionalStaticProps": [ + "level", + "levelData", + "prefixMetaWidgetId", + "metaWidgetId" + ], + "primaryKeys": "{{List1.listData.map((currentItem, currentIndex) => currentItem[\"id\"] )}}", + "type": "LIST_WIDGET_V2", + "hideCard": false, + "isDeprecated": false, + "displayName": "List", + "key": "ib0080qiw5", + "iconSVG": "/static/media/icon.9925ee17dee37bf1ba7374412563a8a7.svg", + "isCanvas": true, + "alignment": "start", + "widgetId": "kiy5w4zqjk", + "renderMode": "CANVAS", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "isLoading": false, + "parentColumnSpace": 10.59375, + "parentRowSpace": 10, + "leftColumn": 0, + "rightColumn": 64, + "topRow": 0, + "bottomRow": 40, + "mobileLeftColumn": 0, + "mobileRightColumn": 64, + "mobileTopRow": 2, + "mobileBottomRow": 42, + "parentId": "0", + "mainContainerId": "djr56i94xr", + "mainCanvasId": "6ab3iebzpm", + "dynamicTriggerPathList": [] + }, + { + "isVisible": true, + "backgroundColor": "#FFFFFF", + "widgetName": "Container2", + "containerStyle": "card", + "borderColor": "#E0DEDE", + "borderWidth": "1", + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "animateLoading": true, + "children": [ + { + "isVisible": true, + "widgetName": "Canvas3", + "version": 1, + "detachFromLayout": true, + "flexLayers": [ + { + "children": [ + { + "id": "v2p0x77a98", + "align": "start" + }, + { + "id": "pejj8lnamx", + "align": "start" + } + ] + }, + { + "children": [ + { + "id": "dkawbvt9yz", + "align": "start" + } + ] + }, + { + "children": [ + { + "id": "k2dhyh8rwk", + "align": "start" + } + ] + }, + { + "children": [ + { + "id": "xjg2smm5ez", + "align": "start" + } + ] + }, + { + "children": [ + { + "id": "jcjue1mfxu", + "align": "start" + } + ] + }, + { + "children": [ + { + "id": "v0r5dv4zql", + "align": "start" + } + ] + }, + { + "children": [ + { + "id": "7nj1zwi267", + "align": "start" + }, + { + "id": "knr0gxnna6", + "align": "start" + } + ] + } + ], + "responsiveBehavior": "fill", + "minWidth": 450, + "type": "CANVAS_WIDGET", + "hideCard": true, + "isDeprecated": false, + "displayName": "Canvas", + "key": "pgoeo499eu", + "containerStyle": "none", + "canExtend": false, + "children": [ + { + "isVisible": true, + "label": "Label", + "labelPosition": "Top", + "labelAlignment": "left", + "labelTextSize": "0.875rem", + "labelWidth": 5, + "widgetName": "Input8", + "version": 2, + "defaultText": "", + "iconAlign": "left", + "autoFocus": false, + "labelStyle": "", + "resetOnSubmit": true, + "isRequired": false, + "isDisabled": false, + "animateLoading": true, + "responsiveBehavior": "fill", + "minWidth": 450, + "inputType": "TEXT", + "showStepArrows": false, + "minDynamicHeight": 4, + "maxDynamicHeight": 9000, + "dynamicHeight": "FIXED", + "searchTags": [ + "form", + "text input", + "number", + "textarea" + ], + "type": "INPUT_WIDGET_V2", + "hideCard": false, + "isDeprecated": false, + "displayName": "Input", + "key": "4jg05zjgg1", + "iconSVG": "/static/media/icon.9f505595da61a34f563dba82adeb06ec.svg", + "alignment": "start", + "widgetId": "v2p0x77a98", + "renderMode": "CANVAS", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none", + "isLoading": false, + "parentColumnSpace": 10.28125, + "parentRowSpace": 10, + "leftColumn": 0, + "rightColumn": 32, + "topRow": 0, + "bottomRow": 6.6, + "mobileLeftColumn": 0, + "mobileRightColumn": 64, + "mobileTopRow": 7, + "mobileBottomRow": 13.6, + "parentId": "10v3n32ya8", + "dynamicBindingPathList": [ + { + "key": "accentColor" + }, + { + "key": "borderRadius" + } + ] + }, + { + "isVisible": true, + "label": "Label", + "labelPosition": "Top", + "labelAlignment": "left", + "labelTextSize": "0.875rem", + "labelWidth": 5, + "widgetName": "Input1", + "version": 2, + "defaultText": "", + "iconAlign": "left", + "autoFocus": false, + "labelStyle": "", + "resetOnSubmit": true, + "isRequired": false, + "isDisabled": false, + "animateLoading": true, + "responsiveBehavior": "fill", + "minWidth": 450, + "inputType": "TEXT", + "showStepArrows": false, + "minDynamicHeight": 4, + "maxDynamicHeight": 9000, + "dynamicHeight": "FIXED", + "searchTags": [ + "form", + "text input", + "number", + "textarea" + ], + "type": "INPUT_WIDGET_V2", + "hideCard": false, + "isDeprecated": false, + "displayName": "Input", + "key": "4jg05zjgg1", + "iconSVG": "/static/media/icon.9f505595da61a34f563dba82adeb06ec.svg", + "alignment": "start", + "widgetId": "pejj8lnamx", + "renderMode": "CANVAS", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none", + "isLoading": false, + "parentColumnSpace": 10.28125, + "parentRowSpace": 10, + "leftColumn": 32, + "rightColumn": 64, + "topRow": 0, + "bottomRow": 6.6, + "mobileLeftColumn": 0, + "mobileRightColumn": 64, + "mobileTopRow": 1, + "mobileBottomRow": 7.6, + "parentId": "10v3n32ya8", + "dynamicBindingPathList": [ + { + "key": "accentColor" + }, + { + "key": "borderRadius" + } + ] + }, + { + "isVisible": true, + "label": "Label", + "labelPosition": "Top", + "labelAlignment": "left", + "labelTextSize": "0.875rem", + "labelWidth": 5, + "widgetName": "Input5", + "version": 2, + "defaultText": "", + "iconAlign": "left", + "autoFocus": false, + "labelStyle": "", + "resetOnSubmit": true, + "isRequired": false, + "isDisabled": false, + "animateLoading": true, + "responsiveBehavior": "fill", + "minWidth": 450, + "inputType": "TEXT", + "showStepArrows": false, + "minDynamicHeight": 4, + "maxDynamicHeight": 9000, + "dynamicHeight": "FIXED", + "searchTags": [ + "form", + "text input", + "number", + "textarea" + ], + "type": "INPUT_WIDGET_V2", + "hideCard": false, + "isDeprecated": false, + "displayName": "Input", + "key": "4jg05zjgg1", + "iconSVG": "/static/media/icon.9f505595da61a34f563dba82adeb06ec.svg", + "alignment": "start", + "widgetId": "dkawbvt9yz", + "renderMode": "CANVAS", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none", + "isLoading": false, + "parentColumnSpace": 10.28125, + "parentRowSpace": 10, + "leftColumn": 0, + "rightColumn": 64, + "topRow": 7.8, + "bottomRow": 14.399999999999999, + "mobileLeftColumn": 0, + "mobileRightColumn": 64, + "mobileTopRow": 5, + "mobileBottomRow": 11.6, + "parentId": "10v3n32ya8", + "dynamicBindingPathList": [ + { + "key": "accentColor" + }, + { + "key": "borderRadius" + } + ] + }, + { + "isVisible": true, + "label": "Label", + "labelPosition": "Top", + "labelAlignment": "left", + "labelTextSize": "0.875rem", + "labelWidth": 5, + "widgetName": "Input9", + "version": 2, + "defaultText": "", + "iconAlign": "left", + "autoFocus": false, + "labelStyle": "", + "resetOnSubmit": true, + "isRequired": false, + "isDisabled": false, + "animateLoading": true, + "responsiveBehavior": "fill", + "minWidth": 450, + "inputType": "TEXT", + "showStepArrows": false, + "minDynamicHeight": 4, + "maxDynamicHeight": 9000, + "dynamicHeight": "FIXED", + "searchTags": [ + "form", + "text input", + "number", + "textarea" + ], + "type": "INPUT_WIDGET_V2", + "hideCard": false, + "isDeprecated": false, + "displayName": "Input", + "key": "4jg05zjgg1", + "iconSVG": "/static/media/icon.9f505595da61a34f563dba82adeb06ec.svg", + "alignment": "start", + "widgetId": "xjg2smm5ez", + "renderMode": "CANVAS", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none", + "isLoading": false, + "parentColumnSpace": 10.28125, + "parentRowSpace": 10, + "leftColumn": 0, + "rightColumn": 64, + "topRow": 23.399999999999995, + "bottomRow": 29.999999999999996, + "mobileLeftColumn": 0, + "mobileRightColumn": 64, + "mobileTopRow": 14, + "mobileBottomRow": 20.6, + "parentId": "10v3n32ya8", + "dynamicBindingPathList": [ + { + "key": "accentColor" + }, + { + "key": "borderRadius" + } + ] + }, + { + "isVisible": true, + "label": "Label", + "labelPosition": "Top", + "labelAlignment": "left", + "labelTextSize": "0.875rem", + "labelWidth": 5, + "widgetName": "Input6", + "version": 2, + "defaultText": "", + "iconAlign": "left", + "autoFocus": false, + "labelStyle": "", + "resetOnSubmit": true, + "isRequired": false, + "isDisabled": false, + "animateLoading": true, + "responsiveBehavior": "fill", + "minWidth": 450, + "inputType": "TEXT", + "showStepArrows": false, + "minDynamicHeight": 4, + "maxDynamicHeight": 9000, + "dynamicHeight": "FIXED", + "searchTags": [ + "form", + "text input", + "number", + "textarea" + ], + "type": "INPUT_WIDGET_V2", + "hideCard": false, + "isDeprecated": false, + "displayName": "Input", + "key": "4jg05zjgg1", + "iconSVG": "/static/media/icon.9f505595da61a34f563dba82adeb06ec.svg", + "alignment": "start", + "widgetId": "k2dhyh8rwk", + "renderMode": "CANVAS", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none", + "isLoading": false, + "parentColumnSpace": 10.28125, + "parentRowSpace": 10, + "leftColumn": 0, + "rightColumn": 64, + "topRow": 15.599999999999998, + "bottomRow": 22.199999999999996, + "mobileLeftColumn": 0, + "mobileRightColumn": 64, + "mobileTopRow": 5, + "mobileBottomRow": 11.6, + "parentId": "10v3n32ya8", + "dynamicBindingPathList": [ + { + "key": "accentColor" + }, + { + "key": "borderRadius" + } + ] + }, + { + "isVisible": true, + "label": "Label", + "labelPosition": "Top", + "labelAlignment": "left", + "labelTextSize": "0.875rem", + "labelWidth": 5, + "widgetName": "Input3", + "version": 2, + "defaultText": "", + "iconAlign": "left", + "autoFocus": false, + "labelStyle": "", + "resetOnSubmit": true, + "isRequired": false, + "isDisabled": false, + "animateLoading": true, + "responsiveBehavior": "fill", + "minWidth": 450, + "inputType": "TEXT", + "showStepArrows": false, + "minDynamicHeight": 4, + "maxDynamicHeight": 9000, + "dynamicHeight": "FIXED", + "searchTags": [ + "form", + "text input", + "number", + "textarea" + ], + "type": "INPUT_WIDGET_V2", + "hideCard": false, + "isDeprecated": false, + "displayName": "Input", + "key": "4jg05zjgg1", + "iconSVG": "/static/media/icon.9f505595da61a34f563dba82adeb06ec.svg", + "alignment": "start", + "widgetId": "v0r5dv4zql", + "renderMode": "CANVAS", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none", + "isLoading": false, + "parentColumnSpace": 10.28125, + "parentRowSpace": 10, + "leftColumn": 0, + "rightColumn": 64, + "topRow": 39, + "bottomRow": 45.6, + "mobileLeftColumn": 0, + "mobileRightColumn": 64, + "mobileTopRow": 4, + "mobileBottomRow": 10.6, + "parentId": "10v3n32ya8", + "dynamicBindingPathList": [ + { + "key": "accentColor" + }, + { + "key": "borderRadius" + } + ] + }, + { + "isVisible": true, + "label": "Label", + "labelPosition": "Top", + "labelAlignment": "left", + "labelTextSize": "0.875rem", + "labelWidth": 5, + "widgetName": "Input2", + "version": 2, + "defaultText": "", + "iconAlign": "left", + "autoFocus": false, + "labelStyle": "", + "resetOnSubmit": true, + "isRequired": false, + "isDisabled": false, + "animateLoading": true, + "responsiveBehavior": "fill", + "minWidth": 450, + "inputType": "TEXT", + "showStepArrows": false, + "minDynamicHeight": 4, + "maxDynamicHeight": 9000, + "dynamicHeight": "FIXED", + "searchTags": [ + "form", + "text input", + "number", + "textarea" + ], + "type": "INPUT_WIDGET_V2", + "hideCard": false, + "isDeprecated": false, + "displayName": "Input", + "key": "4jg05zjgg1", + "iconSVG": "/static/media/icon.9f505595da61a34f563dba82adeb06ec.svg", + "alignment": "start", + "widgetId": "jcjue1mfxu", + "renderMode": "CANVAS", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none", + "isLoading": false, + "parentColumnSpace": 10.28125, + "parentRowSpace": 10, + "leftColumn": 0, + "rightColumn": 64, + "topRow": 31.199999999999996, + "bottomRow": 37.8, + "mobileLeftColumn": 0, + "mobileRightColumn": 64, + "mobileTopRow": 5, + "mobileBottomRow": 11.6, + "parentId": "10v3n32ya8", + "dynamicBindingPathList": [ + { + "key": "accentColor" + }, + { + "key": "borderRadius" + } + ] + }, + { + "isVisible": true, + "label": "Label", + "labelPosition": "Top", + "labelAlignment": "left", + "labelTextSize": "0.875rem", + "labelWidth": 5, + "widgetName": "Input7", + "version": 2, + "defaultText": "", + "iconAlign": "left", + "autoFocus": false, + "labelStyle": "", + "resetOnSubmit": true, + "isRequired": false, + "isDisabled": false, + "animateLoading": true, + "responsiveBehavior": "fill", + "minWidth": 450, + "inputType": "TEXT", + "showStepArrows": false, + "minDynamicHeight": 4, + "maxDynamicHeight": 9000, + "dynamicHeight": "FIXED", + "searchTags": [ + "form", + "text input", + "number", + "textarea" + ], + "type": "INPUT_WIDGET_V2", + "hideCard": false, + "isDeprecated": false, + "displayName": "Input", + "key": "4jg05zjgg1", + "iconSVG": "/static/media/icon.9f505595da61a34f563dba82adeb06ec.svg", + "alignment": "start", + "widgetId": "7nj1zwi267", + "renderMode": "CANVAS", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none", + "isLoading": false, + "parentColumnSpace": 10.28125, + "parentRowSpace": 10, + "leftColumn": 0, + "rightColumn": 32, + "topRow": 46.800000000000004, + "bottomRow": 53.400000000000006, + "mobileLeftColumn": 0, + "mobileRightColumn": 64, + "mobileTopRow": 22, + "mobileBottomRow": 28.6, + "parentId": "10v3n32ya8", + "dynamicBindingPathList": [ + { + "key": "accentColor" + }, + { + "key": "borderRadius" + } + ] + }, + { + "isVisible": true, + "label": "Label", + "labelPosition": "Top", + "labelAlignment": "left", + "labelTextSize": "0.875rem", + "labelWidth": 5, + "widgetName": "Input4", + "version": 2, + "defaultText": "", + "iconAlign": "left", + "autoFocus": false, + "labelStyle": "", + "resetOnSubmit": true, + "isRequired": false, + "isDisabled": false, + "animateLoading": true, + "responsiveBehavior": "fill", + "minWidth": 450, + "inputType": "TEXT", + "showStepArrows": false, + "minDynamicHeight": 4, + "maxDynamicHeight": 9000, + "dynamicHeight": "FIXED", + "searchTags": [ + "form", + "text input", + "number", + "textarea" + ], + "type": "INPUT_WIDGET_V2", + "hideCard": false, + "isDeprecated": false, + "displayName": "Input", + "key": "4jg05zjgg1", + "iconSVG": "/static/media/icon.9f505595da61a34f563dba82adeb06ec.svg", + "alignment": "start", + "widgetId": "knr0gxnna6", + "renderMode": "CANVAS", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none", + "isLoading": false, + "parentColumnSpace": 10.28125, + "parentRowSpace": 10, + "leftColumn": 32, + "rightColumn": 64, + "topRow": 46.800000000000004, + "bottomRow": 53.400000000000006, + "mobileLeftColumn": 0, + "mobileRightColumn": 64, + "mobileTopRow": 7, + "mobileBottomRow": 13.6, + "parentId": "10v3n32ya8", + "dynamicBindingPathList": [ + { + "key": "accentColor" + }, + { + "key": "borderRadius" + } + ] + } + ], + "minHeight": 100, + "widgetId": "10v3n32ya8", + "renderMode": "CANVAS", + "isLoading": false, + "parentColumnSpace": 1, + "parentRowSpace": 1, + "leftColumn": 0, + "rightColumn": 64, + "topRow": 0, + "bottomRow": 553.9999999999999, + "mobileLeftColumn": 0, + "mobileRightColumn": 64, + "mobileTopRow": 0, + "mobileBottomRow": 100, + "parentId": "wmmii56mpq", + "dynamicBindingPathList": [] + } + ], + "version": 1, + "flexVerticalAlignment": "start", + "responsiveBehavior": "fill", + "minWidth": 450, + "minDynamicHeight": 10, + "maxDynamicHeight": 9000, + "dynamicHeight": "AUTO_HEIGHT", + "shouldScrollContents": true, + "searchTags": [ + "div", + "parent", + "group" + ], + "type": "CONTAINER_WIDGET", + "hideCard": false, + "isDeprecated": false, + "displayName": "Container", + "key": "3pyozfc6co", + "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg", + "isCanvas": true, + "alignment": "start", + "widgetId": "wmmii56mpq", + "renderMode": "CANVAS", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "isLoading": false, + "parentColumnSpace": 10.59375, + "parentRowSpace": 10, + "leftColumn": 0, + "rightColumn": 64, + "topRow": 41.2, + "bottomRow": 96.6, + "mobileLeftColumn": 0, + "mobileRightColumn": 64, + "mobileTopRow": 42, + "mobileBottomRow": 52, + "parentId": "0", + "dynamicBindingPathList": [ + { + "key": "borderRadius" + }, + { + "key": "boxShadow" + } + ], + "originalTopRow": 41.2, + "originalBottomRow": 51.20000000000073 + } + ], + "positioning": "vertical", + "flexLayers": [ + { + "children": [ + { + "id": "kiy5w4zqjk", + "align": "start" + } + ] + }, + { + "children": [ + { + "id": "wmmii56mpq", + "align": "start" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/app/client/cypress/integration/Regression_TestSuite/Application/CommunityIssues_Spec.ts b/app/client/cypress/integration/Regression_TestSuite/Application/CommunityIssues_Spec.ts index 8add178358..d90ed0bfba 100644 --- a/app/client/cypress/integration/Regression_TestSuite/Application/CommunityIssues_Spec.ts +++ b/app/client/cypress/integration/Regression_TestSuite/Application/CommunityIssues_Spec.ts @@ -39,7 +39,7 @@ describe("AForce - Community Issues page validations", function () { homePage.AssertImportToast(); } //Validate table is not empty! - table.WaitUntilTableLoad(); + table.WaitUntilTableLoad(0, 0, "v2"); }); //Validating order of header columns! @@ -74,7 +74,7 @@ describe("AForce - Community Issues page validations", function () { }); deployMode.DeployApp(); - table.WaitUntilTableLoad(); + table.WaitUntilTableLoad(0, 0, "v2"); //Verify hidden columns are infact hidden in deployed app! table.AssertTableHeaderOrder( @@ -83,38 +83,38 @@ describe("AForce - Community Issues page validations", function () { table.AssertSelectedRow(selectedRow); //Assert default selected row - table.AssertPageNumber(1); - table.NavigateToNextPage(); //page 2 + table.AssertPageNumber(1, "On", "v2"); + table.NavigateToNextPage(true, "v2"); //page 2 agHelper.Sleep(3000); //wait for table navigation to take effect! - table.WaitUntilTableLoad(); + table.WaitUntilTableLoad(0, 0, "v2"); table.AssertSelectedRow(selectedRow); - table.NavigateToNextPage(); //page 3 + table.NavigateToNextPage(true, "v2"); //page 3 agHelper.Sleep(3000); //wait for table navigation to take effect! - table.WaitForTableEmpty(); //page 3 - table.NavigateToPreviousPage(); //page 2 + table.WaitForTableEmpty("v2"); //page 3 + table.NavigateToPreviousPage(true, "v2"); //page 2 agHelper.Sleep(3000); //wait for table navigation to take effect! - table.WaitUntilTableLoad(); + table.WaitUntilTableLoad(0, 0, "v2"); table.AssertSelectedRow(selectedRow); - table.NavigateToPreviousPage(); //page 1 + table.NavigateToPreviousPage(true, "v2"); //page 1 agHelper.Sleep(3000); //wait for table navigation to take effect! - table.WaitUntilTableLoad(); + table.WaitUntilTableLoad(0, 0, "v2"); table.AssertSelectedRow(selectedRow); - table.AssertPageNumber(1); + table.AssertPageNumber(1, "On", "v2"); }); it("3. Validate table navigation with Server Side pagination disabled with Default selected row selection", () => { deployMode.NavigateBacktoEditor(); - table.WaitUntilTableLoad(); + table.WaitUntilTableLoad(0, 0, "v2"); ee.SelectEntityByName("Table1", "Widgets"); propPane.ToggleOnOrOff("serversidepagination", "Off"); deployMode.DeployApp(); - table.WaitUntilTableLoad(); - table.AssertPageNumber(1, "Off"); + table.WaitUntilTableLoad(0, 0, "v2"); + table.AssertPageNumber(1, "Off", "v2"); table.AssertSelectedRow(selectedRow); deployMode.NavigateBacktoEditor(); - table.WaitUntilTableLoad(); + table.WaitUntilTableLoad(0, 0, "v2"); ee.SelectEntityByName("Table1", "Widgets"); propPane.ToggleOnOrOff("serversidepagination", "On"); }); @@ -122,14 +122,14 @@ describe("AForce - Community Issues page validations", function () { it("4. Change Default selected row in table and verify", () => { propPane.UpdatePropertyFieldValue("Default Selected Row", "1"); deployMode.DeployApp(); - table.WaitUntilTableLoad(); - table.AssertPageNumber(1); + table.WaitUntilTableLoad(0, 0, "v2"); + table.AssertPageNumber(1, "On", "v2"); table.AssertSelectedRow(1); - table.NavigateToNextPage(); //page 2 - table.AssertPageNumber(2); + table.NavigateToNextPage(true, "v2"); //page 2 + table.AssertPageNumber(2, "On", "v2"); table.AssertSelectedRow(1); deployMode.NavigateBacktoEditor(); - table.WaitUntilTableLoad(); + table.WaitUntilTableLoad(0, 0, "v2"); }); it.skip("5. Verify Default search text in table as per 'Default Search Text' property set + Bug 12228", () => { @@ -138,8 +138,8 @@ describe("AForce - Community Issues page validations", function () { propPane.TypeTextIntoField("Default Search Text", "Bug"); deployMode.DeployApp(); table.AssertSearchText("Bug"); - table.WaitUntilTableLoad(); - table.WaitUntilTableLoad(); + table.WaitUntilTableLoad(0, 0, "v2"); + table.WaitUntilTableLoad(0, 0, "v2"); deployMode.NavigateBacktoEditor(); ee.SelectEntityByName("Table1", "Widgets"); @@ -148,22 +148,22 @@ describe("AForce - Community Issues page validations", function () { deployMode.DeployApp(); table.AssertSearchText("Question"); - table.WaitUntilTableLoad(); + table.WaitUntilTableLoad(0, 0, "v2"); deployMode.NavigateBacktoEditor(); - table.WaitUntilTableLoad(); + table.WaitUntilTableLoad(0, 0, "v2"); ee.SelectEntityByName("Table1", "Widgets"); //propPane.EnterJSContext("Default Search Text", "Epic", false); propPane.TypeTextIntoField("Default Search Text", "Epic"); //Bug 12228 - Searching based on hidden column value should not be allowed deployMode.DeployApp(); table.AssertSearchText("Epic"); - table.WaitForTableEmpty(); + table.WaitForTableEmpty("v2"); deployMode.NavigateBacktoEditor(); - table.WaitUntilTableLoad(); + table.WaitUntilTableLoad(0, 0, "v2"); ee.SelectEntityByName("Table1", "Widgets"); propPane.RemoveText("defaultsearchtext"); - table.WaitUntilTableLoad(); + table.WaitUntilTableLoad(0, 0, "v2"); }); it.skip("6. Validate Search table with Client Side Search enabled & disabled", () => { @@ -171,35 +171,35 @@ describe("AForce - Community Issues page validations", function () { agHelper.AssertExistingToggleState("enableclientsidesearch", "checked"); deployMode.DeployApp(); - table.WaitUntilTableLoad(); + table.WaitUntilTableLoad(0, 0, "v2"); table.SearchTable("Bug"); - table.WaitUntilTableLoad(); + table.WaitUntilTableLoad(0, 0, "v2"); cy.xpath(table._searchBoxCross).click(); table.SearchTable("Question"); - table.WaitUntilTableLoad(); + table.WaitUntilTableLoad(0, 0, "v2"); cy.xpath(table._searchBoxCross).click(); deployMode.NavigateBacktoEditor(); - table.WaitUntilTableLoad(); + table.WaitUntilTableLoad(0, 0, "v2"); ee.SelectEntityByName("Table1", "Widgets"); propPane.ToggleOnOrOff("enableclientsidesearch", "Off"); deployMode.DeployApp(); - table.WaitUntilTableLoad(); + table.WaitUntilTableLoad(0, 0, "v2"); table.SearchTable("Bug"); - table.WaitForTableEmpty(); + table.WaitForTableEmpty("v2"); cy.xpath(table._searchBoxCross).click(); table.SearchTable("Question"); - table.WaitForTableEmpty(); + table.WaitForTableEmpty("v2"); cy.xpath(table._searchBoxCross).click(); deployMode.NavigateBacktoEditor(); - table.WaitUntilTableLoad(); + table.WaitUntilTableLoad(0, 0, "v2"); ee.SelectEntityByName("Table1", "Widgets"); propPane.ToggleOnOrOff("enableclientsidesearch", "On"); }); @@ -207,32 +207,32 @@ describe("AForce - Community Issues page validations", function () { it("7. Validate Filter table", () => { let filterTitle = new Array(); deployMode.DeployApp(); - table.WaitUntilTableLoad(); + table.WaitUntilTableLoad(0, 0, "v2"); //One filter table.OpenNFilterTable("Type", "is exactly", "Bug"); for (let i = 0; i < 3; i++) { - table.ReadTableRowColumnData(i, 0).then(($cellData) => { + table.ReadTableRowColumnData(i, 0, "v2").then(($cellData) => { expect($cellData).to.eq("Bug"); }); } - table.RemoveFilterNVerify("Question", true, false); + table.RemoveFilterNVerify("Question", true, false, 0, "v2"); //Two filters - OR table.OpenNFilterTable("Type", "starts with", "Trouble"); for (let i = 0; i < 5; i++) { - table.ReadTableRowColumnData(i, 0).then(($cellData) => { + table.ReadTableRowColumnData(i, 0, "v2").then(($cellData) => { expect($cellData).to.eq("Troubleshooting"); }); } table.OpenNFilterTable("Title", "contains", "query", "OR", 1); - table.ReadTableRowColumnData(1, 0).then(($cellData) => { + table.ReadTableRowColumnData(1, 0, "v2").then(($cellData) => { expect($cellData).to.be.oneOf(["Troubleshooting", "Question"]); }); for (let i = 0; i < 8; i++) { - table.ReadTableRowColumnData(i, 1, "v1", 100).then(($cellData) => { + table.ReadTableRowColumnData(i, 1, "v2", 100).then(($cellData) => { if ($cellData.toLowerCase().includes("query")) filterTitle.push($cellData); }); @@ -240,26 +240,26 @@ describe("AForce - Community Issues page validations", function () { cy.wrap(filterTitle).as("filterTitleText"); // alias it for later cy.get("@filterTitleText").its("length").should("eq", 2); - table.RemoveFilterNVerify("Question", true, false); + table.RemoveFilterNVerify("Question", true, false, 0, "v2"); //Two filters - AND table.OpenNFilterTable("Votes", "greater than", "2"); - table.ReadTableRowColumnData(0, 1, "v1", 3000).then(($cellData) => { + table.ReadTableRowColumnData(0, 1, "v2", 3000).then(($cellData) => { expect($cellData).to.eq("Combine queries from different datasources"); }); table.OpenNFilterTable("Title", "contains", "button", "AND", 1); - table.ReadTableRowColumnData(0, 1, "v1", 3000).then(($cellData) => { + table.ReadTableRowColumnData(0, 1, "v2", 3000).then(($cellData) => { expect($cellData).to.eq( "Change the video in the video player with a button click", ); }); - table.RemoveFilterNVerify("Question", true, false); + table.RemoveFilterNVerify("Question", true, false, 0, "v2"); }); it("8. Validate Adding a New issue from Add Modal", () => { // agHelper.DeployApp() - // table.WaitUntilTableLoad() + // table.WaitUntilTableLoad(0,0,"v2") cy.get(table._addIcon).closest("div").click(); agHelper.AssertElementVisible(locator._modal); @@ -292,13 +292,13 @@ describe("AForce - Community Issues page validations", function () { agHelper.AssertElementAbsence(locator._toastMsg); //Making sure internal api doesnt throw error agHelper.Sleep(3000); table.SearchTable("Suggestion", 2); - table.WaitUntilTableLoad(); + table.WaitUntilTableLoad(0, 0, "v2"); - table.ReadTableRowColumnData(0, 0, "v1", 4000).then((cellData) => { + table.ReadTableRowColumnData(0, 0, "v2", 4000).then((cellData) => { expect(cellData).to.be.equal("Suggestion"); }); - table.ReadTableRowColumnData(0, 1).then((cellData) => { + table.ReadTableRowColumnData(0, 1, "v2").then((cellData) => { expect(cellData).to.be.equal("Adding Title Suggestion via script"); }); }); @@ -306,7 +306,7 @@ describe("AForce - Community Issues page validations", function () { it("9. Validate Updating issue from Details tab & Verify multiselect widget selected values", () => { agHelper.AssertElementAbsence(locator._widgetInDeployed("tabswidget")); agHelper.Sleep(2000); - table.SelectTableRow(0, 1); + table.SelectTableRow(0, 1, true, "v2"); agHelper.AssertElementVisible(locator._widgetInDeployed("tabswidget")); agHelper .GetNClick(locator._inputWidgetv1InDeployed, 0, true, 0) @@ -355,11 +355,11 @@ describe("AForce - Community Issues page validations", function () { ); agHelper.ClickButton("Save"); agHelper.Sleep(2000); - table.ReadTableRowColumnData(0, 0, "v1", 2000).then((cellData) => { + table.ReadTableRowColumnData(0, 0, "v2", 2000).then((cellData) => { expect(cellData).to.be.equal("Troubleshooting"); }); - table.ReadTableRowColumnData(0, 1).then((cellData) => { + table.ReadTableRowColumnData(0, 1, "v2").then((cellData) => { expect(cellData).to.be.equal( "Adding Title Suggestion via script-updating title", ); @@ -370,19 +370,19 @@ describe("AForce - Community Issues page validations", function () { it("10. Validate Deleting the newly created issue", () => { agHelper.AssertElementAbsence(locator._widgetInDeployed("tabswidget")); - table.SelectTableRow(0); + table.SelectTableRow(0, 0, true, "v2"); agHelper.AssertElementVisible(locator._widgetInDeployed("tabswidget")); agHelper.Sleep(); cy.get(table._trashIcon).closest("div").click({ force: true }); agHelper.WaitUntilEleDisappear(locator._widgetInDeployed("tabswidget")); agHelper.AssertElementAbsence(locator._widgetInDeployed("tabswidget")); - table.WaitForTableEmpty(); + table.WaitForTableEmpty("v2"); //2nd search is not working, hence commenting below // cy.xpath(table._searchBoxCross).click() // table.SearchTable('Troubleshooting') - // table.WaitUntilTableLoad() - // table.ReadTableRowColumnData(0, 1).then((cellData) => { + // table.WaitUntilTableLoad(0,0,"v2") + // table.ReadTableRowColumnData(0, 1, "v2").then((cellData) => { // expect(cellData).not.to.be.equal("Adding Title Suggestion via script-updating title"); // }); }); diff --git a/app/client/cypress/integration/Regression_TestSuite/Application/ImportExportForkApplication_spec.js b/app/client/cypress/integration/Regression_TestSuite/Application/ImportExportForkApplication_spec.js index b1de318c84..4ec6cdc35b 100644 --- a/app/client/cypress/integration/Regression_TestSuite/Application/ImportExportForkApplication_spec.js +++ b/app/client/cypress/integration/Regression_TestSuite/Application/ImportExportForkApplication_spec.js @@ -86,10 +86,10 @@ describe("Import, Export and Fork application and validate data binding", functi const url = anchor.prop("href"); cy.request(url).then(({ body, headers }) => { expect(headers).to.have.property("content-type", "application/json"); - expect(headers).to.have.property( - "content-disposition", - `attachment; filename*=UTF-8''${appName}.json`, - ); + expect(headers) + .to.have.property("content-disposition") + .that.includes("attachment;") + .and.includes(`filename*=UTF-8''${appName}.json`); cy.writeFile("cypress/fixtures/exportedApp.json", body, "utf-8"); cy.generateUUID().then((uid) => { workspaceId = uid; diff --git a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Autocomplete/Autocomplete_JS_spec.ts b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Autocomplete/Autocomplete_JS_spec.ts index 2a37575e78..afc0b26296 100644 --- a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Autocomplete/Autocomplete_JS_spec.ts +++ b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Autocomplete/Autocomplete_JS_spec.ts @@ -338,9 +338,9 @@ describe("Autocomplete tests", () => { // Same check in JSObject1 _.entityExplorer.SelectEntityByName("JSObject1", "Queries/JS"); - _.agHelper.Sleep(); _.agHelper.GetNClick(_.jsEditor._lineinJsEditor(5)); _.agHelper.TypeText(_.locators._codeMirrorTextArea, "JSObject2"); + _.agHelper.Sleep(); _.agHelper.TypeText(_.locators._codeMirrorTextArea, "."); _.agHelper.GetNAssertElementText( diff --git a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Autocomplete/Autocomplete_Spec.ts b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Autocomplete/Autocomplete_Spec.ts index 6d8de52fac..f1e632bab2 100644 --- a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Autocomplete/Autocomplete_Spec.ts +++ b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Autocomplete/Autocomplete_Spec.ts @@ -4,6 +4,7 @@ const { AggregateHelper: agHelper, CommonLocators: locator, EntityExplorer: ee, + JSEditor: jsEditor, LibraryInstaller: installer, PropertyPane: propPane, } = ObjectsRegistry; @@ -109,4 +110,47 @@ describe("Autocomplete bug fixes", function () { propPane.TypeTextIntoField("Text", "{{UUID."); agHelper.AssertElementAbsence(locator._hints); }); + + it("9. Bug #20449 Cursor should be between parenthesis when function is autocompleted (Property Pane)", function () { + ee.SelectEntityByName("Text1"); + propPane.TypeTextIntoField("Text", "{{console.l"); + + agHelper.GetNClickByContains(locator._hints, "log"); + + propPane.TypeTextIntoField("Text", '"hello"', false); + + // If the cursor was not between parenthesis, the following command will fail + propPane.ValidatePropertyFieldValue("Text", '{{console.log("hello")}}'); + }); + + it("10. Bug #20449 Cursor should be between parenthesis when function is autocompleted (JS Object)", function () { + jsEditor.CreateJSObject( + `export default { + myFun1: () => { + + }, + }`, + { + paste: true, + completeReplace: true, + toRun: false, + shouldCreateNewJSObj: true, + prettify: false, + }, + ); + + agHelper.GetNClick(jsEditor._lineinJsEditor(3)); + + agHelper.TypeText(locator._codeMirrorTextArea, "console.l"); + + agHelper.GetNClickByContains(locator._hints, "log"); + + agHelper.TypeText(locator._codeMirrorTextArea, "'hello'"); + + // If the cursor was not between parenthesis, the following command will fail + agHelper.GetNAssertContains( + jsEditor._lineinJsEditor(3), + "console.log('hello')", + ); + }); }); diff --git a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Autocomplete/PropertyPaneSuggestion_spec.ts b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Autocomplete/PropertyPaneSuggestion_spec.ts index 1ffec63859..d035a5013f 100644 --- a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Autocomplete/PropertyPaneSuggestion_spec.ts +++ b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Autocomplete/PropertyPaneSuggestion_spec.ts @@ -49,4 +49,15 @@ describe("Property Pane Suggestions", () => { 1, ); }); + + it("3. Should add Autocomplete Suggestions on Tab press", () => { + EntityExplorer.SelectEntityByName("Button1", "Widgets"); + PropertyPane.TypeTextIntoField("Label", "{{"); + AggregateHelper.GetNAssertElementText(CommonLocators._hints, "appsmith"); + // eslint-disable-next-line @typescript-eslint/ban-ts-comment + // @ts-ignore + cy.get("body").tab(); + + PropertyPane.ValidatePropertyFieldValue("Label", "{{appsmith}}"); + }); }); diff --git a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/BugTests/Bug21734_Spec.ts b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/BugTests/Bug21734_Spec.ts new file mode 100644 index 0000000000..70f04f9b8f --- /dev/null +++ b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/BugTests/Bug21734_Spec.ts @@ -0,0 +1,43 @@ +import { ObjectsRegistry } from "../../../../support/Objects/Registry"; + +const dataSources = ObjectsRegistry.DataSources, + agHelper = ObjectsRegistry.AggregateHelper, + ee = ObjectsRegistry.EntityExplorer; + +describe("Bug 21734: On exiting from the Datasources page without saving changes, an error is thrown and the app becomes unresponsive.", function () { + it("1. Navigating from intermediary datasource to new page", function () { + dataSources.NavigateToDSCreateNew(); + dataSources.CreatePlugIn("Google Sheets"); + + ee.AddNewPage(); + + agHelper.AssertContains( + "DON'T SAVE", + "exist", + dataSources._datasourceModalDoNotSave, + ); + cy.get(dataSources._datasourceModalDoNotSave).click(); + + ee.SelectEntityByName("Page1"); + agHelper.ValidateURL("page1"); + + ee.SelectEntityByName("Page2"); + agHelper.ValidateURL("page2"); + }); + it("2. Navigating from intermediary datasource to an existing page", function () { + dataSources.NavigateToDSCreateNew(); + dataSources.CreatePlugIn("PostgreSQL"); + + ee.SelectEntityByName("Page1"); + agHelper.AssertContains( + "DON'T SAVE", + "exist", + dataSources._datasourceModalDoNotSave, + ); + cy.get(dataSources._datasourceModalDoNotSave).click(); + agHelper.ValidateURL("page1"); + + ee.SelectEntityByName("Page2"); + agHelper.ValidateURL("page2"); + }); +}); diff --git a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Google/EnableGoogle_spec.js b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Google/EnableGoogle_spec.js index 55ab638668..e05292575f 100644 --- a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Google/EnableGoogle_spec.js +++ b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Google/EnableGoogle_spec.js @@ -46,7 +46,12 @@ describe("SSO with Google test functionality", function () { // assert server is restarting cy.get(adminSettings.restartNotice).should("be.visible"); // adding wait for server to restart - cy.wait(120000); + cy.waitUntil(() => + cy + .contains("Google Authentication", { timeout: 180000 }) + .should("be.visible"), + ); + cy.wait(1000); cy.waitUntil(() => cy.get(homePage.profileMenu).should("be.visible")); cy.get(homePage.profileMenu).click(); cy.get(homePage.signOutIcon).click(); @@ -83,7 +88,12 @@ describe("SSO with Google test functionality", function () { // assert server is restarting cy.get(adminSettings.restartNotice).should("be.visible"); // adding wait for server to restart - cy.wait(120000); + cy.waitUntil(() => + cy + .contains("Google Authentication", { timeout: 180000 }) + .should("be.visible"), + ); + cy.wait(1000); cy.waitUntil(() => cy.get(homePage.profileMenu).should("be.visible")); cy.get(homePage.profileMenu).click(); cy.get(homePage.signOutIcon).click(); diff --git a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/MobileResponsiveTests/AutoFillWidgets_Basic_2_test.js b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/MobileResponsiveTests/AutoFillWidgets_Basic_2_test.js new file mode 100644 index 0000000000..e81cfd347b --- /dev/null +++ b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/MobileResponsiveTests/AutoFillWidgets_Basic_2_test.js @@ -0,0 +1,105 @@ +const commonlocators = require("../../../../locators/commonlocators.json"); +let widgets = [ + "codescannerwidget", + "listwidgetv2", + "tablewidgetv2", + "tabswidget", +]; +let height = { + codescannerwidget: 0, + listwidgetv2: 0, + tablewidgetv2: 0, + tabswidget: 0, +}; +let width = { + codescannerwidget: 0, + listwidgetv2: 0, + tablewidgetv2: 0, + tabswidget: 0, +}; + +describe("Validating Mobile Views for Auto Fill Widgets", function () { + it("To capture the height and width of various autofill / Hug widgets in webview", function () { + cy.get(commonlocators.autoConvert).click({ + force: true, + }); + cy.get(commonlocators.convert).click({ + force: true, + }); + cy.get(commonlocators.refreshApp).click({ + force: true, + }); + cy.wait(2000); + cy.dragAndDropToCanvas("codescannerwidget", { x: 100, y: 200 }); + cy.dragAndDropToCanvas("listwidgetv2", { x: 620, y: 820 }); + cy.dragAndDropToCanvas("tablewidgetv2", { x: 620, y: 820 }); + cy.dragAndDropToCanvas("tabswidget", { x: 770, y: 770 }); + cy.wait(2000); + cy.PublishtheApp(); + cy.wait(2000); + for (let i = 0; i < widgets.length; i++) { + cy.get(".t--widget-".concat(widgets[i])) + .invoke("css", "height") + .then((newheight) => { + height[widgets[i]] = newheight; + cy.log(height[widgets[i]]); + }); + cy.get(".t--widget-".concat(widgets[i])) + .invoke("css", "width") + .then((newwidth) => { + width[widgets[i]] = newwidth; + cy.log(width[widgets[i]]); + }); + } + }); + + let phones = [ + [390, 844], + [360, 780], + ]; + phones.forEach((phone) => { + it(`${phone} port execution For Auto Fill Widgets`, function () { + if (Cypress._.isArray(phone)) { + cy.viewport(phone[0], phone[1]); + } else { + cy.viewport(phone); + } + cy.wait(2000); + cy.get(".t--widget-codescannerwidget") + .invoke("css", "height") + .then((newheight) => { + expect(height[widgets[0]]).to.equal(newheight); + }); + cy.get(".t--widget-codescannerwidget") + .invoke("css", "width") + .then((newwidth) => { + expect(width[widgets[0]]).to.not.equal(newwidth); + }); + cy.get(".t--widget-listwidgetv2") + .invoke("css", "height") + .then((newheight) => { + expect(height[widgets[1]]).to.equal(newheight); + }); + cy.get(".t--widget-listwidgetv2") + .invoke("css", "width") + .then((newwidth) => { + expect(width[widgets[1]]).to.not.equal(newwidth); + }); + cy.get(".t--widget-tablewidgetv2") + .invoke("css", "height") + .then((newheight) => { + expect(height[widgets[2]]).to.equal(newheight); + }); + cy.get(".t--widget-tablewidgetv2") + .invoke("css", "width") + .then((newwidth) => { + expect(width[widgets[2]]).to.not.equal(newwidth); + }); + cy.get(".t--widget-tabswidget") + .invoke("css", "width") + .then((newwidth) => { + expect(width[widgets[3]]).to.not.equal(newwidth); + }); + }); + }); +}); diff --git a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/MobileResponsiveTests/AutoFillWidgets_Basic_test.js b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/MobileResponsiveTests/AutoFillWidgets_Basic_test.js new file mode 100644 index 0000000000..9e9512553c --- /dev/null +++ b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/MobileResponsiveTests/AutoFillWidgets_Basic_test.js @@ -0,0 +1,189 @@ +const commonlocators = require("../../../../locators/commonlocators.json"); +let widgets = [ + "switchwidget", + "currencyinputwidget", + "audiowidget", + "checkboxwidget", + "selectwidget", + "radiogroupwidget", + "datepickerwidget2", + "phoneinputwidget", + "categorysliderwidget", +]; +let height = { + switchwidget: 0, + currencyinputwidget: 0, + audiowidget: 0, + checkboxwidget: 0, + selectwidget: 0, + radiogroupwidget: 0, + datepickerwidget2: 0, + phoneinputwidget: 0, + categorysliderwidget: 0, +}; +let width = { + switchwidget: 0, + currencyinputwidget: 0, + audiowidget: 0, + checkboxwidget: 0, + selectwidget: 0, + radiogroupwidget: 0, + datepickerwidget2: 0, + phoneinputwidget: 0, + categorysliderwidget: 0, +}; + +describe("Validating Mobile Views for Auto Fill Widgets", function () { + it("To capture the height and width of various autofill / Hug widgets in webview", function () { + cy.get(commonlocators.autoConvert).click({ + force: true, + }); + cy.get(commonlocators.convert).click({ + force: true, + }); + cy.get(commonlocators.refreshApp).click({ + force: true, + }); + cy.wait(2000); + cy.dragAndDropToCanvas("switchwidget", { x: 100, y: 200 }); + cy.dragAndDropToCanvas("currencyinputwidget", { x: 110, y: 210 }); + cy.dragAndDropToCanvas("audiowidget", { x: 250, y: 300 }); + cy.dragAndDropToCanvas("selectwidget", { x: 560, y: 560 }); + cy.dragAndDropToCanvas("checkboxwidget", { x: 770, y: 770 }); + cy.dragAndDropToCanvas("radiogroupwidget", { x: 770, y: 770 }); + cy.dragAndDropToCanvas("datepickerwidget2", { x: 770, y: 970 }); + cy.dragAndDropToCanvas("phoneinputwidget", { x: 660, y: 810 }); + cy.dragAndDropToCanvas("categorysliderwidget", { x: 620, y: 810 }); + cy.wait(5000); //for dsl to settle + cy.PublishtheApp(); + cy.wait(2000); + for (let i = 0; i < widgets.length; i++) { + cy.get(".t--widget-".concat(widgets[i])) + .invoke("css", "height") + .then((newheight) => { + height[widgets[i]] = newheight; + cy.log(height[widgets[i]]); + }); + cy.get(".t--widget-".concat(widgets[i])) + .invoke("css", "width") + .then((newwidth) => { + width[widgets[i]] = newwidth; + cy.log(width[widgets[i]]); + }); + } + }); + + let phones = [ + [390, 844], + [360, 780], + ]; + phones.forEach((phone) => { + it(`${phone} port execution For Auto Fill Widgets`, function () { + if (Cypress._.isArray(phone)) { + cy.viewport(phone[0], phone[1]); + } else { + cy.viewport(phone); + } + cy.wait(2000); + cy.get(".t--widget-switchwidget") + .invoke("css", "height") + .then((newheight) => { + expect(height[widgets[0]]).to.equal(newheight); + }); + cy.get(".t--widget-switchwidget") + .invoke("css", "width") + .then((newwidth) => { + expect(width[widgets[0]]).to.not.equal(newwidth); + }); + cy.get(".t--widget-currencyinputwidget") + .invoke("css", "height") + .then((newheight) => { + expect(height[widgets[1]]).to.equal(newheight); + }); + cy.get(".t--widget-currencyinputwidget") + .invoke("css", "width") + .then((newwidth) => { + expect(width[widgets[1]]).to.not.equal(newwidth); + }); + cy.get(".t--widget-audiowidget") + .invoke("css", "height") + .then((newheight) => { + expect(height[widgets[2]]).to.equal(newheight); + }); + cy.get(".t--widget-audiowidget") + .invoke("css", "width") + .then((newwidth) => { + expect(width[widgets[2]]).to.not.equal(newwidth); + }); + cy.get(".t--widget-selectwidget") + .invoke("css", "height") + .then((newheight) => { + expect(parseFloat(height[widgets[3]])).to.not.equal( + parseFloat(newheight), + ); + }); + cy.get(".t--widget-selectwidget") + .invoke("css", "width") + .then((newwidth) => { + expect(parseFloat(width[widgets[3]])).to.not.equal( + parseFloat(newwidth), + ); + }); + cy.get(".t--widget-checkboxwidget") + .invoke("css", "width") + .then((newwidth) => { + expect(parseFloat(width[widgets[4]])).to.not.equal( + parseFloat(newwidth), + ); + }); + cy.get(".t--widget-radiogroupwidget") + .invoke("css", "height") + .then((newheight) => { + expect(parseFloat(height[widgets[5]])).to.equal( + parseFloat(newheight), + ); + }); + cy.get(".t--widget-radiogroupwidget") + .invoke("css", "width") + .then((newwidth) => { + expect(parseFloat(width[widgets[5]])).to.not.equal( + parseFloat(newwidth), + ); + }); + cy.get(".t--widget-datepickerwidget2") + .scrollIntoView() + .invoke("css", "width") + .then((newwidth) => { + expect(parseFloat(width[widgets[6]])).to.be.at.least( + parseFloat(newwidth), + ); + }); + cy.get(".t--widget-phoneinputwidget") + .invoke("css", "height") + .then((newheight) => { + expect(parseFloat(height[widgets[7]])).to.equal( + parseFloat(newheight), + ); + }); + cy.get(".t--widget-phoneinputwidget") + .invoke("css", "width") + .then((newwidth) => { + expect(parseFloat(width[widgets[7]])).to.not.equal( + parseFloat(newwidth), + ); + }); + cy.get(".t--widget-categorysliderwidget") + .invoke("css", "height") + .then((newheight) => { + expect(parseFloat(height[widgets[8]])).to.equal( + parseFloat(newheight), + ); + }); + cy.get(".t--widget-categorysliderwidget") + .invoke("css", "width") + .then((newwidth) => { + expect(width[widgets[8]]).to.not.equal(parseFloat(newwidth)); + }); + }); + }); +}); diff --git a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/MobileResponsiveTests/AutoScroll_Validation_spec.js b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/MobileResponsiveTests/AutoScroll_Validation_spec.js new file mode 100644 index 0000000000..16df6cc96f --- /dev/null +++ b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/MobileResponsiveTests/AutoScroll_Validation_spec.js @@ -0,0 +1,67 @@ +const commonlocators = require("../../../../locators/commonlocators.json"); +let theight; +let twidth; + +describe("Validating Mobile View related usecases for Autoscroll", function () { + it("Capture the height/width of autofill widgets in webview", function () { + cy.get(commonlocators.autoConvert).click({ + force: true, + }); + cy.get(commonlocators.convert).click({ + force: true, + }); + cy.get(commonlocators.refreshApp).click({ + force: true, + }); + cy.wait(2000); + cy.dragAndDropToCanvas("listwidgetv2", { x: 100, y: 200 }); + cy.dragAndDropToCanvas("containerwidget", { x: 620, y: 820 }); + for (let i = 0; i < 10; i++) { + cy.dragAndDropToCanvas("inputwidgetv2", { x: 450, y: 530 }); + } + cy.get(".t--widget-inputwidgetv2").first().should("be.visible"); + cy.PublishtheApp(); + cy.wait(2000); + cy.get(".t--widget-inputwidgetv2") + .invoke("css", "height") + .then((newheight) => { + theight = newheight; + }); + cy.get(".t--widget-inputwidgetv2") + .invoke("css", "width") + .then((newwidth) => { + twidth = newwidth; + }); + }); + + let phones = [ + [390, 844], + [360, 780], + ]; + phones.forEach((phone) => { + it(`${phone} port execution for autoscroll`, function () { + if (Cypress._.isArray(phone)) { + cy.viewport(phone[0], phone[1]); + } else { + cy.viewport(phone); + } + cy.wait(2000); + for (let i = 0; i < 10; i++) { + cy.get(".t--widget-inputwidgetv2") + .eq(i) + .scrollIntoView() + .invoke("css", "height") + .then((newheight) => { + expect(theight).to.equal(newheight); + }); + cy.get(".t--widget-inputwidgetv2") + .eq(i) + .scrollIntoView() + .invoke("css", "width") + .then((newwidth) => { + expect(twidth).to.not.equal(newwidth); + }); + } + }); + }); +}); diff --git a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/MobileResponsiveTests/FillwidgetResizingSpec.js b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/MobileResponsiveTests/FillwidgetResizingSpec.js index 1e55a7cae6..56f72b840e 100644 --- a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/MobileResponsiveTests/FillwidgetResizingSpec.js +++ b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/MobileResponsiveTests/FillwidgetResizingSpec.js @@ -1,37 +1,23 @@ -const dsl = require("../../../../fixtures/inputWidgetMobileDsl.json"); const commonlocators = require("../../../../locators/commonlocators.json"); -import { ObjectsRegistry } from "../../../../support/Objects/Registry"; -const agHelper = ObjectsRegistry.AggregateHelper; let theight; let twidth; -describe("Validating Mobile Views", function () { - afterEach(() => { - agHelper.SaveLocalStorageCache(); - }); - - beforeEach(() => { - agHelper.RestoreLocalStorageCache(); - }); - it("Validate change with height width for widgets", function () { - cy.wait(5000); +describe("Validating Mobile Views for Fill Widget", function () { + it("Validate change with height width for fill widget - Input widget", function () { cy.get(commonlocators.autoConvert).click({ force: true, }); - cy.wait(2000); cy.get(commonlocators.convert).click({ force: true, }); - cy.wait(2000); cy.get(commonlocators.refreshApp).click({ force: true, }); - cy.wait(2000); - cy.addDsl(dsl); - cy.wait(5000); //for dsl to settle - //cy.openPropertyPane("containerwidget"); + cy.dragAndDropToCanvas("inputwidgetv2", { x: 100, y: 200 }); + cy.dragAndDropToCanvas("inputwidgetv2", { x: 10, y: 20 }); cy.PublishtheApp(); - cy.wait(2000); + cy.get(".t--widget-inputwidgetv2").first().should("be.visible"); + cy.get(".t--widget-inputwidgetv2").last().should("be.visible"); cy.get(".t--widget-inputwidgetv2") .invoke("css", "height") .then((newheight) => { @@ -43,10 +29,10 @@ describe("Validating Mobile Views", function () { twidth = newwidth; }); }); - + //Added viewports of iphone14 and samsung galaxy s22 for testing purpose let phones = ["iphone-4", "samsung-s10", [390, 844], [360, 780]]; phones.forEach((phone) => { - it(`${phone} port execution`, function () { + it(`${phone} port execution for fill widget - input widget`, function () { if (Cypress._.isArray(phone)) { cy.viewport(phone[0], phone[1]); } else { diff --git a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/MobileResponsiveTests/HugWidgetValidationSpec.js b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/MobileResponsiveTests/HugWidgetValidationSpec.js index 09c8cd9214..932e8ada38 100644 --- a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/MobileResponsiveTests/HugWidgetValidationSpec.js +++ b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/MobileResponsiveTests/HugWidgetValidationSpec.js @@ -1,40 +1,23 @@ -const dsl = require("../../../../fixtures/ImageHugWidgetDsl.json"); const commonlocators = require("../../../../locators/commonlocators.json"); -import { ObjectsRegistry } from "../../../../support/Objects/Registry"; -const agHelper = ObjectsRegistry.AggregateHelper; - -describe("Validating Mobile Views", function () { - afterEach(() => { - agHelper.SaveLocalStorageCache(); - }); - - beforeEach(() => { - agHelper.RestoreLocalStorageCache(); - }); - it("Validate change with height width for widgets", function () { - cy.wait(5000); +describe("Validating Mobile Views for Hug Widget", function () { + it("Validate change with height width for hug widget - image widget", function () { cy.get(commonlocators.autoConvert).click({ force: true, }); - cy.wait(2000); cy.get(commonlocators.convert).click({ force: true, }); - cy.wait(2000); cy.get(commonlocators.refreshApp).click({ force: true, }); - cy.wait(2000); - cy.addDsl(dsl); - cy.wait(5000); //for dsl to settle + cy.dragAndDropToCanvas("imagewidget", { x: 300, y: 600 }); cy.PublishtheApp(); - cy.wait(2000); cy.get(".t--widget-imagewidget").first().should("be.visible"); }); //Added viewports of iphone14 and samsung galaxy s22 for testing purpose let phones = ["iphone-4", "samsung-s10", [390, 844], [360, 780]]; phones.forEach((phone) => { - it(`${phone} port execution`, function () { + it(`${phone} port execution for hug widget -image widget `, function () { if (Cypress._.isArray(phone)) { cy.viewport(phone[0], phone[1]); } else { diff --git a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Onboarding/FirstTimeUserOnboarding_spec.js b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Onboarding/FirstTimeUserOnboarding_spec.js index 03fee50dea..9ab498f75e 100644 --- a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Onboarding/FirstTimeUserOnboarding_spec.js +++ b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Onboarding/FirstTimeUserOnboarding_spec.js @@ -1,5 +1,5 @@ const OnboardingLocator = require("../../../../locators/FirstTimeUserOnboarding.json"); -const _ = require("lodash"); +import * as _ from "../../../../support/Objects/ObjectsCore"; describe("FirstTimeUserOnboarding", function () { beforeEach(() => { @@ -67,7 +67,7 @@ describe("FirstTimeUserOnboarding", function () { let open; cy.window().then((window) => { open = window.open; - window.open = _.noop; + window.open = Cypress._.noop; }); cy.get(OnboardingLocator.checklistDeployBtn).should("be.visible"); cy.get(OnboardingLocator.checklistDeployBtn).click(); @@ -162,4 +162,25 @@ describe("FirstTimeUserOnboarding", function () { cy.get(OnboardingLocator.statusbar).should("be.visible"); cy.get(OnboardingLocator.textWidgetName).should("be.visible"); }); + + it("7. onboarding flow - new apps created should start with signposting", function () { + cy.get(OnboardingLocator.introModalBuild).click(); + cy.get(OnboardingLocator.taskDatasourceBtn).should("be.visible"); + + _.homePage.NavigateToHome(); + _.homePage.CreateNewApplication(false); + + cy.get(OnboardingLocator.taskDatasourceBtn).should("be.visible"); + }); + + it("8. onboarding flow - once signposting is completed new apps won't start with signposting", function () { + _.onboarding.completeSignposting(); + + _.homePage.NavigateToHome(); + _.agHelper.RefreshPage(); + _.homePage.CreateNewApplication(false); + + _.agHelper.AssertElementExist(_.locators._dropHere); + _.agHelper.AssertElementAbsence(OnboardingLocator.statusbar); + }); }); diff --git a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/OtherUIFeatures/ExportApplication_spec.js b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/OtherUIFeatures/ExportApplication_spec.js index c4c3e31552..fcf3e9131c 100644 --- a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/OtherUIFeatures/ExportApplication_spec.js +++ b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/OtherUIFeatures/ExportApplication_spec.js @@ -32,10 +32,10 @@ describe("Export application as a JSON file", function () { const url = anchor.prop("href"); cy.request(url).then(({ headers }) => { expect(headers).to.have.property("content-type", "application/json"); - expect(headers).to.have.property( - "content-disposition", - `attachment; filename*=UTF-8''${appname}.json`, - ); + expect(headers) + .to.have.property("content-disposition") + .that.includes("attachment;") + .and.includes(`filename*=UTF-8''${appname}.json`); }); }); cy.LogOut(); diff --git a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/OtherUIFeatures/Logs_spec.ts b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/OtherUIFeatures/Logs_spec.ts index 1e78c0cb5d..f9e795edf7 100644 --- a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/OtherUIFeatures/Logs_spec.ts +++ b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/OtherUIFeatures/Logs_spec.ts @@ -236,7 +236,6 @@ describe("Debugger logs", function () { prettify: false, }, ); - agHelper.WaitUntilAllToastsDisappear(); // Edit JSObject and verify no logs are visible jsEditor.EditJSObj(`export default { @@ -285,7 +284,6 @@ describe("Debugger logs", function () { shouldCreateNewJSObj: true, }, ); - agHelper.WaitUntilAllToastsDisappear(); cy.get("@jsObjName").then((jsObjName) => { agHelper.Sleep(2000); @@ -330,7 +328,6 @@ describe("Debugger logs", function () { shouldCreateNewJSObj: true, }, ); - agHelper.WaitUntilAllToastsDisappear(); agHelper.GetNClick(jsEditor._runButton); agHelper.GetNClick(jsEditor._logsTab); debuggerHelper.DoesConsoleLogExist(`${logString} Started`); @@ -355,7 +352,6 @@ describe("Debugger logs", function () { shouldCreateNewJSObj: false, }, ); - agHelper.WaitUntilAllToastsDisappear(); agHelper.GetNClick(jsEditor._runButton); agHelper.GetNClick(jsEditor._logsTab); debuggerHelper.DoesConsoleLogExist(`Parent ${logString}`); @@ -383,7 +379,6 @@ describe("Debugger logs", function () { shouldCreateNewJSObj: true, }, ); - agHelper.WaitUntilAllToastsDisappear(); agHelper.GetNClick(jsEditor._runButton); agHelper.GetNClick(jsEditor._logsTab); debuggerHelper.DoesConsoleLogExist(`${logString}`); diff --git a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/OtherUIFeatures/Omnibar_spec.js b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/OtherUIFeatures/Omnibar_spec.js index 99c5576784..2747f7219a 100644 --- a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/OtherUIFeatures/Omnibar_spec.js +++ b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/OtherUIFeatures/Omnibar_spec.js @@ -13,12 +13,11 @@ describe("Omnibar functionality test cases", () => { cy.addDsl(dsl); }); - it("1. Bug #15104 The Data is not displayed in Omnibar after clicking on learn more link from property pane", function () { + it("1. Docs tab opens after clicking on learn more link from property pane", function () { cy.dragAndDropToCanvas("audiowidget", { x: 300, y: 500 }); - cy.xpath('//span[text()="Learn more"]').click(); - cy.get(locators._omnibarDescription).scrollTo("top"); - cy.get(omnibar.openDocumentationLink); - cy.get("body").click(0, 0); + ObjectsRegistry.AggregateHelper.AssertNewTabOpened(() => { + cy.xpath('//span[text()="Learn more"]').click(); + }); }); it("2.Verify omnibar is present across all pages and validate its fields", function () { diff --git a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Templates/ForkTemplateToGitConnectedApp.js b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Templates/ForkTemplateToGitConnectedApp.js index 96a7b22941..25bffe320d 100644 --- a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Templates/ForkTemplateToGitConnectedApp.js +++ b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Templates/ForkTemplateToGitConnectedApp.js @@ -38,6 +38,7 @@ describe("Fork a template to the current app", () => { .scrollIntoView() .wait(500) .click(); + cy.get(template.templateViewForkButton).first().click(); cy.waitUntil(() => cy.xpath("//span[text()='Setting up the template']"), { errorMsg: "Setting Templates did not finish even after 75 seconds", timeout: 950000, diff --git a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Templates/Fork_Template_Existing_app_spec.js b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Templates/Fork_Template_Existing_app_spec.js index b4ad1026ca..e534a5c0e5 100644 --- a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Templates/Fork_Template_Existing_app_spec.js +++ b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Templates/Fork_Template_Existing_app_spec.js @@ -73,4 +73,22 @@ describe("Fork a template to the current app from new page popover", () => { "template added successfully", ); }); + + it("Fork template button should take user to 'select pages from template' page", () => { + _.agHelper.RefreshPage(); + cy.AddPageFromTemplate(); + cy.get(_.templates.locators._forkApp).first().click(); + cy.get(template.templateViewForkButton).should("be.visible"); + }); + + it("Similar templates add icon should take user to 'select pages from template' page", () => { + _.agHelper.RefreshPage(); + cy.AddPageFromTemplate(); + // We are currentlyon on templates list page + cy.get(_.templates.locators._forkApp).first().click(); + // Here we are on template detail page, with similar templates at the bottom + cy.get(_.templates.locators._forkApp).first().click(); + + cy.get(template.templateViewForkButton).should("be.visible"); + }); }); diff --git a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/VisualTests/JSEditorIndent_spec.js b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/VisualTests/JSEditorIndent_spec.js index 51563e8224..e22683a3aa 100644 --- a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/VisualTests/JSEditorIndent_spec.js +++ b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/VisualTests/JSEditorIndent_spec.js @@ -224,7 +224,7 @@ myFun2: async () => { agHelper.GetNClick("[name='expand-more']", 0, true, 100); agHelper.ContainsNClick("myFun2"); cy.get("div.CodeMirror").matchImageSnapshot("jsObjAfterPrettify2"); - agHelper.AssertContains("ran successfully"); + agHelper.AssertContains("ran successfully", "not.exist"); }); it("3. TC 1863 : JSEditor validation for Prettify Code with lint errors, triggered by keyboard shortcut", () => { @@ -332,7 +332,7 @@ myFun2: async () => { agHelper.GetNClick("[name='expand-more']", 0, true, 100); agHelper.ContainsNClick("myFun2"); cy.get("div.CodeMirror").matchImageSnapshot("jsObjAfterPrettify4_1"); - agHelper.AssertContains("ran successfully"); + agHelper.AssertContains("ran successfully", "not.exist"); }); it("5. TC 1862 - JSEditor validation for goLineStartSmart with no errors, triggered by keyboard shortcut", () => { diff --git a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/Input/Inputv2_spec.js b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/Input/Inputv2_spec.js index 2dd21eff65..e93d4fabe3 100644 --- a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/Input/Inputv2_spec.js +++ b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/Input/Inputv2_spec.js @@ -256,6 +256,8 @@ describe("Input widget V2 - ", () => { expected: "test@appsmith.com:test@appsmith.com:true", }, ].forEach(({ expected, input }) => enterAndTest(input, expected)); + + validateAutocompleteAttribute(); }); it("6. Validate DataType - EMAIL can be entered into Input widget", () => { @@ -325,6 +327,8 @@ describe("Input widget V2 - ", () => { expected: "test@appsmith.com:test@appsmith.com:true", }, ].forEach(({ expected, input }) => enterAndTest(input, expected)); + + validateAutocompleteAttribute(); }); it("7. Validating other properties - Input validity with #valid", () => { @@ -441,4 +445,40 @@ describe("Input widget V2 - ", () => { } cy.get(".t--widget-textwidget").should("contain", expected); } + + function validateAutocompleteAttribute() { + //validate autocomplete behaviour for email and password + + cy.openPropertyPane("textwidget"); + cy.openPropertyPane(widgetName); + //check if autofill toggle option is present and is checked by default + cy.get(".t--property-control-allowautofill input").should("be.checked"); + //check if autocomplete attribute is not present in the text widget when autofill is enabled + cy.get(widgetInput).should("not.have.attr", "autocomplete"); + + //toggle off autofill + cy.get(".t--property-control-allowautofill input").click({ force: true }); + cy.get(".t--property-control-allowautofill input").should("not.be.checked"); + + //autocomplete should now be present in the text widget + cy.get(widgetInput).should("have.attr", "autocomplete", "off"); + + //select a non email or password option + cy.selectDropdownValue(".t--property-control-datatype", "text"); + //autofill toggle should not be present as this restores autofill to be enabled + cy.get(".t--property-control-allowautofill input").should("not.exist"); + //autocomplete attribute should not be present in the text widget + cy.get(widgetInput).should("not.have.attr", "autocomplete"); + } + + function enterAndTest(text, expected) { + cy.get(`.t--widget-${widgetName} input`).clear(); + cy.wait(300); + if (text) { + cy.get(`.t--widget-${widgetName} input`) + .click({ force: true }) + .type(text); + } + cy.get(".t--widget-textwidget").should("contain", expected); + } }); diff --git a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/JSONForm/JSONForm_FieldProperties_spec.js b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/JSONForm/JSONForm_FieldProperties_spec.js index a5db7575d1..8d3dd4c736 100644 --- a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/JSONForm/JSONForm_FieldProperties_spec.js +++ b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/JSONForm/JSONForm_FieldProperties_spec.js @@ -87,13 +87,14 @@ describe("Text Field Property Control", () => { cy.get(`${fieldPrefix}-name`).should("exist"); }); - it("8. disables field when disabled switched on", () => { + it("8. disables field when disabled switched on and when autofill is disabled we should see the autofill attribute in the input field", () => { cy.togglebar(`.t--property-control-disabled input`); cy.get(`${fieldPrefix}-name input`).each(($el) => { cy.wrap($el).should("have.attr", "disabled"); }); cy.togglebarDisable(`.t--property-control-disabled input`); + validateAutocompleteAttributeInJSONForm(); }); it("9. throws error when REGEX does not match the input value", () => { @@ -326,3 +327,31 @@ describe("Text Field Property Control", () => { cy.get(`${fieldPrefix}-radio`).should("exist"); }); }); + +function validateAutocompleteAttributeInJSONForm() { + //select password input fiel + cy.selectDropdownValue(commonlocators.jsonFormFieldType, "Password Input"); + + //check if autofill toggle option is present and is checked by default + cy.get(".t--property-control-allowautofill input").should("be.checked"); + //check if autocomplete attribute is not present in the text widget when autofill is enabled + cy.get(`${fieldPrefix}-name input`).should("not.have.attr", "autocomplete"); + + //toggle off autofill + cy.get(".t--property-control-allowautofill input").click({ force: true }); + cy.get(".t--property-control-allowautofill input").should("not.be.checked"); + + //autocomplete should now be present in the text widget + cy.get(`${fieldPrefix}-name input`).should( + "have.attr", + "autocomplete", + "off", + ); + + //select a non email or password option + cy.selectDropdownValue(commonlocators.jsonFormFieldType, /^Text Input/); + //autofill toggle should not be present as this restores autofill to be enabled + cy.get(".t--property-control-allowautofill input").should("not.exist"); + //autocomplete attribute should not be present in the text widget + cy.get(`${fieldPrefix}-name input`).should("not.have.attr", "autocomplete"); +} diff --git a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/ListV2/Listv2_EvaluatedPopup_spec.js b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/ListV2/Listv2_EvaluatedPopup_spec.js index c675c05d53..ae5eb1c2a8 100644 --- a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/ListV2/Listv2_EvaluatedPopup_spec.js +++ b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/ListV2/Listv2_EvaluatedPopup_spec.js @@ -4,6 +4,31 @@ describe("List widget v2 Evaluated Popup", () => { x: 300, y: 300, }); + [["{{null}}", "[]"]].forEach(([input, expected]) => { + cy.updateCodeInput(".t--property-control-items", input); + cy.wait(500); + cy.validateEvaluatedValue(expected); + }); + + cy.updateCodeInput( + ".t--property-control-items", + `{{[{ + id: "001", + name: "Blue", + img: "https://assets.appsmith.com/widgets/default.png", + }, + { + id: "002", + name: "Green", + img: "https://assets.appsmith.com/widgets/default.png", + }, + { + id: "003", + name: "Red", + img: "https://assets.appsmith.com/widgets/default.png", + }]}}`, + ); + cy.openPropertyPaneByWidgetName("Text1", "textwidget"); [ @@ -12,6 +37,15 @@ describe("List widget v2 Evaluated Popup", () => { ["{{currentItem.name}}_{{currentIndex}}", "Blue_0"], ["{{1000}}", "1000"], ['{{(() => "Text Widget")()}}', "Text Widget"], + ["NewLine\n{{currentItem.name}}", "NewLine\nBlue"], + [`\{{currentItem.name}}`, `\Blue`], + [ + `{{ + (function(){return true;}) + ()}} + `, + "true", + ], ].forEach(([input, expected]) => { cy.updateCodeInput(".t--property-control-text", input); cy.wait(500); diff --git a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/ListV2/Listv2_Meta_Hydration_ServerSide_spec.js b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/ListV2/Listv2_Meta_Hydration_ServerSide_spec.js index 95bb20573b..49fba26bfd 100644 --- a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/ListV2/Listv2_Meta_Hydration_ServerSide_spec.js +++ b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/ListV2/Listv2_Meta_Hydration_ServerSide_spec.js @@ -1,8 +1,7 @@ const dsl = require("../../../../../fixtures/Listv2/MetaHydrationDSL.json"); const commonlocators = require("../../../../../locators/commonlocators.json"); -const datasource = require("../../../../../locators/DatasourcesEditor.json"); -const queryLocators = require("../../../../../locators/QueryEditor.json"); const publishPage = require("../../../../../locators/publishWidgetspage.json"); +import * as _ from "../../../../../support/Objects/ObjectsCore"; import { ObjectsRegistry } from "../../../../../support/Objects/Registry"; @@ -74,25 +73,7 @@ function testJsontextClear(endp) { .type(`{${modifierKey}}{del}`, { force: true }); } -function verifyMultiDropdownValuesCount(count, page = 1) { - cy.get(".rc-select-selection-overflow").then(($ele) => { - if ( - $ele.find(".rc-select-selection-overflow-item .remove-icon").length == - count - ) { - cy.reload(); - if (page == 2) { - // Go to next page - cy.get(commonlocators.listPaginateNextButton).click({ - force: true, - }); - } - } - }); -} - -// Skipping this test due to regression, issue id to track this regression https://github.com/appsmithorg/appsmith/issues/22534 -describe.skip("List widget v2 - meta hydration tests", () => { +describe("List widget v2 - meta hydration tests", () => { before(() => { agHelper.AddDsl(dsl); }); @@ -105,51 +86,12 @@ describe.skip("List widget v2 - meta hydration tests", () => { }); it("1. setup serverside data", () => { - cy.wait(1000); - cy.NavigateToDatasourceEditor(); - - // // Click on sample(mock) user database. - // cy.get(datasource.mockUserDatabase).click(); - - // Choose the first data source which consists of users keyword & Click on the "New Query +"" button - // Choose the first data source which consists of users keyword & Click on the "New Query +"" button - cy.get(`${datasource.datasourceCard}`) - .filter(":contains('Users')") - .first() - .within(() => { - cy.get(`${datasource.createQuery}`).click({ force: true }); - }); - // Click the editing field - cy.get(".t--action-name-edit-field").click({ force: true }); - - // Click the editing field - cy.get(queryLocators.queryNameField).type("Query1"); - - // switching off Use Prepared Statement toggle - cy.get(queryLocators.switch).last().click({ force: true }); - - //.1: Click on Write query area - cy.get(queryLocators.templateMenu).click(); - cy.get(queryLocators.query).click({ - force: true, - }); - - // writing query to get the schema - cy.get(".CodeMirror textarea") - .first() - .focus() - .type( - "SELECT * FROM users OFFSET {{List1.pageNo * List1.pageSize}} LIMIT {{List1.pageSize}};", - { - force: true, - parseSpecialCharSequences: false, - }, - ); - cy.WaitAutoSave(); - - cy.runQuery(); - - cy.get('.t--entity-name:contains("Page1")').click({ force: true }); + cy.createAndFillApi( + "http://host.docker.internal:5001/v1/mock-api?records=20&page={{List1.pageNo}}&size={{List1.pageSize}}", + "", + ); + cy.RunAPI(); + cy.SearchEntityandOpen("List1"); cy.wait(1000); @@ -157,18 +99,17 @@ describe.skip("List widget v2 - meta hydration tests", () => { testJsontextClear("items"); - cy.testJsontext("items", "{{Query1.data}}"); + cy.testJsontext("items", "{{Api1.data}}"); cy.togglebar(commonlocators.serverSidePaginationCheckbox); cy.get(toggleJSButton("onpagechange")).click({ force: true }); - cy.testJsontext("onpagechange", "{{Query1.run()}}"); + cy.testJsontext("onpagechange", "{{Api1.run()}}"); cy.get(`${widgetSelector("List1")} ${containerWidgetSelector}`).should( "have.length", 3, ); - verifyMultiDropdownValuesCount(6); }); it("2. using server side data", () => { @@ -215,7 +156,6 @@ describe.skip("List widget v2 - meta hydration tests", () => { ); }); - verifyMultiDropdownValuesCount(6, 2); // SecondPage // First Row cy.get(`${widgetSelector("List1")}`).scrollIntoView(); @@ -251,15 +191,15 @@ describe.skip("List widget v2 - meta hydration tests", () => { .should("have.length", 3), ); - cy.get(`${widgetSelector("List1")} ${containerWidgetSelector}`) - .eq(0) - .within(() => { - cy.waitUntil(() => - cy - .get(".rc-select-selection-overflow-item .remove-icon") - .should("exist"), - ); - }); + cy.waitUntil(() => + cy + .get( + `${widgetSelector( + "List1", + )} ${containerWidgetSelector} .rc-select-selection-overflow-item .remove-icon`, + ) + .should("have.length", 3), + ); cy.waitUntil( () => @@ -311,15 +251,15 @@ describe.skip("List widget v2 - meta hydration tests", () => { .should("have.length", 3), ); - cy.get(`${widgetSelector("List1")} ${containerWidgetSelector}`) - .eq(0) - .within(() => { - cy.waitUntil(() => - cy - .get(".rc-select-selection-overflow-item .remove-icon") - .should("exist"), - ); - }); + cy.waitUntil(() => + cy + .get( + `${widgetSelector( + "List1", + )} ${containerWidgetSelector} .rc-select-selection-overflow-item .remove-icon`, + ) + .should("have.length", 3), + ); cy.waitUntil( () => @@ -436,15 +376,15 @@ describe.skip("List widget v2 - meta hydration tests", () => { .should("have.length", 3), ); - cy.get(`${widgetSelector("List1")} ${containerWidgetSelector}`) - .eq(0) - .within(() => { - cy.waitUntil(() => - cy - .get(".rc-select-selection-overflow-item .remove-icon") - .should("exist"), - ); - }); + cy.waitUntil(() => + cy + .get( + `${widgetSelector( + "List1", + )} ${containerWidgetSelector} .rc-select-selection-overflow-item .remove-icon`, + ) + .should("have.length", 3), + ); cy.waitUntil( () => @@ -496,15 +436,15 @@ describe.skip("List widget v2 - meta hydration tests", () => { .should("have.length", 3), ); - cy.get(`${widgetSelector("List1")} ${containerWidgetSelector}`) - .eq(0) - .within(() => { - cy.waitUntil(() => - cy - .get(".rc-select-selection-overflow-item .remove-icon") - .should("exist"), - ); - }); + cy.waitUntil(() => + cy + .get( + `${widgetSelector( + "List1", + )} ${containerWidgetSelector} .rc-select-selection-overflow-item .remove-icon`, + ) + .should("have.length", 3), + ); cy.waitUntil( () => diff --git a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/Multiselect/MultiSelect3_spec.js b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/Multiselect/MultiSelect3_spec.js index f0a48b3ea9..8e96a9ffb0 100644 --- a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/Multiselect/MultiSelect3_spec.js +++ b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/Multiselect/MultiSelect3_spec.js @@ -28,7 +28,7 @@ describe("Dropdown Widget Functionality", function () { .find(widgetLocators.menuButton) .invoke("outerWidth") .then((width) => { - expect(parseInt(width)).to.equal(146); + expect(parseInt(width)).to.equal(147); }); cy.get(formWidgetsPage.menuButtonWidget) .find(widgetLocators.menuButton) @@ -40,7 +40,7 @@ describe("Dropdown Widget Functionality", function () { cy.get(".menu-button-popover") .invoke("outerWidth") .then((width) => { - expect(parseInt(width)).to.equal(146); + expect(parseInt(width)).to.equal(147); }); // MultiSelect diff --git a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/Tab/Tab_spec.js b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/Tab/Tab_spec.js index 255fd1028c..0347cecd17 100644 --- a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/Tab/Tab_spec.js +++ b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/Tab/Tab_spec.js @@ -140,7 +140,12 @@ describe("Tab widget test", function () { cy.get(Layoutpage.tabWidget) .contains("Tab3-for-testing-scroll-navigation-controls") .should("have.class", "is-selected"); - cy.get(Layoutpage.tabDelete).eq(3).click({ force: true }); + cy.xpath( + Layoutpage.deleteTab.replace( + "tabName", + "Tab3-for-testing-scroll-navigation-controls", + ), + ).click({ force: true }); cy.get(Layoutpage.tabWidget) .contains("Tab 2") .should("have.class", "is-selected"); diff --git a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/TableV1/Table_tabledata_schema_spec.js b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/TableV1/Table_tabledata_schema_spec.js index f25c60c72e..0682f0b63e 100644 --- a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/TableV1/Table_tabledata_schema_spec.js +++ b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/TableV1/Table_tabledata_schema_spec.js @@ -1,26 +1,22 @@ -const explorer = require("../../../../../locators/explorerlocators.json"); -import homePage from "../../../../../locators/HomePage"; const publish = require("../../../../../locators/publishWidgetspage.json"); -const dsl = require("../../../../../fixtures/swtchTableDsl.json"); +const explorer = require("../../../../../locators/explorerlocators.json"); +const dsl = require("../../../../../fixtures/tableNewDsl.json"); describe("Table Widget", function () { + before(() => { + cy.addDsl(dsl); + }); it("1. Table Widget Functionality To Check with changing schema of tabledata", () => { let jsContext = `{{Switch1.isSwitchedOn?[{name: "joe"}]:[{employee_name: "john"}];}}`; - cy.NavigateToHome(); - cy.get(homePage.createNew).first().click({ force: true }); - cy.wait("@createNewApplication").should( - "have.nested.property", - "response.body.responseMeta.status", - 201, - ); - cy.addDsl(dsl); cy.wait(5000); + cy.get(explorer.addWidget).click(); + cy.dragAndDropToCanvas("switchwidget", { x: 200, y: 200 }); + cy.wait(2000); cy.openPropertyPane("tablewidget"); cy.get(".t--property-control-tabledata").then(($el) => { cy.updateCodeInput($el, jsContext); }); cy.PublishtheApp(); - cy.wait(30000); cy.getTableDataSelector("0", "0").then((element) => { cy.get(element).should("be.visible"); }); @@ -45,9 +41,7 @@ describe("Table Widget", function () { cy.readTabledataPublish("0", "0").then((value) => { expect(value).to.be.equal("joe"); }); - cy.get(publish.backToEditor).click().wait(1000); - cy.wait(30000); cy.CheckAndUnfoldEntityItem("Widgets"); cy.actionContextMenuByEntityName("Switch1"); cy.actionContextMenuByEntityName("Table1"); diff --git a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/TableV2/Add_new_row_spec.js b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/TableV2/Add_new_row_spec.js index 93a2a133a8..4828308887 100644 --- a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/TableV2/Add_new_row_spec.js +++ b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/TableV2/Add_new_row_spec.js @@ -193,6 +193,7 @@ describe("Table widget Add new row feature's", () => { describe("Validation flow", () => { before(() => { + cy.startServerAndRoutes(); agHelper.RestoreLocalStorageCache(); cy.addDsl(dsl); }); @@ -350,6 +351,7 @@ describe("Table widget Add new row feature's", () => { describe("Actions flow (save, discard)", () => { before(() => { + cy.startServerAndRoutes(); agHelper.RestoreLocalStorageCache(); cy.addDsl(dsl); }); diff --git a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/Widgets_Labels_spec.js b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/Widgets_Labels_spec.js index 70642df299..1104871406 100644 --- a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/Widgets_Labels_spec.js +++ b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/Widgets_Labels_spec.js @@ -8,7 +8,7 @@ describe("Label feature", () => { it("CheckboxGroupWidget label properties: Text, Position, Alignment, Width", () => { const options = { widgetName: "checkboxgroupwidget", - parentColumnSpace: 11.90625, + parentColumnSpace: 11.9375, containerSelector: "[data-testid='checkboxgroup-container']", isCompact: true, labelText: "Name", @@ -21,7 +21,7 @@ describe("Label feature", () => { it("CurrencyInputWidget label properties: Text, Position, Alignment, Width", () => { const options = { widgetName: "currencyinputwidget", - parentColumnSpace: 11.90625, + parentColumnSpace: 11.9375, containerSelector: "[data-testid='input-container']", isCompact: true, labelText: "Name", @@ -34,7 +34,7 @@ describe("Label feature", () => { it("DatePickerWidget2 label properties: Text, Position, Alignment, Width", () => { const options = { widgetName: "datepickerwidget2", - parentColumnSpace: 11.90625, + parentColumnSpace: 11.9375, containerSelector: "[data-testid='datepicker-container']", isCompact: true, labelText: "Name", @@ -47,7 +47,7 @@ describe("Label feature", () => { it("InputWidgetV2 label properties: Text, Position, Alignment, Width", () => { const options = { widgetName: "inputwidgetv2", - parentColumnSpace: 11.90625, + parentColumnSpace: 11.9375, containerSelector: "[data-testid='input-container']", isCompact: true, labelText: "Name", @@ -60,7 +60,7 @@ describe("Label feature", () => { it("MultiSelectTreeWidget label properties: Text, Position, Alignment, Width", () => { const options = { widgetName: "multiselecttreewidget", - parentColumnSpace: 11.90625, + parentColumnSpace: 11.9375, containerSelector: "[data-testid='multitreeselect-container']", isCompact: true, labelText: "Name", @@ -73,7 +73,7 @@ describe("Label feature", () => { it("MultiSelectWidgetV2 label properties: Text, Position, Alignment, Width", () => { const options = { widgetName: "multiselectwidgetv2", - parentColumnSpace: 11.90625, + parentColumnSpace: 11.9375, containerSelector: "[data-testid='multiselect-container']", isCompact: true, labelText: "Name", @@ -86,7 +86,7 @@ describe("Label feature", () => { it("PhoneInputWidget label properties: Text, Position, Alignment, Width", () => { const options = { widgetName: "phoneinputwidget", - parentColumnSpace: 11.90625, + parentColumnSpace: 11.9375, containerSelector: "[data-testid='input-container']", isCompact: true, labelText: "Name", @@ -99,7 +99,7 @@ describe("Label feature", () => { it("RadioGroupWidget label properties: Text, Position, Alignment, Width", () => { const options = { widgetName: "radiogroupwidget", - parentColumnSpace: 11.90625, + parentColumnSpace: 11.9375, containerSelector: "[data-testid='radiogroup-container']", isCompact: true, labelText: "Name", @@ -112,7 +112,7 @@ describe("Label feature", () => { it("RichTextEditorWidget label properties: Text, Position, Alignment, Width", () => { const options = { widgetName: "richtexteditorwidget", - parentColumnSpace: 11.90625, + parentColumnSpace: 11.9375, containerSelector: "[data-testid='rte-container']", isCompact: false, labelText: "Name", @@ -125,7 +125,7 @@ describe("Label feature", () => { it("SelectWidget label properties: Text, Position, Alignment, Width", () => { const options = { widgetName: "selectwidget", - parentColumnSpace: 11.90625, + parentColumnSpace: 11.9375, containerSelector: "[data-testid='select-container']", isCompact: true, labelText: "Name", @@ -138,7 +138,7 @@ describe("Label feature", () => { it("SingleSelectTreeWidget label properties: Text, Position, Alignment, Width", () => { const options = { widgetName: "singleselecttreewidget", - parentColumnSpace: 11.90625, + parentColumnSpace: 11.9375, containerSelector: "[data-testid='treeselect-container']", isCompact: true, labelText: "Name", @@ -151,7 +151,7 @@ describe("Label feature", () => { it("SwitchGroupWidget label properties: Text, Position, Alignment, Width", () => { const options = { widgetName: "switchgroupwidget", - parentColumnSpace: 11.90625, + parentColumnSpace: 11.9375, containerSelector: "[data-testid='switchgroup-container']", isCompact: true, labelText: "Name", diff --git a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Workspace/LeaveWorkspaceTest_spec.js b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Workspace/LeaveWorkspaceTest_spec.js index 74dbc51594..eca2837020 100644 --- a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Workspace/LeaveWorkspaceTest_spec.js +++ b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Workspace/LeaveWorkspaceTest_spec.js @@ -1,20 +1,19 @@ /// -import { ObjectsRegistry } from "../../../../support/Objects/Registry"; -let HomePage = ObjectsRegistry.HomePage; +import * as _ from "../../../../support/Objects/ObjectsCore"; describe("Leave workspace test spec", function () { let newWorkspaceName; it("1. Only admin user can not leave workspace validation", function () { cy.visit("/applications"); - cy.createWorkspace(); - cy.wait("@createWorkspace").then((interception) => { - newWorkspaceName = interception.response.body.data.name; - cy.visit("/applications"); + _.agHelper.GenerateUUID(); + cy.get("@guid").then((uid) => { + newWorkspaceName = "LeaveWorkspace" + uid; + _.homePage.CreateNewWorkspace(newWorkspaceName); cy.openWorkspaceOptionsPopup(newWorkspaceName); // verify leave workspace is visible - cy.contains("Leave Workspace").click(); - cy.contains("Are you sure").click(); + cy.contains("Leave Workspace").scrollIntoView().click({ force: true }); + cy.contains("Are you sure").scrollIntoView().click({ force: true }); cy.wait("@leaveWorkspaceApiCall").then((httpResponse) => { expect(httpResponse.status).to.equal(400); }); @@ -24,11 +23,11 @@ describe("Leave workspace test spec", function () { it("2. Bug 17235 & 17987 - Non admin users can only access leave workspace popup menu validation", function () { cy.visit("/applications"); - cy.createWorkspace(); - cy.wait("@createWorkspace").then((interception) => { - newWorkspaceName = interception.response.body.data.name; - cy.visit("/applications"); - HomePage.InviteUserToWorkspace( + _.agHelper.GenerateUUID(); + cy.get("@guid").then((uid) => { + newWorkspaceName = "LeaveWorkspace" + uid; + _.homePage.CreateNewWorkspace(newWorkspaceName); + _.homePage.InviteUserToWorkspace( newWorkspaceName, Cypress.env("TESTUSERNAME1"), "App Viewer", diff --git a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Workspace/ShareAppTests_spec.js b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Workspace/ShareAppTests_spec.js index 7f597d441d..39ed93c5e7 100644 --- a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Workspace/ShareAppTests_spec.js +++ b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Workspace/ShareAppTests_spec.js @@ -56,11 +56,6 @@ describe("Create new workspace and share with a user", function () { it("3. Enable public access to Application", function () { cy.LoginFromAPI(Cypress.env("USERNAME"), Cypress.env("PASSWORD")); - cy.wait("@applications").should( - "have.nested.property", - "response.body.responseMeta.status", - 200, - ); cy.SearchApp(appid); cy.wait("@getPagesForCreateApp").should( "have.nested.property", @@ -117,11 +112,6 @@ describe("Create new workspace and share with a user", function () { it("6. login as Owner and disable public access", function () { cy.LoginFromAPI(Cypress.env("USERNAME"), Cypress.env("PASSWORD")); - cy.wait("@applications").should( - "have.nested.property", - "response.body.responseMeta.status", - 200, - ); cy.SearchApp(appid); cy.wait("@getPagesForCreateApp").should( "have.nested.property", diff --git a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Workspace/WorkspaceImportApplication_spec.js b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Workspace/WorkspaceImportApplication_spec.js index 62ca06b666..c7a40240ec 100644 --- a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Workspace/WorkspaceImportApplication_spec.js +++ b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Workspace/WorkspaceImportApplication_spec.js @@ -25,10 +25,10 @@ describe("Workspace Import Application", function () { const url = anchor.prop("href"); cy.request(url).then(({ body, headers }) => { expect(headers).to.have.property("content-type", "application/json"); - expect(headers).to.have.property( - "content-disposition", - `attachment; filename*=UTF-8''${appname}.json`, - ); + expect(headers) + .to.have.property("content-disposition") + .that.includes("attachment;") + .and.includes(`filename*=UTF-8''${appname}.json`); cy.writeFile("cypress/fixtures/exported-app.json", body, "utf-8"); cy.generateUUID().then((uid) => { diff --git a/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/ApiTests/API_ContextMenu_spec.js b/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/ApiTests/API_ContextMenu_spec.js index 265fab56c8..4554991262 100644 --- a/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/ApiTests/API_ContextMenu_spec.js +++ b/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/ApiTests/API_ContextMenu_spec.js @@ -15,10 +15,10 @@ describe("API Panel Test Functionality ", function () { cy.get("body").click(0, 0); ee.ExpandCollapseEntity("Queries/JS"); ee.ActionContextMenuByEntityName("FirstAPI", "Copy to page", "SecondPage"); - // click on learn how link - cy.get(".t--learn-how-apis-link").click(); - // this should open in a global search modal - cy.get(commonlocators.globalSearchModal); + ObjectsRegistry.AggregateHelper.AssertNewTabOpened(() => { + // click on learn how link + cy.get(".t--learn-how-apis-link").click(); + }); cy.get("body").click(0, 0); ee.ActionContextMenuByEntityName("FirstAPICopy", "Move to page", "Page1"); cy.wait(2000); diff --git a/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/ApiTests/API_Search_spec.js b/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/ApiTests/API_Search_spec.js index d418ba0747..307741c842 100644 --- a/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/ApiTests/API_Search_spec.js +++ b/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/ApiTests/API_Search_spec.js @@ -1,5 +1,7 @@ const testdata = require("../../../../fixtures/testdata.json"); import ApiEditor from "../../../../locators/ApiEditor"; +import * as _ from "../../../../support/Objects/ObjectsCore"; + let APIName; const testUrl1 = "http://host.docker.internal:5001/v1/dynamicrecords/generaterecords?records=10"; @@ -12,18 +14,28 @@ describe("API Panel Test Functionality ", function () { cy.log("Login Successful"); cy.NavigateToAPI_Panel(); cy.log("Navigation to API Panel screen successful"); - cy.CreateAPI("FirstAPI"); - cy.RunAPI(); - cy.log("Creation of FirstAPI Action successful"); - cy.NavigateToAPI_Panel(); - cy.CreateAPI("SecondAPI"); - cy.RunAPI(); - cy.CheckAndUnfoldEntityItem("Queries/JS"); - cy.log("Creation of SecondAPI Action successful"); - cy.get(".t--entity-name").contains("FirstAPI"); - cy.get(".t--entity-name").contains("SecondAPI"); - cy.DeleteAPIFromSideBar(); - cy.DeleteAPIFromSideBar(); + cy.generateUUID().then((uid) => { + cy.CreateAPI(`FirstAPI_${uid}`); + cy.RunAPI(); + cy.log("Creation of FirstAPI Action successful"); + cy.NavigateToAPI_Panel(); + cy.CreateAPI(`SecondAPI_${uid}`); + cy.RunAPI(); + cy.CheckAndUnfoldEntityItem("Queries/JS"); + cy.log("Creation of SecondAPI Action successful"); + cy.get(".t--entity-name").contains("FirstAPI"); + cy.get(".t--entity-name").contains("SecondAPI"); + _.entityExplorer.ActionContextMenuByEntityName( + `FirstAPI_${uid}`, + "Delete", + "Are you sure?", + ); + _.entityExplorer.ActionContextMenuByEntityName( + `SecondAPI_${uid}`, + "Delete", + "Are you sure?", + ); + }); }); it("if suggested widgets section alwas appears for all 3 modes", function () { diff --git a/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/QueryPane/DSDocs_Spec.ts b/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/QueryPane/DSDocs_Spec.ts index cfc96ca4ec..74be9ed0e9 100644 --- a/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/QueryPane/DSDocs_Spec.ts +++ b/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/QueryPane/DSDocs_Spec.ts @@ -8,11 +8,9 @@ describe("Check datasource doc links", function () { cy.get("@dsName").then(($dsName) => { dsName = $dsName; _.dataSources.CreateQueryAfterDSSaved(); - _.agHelper.GetNClick(_.dataSources._queryDoc); - _.agHelper.AssertElementVisible(_.dataSources._globalSearchModal); - _.agHelper.AssertElementVisible( - _.dataSources._globalSearchInput("PostgreSQL"), - ); + _.agHelper.AssertNewTabOpened(() => { + _.agHelper.GetNClick(_.dataSources._queryDoc); + }); }); }); @@ -21,11 +19,9 @@ describe("Check datasource doc links", function () { cy.get("@dsName").then(($dsName) => { dsName = $dsName; _.dataSources.CreateQueryAfterDSSaved(); - _.agHelper.GetNClick(_.dataSources._queryDoc); - _.agHelper.AssertElementVisible(_.dataSources._globalSearchModal); - _.agHelper.AssertElementVisible( - _.dataSources._globalSearchInput("MongoDB"), - ); + _.agHelper.AssertNewTabOpened(() => { + _.agHelper.GetNClick(_.dataSources._queryDoc); + }); }); }); @@ -34,11 +30,9 @@ describe("Check datasource doc links", function () { cy.get("@dsName").then(($dsName) => { dsName = $dsName; _.dataSources.CreateQueryAfterDSSaved(); - _.agHelper.GetNClick(_.dataSources._queryDoc); - _.agHelper.AssertElementVisible(_.dataSources._globalSearchModal); - _.agHelper.AssertElementVisible( - _.dataSources._globalSearchInput("MySQL"), - ); + _.agHelper.AssertNewTabOpened(() => { + _.agHelper.GetNClick(_.dataSources._queryDoc); + }); }); }); diff --git a/app/client/cypress/integration/SanitySuite/Datasources/GoogleSheetsStub_spec.ts b/app/client/cypress/integration/SanitySuite/Datasources/GoogleSheetsStub_spec.ts index 852bca9c6c..3e4e8ce2b7 100644 --- a/app/client/cypress/integration/SanitySuite/Datasources/GoogleSheetsStub_spec.ts +++ b/app/client/cypress/integration/SanitySuite/Datasources/GoogleSheetsStub_spec.ts @@ -12,8 +12,9 @@ describe("Google Sheets datasource test cases", function () { dataSources.NavigateToDSCreateNew(); dataSources.CreatePlugIn("Google Sheets"); VerifyFunctionDropdown([ - "Read/Write | Selected Google Sheets", - "Read/Write | All Google Sheets", + "Read / Write / Delete | Selected Google Sheets", + "Read / Write / Delete | All Google Sheets", + "Read / Write | All Google Sheets", "Read | All Google Sheets", ]); dataSources.SaveDSFromDialog(false); diff --git a/app/client/cypress/locators/FirstTimeUserOnboarding.json b/app/client/cypress/locators/FirstTimeUserOnboarding.json index f40fd06c13..02ced7c532 100644 --- a/app/client/cypress/locators/FirstTimeUserOnboarding.json +++ b/app/client/cypress/locators/FirstTimeUserOnboarding.json @@ -2,7 +2,9 @@ "introModal": ".t--onboarding-introduction-modal", "introModalBuild": ".t--introduction-modal-build-button", "introModalWelcomeTourBtn": ".t--introduction-modal-welcome-tour-button", + "introModalCloseBtn": ".t--how-appsmith-works-modal-close", "statusbar": ".t--onboarding-statusbar", + "statusbarClose": "[data-cy='statusbar-skip']", "checklistStatus": ".t--checklist-complete-status", "checklistDatasourceBtn": ".t--checklist-datasource-button", "checklistBack": ".t--checklist-back", diff --git a/app/client/cypress/locators/apiWidgetslocator.json b/app/client/cypress/locators/apiWidgetslocator.json index e62ebce8e9..e8089baafe 100644 --- a/app/client/cypress/locators/apiWidgetslocator.json +++ b/app/client/cypress/locators/apiWidgetslocator.json @@ -34,7 +34,7 @@ "apiInputTab": "li:contains('API Input')", "paginationOption": ".t--apiFormPaginationType div>input", "paginationWithTable": "//label[contains(text(),'Paginate with Table Page No')] ", - "paginationWithUrl": "//label[contains(text(),'Paginate with Response Url')]", + "paginationWithUrl": "//label[contains(text(),'Paginate with Response URL')]", "panigationNextUrl": ".t--apiFormPaginationNext div>textarea", "panigationPrevUrl": ".t--apiFormPaginationPrev div>textarea", "TestNextUrl": ".t--apiFormPaginationNextTest", @@ -63,4 +63,4 @@ "multipartTypeDropdown": "button:contains('Type')", "confirmBeforeExecute": "[name=confirmBeforeExecute]", "runQueryButton": ".t--apiFormRunBtn" -} \ No newline at end of file +} diff --git a/app/client/cypress/package.json b/app/client/cypress/package.json index 499fc20c99..66574ecb9f 100644 --- a/app/client/cypress/package.json +++ b/app/client/cypress/package.json @@ -30,6 +30,7 @@ "cypress-file-upload": "^4.1.1", "cypress-image-snapshot": "^4.0.1", "cypress-multi-reporters": "^1.2.4", + "cypress-plugin-tab": "^1.0.5", "cypress-real-events": "^1.7.1", "cypress-wait-until": "^1.7.2", "cypress-xpath": "^1.4.0", diff --git a/app/client/cypress/support/Objects/ObjectsCore.ts b/app/client/cypress/support/Objects/ObjectsCore.ts index 8b02253d24..92af67f66f 100644 --- a/app/client/cypress/support/Objects/ObjectsCore.ts +++ b/app/client/cypress/support/Objects/ObjectsCore.ts @@ -22,3 +22,4 @@ export const debuggerHelper = ObjectsRegistry.DebuggerHelper; export const templates = ObjectsRegistry.Templates; export const peekOverlay = ObjectsRegistry.PeekOverlay; export const installer = ObjectsRegistry.LibraryInstaller; +export const onboarding = ObjectsRegistry.Onboarding; diff --git a/app/client/cypress/support/Objects/Registry.ts b/app/client/cypress/support/Objects/Registry.ts index 1293fec5d6..6ac66c8602 100644 --- a/app/client/cypress/support/Objects/Registry.ts +++ b/app/client/cypress/support/Objects/Registry.ts @@ -21,6 +21,7 @@ import { PageSettings } from "../Pages/AppSettings/PageSettings"; import { ThemeSettings } from "../Pages/AppSettings/ThemeSettings"; import { EmbedSettings } from "../Pages/AppSettings/EmbedSettings"; import { Templates } from "../Pages/Templates"; +import { Onboarding } from "../Pages/Onboarding"; export class ObjectsRegistry { private static aggregateHelper__: AggregateHelper; @@ -206,6 +207,14 @@ export class ObjectsRegistry { } return ObjectsRegistry.templates__; } + + private static onboarding__: Onboarding; + static get Onboarding(): Onboarding { + if (ObjectsRegistry.onboarding__ === undefined) { + ObjectsRegistry.onboarding__ = new Onboarding(); + } + return ObjectsRegistry.onboarding__; + } } export const initLocalstorageRegistry = () => { diff --git a/app/client/cypress/support/Pages/AggregateHelper.ts b/app/client/cypress/support/Pages/AggregateHelper.ts index 6c03297708..f45fdbe39f 100644 --- a/app/client/cypress/support/Pages/AggregateHelper.ts +++ b/app/client/cypress/support/Pages/AggregateHelper.ts @@ -1169,6 +1169,18 @@ export class AggregateHelper { } } + public AssertNewTabOpened(openTabFunc: () => void) { + cy.window().then((win) => { + cy.spy(win, "open").as("windowOpen"); + openTabFunc(); + cy.get("@windowOpen").should( + "be.calledWith", + Cypress.sinon.match.string, + "_blank", + ); + }); + } + //Not used: // private xPathToCss(xpath: string) { // return xpath diff --git a/app/client/cypress/support/Pages/HomePage.ts b/app/client/cypress/support/Pages/HomePage.ts index b3fa1bf1e9..c61cf31b4d 100644 --- a/app/client/cypress/support/Pages/HomePage.ts +++ b/app/client/cypress/support/Pages/HomePage.ts @@ -4,6 +4,8 @@ import HomePageLocators from "../../locators/HomePage"; export class HomePage { private agHelper = ObjectsRegistry.AggregateHelper; private locator = ObjectsRegistry.CommonLocators; + private entityExplorer = ObjectsRegistry.EntityExplorer; + private onboarding = ObjectsRegistry.Onboarding; private _username = "input[name='username']"; private _password = "input[name='password']"; @@ -208,10 +210,16 @@ export class HomePage { this.agHelper.AssertElementVisible(this._homeAppsmithImage); } - public CreateNewApplication() { + public CreateNewApplication(skipSignposting = true) { cy.get(this._homePageAppCreateBtn).first().click({ force: true }); this.agHelper.ValidateNetworkStatus("@createNewApplication", 201); cy.get(this.locator._loading).should("not.exist"); + + if (skipSignposting) { + this.agHelper.AssertElementVisible(this.entityExplorer._entityExplorer); + this.onboarding.closeIntroModal(); + this.onboarding.skipSignposting(); + } } //Maps to CreateAppForWorkspace in command.js diff --git a/app/client/cypress/support/Pages/Onboarding.ts b/app/client/cypress/support/Pages/Onboarding.ts new file mode 100644 index 0000000000..10c6b59190 --- /dev/null +++ b/app/client/cypress/support/Pages/Onboarding.ts @@ -0,0 +1,83 @@ +import { ObjectsRegistry } from "../Objects/Registry"; + +const OnboardingLocator = require("../../locators/FirstTimeUserOnboarding.json"); + +export class Onboarding { + private _aggregateHelper = ObjectsRegistry.AggregateHelper; + + completeSignposting() { + cy.get(OnboardingLocator.introModalBuild).click(); + + cy.get(OnboardingLocator.statusbar).click(); + cy.get(OnboardingLocator.checklistStatus).should("be.visible"); + cy.get(OnboardingLocator.checklistStatus).should("contain", "0 of 5"); + cy.get(OnboardingLocator.checklistBack).click(); + + cy.get(OnboardingLocator.statusbar).click(); + cy.get(OnboardingLocator.checklistDatasourceBtn).should("not.be.disabled"); + cy.get(OnboardingLocator.checklistDatasourceBtn).click(); + cy.get(OnboardingLocator.datasourcePage).should("be.visible"); + cy.get(OnboardingLocator.datasourceMock).first().click(); + cy.wait(1000); + cy.get(OnboardingLocator.statusbar).click(); + cy.get(OnboardingLocator.checklistStatus).should("contain", "1 of 5"); + cy.get(OnboardingLocator.checklistDatasourceBtn).should("not.exist"); + cy.get(OnboardingLocator.checklistActionBtn).should("be.visible"); + cy.get(OnboardingLocator.checklistActionBtn).click(); + cy.get(OnboardingLocator.createQuery).should("be.visible"); + cy.get(OnboardingLocator.createQuery).click(); + cy.wait(1000); + cy.get(OnboardingLocator.statusbar).click(); + cy.get(OnboardingLocator.checklistStatus).should("contain", "2 of 5"); + cy.get(OnboardingLocator.checklistActionBtn).should("not.exist"); + cy.get(OnboardingLocator.checklistWidgetBtn).should("be.visible"); + cy.get(OnboardingLocator.checklistWidgetBtn).click(); + cy.get(OnboardingLocator.widgetSidebar).should("be.visible"); + (cy as any).dragAndDropToCanvas("textwidget", { x: 400, y: 400 }); + cy.get(OnboardingLocator.statusbar).click(); + cy.get(OnboardingLocator.checklistStatus).should("contain", "3 of 5"); + cy.get(OnboardingLocator.checklistWidgetBtn).should("not.exist"); + + cy.get(OnboardingLocator.checklistConnectionBtn).should("be.visible"); + cy.get(OnboardingLocator.checklistConnectionBtn).click(); + cy.get(OnboardingLocator.snipingBanner).should("be.visible"); + cy.get(OnboardingLocator.snipingTextWidget) + .first() + .trigger("mouseover", { force: true }) + .wait(500); + cy.get(OnboardingLocator.widgetName).should("be.visible"); + cy.get(OnboardingLocator.widgetName).click(); + cy.get(OnboardingLocator.statusbar).click(); + cy.get(OnboardingLocator.checklistStatus).should("contain", "4 of 5"); + cy.get(OnboardingLocator.checklistConnectionBtn).should("not.exist"); + + let open: any; + cy.window().then((window: any) => { + open = window.open; + window.open = Cypress._.noop; + }); + cy.get(OnboardingLocator.checklistDeployBtn).should("be.visible"); + cy.get(OnboardingLocator.checklistDeployBtn).click(); + cy.get(OnboardingLocator.checklistStatus).should("contain", "5 of 5"); + cy.get(OnboardingLocator.checklistDeployBtn).should("not.exist"); + cy.window().then((window) => { + window.open = open; + }); + } + + closeIntroModal() { + cy.get("body").then(($body) => { + if ($body.find(OnboardingLocator.introModalCloseBtn).length) { + this._aggregateHelper.GetNClick(OnboardingLocator.introModalCloseBtn); + } + }); + } + + skipSignposting() { + cy.get("body").then(($body) => { + if ($body.find(OnboardingLocator.statusbarClose).length) { + this._aggregateHelper.GetNClick(OnboardingLocator.statusbarClose); + } + }); + } +} diff --git a/app/client/cypress/support/Pages/PropertyPane.ts b/app/client/cypress/support/Pages/PropertyPane.ts index 2e6b338b9e..8ae3ba40ff 100644 --- a/app/client/cypress/support/Pages/PropertyPane.ts +++ b/app/client/cypress/support/Pages/PropertyPane.ts @@ -316,8 +316,10 @@ export class PropertyPane { toVerifySave && this.agHelper.AssertAutoSave(); } - public TypeTextIntoField(endp: string, value: string) { - this.RemoveText(endp); + public TypeTextIntoField(endp: string, value: string, removeText = true) { + if (removeText) { + this.RemoveText(endp); + } cy.get( this.locator._propertyControl + endp.replace(/ +/g, "").toLowerCase() + diff --git a/app/client/cypress/support/Pages/Table.ts b/app/client/cypress/support/Pages/Table.ts index 9d8265dd1f..e6f3cfbd4d 100644 --- a/app/client/cypress/support/Pages/Table.ts +++ b/app/client/cypress/support/Pages/Table.ts @@ -32,14 +32,15 @@ export class Table { public locator = ObjectsRegistry.CommonLocators; public propPane = ObjectsRegistry.PropertyPane; - private _tableWrap = "//div[@class='tableWrap']"; + private _tableWrap = "//div[contains(@class,'tableWrap')]"; private _tableHeader = - this._tableWrap + "//div[@class='thead']//div[@class='tr'][1]"; + this._tableWrap + + "//div[contains(@class,'thead')]//div[contains(@class,'tr')][1]"; private _columnHeader = (columnName: string) => this._tableWrap + - "//div[@class='thead']//div[@class='tr'][1]//div[@role='columnheader']//span[text()='" + + "//div[contains(@class,'thead')]//div[contains(@class,'tr')][1]//div[@role='columnheader']//div[contains(text(),'" + columnName + - "']/parent::div/parent::div/parent::div"; + "')]/parent::div/parent::div"; private _tableWidgetVersion = (version: "v1" | "v2") => `.t--widget-tablewidget${version == "v1" ? "" : version}`; private _nextPage = (version: "v1" | "v2") => diff --git a/app/client/cypress/support/WorkspaceCommands.js b/app/client/cypress/support/WorkspaceCommands.js index 46574f8c27..6ad624c5da 100644 --- a/app/client/cypress/support/WorkspaceCommands.js +++ b/app/client/cypress/support/WorkspaceCommands.js @@ -286,9 +286,13 @@ Cypress.Commands.add("CreateAppInFirstListedWorkspace", (appname) => { //cy.reload(); cy.get("#loading").should("not.exist"); + cy.get("#sidebar").should("be.visible"); // eslint-disable-next-line cypress/no-unnecessary-waiting cy.wait(2000); + // If the into modal is open close it + cy.skipSignposting(); + cy.AppSetupForRename(); cy.get(homePage.applicationName).type(appname + "{enter}"); cy.wait("@updateApplication").should( diff --git a/app/client/cypress/support/commands.js b/app/client/cypress/support/commands.js index 2627bdfae6..95dc602846 100644 --- a/app/client/cypress/support/commands.js +++ b/app/client/cypress/support/commands.js @@ -23,6 +23,7 @@ import { CURRENT_REPO, REPO } from "../fixtures/REPO"; const apiwidget = require("../locators/apiWidgetslocator.json"); const explorer = require("../locators/explorerlocators.json"); +const onboardingLocators = require("../locators/FirstTimeUserOnboarding.json"); const datasource = require("../locators/DatasourcesEditor.json"); const viewWidgetsPage = require("../locators/ViewWidgets.json"); const generatePage = require("../locators/GeneratePage.json"); @@ -35,6 +36,7 @@ import { ObjectsRegistry } from "../support/Objects/Registry"; const propPane = ObjectsRegistry.PropertyPane; const agHelper = ObjectsRegistry.AggregateHelper; const locators = ObjectsRegistry.CommonLocators; +const onboarding = ObjectsRegistry.Onboarding; let pageidcopy = " "; const chainStart = Symbol(); @@ -272,11 +274,14 @@ Cypress.Commands.add("Signup", (uname, pword) => { Cypress.Commands.add("LoginFromAPI", (uname, pword) => { cy.location().then((loc) => { + let baseURL = Cypress.config().baseUrl; + baseURL = baseURL.endsWith("/") ? baseURL.slice(0, -1) : baseURL; + cy.visit({ method: "POST", url: "api/v1/login", headers: { - origin: loc.origin, + origin: baseURL, }, followRedirect: true, body: { @@ -287,9 +292,15 @@ Cypress.Commands.add("LoginFromAPI", (uname, pword) => { .then(() => cy.location()) .then((loc) => { expect(loc.href).to.equal(loc.origin + "/applications"); + cy.wait("@getMe"); + cy.wait("@applications").should( + "have.nested.property", + "response.body.responseMeta.status", + 200, + ); + cy.wait("@getReleaseItems"); }); }); - cy.wait(2000); //for the page elements to load! }); Cypress.Commands.add("DeleteApp", (appName) => { @@ -597,18 +608,16 @@ Cypress.Commands.add("generateUUID", () => { Cypress.Commands.add("addDsl", (dsl) => { let currentURL, pageid, layoutId, appId; - appId = localStorage.getItem("applicationId"); cy.url().then((url) => { currentURL = url; pageid = currentURL.split("/")[5]?.split("-").pop(); - cy.log(pageidcopy + "page id copy"); - cy.log(pageid + "page id"); - appId = localStorage.getItem("applicationId"); + //Fetch the layout id cy.request("GET", "api/v1/pages/" + pageid).then((response) => { const respBody = JSON.stringify(response.body); - layoutId = JSON.parse(respBody).data.layouts[0].id; - cy.log("appid:" + appId); + const data = JSON.parse(respBody).data; + layoutId = data.layouts[0].id; + appId = data.applicationId; // Dumping the DSL to the created page cy.request({ method: "PUT", @@ -627,6 +636,7 @@ Cypress.Commands.add("addDsl", (dsl) => { cy.log(response.body); expect(response.status).equal(200); cy.reload(); + cy.wait("@getWorkspace"); }); }); }); @@ -924,6 +934,7 @@ Cypress.Commands.add("startServerAndRoutes", () => { cy.route("GET", "/api/v1/datasources?workspaceId=*").as("getDataSources"); cy.route("GET", "/api/v1/pages?*mode=EDIT").as("getPagesForCreateApp"); cy.route("GET", "/api/v1/pages?*mode=PUBLISHED").as("getPagesForViewApp"); + cy.route("GET", "/api/v1/applications/releaseItems").as("getReleaseItems"); cy.route("POST"); cy.route("GET", "/api/v1/pages/*").as("getPage"); @@ -2098,3 +2109,8 @@ Cypress.Commands.add("SelectFromMultiSelect", (options) => { }); cy.document().its("body").type("{esc}"); }); + +Cypress.Commands.add("skipSignposting", () => { + onboarding.closeIntroModal(); + onboarding.skipSignposting(); +}); diff --git a/app/client/cypress/support/index.js b/app/client/cypress/support/index.js index 3d3620d893..dd0a9a04b9 100644 --- a/app/client/cypress/support/index.js +++ b/app/client/cypress/support/index.js @@ -30,8 +30,20 @@ import "./queryCommands"; import "./widgetCommands"; import "./themeCommands"; import "./AdminSettingsCommands"; +import "cypress-plugin-tab"; /// +let rapidMode = { + enabled: false, // Set to true to disable app creation + appName: "cf023e29", // Replace it with your app name + pageName: "page1", // Replace it with the page name + pageID: "644d0ec870cec01248edfc9a", // Replace it with pageID + + url: function () { + return `app/${this.appName}/${this.pageName}-${this.pageID}/edit`; + }, +}; + Cypress.on("uncaught:exception", () => { // returning false here prevents Cypress from // failing the test @@ -45,6 +57,24 @@ Cypress.on("fail", (error) => { Cypress.env("MESSAGES", MESSAGES); before(function () { + if (rapidMode.enabled) { + cy.startServerAndRoutes(); + cy.getCookie("SESSION").then((cookie) => { + if (!cookie) { + cy.LoginFromAPI(Cypress.env("USERNAME"), Cypress.env("PASSWORD")); + } + }); + + Cypress.Cookies.preserveOnce("SESSION", "remember_token"); + cy.visit(rapidMode.url()); + cy.wait("@getWorkspace"); + } +}); + +before(function () { + if (rapidMode.enabled) { + return; + } //console.warn = () => {}; //to remove all warnings in cypress console initLocalstorage(); initLocalstorageRegistry(); @@ -85,12 +115,14 @@ before(function () { }); before(function () { + if (rapidMode.enabled) { + return; + } //console.warn = () => {}; Cypress.Cookies.preserveOnce("SESSION", "remember_token"); const username = Cypress.env("USERNAME"); const password = Cypress.env("PASSWORD"); cy.LoginFromAPI(username, password); - cy.wait("@getMe"); cy.wait(3000); cy.get(".t--applications-container .createnew") .should("be.visible") @@ -121,6 +153,9 @@ beforeEach(function () { }); after(function () { + if (rapidMode.enabled) { + return; + } //-- Deleting the application by Api---// cy.DeleteAppByApi(); //-- LogOut Application---// diff --git a/app/client/docker/templates/nginx-app-http.conf.template b/app/client/docker/templates/nginx-app-http.conf.template index cc2e5b9600..3e171452b8 100644 --- a/app/client/docker/templates/nginx-app-http.conf.template +++ b/app/client/docker/templates/nginx-app-http.conf.template @@ -22,8 +22,6 @@ server { sub_filter __APPSMITH_SENTRY_DSN__ '${APPSMITH_SENTRY_DSN}'; sub_filter __APPSMITH_SMART_LOOK_ID__ '${APPSMITH_SMART_LOOK_ID}'; - sub_filter __APPSMITH_OAUTH2_GOOGLE_CLIENT_ID__ '${APPSMITH_OAUTH2_GOOGLE_CLIENT_ID}'; - sub_filter __APPSMITH_OAUTH2_GITHUB_CLIENT_ID__ '${APPSMITH_OAUTH2_GITHUB_CLIENT_ID}'; sub_filter __APPSMITH_MARKETPLACE_ENABLED__ '${APPSMITH_MARKETPLACE_ENABLED}'; sub_filter __APPSMITH_SEGMENT_KEY__ '${APPSMITH_SEGMENT_KEY}'; sub_filter __APPSMITH_ALGOLIA_API_ID__ '${APPSMITH_ALGOLIA_API_ID}'; diff --git a/app/client/docker/templates/nginx-app-https.conf.template b/app/client/docker/templates/nginx-app-https.conf.template index dda83def23..02fc0765a8 100644 --- a/app/client/docker/templates/nginx-app-https.conf.template +++ b/app/client/docker/templates/nginx-app-https.conf.template @@ -32,8 +32,6 @@ server { sub_filter __APPSMITH_SENTRY_DSN__ '${APPSMITH_SENTRY_DSN}'; sub_filter __APPSMITH_SMART_LOOK_ID__ '${APPSMITH_SMART_LOOK_ID}'; - sub_filter __APPSMITH_OAUTH2_GOOGLE_CLIENT_ID__ '${APPSMITH_OAUTH2_GOOGLE_CLIENT_ID}'; - sub_filter __APPSMITH_OAUTH2_GITHUB_CLIENT_ID__ '${APPSMITH_OAUTH2_GITHUB_CLIENT_ID}'; sub_filter __APPSMITH_MARKETPLACE_ENABLED__ '${APPSMITH_MARKETPLACE_ENABLED}'; sub_filter __APPSMITH_SEGMENT_KEY__ '${APPSMITH_SEGMENT_KEY}'; sub_filter __APPSMITH_ALGOLIA_API_ID__ '${APPSMITH_ALGOLIA_API_ID}'; diff --git a/app/client/docker/templates/nginx-app.conf.template b/app/client/docker/templates/nginx-app.conf.template index c63fd373fb..1b2fe24497 100644 --- a/app/client/docker/templates/nginx-app.conf.template +++ b/app/client/docker/templates/nginx-app.conf.template @@ -29,8 +29,6 @@ server { proxy_pass __APPSMITH_CLIENT_PROXY_PASS__; sub_filter __APPSMITH_SENTRY_DSN__ '${APPSMITH_SENTRY_DSN}'; sub_filter __APPSMITH_SMART_LOOK_ID__ '${APPSMITH_SMART_LOOK_ID}'; - sub_filter __APPSMITH_OAUTH2_GOOGLE_CLIENT_ID__ '${APPSMITH_OAUTH2_GOOGLE_CLIENT_ID}'; - sub_filter __APPSMITH_OAUTH2_GITHUB_CLIENT_ID__ '${APPSMITH_OAUTH2_GITHUB_CLIENT_ID}'; sub_filter __APPSMITH_MARKETPLACE_ENABLED__ '${APPSMITH_MARKETPLACE_ENABLED}'; sub_filter __APPSMITH_SEGMENT_KEY__ '${APPSMITH_SEGMENT_KEY}'; sub_filter __APPSMITH_ALGOLIA_API_ID__ '${APPSMITH_ALGOLIA_API_ID}'; diff --git a/app/client/jest.config.js b/app/client/jest.config.js index ba2c629825..4645f87a90 100644 --- a/app/client/jest.config.js +++ b/app/client/jest.config.js @@ -55,8 +55,6 @@ module.exports = { smartLook: { id: parseConfig("__APPSMITH_SMART_LOOK_ID__"), }, - enableGoogleOAuth: parseConfig("__APPSMITH_OAUTH2_GOOGLE_CLIENT_ID__"), - enableGithubOAuth: parseConfig("__APPSMITH_OAUTH2_GITHUB_CLIENT_ID__"), disableLoginForm: parseConfig("__APPSMITH_FORM_LOGIN_DISABLED__"), disableSignup: parseConfig("__APPSMITH_SIGNUP_DISABLED__"), enableRapidAPI: parseConfig("__APPSMITH_MARKETPLACE_ENABLED__"), diff --git a/app/client/package.json b/app/client/package.json index 19aa1a2aa5..d0883890f4 100644 --- a/app/client/package.json +++ b/app/client/package.json @@ -74,7 +74,6 @@ "codemirror-graphql": "^1.2.14", "copy-to-clipboard": "^3.3.1", "core-js": "^3.9.1", - "country-flag-emoji-polyfill": "^0.1.4", "craco-alias": "^2.1.1", "craco-babel-loader": "^1.0.4", "cypress-log-to-output": "^1.1.2", @@ -268,6 +267,7 @@ "cypress-file-upload": "^4.1.1", "cypress-image-snapshot": "^4.0.1", "cypress-multi-reporters": "^1.2.4", + "cypress-plugin-tab": "^1.0.5", "cypress-real-events": "^1.7.1", "cypress-wait-until": "^1.7.2", "cypress-xpath": "^1.4.0", diff --git a/app/client/packages/design-system/headless/package.json b/app/client/packages/design-system/headless/package.json index c724fd883c..3cb18a32b0 100644 --- a/app/client/packages/design-system/headless/package.json +++ b/app/client/packages/design-system/headless/package.json @@ -16,11 +16,13 @@ "@react-aria/utils": "^3.16.0", "@react-aria/visually-hidden": "^3.8.0", "@react-spectrum/utils": "^3.9.0", + "@react-stately/checkbox": "^3.4.1", "@react-stately/toggle": "^3.5.1", "@react-types/button": "^3.7.1", "@react-types/checkbox": "^3.4.3", - "@react-types/shared": "^3.17.0", - "classnames": "*" + "@react-types/label": "^3.7.3", + "classnames": "*", + "@react-types/shared": "^3.17.0" }, "peerDependencies": { "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0" diff --git a/app/client/packages/design-system/headless/src/components/Button/Button.tsx b/app/client/packages/design-system/headless/src/components/Button/Button.tsx index 246c208195..289b70e7f6 100644 --- a/app/client/packages/design-system/headless/src/components/Button/Button.tsx +++ b/app/client/packages/design-system/headless/src/components/Button/Button.tsx @@ -1,11 +1,10 @@ +import type { RefObject } from "react"; import React, { forwardRef } from "react"; -import { useFocusableRef } from "@react-spectrum/utils"; -import classNames from "classnames"; -import { FocusRing } from "@react-aria/focus"; import { mergeProps } from "@react-aria/utils"; import { useButton } from "@react-aria/button"; +import { useFocusRing } from "@react-aria/focus"; import { useHover } from "@react-aria/interactions"; -import type { RefObject } from "react"; +import { useFocusableRef } from "@react-spectrum/utils"; import type { FocusableRef } from "@react-types/shared"; import type { ButtonProps as SpectrumButtonProps } from "@react-types/button"; @@ -23,20 +22,19 @@ export const Button = forwardRef((props: ButtonProps, ref: ButtonRef) => { const domRef = useFocusableRef(ref) as RefObject; const { buttonProps, isPressed } = useButton(props, domRef); const { hoverProps, isHovered } = useHover({ isDisabled }); + const { focusProps, isFocusVisible } = useFocusRing({ autoFocus }); return ( - - - + ); }); diff --git a/app/client/packages/design-system/headless/src/components/Checkbox/Checkbox.tsx b/app/client/packages/design-system/headless/src/components/Checkbox/Checkbox.tsx index 54ea8d928e..21e17288cb 100644 --- a/app/client/packages/design-system/headless/src/components/Checkbox/Checkbox.tsx +++ b/app/client/packages/design-system/headless/src/components/Checkbox/Checkbox.tsx @@ -1,20 +1,23 @@ -import classNames from "classnames"; import { mergeProps } from "@react-aria/utils"; import { useFocusRing } from "@react-aria/focus"; -import React, { forwardRef, useRef } from "react"; -import { useCheckbox } from "@react-aria/checkbox"; import { useHover } from "@react-aria/interactions"; import CheckIcon from "remixicon-react/CheckLineIcon"; import { useToggleState } from "@react-stately/toggle"; import { useFocusableRef } from "@react-spectrum/utils"; -import type { FocusableRef } from "@react-types/shared"; import SubtractIcon from "remixicon-react/SubtractLineIcon"; +import React, { forwardRef, useContext, useRef } from "react"; import { useVisuallyHidden } from "@react-aria/visually-hidden"; +import type { FocusableRef, StyleProps } from "@react-types/shared"; import type { SpectrumCheckboxProps } from "@react-types/checkbox"; +import { useCheckbox, useCheckboxGroupItem } from "@react-aria/checkbox"; -export interface CheckboxProps extends SpectrumCheckboxProps { +import { CheckboxGroupContext } from "./context"; + +export interface CheckboxProps + extends Omit { icon?: React.ReactNode; className?: string; + labelPosition?: "left" | "right"; } export type CheckboxRef = FocusableRef; @@ -34,25 +37,55 @@ export const Checkbox = forwardRef((props: CheckboxProps, ref: CheckboxRef) => { const domRef = useFocusableRef(ref, inputRef); const { visuallyHiddenProps } = useVisuallyHidden(); const { hoverProps, isHovered } = useHover({ isDisabled }); - const { inputProps } = useCheckbox(props, state, inputRef); const { focusProps, isFocusVisible } = useFocusRing({ autoFocus }); - const computedClassnames = classNames(className, { - "is-disabled": isDisabled, - "is-hovered": isHovered, - "is-checked": state.isSelected, - "is-indeterminate": isIndeterminate, - "is-invalid": validationState === "invalid", - "is-focused": isFocusVisible, - }); + // The hooks will be swapped based on whether the checkbox is a part of a CheckboxGroup. + // Although this approach is not conventional since hooks cannot usually be called conditionally, + // it should be safe in this case since the checkbox is not expected to be added or removed from the group. + const groupState = useContext(CheckboxGroupContext); + const { inputProps } = groupState + ? // eslint-disable-next-line react-hooks/rules-of-hooks + useCheckboxGroupItem( + { + ...props, + // Value is optional for standalone checkboxes, but required for CheckboxGroup items; + // it's passed explicitly here to avoid typescript error (requires ignore). + // @ts-expect-error value is required in checkbox group items + value: props.value, + // Only pass isRequired and validationState to react-aria if they came from + // the props for this individual checkbox, and not from the group via context. + isRequired: props.isRequired, + validationState: props.validationState, + }, + groupState, + inputRef, + ) + : // eslint-disable-next-line react-hooks/rules-of-hooks + useCheckbox(props, state, inputRef); + + const dataState = isIndeterminate + ? "indeterminate" + : inputProps.checked + ? "checked" + : "unchecked"; return ( -