From 07b3385a690716f140c477d92bf1d5522e10b709 Mon Sep 17 00:00:00 2001 From: 22PoojaGaur Date: Thu, 24 Oct 2019 04:04:04 +0530 Subject: [PATCH 1/3] changes done for app/pages/common/Modals/PreferencesModal/Experiments/index.tsx --- .../PreferencesModal/Experiments/index.tsx | 66 ++++--------------- 1 file changed, 14 insertions(+), 52 deletions(-) diff --git a/packages/app/src/app/pages/common/Modals/PreferencesModal/Experiments/index.tsx b/packages/app/src/app/pages/common/Modals/PreferencesModal/Experiments/index.tsx index 0d8ba20d754..180a3adf916 100644 --- a/packages/app/src/app/pages/common/Modals/PreferencesModal/Experiments/index.tsx +++ b/packages/app/src/app/pages/common/Modals/PreferencesModal/Experiments/index.tsx @@ -7,57 +7,19 @@ import { PreferenceContainer, } from '../elements'; -// const windowWithOvermind: { -// useOvermind?: (val?: boolean) => 'true' | null; -// } = window as any; +const Experiments: React.FunctionComponent = () => ( +
+ Experiments -export function Experiments() { - // const bindValue = name => ({ - // value: store.preferences.settings[name], - // setValue: value => - // signals.preferences.settingChanged({ - // name, - // value, - // }), - // }); + + + + There are no experiments running at the moment. Stay tuned for new + experiments! + + + +
+); - // const [usingOvermind, setUsingOvermind] = React.useState( - // typeof windowWithOvermind.useOvermind !== 'undefined' && - // windowWithOvermind.useOvermind() === 'true' - // ); - - return ( -
- Experiments - - - - - There are no experiments running at the moment. Stay tuned for new - experiments! - - {/* - { - windowWithOvermind.useOvermind(val); - setUsingOvermind(val); - track('Overmind Enabled', { - enabled: val, - }); - }} - /> - - Use Overmind (an evolution of our current state management) as the - state management - - */} - - -
- ); -} - -// export default inject('store', 'signals')(observer(Experiments)); +export { Experiments }; From a53b34cc20b2fc13a97aa3b267e4310cd57f4d7c Mon Sep 17 00:00:00 2001 From: 22PoojaGaur Date: Thu, 24 Oct 2019 04:12:53 +0530 Subject: [PATCH 2/3] added as contributor --- .all-contributorsrc | 9 +++++++++ README.md | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.all-contributorsrc b/.all-contributorsrc index a7b41bd699e..37c5dddeb93 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -1440,6 +1440,15 @@ "contributions": [ "code" ] + }, + { + "login": "22PoojaGaur", + "name": "Pooja Gaur", + "avatar_url": "https://avatars2.githubusercontent.com/u/43316760?v=4", + "profile": "https://github.com/22PoojaGaur", + "contributions": [ + "code" + ] } ], "contributorsPerLine": 7, diff --git a/README.md b/README.md index 096bf5ad22f..18afa8583dd 100644 --- a/README.md +++ b/README.md @@ -240,12 +240,12 @@ Thanks goes to these wonderful people milap1296
milap1296

💻 yevhen orlov
yevhen orlov

💻 Nilesh Patel
Nilesh Patel

💻 + Pooja Gaur
Pooja Gaur

💻 - ## Backers From f1f38786baf30ec43b79b1620f7a2c86d6e5321c Mon Sep 17 00:00:00 2001 From: Sara Vieira Date: Thu, 24 Oct 2019 14:13:21 +0200 Subject: [PATCH 3/3] Update index.tsx --- .../common/Modals/PreferencesModal/Experiments/index.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/app/src/app/pages/common/Modals/PreferencesModal/Experiments/index.tsx b/packages/app/src/app/pages/common/Modals/PreferencesModal/Experiments/index.tsx index 180a3adf916..be7ac85f8c1 100644 --- a/packages/app/src/app/pages/common/Modals/PreferencesModal/Experiments/index.tsx +++ b/packages/app/src/app/pages/common/Modals/PreferencesModal/Experiments/index.tsx @@ -7,7 +7,7 @@ import { PreferenceContainer, } from '../elements'; -const Experiments: React.FunctionComponent = () => ( +export const Experiments: React.FunctionComponent = () => (
Experiments @@ -21,5 +21,3 @@ const Experiments: React.FunctionComponent = () => (
); - -export { Experiments };