@bigbinary/neeto-github-frontend 2.2.12 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +20 -12
- package/app/javascript/src/translations/ar.json +1 -1
- package/app/javascript/src/translations/bg.json +1 -1
- package/app/javascript/src/translations/ca.json +1 -1
- package/app/javascript/src/translations/cs.json +1 -1
- package/app/javascript/src/translations/da.json +1 -1
- package/app/javascript/src/translations/de.json +1 -1
- package/app/javascript/src/translations/en.json +12 -1
- package/app/javascript/src/translations/es-MX.json +1 -1
- package/app/javascript/src/translations/es.json +1 -1
- package/app/javascript/src/translations/et.json +1 -1
- package/app/javascript/src/translations/fi.json +1 -1
- package/app/javascript/src/translations/fil.json +1 -1
- package/app/javascript/src/translations/fr.json +1 -1
- package/app/javascript/src/translations/hi.json +1 -1
- package/app/javascript/src/translations/hr.json +1 -1
- package/app/javascript/src/translations/id.json +1 -1
- package/app/javascript/src/translations/it.json +1 -1
- package/app/javascript/src/translations/ja.json +1 -1
- package/app/javascript/src/translations/nl.json +1 -1
- package/app/javascript/src/translations/pl.json +1 -1
- package/app/javascript/src/translations/pt-BR.json +1 -1
- package/app/javascript/src/translations/pt.json +1 -1
- package/app/javascript/src/translations/ro.json +1 -1
- package/app/javascript/src/translations/ru.json +1 -1
- package/app/javascript/src/translations/sk.json +1 -1
- package/app/javascript/src/translations/sl.json +1 -1
- package/app/javascript/src/translations/sv.json +1 -1
- package/app/javascript/src/translations/th.json +1 -1
- package/app/javascript/src/translations/tr.json +1 -1
- package/app/javascript/src/translations/uk.json +1 -1
- package/app/javascript/src/translations/vi.json +1 -1
- package/app/javascript/src/translations/zh-CN.json +1 -1
- package/app/javascript/src/translations/zh-TW.json +1 -1
- package/dist/NeetoGithubIntegrationsTable.js +18 -9
- package/dist/NeetoGithubIntegrationsTable.js.map +1 -1
- package/dist/NeetoGithubNanoContainer.js +1 -1
- package/dist/NeetoGithubNanoPane.js +1 -1
- package/dist/NeetoGithubRepositoryConnectionCard.js +178 -0
- package/dist/NeetoGithubRepositoryConnectionCard.js.map +1 -0
- package/dist/cjs/NeetoGithubIntegrationsTable.js +18 -9
- package/dist/cjs/NeetoGithubIntegrationsTable.js.map +1 -1
- package/dist/cjs/NeetoGithubNanoContainer.js +1 -1
- package/dist/cjs/NeetoGithubNanoPane.js +1 -1
- package/dist/cjs/NeetoGithubRepositoryConnectionCard.js +180 -0
- package/dist/cjs/NeetoGithubRepositoryConnectionCard.js.map +1 -0
- package/dist/cjs/index.js +7 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/{index-DuC4pfWZ.js → index-OybnyWjp.js} +17 -7
- package/dist/index-OybnyWjp.js.map +1 -0
- package/dist/{index-BoK05c9_.js → index-kiZ2xPC1.js} +18 -8
- package/dist/index-kiZ2xPC1.js.map +1 -0
- package/dist/index.js +6 -2
- package/dist/index.js.map +1 -1
- package/package.json +16 -14
- package/types.d.ts +32 -1
- package/dist/index-BoK05c9_.js.map +0 -1
- package/dist/index-DuC4pfWZ.js.map +0 -1
package/README.md
CHANGED
|
@@ -1,21 +1,24 @@
|
|
|
1
1
|
# neeto-github-nano
|
|
2
|
+
|
|
2
3
|
The `neeto-github-nano` manages GitHub integration across neeto products.
|
|
3
4
|
|
|
4
5
|
## Contents
|
|
5
6
|
|
|
6
7
|
1. [Development with Host Application](#development-with-host-application)
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
8
|
+
- [Engine](#engine)
|
|
9
|
+
- [Installation](#installation)
|
|
10
|
+
- [Usage](#usage)
|
|
11
|
+
- [Frontend package](#frontend-package)
|
|
12
|
+
- [Installation](#installation-1)
|
|
13
|
+
- [Components](#components)
|
|
13
14
|
2. [Instructions for Publishing](#instructions-for-publishing)
|
|
14
15
|
|
|
15
16
|
## Development with Host Application
|
|
16
17
|
|
|
17
18
|
### Engine
|
|
18
|
-
|
|
19
|
+
|
|
20
|
+
The engine allows us to integrate OAuth apps and Github apps in the neeto
|
|
21
|
+
applications.
|
|
19
22
|
|
|
20
23
|
#### Installation
|
|
21
24
|
|
|
@@ -48,9 +51,11 @@ bundle exec rails db:migrate
|
|
|
48
51
|
```
|
|
49
52
|
|
|
50
53
|
#### Usage
|
|
51
|
-
|
|
54
|
+
|
|
55
|
+
- [Integration](./docs/engine/integration.md)
|
|
52
56
|
|
|
53
57
|
### Frontend package
|
|
58
|
+
|
|
54
59
|
The frontend package exports several components.
|
|
55
60
|
|
|
56
61
|
#### Installation
|
|
@@ -62,11 +67,14 @@ yarn add @bigbinary/neeto-github-frontend
|
|
|
62
67
|
```
|
|
63
68
|
|
|
64
69
|
#### Components
|
|
65
|
-
- [NeetoGithubNanoContainer](./docs/frontend/components/NeetoGithubNanoContainer/README.md)
|
|
66
|
-
- [NeetoGithubNanoPane](./docs/frontend/components/NeetoGithubNanoPane/README.md)
|
|
67
|
-
- [NeetoGithubIntegrationsTable](./docs/frontend/components/NeetoGithubIntegrationsTable/README.md)
|
|
68
70
|
|
|
71
|
+
- [NeetoGithubNanoContainer](./docs/frontend/components/NeetoGithubNanoContainer/README.md)
|
|
72
|
+
- [NeetoGithubNanoPane](./docs/frontend/components/NeetoGithubNanoPane/README.md)
|
|
73
|
+
- [NeetoGithubIntegrationsTable](./docs/frontend/components/NeetoGithubIntegrationsTable/README.md)
|
|
74
|
+
- [NeetoGithubRepositoryConnectionCard](./docs/frontend/components/NeetoGithubRepositoryConnectionCard/README.md)
|
|
69
75
|
|
|
70
76
|
## Instructions for Publishing
|
|
71
77
|
|
|
72
|
-
Consult the
|
|
78
|
+
Consult the
|
|
79
|
+
[building and releasing packages](https://neeto-engineering.neetokb.com/articles/building-and-releasing-packages)
|
|
80
|
+
guide for details on how to publish.
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"troubleshoot": "لا يمكنك العثور على مستودع تم توصيله بالفعل؟ <troubleshootLink>استكشاف الأخطاء</troubleshootLink> في اتصال غيت هب الخاص بك.",
|
|
24
24
|
"integrationTable": {
|
|
25
|
-
"noIntegrationFound": "لا توجد حسابات
|
|
25
|
+
"noIntegrationFound": "لا توجد حسابات GitHub متصلة.",
|
|
26
26
|
"alert": {
|
|
27
27
|
"title": "إلغاء تثبيت حساب غيت هب؟",
|
|
28
28
|
"message": "أنت تقوم بإلغاء تثبيت تطبيق غيت هب المثبت بواسطة <strong>{{login}}</strong>. لا يمكن التراجع عن ذلك."
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"troubleshoot": "Не можете да намерите хранилище, което вече е свързано? <troubleshootLink>Отстранете проблемите</troubleshootLink> с вашата GitHub връзка.",
|
|
24
24
|
"integrationTable": {
|
|
25
|
-
"noIntegrationFound": "Няма свързани GitHub
|
|
25
|
+
"noIntegrationFound": "Няма свързани акаунти в GitHub.",
|
|
26
26
|
"alert": {
|
|
27
27
|
"title": "Деинсталиране на GitHub акаунта?",
|
|
28
28
|
"message": "Деинсталирате GitHub приложението, инсталирано от <strong>{{login}}</strong>. Това не може да бъде отменено."
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"troubleshoot": "No podeu trobar un repositori que ja estigui connectat? <troubleshootLink>Solucioneu</troubleshootLink> la vostra connexió de GitHub.",
|
|
24
24
|
"integrationTable": {
|
|
25
|
-
"noIntegrationFound": "No hi ha comptes de GitHub connectats",
|
|
25
|
+
"noIntegrationFound": "No hi ha comptes de GitHub connectats.",
|
|
26
26
|
"alert": {
|
|
27
27
|
"title": "Desinstal·lar el compte de GitHub?",
|
|
28
28
|
"message": "Esteu desinstal·lant l'aplicació de GitHub instal·lada per <strong>{{login}}</strong>. Això no es pot desfer."
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"troubleshoot": "Nemůžete najít již připojený repozitář? <troubleshootLink>Vyřešit</troubleshootLink> vaše připojení k GitHubu.",
|
|
24
24
|
"integrationTable": {
|
|
25
|
-
"noIntegrationFound": "
|
|
25
|
+
"noIntegrationFound": "Nebyly připojeny žádné účty GitHub.",
|
|
26
26
|
"alert": {
|
|
27
27
|
"title": "Odinstalovat účet GitHub?",
|
|
28
28
|
"message": "Odinstalováváte aplikaci GitHub nainstalovanou uživatelem <strong>{{login}}</strong>. To není možné zvrátit."
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"troubleshoot": "Kan ikke finde et repository, der allerede er tilsluttet? <troubleshootLink>Fejlfind</troubleshootLink> din GitHub-forbindelse.",
|
|
24
24
|
"integrationTable": {
|
|
25
|
-
"noIntegrationFound": "Der er ingen GitHub-konti tilsluttet",
|
|
25
|
+
"noIntegrationFound": "Der er ingen GitHub-konti tilsluttet.",
|
|
26
26
|
"alert": {
|
|
27
27
|
"title": "Afinstaller GitHub-konto?",
|
|
28
28
|
"message": "Du afinstallerer GitHub-appen installeret af <strong>{{login}}</strong>. Dette kan ikke fortrydes."
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"troubleshoot": "Können Sie ein bereits verbundenes Repository nicht finden? <troubleshootLink>Problembehebung</troubleshootLink> Ihrer GitHub-Verbindung.",
|
|
24
24
|
"integrationTable": {
|
|
25
|
-
"noIntegrationFound": "Es
|
|
25
|
+
"noIntegrationFound": "Es sind keine GitHub-Konten verbunden.",
|
|
26
26
|
"alert": {
|
|
27
27
|
"title": "GitHub-Konto deinstallieren?",
|
|
28
28
|
"message": "Sie deinstallieren die GitHub-App, die von <strong>{{login}}</strong> installiert wurde. Dies kann nicht rückgängig gemacht werden."
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"neetoGithub": {
|
|
3
3
|
"connect": "Connect",
|
|
4
|
+
"disconnect": "Disconnect",
|
|
4
5
|
"github": "GitHub",
|
|
5
6
|
"fetchingRepos": "Please wait for a moment while we fetch your repositories",
|
|
6
7
|
"noRepos": "No repositories found",
|
|
@@ -12,7 +13,17 @@
|
|
|
12
13
|
"disconnectGitHub": "Disconnect GitHub",
|
|
13
14
|
"connectARepo": "Connect a repository",
|
|
14
15
|
"connectRepository": "Connect repository",
|
|
16
|
+
"connectedRepository": "Connected repository",
|
|
17
|
+
"selectARepository": "Select a repository",
|
|
18
|
+
"repositoryConnected": "This project is connected to <a>{{repository}}</a>",
|
|
19
|
+
"repositoryNotConnected": "This project is not connected to any repository.",
|
|
15
20
|
"continue": "Continue",
|
|
21
|
+
"helpDocUrl": "To learn how to use GitHub integration visit this <helpLink>help article</helpLink>.",
|
|
22
|
+
"disconnectAlert": {
|
|
23
|
+
"title": "Disconnect repository?",
|
|
24
|
+
"message": "This will remove the connection to your repository and stop all automated workflows."
|
|
25
|
+
},
|
|
26
|
+
"disconnectingDisabled": "Disconnecting a repository is disabled.",
|
|
16
27
|
"countOf": {
|
|
17
28
|
"repos_one": "{{count}} repo",
|
|
18
29
|
"repos_other": "{{count}} repos"
|
|
@@ -22,7 +33,7 @@
|
|
|
22
33
|
},
|
|
23
34
|
"troubleshoot": "Can't find a repository that's already connected? <troubleshootLink>Troubleshoot</troubleshootLink> your GitHub connection.",
|
|
24
35
|
"integrationTable": {
|
|
25
|
-
"noIntegrationFound": "There are no GitHub
|
|
36
|
+
"noIntegrationFound": "There are no GitHub accounts connected.",
|
|
26
37
|
"alert": {
|
|
27
38
|
"title": "Uninstall GitHub account?",
|
|
28
39
|
"message": "You are uninstalling the GitHub app installed by <strong>{{login}}</strong>. This can't be undone."
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"troubleshoot": "¿No puedes encontrar un repositorio que ya esté conectado? <troubleshootLink>Solucionar problemas</troubleshootLink> de tu conexión de GitHub.",
|
|
24
24
|
"integrationTable": {
|
|
25
|
-
"noIntegrationFound": "No hay
|
|
25
|
+
"noIntegrationFound": "No hay cuentas de GitHub conectadas.",
|
|
26
26
|
"alert": {
|
|
27
27
|
"title": "¿Desinstalar cuenta de GitHub?",
|
|
28
28
|
"message": "Estás desinstalando la aplicación de GitHub instalada por <strong>{{login}}</strong>. Esto no se puede deshacer."
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"troubleshoot": "¿No puedes encontrar un repositorio que ya esté conectado? <troubleshootLink>Solucionar</troubleshootLink> tu conexión de GitHub.",
|
|
24
24
|
"integrationTable": {
|
|
25
|
-
"noIntegrationFound": "No hay cuentas de GitHub conectadas",
|
|
25
|
+
"noIntegrationFound": "No hay cuentas de GitHub conectadas.",
|
|
26
26
|
"alert": {
|
|
27
27
|
"title": "¿Desinstalar la cuenta de GitHub?",
|
|
28
28
|
"message": "Estás desinstalando la aplicación de GitHub instalada por <strong>{{login}}</strong>. Esto no se puede deshacer."
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"troubleshoot": "Ei leia juba ühendatud deposiiti? <troubleshootLink>Probleemide lahendus</troubleshootLink> sinu GitHubi ühendusega.",
|
|
24
24
|
"integrationTable": {
|
|
25
|
-
"noIntegrationFound": "GitHubi
|
|
25
|
+
"noIntegrationFound": "GitHubi kontosid pole ühendatud.",
|
|
26
26
|
"alert": {
|
|
27
27
|
"title": "Eemalda GitHubi konto?",
|
|
28
28
|
"message": "Sa eemaldad GitHubi rakenduse, mille installis <strong>{{login}}</strong>. Seda ei saa tagasi võtta."
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"troubleshoot": "Et löydä jo kytkettyä varastoa? <troubleshootLink>Vianmääritys</troubleshootLink> GitHub-yhteyden vuoksi.",
|
|
24
24
|
"integrationTable": {
|
|
25
|
-
"noIntegrationFound": "
|
|
25
|
+
"noIntegrationFound": "Yhteydessä ei ole GitHub-tilejä.",
|
|
26
26
|
"alert": {
|
|
27
27
|
"title": "Poista GitHub-tili?",
|
|
28
28
|
"message": "Olet poistamassa GitHub-sovellusta, jonka on asentanut <strong>{{login}}</strong>. Tätä ei voi kumota."
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"troubleshoot": "Hindi mo ba mahanap ang isang repository na nakakonekta na? <troubleshootLink>Ayusin</troubleshootLink> ang iyong koneksyon sa GitHub.",
|
|
24
24
|
"integrationTable": {
|
|
25
|
-
"noIntegrationFound": "Walang nakakonektang account
|
|
25
|
+
"noIntegrationFound": "Walang nakakonektang mga account sa GitHub.",
|
|
26
26
|
"alert": {
|
|
27
27
|
"title": "I-uninstall ang account ng GitHub?",
|
|
28
28
|
"message": "I-uninstall mo ang app ng GitHub na naka-install ni <strong>{{login}}</strong>. Hindi ito maibabalik."
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"troubleshoot": "Vous ne trouvez pas un dépôt déjà connecté ? <troubleshootLink>Résoudre le problème</troubleshootLink> de votre connexion GitHub.",
|
|
24
24
|
"integrationTable": {
|
|
25
|
-
"noIntegrationFound": "Aucun compte GitHub
|
|
25
|
+
"noIntegrationFound": "Aucun compte GitHub n'est connecté.",
|
|
26
26
|
"alert": {
|
|
27
27
|
"title": "Désinstaller le compte GitHub ?",
|
|
28
28
|
"message": "Vous désinstallez l'application GitHub installée par <strong>{{login}}</strong>. Cela ne peut pas être annulé."
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"troubleshoot": "क्या कोई ऐसा रिपोज़िटरी नहीं मिल रहा है जो पहले से जुड़ा हुआ है? <troubleshootLink>समस्या का समाधान करें</troubleshootLink> आपके गिटहब कनेक्शन का।",
|
|
24
24
|
"integrationTable": {
|
|
25
|
-
"noIntegrationFound": "कोई
|
|
25
|
+
"noIntegrationFound": "कोई GitHub खाते जुड़े नहीं हैं।",
|
|
26
26
|
"alert": {
|
|
27
27
|
"title": "गिटहब खाता अनइंस्टॉल करें?",
|
|
28
28
|
"message": "आप गिटहब ऐप को अनइंस्टॉल कर रहे हैं जिसे <strong>{{login}}</strong> द्वारा स्थापित किया गया था। इसे पूर्ववत नहीं किया जा सकता।"
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"troubleshoot": "Ne možete pronaći repozitorij koji je već povezan? <troubleshootLink>Riješi probleme</troubleshootLink> s vašom GitHub vezom.",
|
|
24
24
|
"integrationTable": {
|
|
25
|
-
"noIntegrationFound": "Nema povezanih GitHub računa",
|
|
25
|
+
"noIntegrationFound": "Nema povezanih GitHub računa.",
|
|
26
26
|
"alert": {
|
|
27
27
|
"title": "Deinstalirati GitHub račun?",
|
|
28
28
|
"message": "Deinstalirate GitHub aplikaciju koju je instalirao <strong>{{login}}</strong>. Ovo se ne može poništiti."
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"troubleshoot": "Tidak dapat menemukan repositori yang sudah terhubung? <troubleshootLink>Atasi masalah</troubleshootLink> koneksi GitHub Anda.",
|
|
24
24
|
"integrationTable": {
|
|
25
|
-
"noIntegrationFound": "Tidak ada akun GitHub yang terhubung",
|
|
25
|
+
"noIntegrationFound": "Tidak ada akun GitHub yang terhubung.",
|
|
26
26
|
"alert": {
|
|
27
27
|
"title": "Hapus akun GitHub?",
|
|
28
28
|
"message": "Anda akan menghapus aplikasi GitHub yang diinstal oleh <strong>{{login}}</strong>. Ini tidak dapat dibatalkan."
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"troubleshoot": "Non riesci a trovare un repository già collegato? <troubleshootLink>Risolvi problemi</troubleshootLink> con la tua connessione GitHub.",
|
|
24
24
|
"integrationTable": {
|
|
25
|
-
"noIntegrationFound": "Non ci sono account GitHub
|
|
25
|
+
"noIntegrationFound": "Non ci sono account GitHub connessi.",
|
|
26
26
|
"alert": {
|
|
27
27
|
"title": "Disinstallare l'account GitHub?",
|
|
28
28
|
"message": "Stai disinstallando l'app GitHub installata da <strong>{{login}}</strong>. Questa operazione non può essere annullata."
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"troubleshoot": "すでに接続されているリポジトリが見つかりませんか? <troubleshootLink>トラブルシューティング</troubleshootLink>を行って、GitHub接続を確認してください。",
|
|
24
24
|
"integrationTable": {
|
|
25
|
-
"noIntegrationFound": "
|
|
25
|
+
"noIntegrationFound": "接続されているGitHubアカウントはありません。",
|
|
26
26
|
"alert": {
|
|
27
27
|
"title": "GitHubアカウントをアンインストールしますか?",
|
|
28
28
|
"message": "<strong>{{login}}</strong>によってインストールされたGitHubアプリをアンインストールしています。これは元に戻せません。"
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"troubleshoot": "Kunt u een repository die al is verbonden niet vinden? <troubleshootLink>Problemen oplossen</troubleshootLink> met uw GitHub-verbinding.",
|
|
24
24
|
"integrationTable": {
|
|
25
|
-
"noIntegrationFound": "Er
|
|
25
|
+
"noIntegrationFound": "Er zijn geen GitHub-accounts verbonden.",
|
|
26
26
|
"alert": {
|
|
27
27
|
"title": "GitHub-account deïnstalleren?",
|
|
28
28
|
"message": "U verwijdert de GitHub-app die is geïnstalleerd door <strong>{{login}}</strong>. Dit kan niet ongedaan worden gemaakt."
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"troubleshoot": "Nie możesz znaleźć repozytorium, które jest już połączone? <troubleshootLink>Rozwiąż problemy</troubleshootLink> z połączeniem z GitHub.",
|
|
24
24
|
"integrationTable": {
|
|
25
|
-
"noIntegrationFound": "Nie ma połączonych kont GitHub",
|
|
25
|
+
"noIntegrationFound": "Nie ma połączonych kont GitHub.",
|
|
26
26
|
"alert": {
|
|
27
27
|
"title": "Odinstalować konto GitHub?",
|
|
28
28
|
"message": "Odinstalowujesz aplikację GitHub zainstalowaną przez <strong>{{login}}</strong>. To nie może być cofnięte."
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"troubleshoot": "Não consegue encontrar um repositório que já esteja conectado? <troubleshootLink>Solucione</troubleshootLink> sua conexão com o GitHub.",
|
|
24
24
|
"integrationTable": {
|
|
25
|
-
"noIntegrationFound": "Não há
|
|
25
|
+
"noIntegrationFound": "Não há contas do GitHub conectadas.",
|
|
26
26
|
"alert": {
|
|
27
27
|
"title": "Desinstalar conta do GitHub?",
|
|
28
28
|
"message": "Você está desinstalando o aplicativo do GitHub instalado por <strong>{{login}}</strong>. Isso não pode ser desfeito."
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"troubleshoot": "Não consegue encontrar um repositório que já está conectado? <troubleshootLink>Solução de problemas</troubleshootLink> da sua conexão GitHub.",
|
|
24
24
|
"integrationTable": {
|
|
25
|
-
"noIntegrationFound": "Não há
|
|
25
|
+
"noIntegrationFound": "Não há contas do GitHub conectadas.",
|
|
26
26
|
"alert": {
|
|
27
27
|
"title": "Desinstalar conta do GitHub?",
|
|
28
28
|
"message": "Você está desinstalando o aplicativo GitHub instalado por <strong>{{login}}</strong>. Isso não pode ser desfeito."
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"troubleshoot": "Nu găsiți un repository care este deja conectat? <troubleshootLink>Depanați</troubleshootLink> conexiunea dvs. GitHub.",
|
|
24
24
|
"integrationTable": {
|
|
25
|
-
"noIntegrationFound": "Nu există conturi GitHub conectate",
|
|
25
|
+
"noIntegrationFound": "Nu există conturi GitHub conectate.",
|
|
26
26
|
"alert": {
|
|
27
27
|
"title": "Dezinstalare cont GitHub?",
|
|
28
28
|
"message": "Dezinstalați aplicația GitHub instalată de <strong>{{login}}</strong>. Acest lucru nu poate fi anulat."
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"troubleshoot": "Не можете найти уже подключенный репозиторий? <troubleshootLink>Устраните неполадки</troubleshootLink> вашего подключения к GitHub.",
|
|
24
24
|
"integrationTable": {
|
|
25
|
-
"noIntegrationFound": "Нет подключенных аккаунтов GitHub",
|
|
25
|
+
"noIntegrationFound": "Нет подключенных аккаунтов GitHub.",
|
|
26
26
|
"alert": {
|
|
27
27
|
"title": "Удалить аккаунт GitHub?",
|
|
28
28
|
"message": "Вы удаляете приложение GitHub, установленное <strong>{{login}}</strong>. Это действие нельзя отменить."
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"troubleshoot": "Nemôžete nájsť úložisko, ktoré už je pripojené? <troubleshootLink>Riešiť problémy</troubleshootLink> s vaším pripojením GitHub.",
|
|
24
24
|
"integrationTable": {
|
|
25
|
-
"noIntegrationFound": "Nie sú pripojené žiadne účty GitHub",
|
|
25
|
+
"noIntegrationFound": "Nie sú pripojené žiadne účty GitHub.",
|
|
26
26
|
"alert": {
|
|
27
27
|
"title": "Odinstalovať účet GitHub?",
|
|
28
28
|
"message": "Odinstalovávate aplikáciu GitHub nainštalovanú používateľom <strong>{{login}}</strong>. To nie je možné zvrátiť."
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"troubleshoot": "Ne morete najti repozitorija, ki je že povezan? <troubleshootLink>Odpravite težave</troubleshootLink> s povezavo GitHub.",
|
|
24
24
|
"integrationTable": {
|
|
25
|
-
"noIntegrationFound": "Ni
|
|
25
|
+
"noIntegrationFound": "Ni so povezani nobeni GitHub računi.",
|
|
26
26
|
"alert": {
|
|
27
27
|
"title": "Odstranite račun GitHub?",
|
|
28
28
|
"message": "Odstranjujete aplikacijo GitHub, ki jo je namestil <strong>{{login}}</strong>. To ni mogoče razveljaviti."
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"troubleshoot": "Kan't hitta ett repository som redan är anslutet? <troubleshootLink>Felsök</troubleshootLink> din GitHub-anslutning.",
|
|
24
24
|
"integrationTable": {
|
|
25
|
-
"noIntegrationFound": "
|
|
25
|
+
"noIntegrationFound": "Inga GitHub-konton är anslutna.",
|
|
26
26
|
"alert": {
|
|
27
27
|
"title": "Avinstallera GitHub-konto?",
|
|
28
28
|
"message": "Du avinstallerar GitHub-appen installerad av <strong>{{login}}</strong>. Detta kan inte ångras."
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"troubleshoot": "ไม่พบรีโพซิทอรีที่เชื่อมต่ออยู่แล้ว? <troubleshootLink>แก้ไขปัญหา</troubleshootLink> การเชื่อมต่อ GitHub ของคุณ",
|
|
24
24
|
"integrationTable": {
|
|
25
|
-
"noIntegrationFound": "ไม่มีบัญชี GitHub
|
|
25
|
+
"noIntegrationFound": "ไม่มีบัญชี GitHub ที่เชื่อมต่ออยู่.",
|
|
26
26
|
"alert": {
|
|
27
27
|
"title": "ต้องการถอนการติดตั้งบัญชี GitHub หรือไม่?",
|
|
28
28
|
"message": "คุณกำลังถอนการติดตั้งแอป GitHub ที่ติดตั้งโดย <strong>{{login}}</strong> สิ่งนี้ไม่สามารถย้อนกลับได้"
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"troubleshoot": "Zaten bağlanmış bir repository bulamıyor musunuz? <troubleshootLink>Sorunu gider</troubleshootLink> GitHub bağlantınızı.",
|
|
24
24
|
"integrationTable": {
|
|
25
|
-
"noIntegrationFound": "Bağlı
|
|
25
|
+
"noIntegrationFound": "Bağlı GitHub hesabı yok.",
|
|
26
26
|
"alert": {
|
|
27
27
|
"title": "GitHub hesabını kaldırmak mı?",
|
|
28
28
|
"message": "Bu <strong>{{login}}</strong> tarafından yüklenen GitHub uygulamasını kaldırıyorsunuz. Bu geri alınamaz."
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"troubleshoot": "Не можете знайти репозиторій, який вже підключено? <troubleshootLink>Вирішити проблему</troubleshootLink> з вашим підключенням GitHub.",
|
|
24
24
|
"integrationTable": {
|
|
25
|
-
"noIntegrationFound": "
|
|
25
|
+
"noIntegrationFound": "Існуючих облікових записів GitHub не підключено.",
|
|
26
26
|
"alert": {
|
|
27
27
|
"title": "Видалити обліковий запис GitHub?",
|
|
28
28
|
"message": "Ви видаляєте додаток GitHub, встановлений <strong>{{login}}</strong>. Це не можна скасувати."
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"troubleshoot": "Không tìm thấy kho lưu trữ nào đã được kết nối? <troubleshootLink>Khắc phục sự cố</troubleshootLink> kết nối GitHub của bạn.",
|
|
24
24
|
"integrationTable": {
|
|
25
|
-
"noIntegrationFound": "Không có tài khoản GitHub nào được kết nối",
|
|
25
|
+
"noIntegrationFound": "Không có tài khoản GitHub nào được kết nối.",
|
|
26
26
|
"alert": {
|
|
27
27
|
"title": "Gỡ cài đặt tài khoản GitHub?",
|
|
28
28
|
"message": "Bạn đang gỡ cài đặt ứng dụng GitHub được cài đặt bởi <strong>{{login}}</strong>. Điều này không thể được hoàn tác."
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"troubleshoot": "找不到已连接的仓库?<troubleshootLink>解决问题</troubleshootLink>您的 GitHub 连接。",
|
|
24
24
|
"integrationTable": {
|
|
25
|
-
"noIntegrationFound": "
|
|
25
|
+
"noIntegrationFound": "未连接任何 GitHub 账户。",
|
|
26
26
|
"alert": {
|
|
27
27
|
"title": "卸载 GitHub 账户?",
|
|
28
28
|
"message": "您正在卸载由 <strong>{{login}}</strong> 安装的 GitHub 应用。这无法撤销。"
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"troubleshoot": "找不到已連接的儲存庫?<troubleshootLink>故障排除</troubleshootLink> 您的 GitHub 連接。",
|
|
24
24
|
"integrationTable": {
|
|
25
|
-
"noIntegrationFound": "沒有連接的 GitHub
|
|
25
|
+
"noIntegrationFound": "沒有連接的 GitHub 帳戶。",
|
|
26
26
|
"alert": {
|
|
27
27
|
"title": "要卸載 GitHub 帳戶嗎?",
|
|
28
28
|
"message": "您正在卸載由 <strong>{{login}}</strong> 安裝的 GitHub 應用。此操作無法撤銷。"
|
|
@@ -4,6 +4,7 @@ import PageLoader from '@bigbinary/neeto-molecules/PageLoader';
|
|
|
4
4
|
import Button from '@bigbinary/neetoui/Button';
|
|
5
5
|
import { useTranslation, Trans } from 'react-i18next';
|
|
6
6
|
import { a as useDestroyGithubIntegration, b as useFetchGithubAppInstallations } from './useGithubAccountsApi-kFn8BvEJ.js';
|
|
7
|
+
import _defineProperty from '@babel/runtime/helpers/defineProperty';
|
|
7
8
|
import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
8
9
|
import { useState } from 'react';
|
|
9
10
|
import { isNotEmpty } from '@bigbinary/neeto-cist';
|
|
@@ -11,7 +12,6 @@ import Table from '@bigbinary/neetoui/Table';
|
|
|
11
12
|
import NoData from '@bigbinary/neetoui/NoData';
|
|
12
13
|
import Alert from '@bigbinary/neetoui/Alert';
|
|
13
14
|
import { isEmpty } from 'ramda';
|
|
14
|
-
import _defineProperty from '@babel/runtime/helpers/defineProperty';
|
|
15
15
|
import { t } from 'i18next';
|
|
16
16
|
import { buildUrl } from '@bigbinary/neeto-commons-frontend/utils';
|
|
17
17
|
import MoreDropdown from '@bigbinary/neeto-molecules/MoreDropdown';
|
|
@@ -24,10 +24,10 @@ import '@bigbinary/neeto-commons-frontend/react-utils';
|
|
|
24
24
|
import 'axios';
|
|
25
25
|
import '@bigbinary/neeto-commons-frontend/constants';
|
|
26
26
|
|
|
27
|
-
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
28
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
27
|
+
function ownKeys$1(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
28
|
+
function _objectSpread$1(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
29
29
|
var getNewInstallationUrl = function getNewInstallationUrl(integratorParams, redirectPath) {
|
|
30
|
-
return buildUrl("/github_integrations/app_installations/new", _objectSpread(_objectSpread({}, integratorParams), {}, {
|
|
30
|
+
return buildUrl("/github_integrations/app_installations/new", _objectSpread$1(_objectSpread$1({}, integratorParams), {}, {
|
|
31
31
|
redirectPath: redirectPath
|
|
32
32
|
}));
|
|
33
33
|
};
|
|
@@ -59,11 +59,14 @@ var getGithubAccountsTableColumnData = function getGithubAccountsTableColumnData
|
|
|
59
59
|
}];
|
|
60
60
|
};
|
|
61
61
|
|
|
62
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
63
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
62
64
|
var AccountsTable = function AccountsTable(_ref) {
|
|
63
65
|
var _ref$appInstallations = _ref.appInstallations,
|
|
64
66
|
appInstallations = _ref$appInstallations === void 0 ? [] : _ref$appInstallations,
|
|
65
67
|
integratorParams = _ref.integratorParams,
|
|
66
|
-
keysToPurgeOnDelete = _ref.keysToPurgeOnDelete
|
|
68
|
+
keysToPurgeOnDelete = _ref.keysToPurgeOnDelete,
|
|
69
|
+
noDataProps = _ref.noDataProps;
|
|
67
70
|
var _useTranslation = useTranslation(),
|
|
68
71
|
t = _useTranslation.t;
|
|
69
72
|
var _useState = useState({}),
|
|
@@ -80,9 +83,9 @@ var AccountsTable = function AccountsTable(_ref) {
|
|
|
80
83
|
if (isEmpty(appInstallations)) {
|
|
81
84
|
return /*#__PURE__*/jsx("div", {
|
|
82
85
|
className: "flex h-full w-full items-center justify-center",
|
|
83
|
-
children: /*#__PURE__*/jsx(NoData, {
|
|
86
|
+
children: /*#__PURE__*/jsx(NoData, _objectSpread({
|
|
84
87
|
title: t("neetoGithub.integrationTable.noIntegrationFound")
|
|
85
|
-
})
|
|
88
|
+
}, noDataProps))
|
|
86
89
|
});
|
|
87
90
|
}
|
|
88
91
|
return /*#__PURE__*/jsxs(Fragment, {
|
|
@@ -118,7 +121,11 @@ var NeetoGithubIntegrationsTable = function NeetoGithubIntegrationsTable(_ref) {
|
|
|
118
121
|
integratorParams = _ref.integratorParams,
|
|
119
122
|
redirectPath = _ref.redirectPath,
|
|
120
123
|
_ref$keysToPurgeOnDel = _ref.keysToPurgeOnDelete,
|
|
121
|
-
keysToPurgeOnDelete = _ref$keysToPurgeOnDel === void 0 ? [] : _ref$keysToPurgeOnDel
|
|
124
|
+
keysToPurgeOnDelete = _ref$keysToPurgeOnDel === void 0 ? [] : _ref$keysToPurgeOnDel,
|
|
125
|
+
_ref$titleHelpPopover = _ref.titleHelpPopoverProps,
|
|
126
|
+
titleHelpPopoverProps = _ref$titleHelpPopover === void 0 ? {} : _ref$titleHelpPopover,
|
|
127
|
+
_ref$noDataProps = _ref.noDataProps,
|
|
128
|
+
noDataProps = _ref$noDataProps === void 0 ? {} : _ref$noDataProps;
|
|
122
129
|
var _useTranslation = useTranslation(),
|
|
123
130
|
t = _useTranslation.t;
|
|
124
131
|
var _useFetchGithubAppIns = useFetchGithubAppInstallations(integratorParams),
|
|
@@ -135,6 +142,7 @@ var NeetoGithubIntegrationsTable = function NeetoGithubIntegrationsTable(_ref) {
|
|
|
135
142
|
return /*#__PURE__*/jsxs(Container, {
|
|
136
143
|
children: [/*#__PURE__*/jsx(Header, {
|
|
137
144
|
breadcrumbs: breadcrumbs,
|
|
145
|
+
titleHelpPopoverProps: titleHelpPopoverProps,
|
|
138
146
|
title: t("neetoGithub.github"),
|
|
139
147
|
actionBlock: /*#__PURE__*/jsx(Button, {
|
|
140
148
|
href: newInstallationUrl,
|
|
@@ -143,7 +151,8 @@ var NeetoGithubIntegrationsTable = function NeetoGithubIntegrationsTable(_ref) {
|
|
|
143
151
|
}), /*#__PURE__*/jsx(AccountsTable, {
|
|
144
152
|
appInstallations: appInstallations,
|
|
145
153
|
integratorParams: integratorParams,
|
|
146
|
-
keysToPurgeOnDelete: keysToPurgeOnDelete
|
|
154
|
+
keysToPurgeOnDelete: keysToPurgeOnDelete,
|
|
155
|
+
noDataProps: noDataProps
|
|
147
156
|
})]
|
|
148
157
|
});
|
|
149
158
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NeetoGithubIntegrationsTable.js","sources":["../app/javascript/src/components/NeetoGithubIntegrationsTable/utils.jsx","../app/javascript/src/components/NeetoGithubIntegrationsTable/AccountsTable.jsx","../app/javascript/src/components/NeetoGithubIntegrationsTable/index.jsx"],"sourcesContent":["import { t } from \"i18next\";\nimport { buildUrl } from \"neetocommons/utils\";\nimport MoreDropdown from \"neetomolecules/MoreDropdown\";\nimport { Typography } from \"neetoui\";\n\nexport const getNewInstallationUrl = (integratorParams, redirectPath) =>\n buildUrl(\"/github_integrations/app_installations/new\", {\n ...integratorParams,\n redirectPath,\n });\n\nexport const getGithubAccountsTableColumnData = ({\n setAccountToDisconnect,\n}) => [\n {\n title: t(\"neetoGithub.account\"),\n dataIndex: \"\",\n key: \"actions\",\n render: (_, account) => (\n <div className=\"flex items-center justify-between gap-x-3\">\n <Typography>{account.accountLogin}</Typography>\n <MoreDropdown\n dropdownProps={{ strategy: \"fixed\" }}\n menuItems={[\n {\n key: \"delete\",\n label: t(\"neetoGithub.actions.delete\"),\n onClick: () => setAccountToDisconnect(account),\n },\n ]}\n />\n </div>\n ),\n },\n];\n","import { useState } from \"react\";\n\nimport { isNotEmpty } from \"neetocist\";\nimport { Table, NoData, Alert } from \"neetoui\";\nimport { isEmpty } from \"ramda\";\nimport { useTranslation, Trans } from \"react-i18next\";\n\nimport { useDestroyGithubIntegration } from \"hooks/reactQuery/useGithubAccountsApi\";\n\nimport { getGithubAccountsTableColumnData } from \"./utils\";\n\nconst AccountsTable = ({\n appInstallations = [],\n integratorParams,\n keysToPurgeOnDelete,\n}) => {\n const { t } = useTranslation();\n const [accountToDisconnect, setAccountToDisconnect] = useState({});\n\n const { mutate: deleteGithubAccount, isPending: isDeleting } =\n useDestroyGithubIntegration(integratorParams, keysToPurgeOnDelete, {\n onSuccess: () => setAccountToDisconnect({}),\n });\n\n if (isEmpty(appInstallations)) {\n return (\n <div className=\"flex h-full w-full items-center justify-center\">\n <NoData title={t(\"neetoGithub.integrationTable.noIntegrationFound\")} />\n </div>\n );\n }\n\n return (\n <>\n <Table\n rowData={appInstallations}\n columnData={getGithubAccountsTableColumnData({\n setAccountToDisconnect,\n })}\n />\n <Alert\n isOpen={isNotEmpty(accountToDisconnect)}\n isSubmitting={isDeleting}\n submitButtonLabel={t(\"neetoGithub.disconnectGitHub\")}\n title={t(\"neetoGithub.integrationTable.alert.title\")}\n message={\n <Trans\n i18nKey=\"neetoGithub.integrationTable.alert.message\"\n values={{ login: accountToDisconnect?.accountLogin }}\n />\n }\n onClose={() => setAccountToDisconnect({})}\n onSubmit={() => deleteGithubAccount(accountToDisconnect?.id)}\n />\n </>\n );\n};\n\nexport default AccountsTable;\n","import Container from \"neetomolecules/Container\";\nimport Header from \"neetomolecules/Header\";\nimport PageLoader from \"neetomolecules/PageLoader\";\nimport { Button } from \"neetoui\";\nimport { useTranslation } from \"react-i18next\";\n\nimport { useFetchGithubAppInstallations } from \"hooks/reactQuery/useGithubAccountsApi\";\n\nimport AccountsTable from \"./AccountsTable\";\nimport { getNewInstallationUrl } from \"./utils\";\n\nconst NeetoGithubIntegrationsTable = ({\n breadcrumbs = [],\n integratorParams,\n redirectPath,\n keysToPurgeOnDelete = [],\n}) => {\n const { t } = useTranslation();\n\n const { data: appInstallations = [], isLoading } =\n useFetchGithubAppInstallations(integratorParams);\n\n const newInstallationUrl = getNewInstallationUrl(\n integratorParams,\n redirectPath\n );\n\n if (isLoading) {\n return (\n <div className=\"flex h-screen w-screen items-center justify-center\">\n <PageLoader />\n </div>\n );\n }\n\n return (\n <Container>\n <Header\n {...{ breadcrumbs }}\n title={t(\"neetoGithub.github\")}\n actionBlock={\n <Button\n href={newInstallationUrl}\n label={t(\"neetoGithub.connectGithub\")}\n />\n }\n />\n <AccountsTable\n {...{ appInstallations, integratorParams, keysToPurgeOnDelete }}\n />\n </Container>\n );\n};\n\nexport default NeetoGithubIntegrationsTable;\n"],"names":["getNewInstallationUrl","integratorParams","redirectPath","buildUrl","_objectSpread","getGithubAccountsTableColumnData","_ref","setAccountToDisconnect","title","t","dataIndex","key","render","_","account","_jsxs","className","children","_jsx","Typography","accountLogin","MoreDropdown","dropdownProps","strategy","menuItems","label","onClick","AccountsTable","_ref$appInstallations","appInstallations","keysToPurgeOnDelete","_useTranslation","useTranslation","_useState","useState","_useState2","_slicedToArray","accountToDisconnect","_useDestroyGithubInte","useDestroyGithubIntegration","onSuccess","deleteGithubAccount","mutate","isDeleting","isPending","isEmpty","NoData","_Fragment","Table","rowData","columnData","Alert","isOpen","isNotEmpty","isSubmitting","submitButtonLabel","message","Trans","i18nKey","values","login","onClose","onSubmit","id","NeetoGithubIntegrationsTable","_ref$breadcrumbs","breadcrumbs","_ref$keysToPurgeOnDel","_useFetchGithubAppIns","useFetchGithubAppInstallations","_useFetchGithubAppIns2","data","isLoading","newInstallationUrl","PageLoader","Container","Header","actionBlock","Button","href"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKO,IAAMA,qBAAqB,GAAG,SAAxBA,qBAAqBA,CAAIC,gBAAgB,EAAEC,YAAY,EAAA;EAAA,OAClEC,QAAQ,CAAC,4CAA4C,EAAAC,aAAA,CAAAA,aAAA,KAChDH,gBAAgB,CAAA,EAAA,EAAA,EAAA;AACnBC,IAAAA,YAAY,EAAZA;AAAY,GAAA,CACb,CAAC;AAAA,CAAA;AAEG,IAAMG,gCAAgC,GAAG,SAAnCA,gCAAgCA,CAAAC,IAAA,EAAA;AAAA,EAAA,IAC3CC,sBAAsB,GAAAD,IAAA,CAAtBC,sBAAsB;AAAA,EAAA,OAClB,CACJ;AACEC,IAAAA,KAAK,EAAEC,CAAC,CAAC,qBAAqB,CAAC;AAC/BC,IAAAA,SAAS,EAAE,EAAE;AACbC,IAAAA,GAAG,EAAE,SAAS;AACdC,IAAAA,MAAM,EAAE,SAARA,MAAMA,CAAGC,CAAC,EAAEC,OAAO,EAAA;AAAA,MAAA,oBACjBC,IAAA,CAAA,KAAA,EAAA;AAAKC,QAAAA,SAAS,EAAC,2CAA2C;QAAAC,QAAA,EAAA,cACxDC,GAAA,CAACC,UAAU,EAAA;UAAAF,QAAA,EAAEH,OAAO,CAACM;AAAY,SAAa,CAAC,eAC/CF,GAAA,CAACG,YAAY,EAAA;AACXC,UAAAA,aAAa,EAAE;AAAEC,YAAAA,QAAQ,EAAE;WAAU;AACrCC,UAAAA,SAAS,EAAE,CACT;AACEb,YAAAA,GAAG,EAAE,QAAQ;AACbc,YAAAA,KAAK,EAAEhB,CAAC,CAAC,4BAA4B,CAAC;YACtCiB,OAAO,EAAE,SAATA,OAAOA,GAAA;cAAA,OAAQnB,sBAAsB,CA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AhBA,gBAAgB;AAAE5B,MAAAA,gBAAgB,EAAhBA,gBAAgB;AAAE6B,MAAAA,mBAAmB,EAAnBA;AAAmB,KAC9D,CAAC;AAAA,GACO,CAAC;AAEhB;;;;"}
|
|
1
|
+
{"version":3,"file":"NeetoGithubIntegrationsTable.js","sources":["../app/javascript/src/components/NeetoGithubIntegrationsTable/utils.jsx","../app/javascript/src/components/NeetoGithubIntegrationsTable/AccountsTable.jsx","../app/javascript/src/components/NeetoGithubIntegrationsTable/index.jsx"],"sourcesContent":["import { t } from \"i18next\";\nimport { buildUrl } from \"neetocommons/utils\";\nimport MoreDropdown from \"neetomolecules/MoreDropdown\";\nimport { Typography } from \"neetoui\";\n\nexport const getNewInstallationUrl = (integratorParams, redirectPath) =>\n buildUrl(\"/github_integrations/app_installations/new\", {\n ...integratorParams,\n redirectPath,\n });\n\nexport const getGithubAccountsTableColumnData = ({\n setAccountToDisconnect,\n}) => [\n {\n title: t(\"neetoGithub.account\"),\n dataIndex: \"\",\n key: \"actions\",\n render: (_, account) => (\n <div className=\"flex items-center justify-between gap-x-3\">\n <Typography>{account.accountLogin}</Typography>\n <MoreDropdown\n dropdownProps={{ strategy: \"fixed\" }}\n menuItems={[\n {\n key: \"delete\",\n label: t(\"neetoGithub.actions.delete\"),\n onClick: () => setAccountToDisconnect(account),\n },\n ]}\n />\n </div>\n ),\n },\n];\n","import { useState } from \"react\";\n\nimport { isNotEmpty } from \"neetocist\";\nimport { Table, NoData, Alert } from \"neetoui\";\nimport { isEmpty } from \"ramda\";\nimport { useTranslation, Trans } from \"react-i18next\";\n\nimport { useDestroyGithubIntegration } from \"hooks/reactQuery/useGithubAccountsApi\";\n\nimport { getGithubAccountsTableColumnData } from \"./utils\";\n\nconst AccountsTable = ({\n appInstallations = [],\n integratorParams,\n keysToPurgeOnDelete,\n noDataProps,\n}) => {\n const { t } = useTranslation();\n const [accountToDisconnect, setAccountToDisconnect] = useState({});\n\n const { mutate: deleteGithubAccount, isPending: isDeleting } =\n useDestroyGithubIntegration(integratorParams, keysToPurgeOnDelete, {\n onSuccess: () => setAccountToDisconnect({}),\n });\n\n if (isEmpty(appInstallations)) {\n return (\n <div className=\"flex h-full w-full items-center justify-center\">\n <NoData\n title={t(\"neetoGithub.integrationTable.noIntegrationFound\")}\n {...noDataProps}\n />\n </div>\n );\n }\n\n return (\n <>\n <Table\n rowData={appInstallations}\n columnData={getGithubAccountsTableColumnData({\n setAccountToDisconnect,\n })}\n />\n <Alert\n isOpen={isNotEmpty(accountToDisconnect)}\n isSubmitting={isDeleting}\n submitButtonLabel={t(\"neetoGithub.disconnectGitHub\")}\n title={t(\"neetoGithub.integrationTable.alert.title\")}\n message={\n <Trans\n i18nKey=\"neetoGithub.integrationTable.alert.message\"\n values={{ login: accountToDisconnect?.accountLogin }}\n />\n }\n onClose={() => setAccountToDisconnect({})}\n onSubmit={() => deleteGithubAccount(accountToDisconnect?.id)}\n />\n </>\n );\n};\n\nexport default AccountsTable;\n","import Container from \"neetomolecules/Container\";\nimport Header from \"neetomolecules/Header\";\nimport PageLoader from \"neetomolecules/PageLoader\";\nimport { Button } from \"neetoui\";\nimport { useTranslation } from \"react-i18next\";\n\nimport { useFetchGithubAppInstallations } from \"hooks/reactQuery/useGithubAccountsApi\";\n\nimport AccountsTable from \"./AccountsTable\";\nimport { getNewInstallationUrl } from \"./utils\";\n\nconst NeetoGithubIntegrationsTable = ({\n breadcrumbs = [],\n integratorParams,\n redirectPath,\n keysToPurgeOnDelete = [],\n titleHelpPopoverProps = {},\n noDataProps = {},\n}) => {\n const { t } = useTranslation();\n\n const { data: appInstallations = [], isLoading } =\n useFetchGithubAppInstallations(integratorParams);\n\n const newInstallationUrl = getNewInstallationUrl(\n integratorParams,\n redirectPath\n );\n\n if (isLoading) {\n return (\n <div className=\"flex h-screen w-screen items-center justify-center\">\n <PageLoader />\n </div>\n );\n }\n\n return (\n <Container>\n <Header\n {...{ breadcrumbs, titleHelpPopoverProps }}\n title={t(\"neetoGithub.github\")}\n actionBlock={\n <Button\n href={newInstallationUrl}\n label={t(\"neetoGithub.connectGithub\")}\n />\n }\n />\n <AccountsTable\n {...{\n appInstallations,\n integratorParams,\n keysToPurgeOnDelete,\n noDataProps,\n }}\n />\n </Container>\n );\n};\n\nexport default NeetoGithubIntegrationsTable;\n"],"names":["getNewInstallationUrl","integratorParams","redirectPath","buildUrl","_objectSpread","getGithubAccountsTableColumnData","_ref","setAccountToDisconnect","title","t","dataIndex","key","render","_","account","_jsxs","className","children","_jsx","Typography","accountLogin","MoreDropdown","dropdownProps","strategy","menuItems","label","onClick","AccountsTable","_ref$appInstallations","appInstallations","keysToPurgeOnDelete","noDataProps","_useTranslation","useTranslation","_useState","useState","_useState2","_slicedToArray","accountToDisconnect","_useDestroyGithubInte","useDestroyGithubIntegration","onSuccess","deleteGithubAccount","mutate","isDeleting","isPending","isEmpty","NoData","_Fragment","Table","rowData","columnData","Alert","isOpen","isNotEmpty","isSubmitting","submitButtonLabel","message","Trans","i18nKey","values","login","onClose","onSubmit","id","NeetoGithubIntegrationsTable","_ref$breadcrumbs","breadcrumbs","_ref$keysToPurgeOnDel","_ref$titleHelpPopover","titleHelpPopoverProps","_ref$noDataProps","_useFetchGithubAppIns","useFetchGithubAppInstallations","_useFetchGithubAppIns2","data","isLoading","newInstallationUrl","PageLoader","Container","Header","actionBlock","Button","href"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKO,IAAMA,qBAAqB,GAAG,SAAxBA,qBAAqBA,CAAIC,gBAAgB,EAAEC,YAAY,EAAA;EAAA,OAClEC,QAAQ,CAAC,4CAA4C,EAAAC,eAAA,CAAAA,eAAA,KAChDH,gBAAgB,CAAA,EAAA,EAAA,EAAA;AACnBC,IAAAA,YAAY,EAAZA;AAAY,GAAA,CACb,CAAC;AAAA,CAAA;AAEG,IAAMG,gCAAgC,GAAG,SAAnCA,gCAAgCA,CAAAC,IAAA,EAAA;AAAA,EAAA,IAC3CC,sBAAsB,GAAAD,IAAA,CAAtBC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
|
@@ -2,7 +2,7 @@ import 'classnames';
|
|
|
2
2
|
import '@bigbinary/neeto-commons-frontend/initializers';
|
|
3
3
|
import '@bigbinary/neetoui/Spinner';
|
|
4
4
|
import './useGithubAccountsApi-kFn8BvEJ.js';
|
|
5
|
-
export { N as default } from './index-
|
|
5
|
+
export { N as default } from './index-kiZ2xPC1.js';
|
|
6
6
|
import 'react/jsx-runtime';
|
|
7
7
|
import '@babel/runtime/helpers/toConsumableArray';
|
|
8
8
|
import '@babel/runtime/helpers/defineProperty';
|
|
@@ -4,7 +4,7 @@ import Pane from '@bigbinary/neetoui/Pane';
|
|
|
4
4
|
import Typography from '@bigbinary/neetoui/Typography';
|
|
5
5
|
import { useTranslation } from 'react-i18next';
|
|
6
6
|
import { u as useFetchGithubRepositories } from './useGithubAccountsApi-kFn8BvEJ.js';
|
|
7
|
-
import { n, N as NeetoGithubNanoContainer } from './index-
|
|
7
|
+
import { n, N as NeetoGithubNanoContainer } from './index-kiZ2xPC1.js';
|
|
8
8
|
import { globalProps } from '@bigbinary/neeto-commons-frontend/initializers';
|
|
9
9
|
import * as qs from 'qs';
|
|
10
10
|
import { jsxs, jsx } from 'react/jsx-runtime';
|