diff --git a/.env b/.env index 2785e05..f9e5c88 100644 --- a/.env +++ b/.env @@ -7,6 +7,9 @@ # Used for determining the homeserver to use for short urls etc. # VITE_DEFAULT_HOMESERVER=http://localhost:8008 +# Used for submitting debug logs to an external rageshake server +# VITE_RAGESHAKE_SUBMIT_URL=http://localhost:9110/api/submit + # The Sentry DSN to use for error reporting. Leave undefined to disable. # VITE_SENTRY_DSN=https://examplePublicKey@o0.ingest.sentry.io/0 diff --git a/.storybook/main.js b/.storybook/main.js index 207fe18..af43aa6 100644 --- a/.storybook/main.js +++ b/.storybook/main.js @@ -2,13 +2,20 @@ const svgrPlugin = require("vite-plugin-svgr"); const path = require("path"); module.exports = { - stories: ["../src/**/*.stories.mdx", "../src/**/*.stories.@(js|jsx|ts|tsx)"], - addons: ["@storybook/addon-links", "@storybook/addon-essentials"], + stories: ["../src/**/*.stories.@(js|jsx|ts|tsx)"], framework: "@storybook/react", core: { builder: "storybook-builder-vite", }, async viteFinal(config) { + config.plugins = config.plugins.filter( + (item) => + !( + Array.isArray(item) && + item.length > 0 && + item[0].name === "vite-plugin-mdx" + ) + ); config.plugins.push(svgrPlugin()); config.resolve = config.resolve || {}; config.resolve.alias = config.resolve.alias || {}; diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..e14c75d --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,4 @@ +Contributing code to Element +============================ + +Element follows the same pattern as the [matrix-js-sdk](https://github.com/matrix-org/matrix-js-sdk/blob/develop/CONTRIBUTING.md). diff --git a/index.html b/index.html index 72c59a7..8362664 100644 --- a/index.html +++ b/index.html @@ -1,16 +1,21 @@ -
- - - -