@bigbinary/neeto-github-frontend 1.0.13 → 1.0.15

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 CHANGED
@@ -1,296 +1,71 @@
1
1
  # neeto-github-nano
2
2
 
3
- A Ruby gem that manages GitHub integration across neeto products
3
+ The `neeto-github-nano` manages GitHub integration across neeto products.
4
4
 
5
- ## Installation
5
+ ## Contents
6
6
 
7
- Add this line to your application's Gemfile:
7
+ 1. [Development with Host Application](#development-with-host-application)
8
+ - [Engine](#engine)
9
+ - [Installation](#installation)
10
+ - [Usage](#usage)
11
+ - [Frontend package](#frontend-package)
12
+ - [Installation](#installation-1)
13
+ - [Components](#components)
14
+ 2. [Instructions for Publishing](#instructions-for-publishing)
8
15
 
9
- ```ruby
10
- gem "neeto-github-engine", git: "https://#{github_auth_string}@github.com/bigbinary/neeto-github-nano.git", branch: "stable"
11
-
12
- gem "octokit"
13
- ```
14
-
15
- And then execute:
16
-
17
- ```bash
18
- bundle
19
- ```
20
-
21
- Or use `gem install`:
22
-
23
- ```bash
24
- gem install neeto-github-engine octokit
25
- ```
26
-
27
- ## Migration
28
-
29
- To Copy migration files, run:
30
-
31
- ```bash
32
- rails g neeto_github_engine:install
33
- ```
34
-
35
- After adding the migration file, run:
36
-
37
- ```bash
38
- bundle exec rails db:migrate
39
- ```
40
-
41
- ## Integration
42
-
43
- `neeto-github-engine` supports OAuth apps and GitHub apps. Depending upon the use case you can use either one or both together. Refer to the link below to understand the differences between a Github app and an OAuth app: <https://docs.github.com/en/apps/oauth-apps/building-oauth-apps/differences-between-github-apps-and-oauth-apps>
44
-
45
- 1. [Integrate OAuth app](#integrate-oauth-app)
46
- 2. [Integrate GitHub app](#integrate-github-app)
47
-
48
- ## Integrate OAuth app
49
-
50
- ### Create an OAuth app on GitHub
51
-
52
- Refer to this: <https://docs.github.com/en/developers/apps/building-oauth-apps/creating-an-oauth-app>
16
+ ## Development with Host Application
53
17
 
54
- Set the Callback URL as:
18
+ ### Engine
19
+ The engine allows us to integrate OAuth apps and Github apps in the neeto applications.
55
20
 
56
- ```text
57
- https://connect.neeto<AppName>.com
58
- ```
59
-
60
- Here, the subdomain can be anything like `connect` or `app`.
61
- The domain will be the application domain.
62
- Create different OAuth apps for staging and production.
63
-
64
- After getting the `client_id` and `client_secret`,
65
- add this to the `secrets.yml` file in your application.
66
-
67
- ```yml
68
- default:
69
- github_oauth_app:
70
- client_id: <%= ENV["GITHUB_CLIENT_ID"] %>
71
- client_secret: <%= ENV["GITHUB_CLIENT_SECRET"] %>
72
- ```
73
-
74
- and add the secrets to ENV.
75
-
76
- ### Add JWT private and public keys
77
-
78
- Run the following ruby command to generate an RSA key pair:
79
-
80
- ```ruby
81
- rsa = OpenSSL::PKey::RSA.generate(2048)
82
- ```
83
-
84
- The following command prints the private key:
85
-
86
- ```ruby
87
- rsa.to_s
88
- ```
21
+ #### Installation
89
22
 
90
- The following command prints the public key:
23
+ 1. Add gems to your application's Gemfile:
91
24
 
92
25
  ```ruby
93
- rsa.public_key.to_s
94
- ```
95
-
96
- Store the private and public keys as environment variables,
97
- let's say, as `JWT_PRIVATE_KEY` and `JWT_PUBLIC_KEY`, respectively.
98
- Then add the keys to the `secrets.yml` file in your application,
99
- as shown below:
26
+ gem "octokit"
100
27
 
101
- ```yml
102
- default:
103
- jwt:
104
- private_key: <%= ENV['JWT_PRIVATE_KEY'].inspect %>
105
- public_key: <%= ENV['JWT_PUBLIC_KEY'].inspect %>
28
+ source "NEETO_GEM_SERVER_URL" do
29
+ gem "neeto-github-engine"
30
+ end
106
31
  ```
107
32
 
108
- ### Add association
33
+ 2. And then execute:
109
34
 
110
35
  ```bash
111
- rails g neeto_github_engine:integration <entity>
36
+ bundle install
112
37
  ```
113
38
 
114
- For example, if the `organization` model should have many accounts, you should run:
39
+ 3. Copy migration files, run:
115
40
 
116
41
  ```bash
117
- rails g neeto_github_engine:integration organization
118
- ```
119
-
120
- This will add `NeetoGithubEngine::Integratable` concern to the `Organization` model.
121
-
122
- ### Controllers to store the access token
123
-
124
- - `AuthorizeController` (`/neeto_github/authorize`)
125
- This action accepts 4 params:
126
-
127
- 1. integrator_type
128
- 2. integrator_id
129
- 3. redirect_path
130
- 4. scope
131
-
132
- For Example, if the `Organization` is the integrator of accounts then redirect the user to:
133
-
134
- ```js
135
- /neeto_github/authorize?${qs.stringify({
136
- integrator_type: 'Organization',
137
- integrator_id: organizationId,
138
- scope: "repo",
139
- redirect_path: `/settings/github-integration`,
140
- })}
141
- ```
142
-
143
- where the `scope` is what scope level application needs to access GitHub and
144
- `redirect_path` is where the user needs to be redirected after the authorization is completed.
145
-
146
- ### Controllers
147
-
148
- ```ruby
149
- NeetoGithubEngine::AccountsController
42
+ rails g neeto_github_engine:install
150
43
  ```
151
44
 
152
- The controller mentioned above can be used to fetch GitHub accounts.
153
-
154
- Mandatory params:
155
-
156
- - `integrator_id`
157
- - `integrator_type`
158
-
159
- ### Add Repository to Entity
45
+ 4. After adding the migration file, run:
160
46
 
161
47
  ```bash
162
- rails g neeto_github_engine:repository <entity>
163
- ```
164
-
165
- The above command will:
166
-
167
- 1. Create a file in `app/models` with the name `<entity>Repository.rb`.
168
- 2. Add an association to the entity model.
169
-
170
- ### Link Pull Request With Entity
171
- ```
172
- include NeetoGithubEngine::Linkable
173
- ```
174
- The above concern will associate the entity with `NeetoGithubEngine::PullRequest` Model.
175
-
176
- ### Using controllers
177
-
178
- - Controllers must inherit from
179
-
180
- ```ruby
181
- NeetoGithubEngine::BaseController
182
- ```
183
-
184
- Mandatory params: account_id
185
-
186
- ## Integrate GitHub app
187
-
188
- ### Create a GitHub app in GitHub
189
-
190
- Refer: https://docs.github.com/en/apps/creating-github-apps/registering-a-github-app/registering-a-github-app
191
-
192
- **⚠️ When creating a GitHub app make sure to not to include spaces or special characters (except hyphen ``-``) in the GitHub App name field**
193
-
194
- Set the post installation setup url in the GitHub app's general settings page as:
195
- ```
196
- https://app.neeto<AppName>.com/neeto_github/app_installations/callbacks
197
- ```
198
- Here, the subdomain can be anything like connect or app. The domain will be the application domain.
199
-
200
- Enable the webhooks and set the webhook url as:
201
-
202
- ```
203
- https://app.neeto<AppName>.com/neeto_github/webhooks
204
- ```
205
- You can choose a random string of text with high entropy as `webhook_secret`.
206
-
207
- After getting the `app_id`, `app_name`, `private_key` and `webhook_secret`, add them to the secrets.yml file in your application.
208
-
209
- ```yml
210
- default: &default
211
- github_app:
212
- id: <%= ENV["GITHUB_APP_ID"] %>
213
- name: <%= ENV["GITHUB_APP_NAME"] %>
214
- private_key: <%= ENV["GITHUB_APP_PRIVATE_KEY"].inspect %>
215
- webhook_secret: <%= ENV["GITHUB_APP_WEBHOOK_SECRET"] %>
216
- ```
217
-
218
- Follow the steps of OAuth app integration for adding [JWT private and public keys](#add-jwt-private-and-public-keys) and [association](#add-association).
219
-
220
-
221
- ### Install GitHub app
222
-
223
- `AppInstallationsController#new` Used to install the github app in the user specified repositories. This action accepts 4 URL query parameters:
224
-
225
- 1. integrator_type
226
- 2. integrator_id
227
- 3. redirect_path
228
- 4. fallback_redirect_path
229
-
230
- Here the `redirect_path` is where the user needs to be redirected after the installation is completed and `fallback_redirect_path` is where the user needs to redirected in case of any error.
231
-
232
- ```
233
- GET /neeto_github/app_installations/new?integrator_type=<integrator_type>&integrator_id=<integrator_id>&redirect_path=/settings&fallback_redirect_path=/settings
234
- ```
235
-
236
- ### Fetch app installations
237
-
238
- `AppInstallationsController#index` Used to list app installations that are associated with an integrator. This action accepts 4 URL query parameters:
239
-
240
- 1. integrator_type
241
- 2. integrator_id
242
- 3. page_size (optional)
243
- 4. page (optional)
244
-
245
- ```
246
- GET /neeto_github/app_installations?integrator_type=<integrator_type>&integrator_id=<integrator_id>&page_size=10&page=1
247
- ```
248
-
249
- ### Destroy app installation
250
-
251
- `AppInstallationsController#destroy` Used to destroy a particular `AppInstallation`. This action accepts 3 URL parameters:
252
-
253
- Query parameters:
254
- 1. integrator_type
255
- 2. integrator_id
256
-
257
- Path parameters:
258
- 1. app_installation_id
259
-
260
- ```
261
- DELETE /neeto_github/app_installations/<app_installation_id>?integrator_type=<integrator_type>&integrator_id=<integrator_id>
48
+ bundle exec rails db:migrate
262
49
  ```
263
50
 
264
- ### Fetch app installation repositories
51
+ #### Usage
52
+ - [Integration](./docs/engine/integration.md)
265
53
 
266
- `AppInstallations::RepositoriesController#index` Used to list the repositories of an installed github app. This action accepts 3 URL parameters:
54
+ ### Frontend package
55
+ The frontend package exports several components.
267
56
 
268
- Query parameters:
269
- 1. integrator_type
270
- 2. integrator_id
57
+ #### Installation
271
58
 
272
- Path parameters:
273
- 1. app_installation_id
59
+ Install the latest package using the below command -
274
60
 
61
+ ```bash
62
+ yarn add @bigbinary/neeto-github-frontend
275
63
  ```
276
- GET /neeto_github/app_installations/<app_installation_id>/repositories?integrator_id=<integrator_id>&integrator_type=<integrator_type>
277
- ```
278
-
279
- ### Get an issue detail
280
-
281
- `AppInstallations::Repositories::IssuesController#Issue` This action provides the details of an github issue. This action accepts 5 URL parameters:
282
64
 
283
- Query parameters:
284
- 1. integrator_type
285
- 2. integrator_id
65
+ #### Components
66
+ - [NeetoGithubNanoContainer](./docs/frontend/components/NeetoGithubNanoContainer/README.md)
67
+ - [NeetoGithubNanoPane](./docs/frontend/components/NeetoGithubNanoPane/README.md)
286
68
 
287
- Path parameters:
288
- 1. app_installation_id
289
- 4. repository_full_name
290
- 3. issue_number
69
+ ## Instructions for Publishing
291
70
 
292
- `repository_full_name` should be URL encoded. You can use `encodeURIComponent` javascript method to URL encode `repository_full_name`.
293
-
294
- ```
295
- GET /neeto_github/app_installations/<app_installation_id>/repositories/<url_encoded_repository_full_name>/issues/<issue_number>?integrator_id=<integrator_id>&integrator_type=<integrator_type>
296
- ```
71
+ Consult the [building and releasing packages](https://neeto-engineering.neetokb.com/articles/building-and-releasing-packages) guide for details on how to publish.
@@ -5,23 +5,19 @@
5
5
  "fetchingRepos": "Please wait for a moment while we fetch your repositories",
6
6
  "noRepos": "No repositories found",
7
7
  "noReposDescription": "Connect a GitHub repository to begin using your existing repos for new services.",
8
- "notConnectedDescription": "Connect your {{appName, anyCase}} account to GitHub to begin using your existing repos for new services.",
8
+ "notConnectedDescription": "Connect your {{appName, anyCase}} to GitHub to get started.",
9
9
  "configureAccount": "Configure account",
10
10
  "connectAccount": "Connect account",
11
11
  "connectGithub": "Connect GitHub",
12
12
  "connectARepo": "Connect a repository",
13
13
  "connectRepository": "Connect repository",
14
14
  "continue": "Continue",
15
- "publicGitRepo": "Public Git repository",
16
- "publicGitRepoDescription": "Use a public repository by entering the URL below.",
17
- "publicGitRepoPlaceholder": "https://github.com/bigbinary/example-app",
18
15
  "countOf": {
19
16
  "repos_one": "{{count}} repo",
20
17
  "repos_other": "{{count}} repos"
21
18
  },
22
19
  "modal": {
23
- "title": "Create a new project",
24
- "description": "Connect your Git repository or use an existing public repository URL."
20
+ "title": "Create a new project"
25
21
  },
26
22
  "troubleshoot": "Can't find a repository that's already connected? <troubleshootLink>Troubleshoot</troubleshootLink> your GitHub connection."
27
23
  }
package/dist/index.cjs.js CHANGED
@@ -347,7 +347,6 @@ var RepositoryTile = function RepositoryTile(_ref) {
347
347
 
348
348
  var List = reactUtils.withT(function (_ref) {
349
349
  var t = _ref.t,
350
- isPublicRepoAllowed = _ref.isPublicRepoAllowed,
351
350
  filteredRepositories = _ref.filteredRepositories,
352
351
  repositories = _ref.repositories,
353
352
  isConnecting = _ref.isConnecting,
@@ -355,10 +354,7 @@ var List = reactUtils.withT(function (_ref) {
355
354
  installationUrl = _ref.installationUrl,
356
355
  troubleshootUrl = _ref.troubleshootUrl;
357
356
  return /*#__PURE__*/React__default["default"].createElement("div", {
358
- className: classNames__default["default"]("neeto-ui-border-gray-300 neeto-ui-rounded-md m-0 flex flex-col items-center justify-center border border-solid p-0 2xl:h-96", {
359
- "h-52": isPublicRepoAllowed,
360
- "h-72": !isPublicRepoAllowed
361
- })
357
+ className: "neeto-ui-border-gray-300 neeto-ui-rounded-md m-0 flex h-80 flex-col items-center justify-center border border-solid p-0 2xl:h-96"
362
358
  }, neetoCist.isPresent(repositories) ? /*#__PURE__*/React__default["default"].createElement(Scrollable__default["default"], {
363
359
  className: "m-0 h-full w-full overflow-y-scroll p-0 shadow-inner"
364
360
  }, neetoCist.isPresent(filteredRepositories) ? filteredRepositories.map(function (repository, index) {
@@ -399,7 +395,6 @@ var NotConnected = reactUtils.withT(function (_ref) {
399
395
  var Private = function Private(_ref) {
400
396
  var isConnected = _ref.isConnected,
401
397
  isConnecting = _ref.isConnecting,
402
- isPublicRepoAllowed = _ref.isPublicRepoAllowed,
403
398
  repositories = _ref.repositories,
404
399
  onConnect = _ref.onConnect,
405
400
  installationUrl = _ref.installationUrl,
@@ -423,13 +418,14 @@ var Private = function Private(_ref) {
423
418
  };
424
419
  return /*#__PURE__*/React__default["default"].createElement("div", {
425
420
  className: "connect-repo neeto-ui-rounded-md neeto-ui-border-gray-300 border border-solid px-8 py-7"
426
- }, /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, {
421
+ }, isConnected && /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, {
427
422
  className: "mb-2 pb-5 text-lg font-medium",
428
423
  style: "h2"
429
424
  }, t("neetoGithub.connectARepo")), isConnected ? /*#__PURE__*/React__default["default"].createElement("div", {
430
425
  className: "flex w-full flex-col space-y-6"
431
426
  }, /*#__PURE__*/React__default["default"].createElement(Search__default["default"], {
432
427
  onSearch: onSearch,
428
+ unlimitedChars: false,
433
429
  className: "w-full",
434
430
  suffix: /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, {
435
431
  style: "body2"
@@ -440,7 +436,6 @@ var Private = function Private(_ref) {
440
436
  filteredRepositories: filteredRepositories,
441
437
  installationUrl: installationUrl,
442
438
  isConnecting: isConnecting,
443
- isPublicRepoAllowed: isPublicRepoAllowed,
444
439
  onConnect: onConnect,
445
440
  repositories: repositories,
446
441
  troubleshootUrl: troubleshootUrl
@@ -453,79 +448,9 @@ var Private = function Private(_ref) {
453
448
  }))));
454
449
  };
455
450
 
456
- var Public = function Public(_ref) {
457
- var isConnecting = _ref.isConnecting,
458
- onConnect = _ref.onConnect;
459
- var _useTranslation = reactI18next.useTranslation(),
460
- t = _useTranslation.t;
461
- var _useState = React.useState(false),
462
- _useState2 = _slicedToArray(_useState, 2),
463
- isLoading = _useState2[0],
464
- setIsLoading = _useState2[1];
465
- var _useState3 = React.useState(""),
466
- _useState4 = _slicedToArray(_useState3, 2),
467
- publicRepoUrl = _useState4[0],
468
- setPublicRepoUrl = _useState4[1];
469
- return /*#__PURE__*/React__default["default"].createElement("div", {
470
- className: "transition-drop-shadow neeto-ui-border-gray-300 neeto-ui-rounded-md border border-solid px-8 py-7 font-sans transition-colors"
471
- }, /*#__PURE__*/React__default["default"].createElement("div", {
472
- className: "mb-2 pb-5"
473
- }, /*#__PURE__*/React__default["default"].createElement("div", {
474
- className: "flex justify-between"
475
- }, /*#__PURE__*/React__default["default"].createElement("div", {
476
- className: "pr-4"
477
- }, /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, {
478
- className: "text-lg font-medium",
479
- style: "h2"
480
- }, t("neetoGithub.publicGitRepo")), /*#__PURE__*/React__default["default"].createElement("div", {
481
- className: "neeto-ui-text-gray-900 mt-2 flex max-w-xl space-x-1 font-sans text-sm font-normal leading-6 antialiased"
482
- }, /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, {
483
- style: "body2"
484
- }, t("neetoGithub.publicGitRepoDescription")))))), /*#__PURE__*/React__default["default"].createElement("div", {
485
- className: "neeto-ui-text-gray-900 font-sans text-sm font-normal leading-6 antialiased"
486
- }, /*#__PURE__*/React__default["default"].createElement("div", {
487
- className: "flex"
488
- }, /*#__PURE__*/React__default["default"].createElement("div", {
489
- className: "z-0 flex-1"
490
- }, /*#__PURE__*/React__default["default"].createElement("div", {
491
- className: "w-full"
492
- }, /*#__PURE__*/React__default["default"].createElement(neetoui.Input, {
493
- nakedInput: true,
494
- autocomplete: "false",
495
- className: "relative rounded-b rounded-l rounded-r-none rounded-t border-b border-l border-r-0 border-t border-solid px-2",
496
- placeholder: t("neetoGithub.publicGitRepoPlaceholder"),
497
- size: "large",
498
- spellcheck: "false",
499
- type: "text",
500
- value: publicRepoUrl,
501
- onChange: function onChange(e) {
502
- return setPublicRepoUrl(e.target.value);
503
- }
504
- }))), /*#__PURE__*/React__default["default"].createElement("div", {
505
- className: "relative"
506
- }, /*#__PURE__*/React__default["default"].createElement(neetoui.Button, {
507
- className: "rounded-b rounded-l-none rounded-r rounded-t",
508
- disabled: !neetoCist.isPresent(publicRepoUrl) || isLoading || isConnecting,
509
- loading: isLoading,
510
- size: "large",
511
- style: "primary",
512
- type: "button",
513
- onClick: function onClick() {
514
- return onConnect({
515
- repoType: "public",
516
- repository: {
517
- fullName: publicRepoUrl
518
- },
519
- setIsLoading: setIsLoading
520
- });
521
- }
522
- }, t("neetoGithub.continue"))))));
523
- };
524
-
525
451
  var Repositories = function Repositories(_ref) {
526
452
  var isConnected = _ref.isConnected,
527
453
  isConnecting = _ref.isConnecting,
528
- isPublicRepoAllowed = _ref.isPublicRepoAllowed,
529
454
  repositories = _ref.repositories,
530
455
  onConnect = _ref.onConnect,
531
456
  installationUrl = _ref.installationUrl,
@@ -536,13 +461,9 @@ var Repositories = function Repositories(_ref) {
536
461
  installationUrl: installationUrl,
537
462
  isConnected: isConnected,
538
463
  isConnecting: isConnecting,
539
- isPublicRepoAllowed: isPublicRepoAllowed,
540
464
  onConnect: onConnect,
541
465
  repositories: repositories,
542
466
  troubleshootUrl: troubleshootUrl
543
- }), isPublicRepoAllowed && /*#__PURE__*/React__default["default"].createElement(Public, {
544
- isConnecting: isConnecting,
545
- onConnect: onConnect
546
467
  }));
547
468
  };
548
469
 
@@ -557,8 +478,6 @@ var NeetoGithubNanoContainer = function NeetoGithubNanoContainer(_ref) {
557
478
  isConnected = _ref.isConnected,
558
479
  _ref$isConnecting = _ref.isConnecting,
559
480
  isConnecting = _ref$isConnecting === void 0 ? false : _ref$isConnecting,
560
- _ref$isPublicRepoAllo = _ref.isPublicRepoAllowed,
561
- isPublicRepoAllowed = _ref$isPublicRepoAllo === void 0 ? false : _ref$isPublicRepoAllo,
562
481
  onConnect = _ref.onConnect,
563
482
  _ref$paneRepositories = _ref.paneRepositories,
564
483
  paneRepositories = _ref$paneRepositories === void 0 ? [] : _ref$paneRepositories,
@@ -596,7 +515,6 @@ var NeetoGithubNanoContainer = function NeetoGithubNanoContainer(_ref) {
596
515
  installationUrl: installationUrl,
597
516
  isConnected: isConnected,
598
517
  isConnecting: isConnecting,
599
- isPublicRepoAllowed: isPublicRepoAllowed,
600
518
  onConnect: onConnect,
601
519
  repositories: repositories,
602
520
  troubleshootUrl: troubleshootUrl
@@ -2869,8 +2787,6 @@ var NeetoGithubNanoPane = function NeetoGithubNanoPane(_ref) {
2869
2787
  isConnecting = _ref$isConnecting === void 0 ? false : _ref$isConnecting,
2870
2788
  _ref$isConnected = _ref.isConnected,
2871
2789
  isConnected = _ref$isConnected === void 0 ? false : _ref$isConnected,
2872
- _ref$isPublicRepoAllo = _ref.isPublicRepoAllowed,
2873
- isPublicRepoAllowed = _ref$isPublicRepoAllo === void 0 ? false : _ref$isPublicRepoAllo,
2874
2790
  _ref$installationUrl = _ref.installationUrl,
2875
2791
  installationUrl = _ref$installationUrl === void 0 ? NEW_INSTALLATION_URL : _ref$installationUrl,
2876
2792
  _ref$troubleshootUrl = _ref.troubleshootUrl,
@@ -2880,9 +2796,7 @@ var NeetoGithubNanoPane = function NeetoGithubNanoPane(_ref) {
2880
2796
  _ref$projects = _ref.projects,
2881
2797
  projects = _ref$projects === void 0 ? [] : _ref$projects,
2882
2798
  _ref$title = _ref.title,
2883
- title = _ref$title === void 0 ? "" : _ref$title,
2884
- _ref$description = _ref.description,
2885
- description = _ref$description === void 0 ? "" : _ref$description;
2799
+ title = _ref$title === void 0 ? "" : _ref$title;
2886
2800
  var _useTranslation = reactI18next.useTranslation(),
2887
2801
  t = _useTranslation.t;
2888
2802
  var initialFocusRef = React.useRef(null);
@@ -2910,15 +2824,11 @@ var NeetoGithubNanoPane = function NeetoGithubNanoPane(_ref) {
2910
2824
  size: "large"
2911
2825
  }, /*#__PURE__*/React__default["default"].createElement(neetoui.Pane.Header, null, /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, {
2912
2826
  style: "h2"
2913
- }, neetoCist.isPresent(title) ? title : t("neetoGithub.modal.title")), /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, {
2914
- className: "mt-4",
2915
- style: "body2"
2916
- }, neetoCist.isPresent(description) ? description : t("neetoGithub.modal.description"))), /*#__PURE__*/React__default["default"].createElement(neetoui.Pane.Body, null, /*#__PURE__*/React__default["default"].createElement(NeetoGithubNanoContainer, {
2827
+ }, neetoCist.isPresent(title) ? title : t("neetoGithub.modal.title"))), /*#__PURE__*/React__default["default"].createElement(neetoui.Pane.Body, null, /*#__PURE__*/React__default["default"].createElement(NeetoGithubNanoContainer, {
2917
2828
  installationUrl: installationUrl,
2918
2829
  isConnected: isConnected,
2919
2830
  isConnecting: isConnecting,
2920
2831
  isPaneLoading: isPaneLoading,
2921
- isPublicRepoAllowed: isPublicRepoAllowed,
2922
2832
  onConnect: onConnect,
2923
2833
  paneAccounts: paneAccounts,
2924
2834
  paneRepositories: paneRepositories,