slice-machine-ui 1.23.2-alpha.bmo-add-github-settings-page.3 → 1.23.2-alpha.fix-telemetry-enabled-check.1
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/.depcheckrc +0 -3
- package/components/DeleteVariationModal/index.tsx +0 -1
- package/components/Forms/RenameVariationModal/RenameVariationModal.tsx +1 -0
- package/components/ModalFormCard/index.tsx +1 -0
- package/components/Navigation/index.tsx +12 -25
- package/components/ReviewModal/ReviewForm.tsx +1 -0
- package/lib/builders/common/EditModal/Form.jsx +1 -0
- package/lib/builders/common/Zone/Card/components/NewField.tsx +1 -0
- package/out/404.html +1 -1
- package/out/_next/static/chunks/18539003-5cc559566b738915.js +97 -0
- package/out/_next/static/chunks/318-ce7e74f18f2d5b22.js +1 -0
- package/out/_next/static/chunks/376-7e784d6069e01654.js +8 -0
- package/out/_next/static/chunks/{727-2235967a881f9035.js → 727-3a3bc32518778317.js} +1 -1
- package/out/_next/static/chunks/731-501990ebe6a71b32.js +1 -0
- package/out/_next/static/chunks/904-9a4c1264727ae89a.js +1 -0
- package/out/_next/static/chunks/pages/_app-36d458fc21f76416.js +432 -0
- package/out/_next/static/chunks/pages/{changelog-02cd80dad6f40878.js → changelog-afd18276fe018b24.js} +1 -1
- package/out/_next/static/chunks/pages/{changes-8de69920dfb5a48f.js → changes-2a976f9efeb719aa.js} +1 -1
- package/out/_next/static/chunks/pages/{labs-39b50541a4c370bf.js → labs-ee206005948f8e87.js} +1 -1
- package/out/_next/static/chunks/pages/slices/[lib]/[sliceName]/[variation]/{simulator-b12346e58ac9abea.js → simulator-897ca93c114a1435.js} +1 -1
- package/out/_next/static/chunks/pages/slices/[lib]/[sliceName]/[variation]-b2a9d773ce5d7739.js +1 -0
- package/out/_next/static/chunks/pages/slices-e9c70c082ca3e3f9.js +1 -0
- package/out/_next/static/css/200244e3e0463c39.css +1 -0
- package/out/_next/static/css/{838fd8bb5a7c32b0.css → 37153180c3b0dd66.css} +1 -1
- package/out/_next/static/uTquSQH-Tq6izLpiXgFd4/_buildManifest.js +1 -0
- package/out/changelog.html +1 -1
- package/out/changes.html +1 -1
- package/out/custom-types/[customTypeId].html +1 -1
- package/out/custom-types.html +1 -1
- package/out/index.html +1 -1
- package/out/labs.html +1 -1
- package/out/page-types/[pageTypeId].html +1 -1
- package/out/slices/[lib]/[sliceName]/[variation]/simulator.html +1 -1
- package/out/slices/[lib]/[sliceName]/[variation].html +1 -1
- package/out/slices.html +1 -1
- package/package.json +6 -9
- package/src/components/FieldSet/FieldSet.stories.tsx +11 -20
- package/src/features/environments/actions/setEnvironment.ts +2 -2
- package/src/features/slices/convertLegacySlice/ConvertLegacySliceAsNewSliceDialog.tsx +1 -0
- package/src/features/slices/convertLegacySlice/ConvertLegacySliceAsNewVariationDialog.tsx +1 -0
- package/src/features/slices/convertLegacySlice/ConvertLegacySliceMergeWithIdenticalDialog.tsx +1 -0
- package/test/src/modules/__fixtures__/serverState.ts +2 -1
- package/out/_next/static/Os2LJkq4DesS0VqWYg8UC/_buildManifest.js +0 -1
- package/out/_next/static/chunks/18539003-5f78714a35fde4a1.js +0 -97
- package/out/_next/static/chunks/318-bd030cc1725e23b5.js +0 -1
- package/out/_next/static/chunks/731-a9b66ccdc3fae2c2.js +0 -1
- package/out/_next/static/chunks/777-8c5507e3b119b5dc.js +0 -8
- package/out/_next/static/chunks/904-6d6937d53ea2761e.js +0 -1
- package/out/_next/static/chunks/pages/_app-dee45e83f6837a4d.js +0 -434
- package/out/_next/static/chunks/pages/settings-386e0971d78f7d57.js +0 -1
- package/out/_next/static/chunks/pages/slices/[lib]/[sliceName]/[variation]-62b55bae7f1b3793.js +0 -1
- package/out/_next/static/chunks/pages/slices-81e382c3374273df.js +0 -1
- package/out/_next/static/css/3c26dbbbd8f4be12.css +0 -1
- package/out/_next/static/css/ca32882a5d2d8d88.css +0 -1
- package/out/settings.html +0 -1
- package/pages/settings.tsx +0 -1
- package/postcss.config.js +0 -10
- package/src/components/RelativeTime/RelativeTime.stories.tsx +0 -25
- package/src/components/RelativeTime/RelativeTime.tsx +0 -40
- package/src/components/RelativeTime/index.ts +0 -1
- package/src/features/settings/SettingsPage.tsx +0 -29
- package/src/features/settings/git/ConnectGitRepository.tsx +0 -97
- package/src/features/settings/git/ConnectGitRepositoryBlankSlate.tsx +0 -33
- package/src/features/settings/git/GitOwnerSelect.tsx +0 -71
- package/src/features/settings/git/GitProvider.ts +0 -40
- package/src/features/settings/git/GitProviderConnectButtons.tsx +0 -63
- package/src/features/settings/git/GitRepositoriesList.tsx +0 -76
- package/src/features/settings/git/GitRepositoriesSearch.tsx +0 -69
- package/src/features/settings/git/GitRepositoryConnectDialog.tsx +0 -86
- package/src/features/settings/git/GitRepositoryDisconnectDialog.tsx +0 -64
- package/src/features/settings/git/useGitOwners.ts +0 -12
- package/src/features/settings/git/useGitRepos.ts +0 -24
- package/src/features/settings/git/useLinkedGitRepos.ts +0 -41
- package/src/features/settings/git/useWriteAPIToken.ts +0 -30
- package/src/hooks/useUser.ts +0 -14
- package/src/icons/SettingsIcon.tsx +0 -19
- /package/out/_next/static/{Os2LJkq4DesS0VqWYg8UC → uTquSQH-Tq6izLpiXgFd4}/_ssgManifest.js +0 -0
package/.depcheckrc
CHANGED
|
@@ -45,6 +45,7 @@ export const RenameVariationModal: FC<RenameVariationModalProps> = ({
|
|
|
45
45
|
<DialogHeader icon="edit" title="Rename variation" />
|
|
46
46
|
<DialogContent>
|
|
47
47
|
<Formik
|
|
48
|
+
validateOnChange
|
|
48
49
|
validateOnMount
|
|
49
50
|
initialValues={{ variationName: variation?.name ?? "" }}
|
|
50
51
|
validate={(values) => {
|
|
@@ -81,6 +81,7 @@ function ModalCard<Values extends FormikValues>({
|
|
|
81
81
|
}}
|
|
82
82
|
>
|
|
83
83
|
<Formik
|
|
84
|
+
validateOnChange
|
|
84
85
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
85
86
|
initialValues={initialValues}
|
|
86
87
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
|
|
@@ -8,7 +8,6 @@ import { telemetry } from "@src/apiClient";
|
|
|
8
8
|
import VideoItem from "@components/Navigation/VideoItem";
|
|
9
9
|
import { LightningIcon } from "@src/icons/Lightning";
|
|
10
10
|
import { MathPlusIcon } from "@src/icons/MathPlusIcon";
|
|
11
|
-
import { SettingsIcon } from "@src/icons/SettingsIcon";
|
|
12
11
|
import { CUSTOM_TYPES_CONFIG } from "@src/features/customTypes/customTypesConfig";
|
|
13
12
|
import {
|
|
14
13
|
SideNavSeparator,
|
|
@@ -142,19 +141,17 @@ const Navigation: FC = () => {
|
|
|
142
141
|
)}
|
|
143
142
|
|
|
144
143
|
<SideNavList position="bottom">
|
|
145
|
-
<
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
/>
|
|
157
|
-
</SideNavListItem>
|
|
144
|
+
<SideNavLink
|
|
145
|
+
title="Invite team"
|
|
146
|
+
href={`${repositoryUrl}/settings/users`}
|
|
147
|
+
Icon={(props) => <MathPlusIcon {...props} />}
|
|
148
|
+
onClick={() => {
|
|
149
|
+
void telemetry.track({
|
|
150
|
+
event: "users-invite-button-clicked",
|
|
151
|
+
});
|
|
152
|
+
}}
|
|
153
|
+
target="_blank"
|
|
154
|
+
/>
|
|
158
155
|
|
|
159
156
|
<ErrorBoundary>
|
|
160
157
|
<Suspense>
|
|
@@ -165,21 +162,11 @@ const Navigation: FC = () => {
|
|
|
165
162
|
</Suspense>
|
|
166
163
|
</ErrorBoundary>
|
|
167
164
|
|
|
168
|
-
<SideNavListItem>
|
|
169
|
-
<SideNavLink
|
|
170
|
-
title="Settings"
|
|
171
|
-
href="/settings"
|
|
172
|
-
Icon={SettingsIcon}
|
|
173
|
-
active={router.asPath.startsWith("/settings")}
|
|
174
|
-
component={Link}
|
|
175
|
-
/>
|
|
176
|
-
</SideNavListItem>
|
|
177
|
-
|
|
178
165
|
<SideNavListItem>
|
|
179
166
|
<SideNavLink
|
|
180
167
|
title="Changelog"
|
|
181
168
|
href="/changelog"
|
|
182
|
-
Icon={LightningIcon}
|
|
169
|
+
Icon={(props) => <LightningIcon {...props} />}
|
|
183
170
|
active={router.asPath.startsWith("/changelog")}
|
|
184
171
|
component={Link}
|
|
185
172
|
RightElement={
|
|
@@ -13,6 +13,7 @@ const WidgetForm = ({
|
|
|
13
13
|
return (
|
|
14
14
|
<Box>
|
|
15
15
|
<Formik
|
|
16
|
+
validateOnChange
|
|
16
17
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
17
18
|
initialValues={initialValues}
|
|
18
19
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-assignment
|
package/out/404.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="preload" href="/_next/static/css/
|
|
1
|
+
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="preload" href="/_next/static/css/200244e3e0463c39.css" as="style"/><link rel="stylesheet" href="/_next/static/css/200244e3e0463c39.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js"></script><script src="/_next/static/chunks/webpack-2f903acb0cccbf9e.js" defer=""></script><script src="/_next/static/chunks/framework-cdccea7a52cc6e81.js" defer=""></script><script src="/_next/static/chunks/main-5e6780279ca21cb9.js" defer=""></script><script src="/_next/static/chunks/pages/_app-36d458fc21f76416.js" defer=""></script><script src="/_next/static/chunks/pages/_error-69b4f498bafdd188.js" defer=""></script><script src="/_next/static/uTquSQH-Tq6izLpiXgFd4/_buildManifest.js" defer=""></script><script src="/_next/static/uTquSQH-Tq6izLpiXgFd4/_ssgManifest.js" defer=""></script></head><body><div id="__next"></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"statusCode":404}},"page":"/_error","query":{},"buildId":"uTquSQH-Tq6izLpiXgFd4","runtimeConfig":{"sentryEnvironment":"alpha"},"nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>
|