Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated summary view. #25

Merged
merged 15 commits into from Apr 4, 2018
@@ -3,7 +3,8 @@
"env": {
"browser": true,
"es6": true,
"amd": true
"amd": true,
"jest": true
},
"parser": "babel-eslint",
"parserOptions": {
@@ -455,30 +455,63 @@
"summary_description_not_scanned_2": {
"message": "Navigate to another page and I promise I'll deliver the goods."
},
"summary_custom_settings": {
"message": "Custom Settings"
},
"summary_trust_site": {
"message": "Trust Site"
},
"summary_trust_site_active": {
"message": "Site Trusted"
},
"summary_restrict_site": {
"message": "Restrict Site"
},
"summary_restrict_site_active": {
"message": "Site Restricted"
},
"summary_undo": {
"message": "Undo"
},
"summary_pause_ghostery": {
"message": "Pause Ghostery"
},
"summary_pause_ghostery_tooltip": {
"message": "Pause Ghostery extension."
},
"summary_pause_ghostery_ab_pause": {
"message": "Pause"
},
"pause_30_min": {
"message": "for 30 min"
},
"pause_30_min_condensed": {
"message": "30 mins"
},
"pause_1_hour": {
"message": "for 1 hour"
},
"pause_1_hour_condensed": {
"message": "1 hr"
},
"pause_24_hours": {
"message": "for 24 hours"
},
"pause_24_hours_condensed": {
"message": "24 hrs"
},
"summary_resume_ghostery": {
"message": "Resume Ghostery"
},
"summary_resume_ghostery_tooltip": {
"message": "Ghostery extension paused. Click to resume."
},
"summary_resume_ghostery_ab_pause": {
"message": "Resume"
},
"summary_show_menu": {
"message": "show menu"
},
"summary_map_these_trackers": {
"message": "Map These Trackers"
},
@@ -645,6 +678,9 @@
"tracker_plural": {
"message": "trackers"
},
"tracker_found": {
"message": "found"
},
"panel_signin_success": {
"message": "You are now signed in as "
},
@@ -756,6 +792,12 @@
"panel_header_verify_account": {
"message": "Verify Account"
},
"panel_header_simple_view": {
"message": "Simple View"
},
"panel_header_detailed_view": {
"message": "Detailed View"
},
"password_characters_requirements": {
"message": "Only these special characters are allowed: !@#$%^&*=+()<>{}[];:,./?"
},
@@ -1030,7 +1072,10 @@
"message": "Search by tracker"
},
"page_load": {
"message": "Page Load"
"message": "Page Load:"
},
"trackers_blocked": {
"message": "Trackers Blocked:"
},
"settings_trusted_restricted_sites": {
"message": "Trust & Restrict"
@@ -1140,11 +1185,53 @@
"settings_filter_new": {
"message": "New Since Last Update"
},
"alert_ghostery_paused": {
"message": "Ghostery extension has been paused."
},
"alert_ghostery_resumed": {
"message": "Ghostery extension has been resumed."
},
"alert_anti_track_on": {
"message": "Enhanced Anti-Trackng ON. Personal data will be anonymized."
},
"alert_anti_track_off": {
"message": "Enhanced Anti-Tracking OFF. Personal data will not be anonymized."
},
"alert_ad_block_on": {
"message": "Enhanced Ad-Blocking ON. Advertisements will be blocked."
},
"alert_ad_block_off": {
"message": "Enhanced Ad-Blocking OFF. Advertisements will not be blocked."
},
"alert_smart_block_on": {
"message": "Smart Blocking ON. Tracker blocking will be adjusted to optimize page performance."
},
"alert_smart_block_off": {
"message": "Smart Blocking OFF. Tracker blocking will not be automatically adjusted."
},
"alert_reload": {
"message": "Reload to see changes."
},
"alert_site_trusted": {
"message": "Site whitelisted. Trackers will be allowed and Anti-Tracking disabled on this site."
},
"alert_site_trusted_off": {
"message": "Site no longer whitelisted."
},
"alert_site_restricted": {
"message": "Site blacklisted. Trackers will be blocked and Anti-Tracking enabled on this site."
},
"alert_site_restricted_off": {
"message": "Site no longer blacklisted."
},
"tooltip_anti_track": {
"message": "Enhanced Anti-Tracking"
},
"tooltip_anti_track_body": {
"message": "Anonymize unblocked and unknown trackers for greater browsing protection."
"message": "Anonymize personal data for greater protection."
},
"tooltip_anti_track_body_on": {
"message": "Personal data points anonymized."
},
"tooltip_body_in_cliqz": {
"message": "Feature already active in Cliqz by default."
@@ -1153,19 +1240,34 @@
"message": "Enhanced Ad Blocking"
},
"tooltip_ad_block_body": {
"message": "Block advertisements on websites you visit."
"message": "Block advertisements."
},
"tooltip_ad_block_body_on": {
"message": "Advertisements have been blocked."
},
"tooltip_smart_block": {
"message": "Smart Blocking"
},
"tooltip_smart_block_body": {
"message": "Automatically block and unblock trackers to optimize page performance."
},
"tooltip_smart_block_body_on": {
"message": "Tracker blocking adjusted to optimize page performance."
},
"tooltip_trust": {
"message": "Always allow trackers on this site."
"message": "Always allow trackers & disable Anti-Tracking on this site."
},
"tooltip_trust_on": {
"message": "Trackers allowed and Anti-Tracking disabled on site. Click to Undo."
},
"tooltip_restrict": {
"message": "Always block trackers on this site."
"message": "Always block trackers & protect my personal data on this site."
},
"tooltip_restrict_on": {
"message": "Trackers blocked and Anti-Tracking enabled on site. Click to Undo."
},
"tooltip_custom_settings": {
"message": "Use my selected tracker settings."
},
"tooltip_pause": {
"message": "Pause Ghostery"
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="4px" height="23px" viewBox="0 0 4 23" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: Sketch 49.2 (51160) - http://www.bohemiancoding.com/sketch -->
<title>Line</title>
<desc>Created with Sketch.</desc>
<defs></defs>
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round">
<path d="M2,1.5 L2,21.5" id="Line" stroke="#D1D9DC" stroke-width="3"></path>
</g>
</svg>
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="24px" height="52px" viewBox="0 0 24 52" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: Sketch 49.2 (51160) - http://www.bohemiancoding.com/sketch -->
<title>right-left-moon</title>
<desc>Created with Sketch.</desc>
<defs></defs>
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="right-left-moon" transform="translate(12.000000, 26.000000) scale(-1, 1) translate(-12.000000, -26.000000) " fill-rule="nonzero">
<path d="M24,51.8484415 C10.5751046,50.8271917 0,39.6106802 0,25.9242207 C0,12.2377612 10.5751046,1.02124974 24,2.14481211e-13 L24,51.8484415 Z" id="Combined-Shape" fill="#EBEBEB"></path>
<polygon id="Shape" fill="#4A4A4A" transform="translate(13.500000, 25.500000) scale(-1, 1) rotate(-180.000000) translate(-13.500000, -25.500000) " points="10 21.2833333 11.3243243 20 17 25.5 11.3243243 31 10 29.7166667 14.3513514 25.5"></polygon>
</g>
</g>
</svg>
@@ -1,17 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="24px" height="52px" viewBox="0 0 24 52" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: Sketch 47.1 (45422) - http://www.bohemiancoding.com/sketch -->
<title>symbol - half circle caret right</title>
<!-- Generator: Sketch 49.2 (51160) - http://www.bohemiancoding.com/sketch -->
<title>right-right-moon</title>
<desc>Created with Sketch.</desc>
<defs></defs>
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="Card-view---settings-global-expanded--carrot-hover" transform="translate(-666.000000, -338.000000)">
<g id="Group-7" transform="translate(678.000000, 364.000000) scale(-1, 1) translate(-678.000000, -364.000000) translate(666.000000, 338.000000)">
<g id="symbol---half-circle-caret-right">
<path d="M24,51.8484415 C10.5751046,50.8271917 0,39.6106802 0,25.9242207 C0,12.2377612 10.5751046,1.02124974 24,2.14481211e-13 L24,51.8484415 Z" id="Combined-Shape" fill="#EBEBEB"></path>
<polygon id="Shape" fill="#4A4A4A" transform="translate(13.500000, 25.500000) rotate(180.000000) translate(-13.500000, -25.500000) " points="10 21.2833333 11.3243243 20 17 25.5 11.3243243 31 10 29.7166667 14.3513514 25.5"></polygon>
</g>
</g>
<g id="right-right-moon" transform="translate(12.000000, 26.000000) scale(-1, 1) translate(-12.000000, -26.000000) " fill-rule="nonzero">
<path d="M24,51.8484415 C10.5751046,50.8271917 0,39.6106802 0,25.9242207 C0,12.2377612 10.5751046,1.02124974 24,2.14481211e-13 L24,51.8484415 Z" id="Combined-Shape" fill="#EBEBEB"></path>
<polygon id="Shape" fill="#4A4A4A" transform="translate(13.500000, 25.500000) rotate(180.000000) translate(-13.500000, -25.500000) " points="10 21.2833333 11.3243243 20 17 25.5 11.3243243 31 10 29.7166667 14.3513514 25.5"></polygon>
</g>
</g>
</svg>
</svg>
@@ -11,15 +11,17 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0
*/

import { GET_BLOCKING_DATA,
import {
GET_BLOCKING_DATA,
UPDATE_BLOCK_ALL_TRACKERS,
UPDATE_CATEGORIES,
UPDATE_CATEGORY_BLOCKED,
UPDATE_TRACKER_BLOCKED,
UPDATE_TRACKER_TRUST_RESTRICT,
TOGGLE_EXPANDED,
TOGGLE_EXPAND_ALL,
TOGGLE_EXPAND_CATEGORY } from '../constants/constants';
TOGGLE_EXPAND_CATEGORY
} from '../constants/constants';
import { sendMessageInPromise } from '../utils/msg';

/**

This file was deleted.

ProTip! Use n and p to navigate between commits in a pull request.