@bigbinary/neeto-github-frontend 1.0.14 → 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/app/javascript/src/translations/en.json +2 -6
- package/dist/index.cjs.js +4 -9
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +4 -9
- package/dist/index.js.map +1 -1
- package/package.json +17 -17
|
@@ -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}}
|
|
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
|
@@ -354,7 +354,7 @@ var List = reactUtils.withT(function (_ref) {
|
|
|
354
354
|
installationUrl = _ref.installationUrl,
|
|
355
355
|
troubleshootUrl = _ref.troubleshootUrl;
|
|
356
356
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
357
|
-
className: "neeto-ui-border-gray-300
|
|
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"
|
|
358
358
|
}, neetoCist.isPresent(repositories) ? /*#__PURE__*/React__default["default"].createElement(Scrollable__default["default"], {
|
|
359
359
|
className: "m-0 h-full w-full overflow-y-scroll p-0 shadow-inner"
|
|
360
360
|
}, neetoCist.isPresent(filteredRepositories) ? filteredRepositories.map(function (repository, index) {
|
|
@@ -418,7 +418,7 @@ var Private = function Private(_ref) {
|
|
|
418
418
|
};
|
|
419
419
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
420
420
|
className: "connect-repo neeto-ui-rounded-md neeto-ui-border-gray-300 border border-solid px-8 py-7"
|
|
421
|
-
}, /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, {
|
|
421
|
+
}, isConnected && /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, {
|
|
422
422
|
className: "mb-2 pb-5 text-lg font-medium",
|
|
423
423
|
style: "h2"
|
|
424
424
|
}, t("neetoGithub.connectARepo")), isConnected ? /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -2796,9 +2796,7 @@ var NeetoGithubNanoPane = function NeetoGithubNanoPane(_ref) {
|
|
|
2796
2796
|
_ref$projects = _ref.projects,
|
|
2797
2797
|
projects = _ref$projects === void 0 ? [] : _ref$projects,
|
|
2798
2798
|
_ref$title = _ref.title,
|
|
2799
|
-
title = _ref$title === void 0 ? "" : _ref$title
|
|
2800
|
-
_ref$description = _ref.description,
|
|
2801
|
-
description = _ref$description === void 0 ? "" : _ref$description;
|
|
2799
|
+
title = _ref$title === void 0 ? "" : _ref$title;
|
|
2802
2800
|
var _useTranslation = reactI18next.useTranslation(),
|
|
2803
2801
|
t = _useTranslation.t;
|
|
2804
2802
|
var initialFocusRef = React.useRef(null);
|
|
@@ -2826,10 +2824,7 @@ var NeetoGithubNanoPane = function NeetoGithubNanoPane(_ref) {
|
|
|
2826
2824
|
size: "large"
|
|
2827
2825
|
}, /*#__PURE__*/React__default["default"].createElement(neetoui.Pane.Header, null, /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, {
|
|
2828
2826
|
style: "h2"
|
|
2829
|
-
}, neetoCist.isPresent(title) ? title : t("neetoGithub.modal.title")), /*#__PURE__*/React__default["default"].createElement(neetoui.
|
|
2830
|
-
className: "mt-4",
|
|
2831
|
-
style: "body2"
|
|
2832
|
-
}, 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, {
|
|
2833
2828
|
installationUrl: installationUrl,
|
|
2834
2829
|
isConnected: isConnected,
|
|
2835
2830
|
isConnecting: isConnecting,
|