Skip to content

Commit

Permalink
Merge branch 'main' into snaps-homepages
Browse files Browse the repository at this point in the history
  • Loading branch information
Montoya committed Jan 5, 2024
2 parents 94b8f1a + 7f7ae0b commit 8f7ac02
Show file tree
Hide file tree
Showing 27 changed files with 19 additions and 13 deletions.
18 changes: 9 additions & 9 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
const codeTheme = require("prism-react-renderer/themes/dracula");
const remarkCodesandbox = require("remark-codesandbox");
const path = require("path");
const isProd = process.env.NODE_ENV === 'production';
const isProd = process.env.NODE_ENV === "production";

/** @type {import('@docusaurus/types').Config} */
const config = {
Expand Down Expand Up @@ -391,14 +391,14 @@ const config = {
},
],
isProd ?
[
"docusaurus-plugin-segment",
{
apiKey: process.env.SEGMENT_ANALYTICS_KEY,
load: {cookie: { sameSite: 'None', secure: true}},
page: true,
},
] : null,
[
"docusaurus-plugin-segment",
{
apiKey: process.env.SEGMENT_ANALYTICS_KEY,
load: { cookie: { sameSite: "None", secure: true } },
page: true,
},
] : null,
],
themeConfig:
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
Expand Down
Binary file modified snaps/assets/copyable-example-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified snaps/assets/copyable-example-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified snaps/assets/dialog.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified snaps/assets/features/cronjob.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified snaps/assets/features/custom-ui.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified snaps/assets/features/dialog.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified snaps/assets/features/insights.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified snaps/assets/features/manage-keys.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified snaps/assets/features/network.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified snaps/assets/features/notifications.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified snaps/assets/features/state.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added snaps/assets/features/tx-severity.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified snaps/assets/gas-estimation.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified snaps/assets/insights.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified snaps/assets/install-modal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified snaps/assets/install.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified snaps/assets/keyring/accounts-ui.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified snaps/assets/keyring/add-snap-account.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified snaps/assets/keyring/asynchronous-flow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified snaps/assets/keyring/components-diagram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified snaps/assets/keyring/create-account-flow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified snaps/assets/keyring/synchronous-flow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified snaps/assets/picker.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified snaps/assets/template-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified snaps/assets/transaction-insights.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 10 additions & 4 deletions snaps/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,12 @@ The following Snaps features are available in the stable version of MetaMask:
title: "Network access",
description: <>Make API calls using <code>fetch()</code>.</>
},
{
icon: require("./assets/features/locale.png").default,
href: "reference/rpc-api#snap_getlocale",
title: "Localization",
description: "Translate your Snap UI based on the user's locale."
},
{
icon: require("./assets/features/lifecycle-hooks.png").default,
href: "reference/permissions#endowmentlifecycle-hooks",
Expand All @@ -107,10 +113,10 @@ the canary distribution of MetaMask:
flaskOnly: true
},
{
icon: require("./assets/features/locale.png").default,
href: "reference/rpc-api#snap_getlocale",
title: "Localization",
description: "Translate your snap UI based on the user's locale.",
icon: require("./assets/features/tx-severity.png").default,
href: "reference/exports/#transaction-severity-level",
title: "Transaction severity",
description: "Add extra friction to the transaction flow if a transaction looks risky.",
flaskOnly: true
},
{
Expand Down

0 comments on commit 8f7ac02

Please sign in to comment.