-
Notifications
You must be signed in to change notification settings - Fork 166
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #449 from enkryptcom/devop/ff-pp-changes
devop: FF-PP-Changes
- Loading branch information
Showing
12 changed files
with
185 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
<template> | ||
<div class="new-wallet"> | ||
<logo-big class="new-wallet__logo" /> | ||
<h3> | ||
Privacy and<br /> | ||
Data collection. | ||
</h3> | ||
<p>We collect the following anonymous data about your use of Enkrypt:</p> | ||
<p> | ||
Blockchain, browser, operating system, session time, actions and page | ||
views per visit, which we collect to enhance user experience with our | ||
Services, and support our operations: | ||
</p> | ||
<p> | ||
Choosing to decline anonymous data collection will have no impact on your | ||
experience using the Enkrypt browser extension. Full details about the | ||
anonymous data we collect and what we do with it are provided in our | ||
<a href="https://www.myetherwallet.com/privacy-policy" target="_blank" | ||
>Privacy Policy</a | ||
>. | ||
</p> | ||
|
||
<div class="new-wallet__buttons"> | ||
<base-button title="Agree to anonymous data collection" :click="agree" /> | ||
<base-button | ||
title="Deny anonymous data collection" | ||
:no-background="true" | ||
:click="deny" | ||
/> | ||
</div> | ||
</div> | ||
</template> | ||
<script setup lang="ts"> | ||
import LogoBig from "@action/icons/common/logo-big.vue"; | ||
import BaseButton from "@action/components/base-button/index.vue"; | ||
import SettingsState from "@/libs/settings-state"; | ||
import { optOutofMetrics } from "@/libs/metrics"; | ||
import { routes as cwalletRoutes } from "./create-wallet/routes"; | ||
import { useRouter } from "vue-router"; | ||
const router = useRouter(); | ||
const settingsState = new SettingsState(); | ||
const agree = async () => { | ||
const enkryptSettings = await settingsState.getEnkryptSettings(); | ||
enkryptSettings.isMetricsEnabled = true; | ||
await settingsState.setEnkryptSettings(enkryptSettings); | ||
optOutofMetrics(false); | ||
router.push({ name: cwalletRoutes.walletReady.name }); | ||
}; | ||
const deny = async () => { | ||
const enkryptSettings = await settingsState.getEnkryptSettings(); | ||
enkryptSettings.isMetricsEnabled = false; | ||
await settingsState.setEnkryptSettings(enkryptSettings); | ||
optOutofMetrics(true); | ||
router.push({ name: cwalletRoutes.walletReady.name }); | ||
}; | ||
</script> | ||
|
||
<style lang="less"> | ||
@import "~@action/styles/theme.less"; | ||
.new-wallet { | ||
&__logo { | ||
margin-bottom: 24px; | ||
} | ||
h3 { | ||
font-style: normal; | ||
font-weight: 700; | ||
font-size: 34px; | ||
line-height: 40px; | ||
letter-spacing: 0.25px; | ||
color: @primaryLabel; | ||
margin: 0 0 16px 0; | ||
} | ||
p { | ||
font-style: normal; | ||
font-weight: 400; | ||
font-size: 14px; | ||
line-height: 20px; | ||
letter-spacing: 0.25px; | ||
margin: 0 0 16px 0; | ||
color: @primaryLabel; | ||
} | ||
&__buttons { | ||
text-align: center; | ||
a { | ||
margin-top: 8px; | ||
} | ||
} | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
d46b380
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Virus total analysis
chrome:
https://www.virustotal.com/gui/file/dbf07de3bf09f899283b371e77774d42809b3b2278b0524e571c606078eeabd7
firefox:
https://www.virustotal.com/gui/file/556c0d852cd970f1dfa07b5e2e4107a0d24537c52ced1ef42b43e20f24f00cef