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

Ghostery browser intro hub #665

Merged
merged 120 commits into from Jan 29, 2021
Merged

Ghostery browser intro hub #665

merged 120 commits into from Jan 29, 2021

Commits on Nov 11, 2020

  1. Work towards implementing stub of new intro hub

    Ilya Zarembsky committed Nov 11, 2020
  2. Implement AppView for Ghostery Browser Hub

    Ilya Zarembsky committed Nov 11, 2020

Commits on Nov 13, 2020

  1. Progress towards intro hub skeleton

    Ilya Zarembsky committed Nov 13, 2020

Commits on Nov 29, 2020

  1. Merge in develop

    Ilya Zarembsky committed Nov 29, 2020
  2. Add stubs for the various onboarding views. Add top level onboarding …

    …container and view.
    Ilya Zarembsky committed Nov 29, 2020

Commits on Dec 1, 2020

  1. Merge in develop

    Ilya Zarembsky committed Dec 1, 2020

Commits on Dec 3, 2020

  1. Factor setup lifecycle actions and constants out to shared-hub dir. N…

    …ame, document, and move makeDeferredDispatcher. Use it in all the actions files in shared-hub.
    Ilya Zarembsky committed Dec 3, 2020
  2. Move blocking policy reducer to shared-hub

    Ilya Zarembsky committed Dec 3, 2020
  3. GH-2205: Onboarding - Welcome & Get Started (#637)

    * Make browser welcome view
    
    * Add cta button
    
    * Change CTA button to a button
    
    * Add comment
    
    * Remove redux connection
    benstrumeyer committed Dec 3, 2020
  4. GH-2207: Onboarding - Success Screen (#638)

    * Make skeleton for success view
    
    * Copy jsx over from WelcomeView
    
    * Make success screen, need to add image
    
    * Add image and adjust spacing
    
    * Re-add default view for original hub
    benstrumeyer committed Dec 3, 2020

Commits on Dec 7, 2020

  1. GH-2206: Onboarding - Step 1 - Create Account (#639)

    * Make form
    
    * Add skip and learn more links
    
    * Set arrow up/down depending on expanded state
    
    * Make FAQ
    
    * Make list responsive
    
    * Adjust padding of FAQContainer to scroll onto nice spot
    
    * Make sure promoString checkbox text does not wrap
    
    * Add privacy policy link
    
    * Make privacy policy link more responsive
    
    * Make BrowserLogInForm and style responsively
    
    * Refactor Create Account form into a component
    
    * Create BrowserCreateAccountFormContainer and add handlers
    
    * Add error handling to legal consent label
    
    * Remove privacy policy link if learn more is not expanded
    
    * Add handlers for log in view and replace strings
    
    * Add handlers for forgot password and throttle it
    
    * Lower throttle time in case user enters a wrong email
    
    * Make updates checkbox work
    
    * Add signed in view
    
    * Change spacing of title and subtitle for small screens
    
    * Update create account design for small screens
    
    * Center skip link on small screens
    
    * Decrease spacing for small sreens on already have account/create account link
    
    * Decrease width of faqDescription items and privacy policy link
    
    * Open privacy policy link in new tab
    
    * Add confirm password functionality
    
    * Update passwords not match string
    
    * Add global email preferences to user object on account creation success
    
    * Hold input fields in place when error messages appear
    
    * Rename components
    
    * Add propTypes
    
    * Update comments
    
    * Remove newline
    
    * Update confirm password string
    
    * Add comments and minor refactors
    benstrumeyer committed Dec 7, 2020
  2. GH-2211: Onboarding - Status Bar (#641)

    * Make progress bar skeleton
    
    * Add ghosty images and sass to display them
    
    * Add labels
    
    * Refactor labels
    
    * Add dotted border after incomplete steps except last
    
    * Make labels and ghosties navLinks
    
    * Reset default view, done with testing
    
    * Update propTypes and add comments
    
    * Change back to default view
    benstrumeyer committed Dec 7, 2020

Commits on Dec 8, 2020

Commits on Dec 9, 2020

  1. Connecting intro hub pieces

    Ilya Zarembsky committed Dec 9, 2020
  2. Merge in latest develop

    Ilya Zarembsky committed Dec 9, 2020
  3. Cleaning up new intro hub SCSS

    Ilya Zarembsky committed Dec 9, 2020
  4. Get inline script that branches to the correct hub to run

    Ilya Zarembsky committed Dec 9, 2020

Commits on Dec 10, 2020

  1. GH-2210: Onboarding - Step 4 - Choose Plan (#640)

    * Create ghostery-search promo in plan view
    
    * Add scroll arrow and cards
    
    * Add value prop list to cards
    
    * Add radio button and hover effects to cards
    
    * Add click handler to full card, not only radio button
    
    * Select default plan depending on current plan
    
    * Add logic to display title and subtitle texts
    
    * Style radio button alt design
    
    * Touch up radio button alt design
    
    * Make responsive
    
    * Change CTA button to a button
    
    * Add back backgrounds on small screens and add checkmarks for free card
    
    * Add working links
    
    * Refactor basic/plus/premium states
    
    * Make cards responsive with OR
    
    * Add padding and change CTA button strings
    
    * Add hover effects to search and premium CTA buttons
    
    * Conditionally show cards based on users subscriptions and refactor arrow to show/hide plan cards instead of scrolling
    
    * Fix logic for showing caret
    
    * Fix and refactor cta button links
    
    * Fix color of premium CTA button when displaying to a basic user
    
    * Refactor and add comments
    
    * Remove unused css
    
    * Update plus and premium checkout links to specify english
    
    * Move RadioButton and RadioButtonGroup to shared components
    
    * Rename Step4_ChoosePlanView to ChoosePlanView
    
    * Use BASIC, PLUS, and PREMIUM constants from UpgradePlanViewConstants and fix search.svg path
    
    * Update copywrite year
    
    * Replace hex color codes with variables
    
    * Add border to unchecked radio button
    
    Co-authored-by: Ilya Zarembsky <ilya.zarembsky@gmail.com>
    benstrumeyer and wlycdgr committed Dec 10, 2020
  2. Post-PR-merge SCSS imports cleanup

    Ilya Zarembsky committed Dec 10, 2020

Commits on Dec 11, 2020

  1. Cleanup of index files and debugging in new intro hub

    Ilya Zarembsky committed Dec 11, 2020
  2. Continue cleanup of Step1 JSX

    Ilya Zarembsky committed Dec 11, 2020
  3. Render hub step progress bar across all views

    Ilya Zarembsky committed Dec 11, 2020
  4. Update data structure passed to OnboardingView by the container to ma…

    …tch the requirements of the new StepNavigator component
    Ilya Zarembsky committed Dec 11, 2020
  5. Finish converting index files to use buildReduxHOC

    Ilya Zarembsky committed Dec 11, 2020

Commits on Dec 16, 2020

  1. Merge in latest develop

    Ilya Zarembsky committed Dec 16, 2020
  2. Assorted intro hub fixes

    Ilya Zarembsky committed Dec 16, 2020

Commits on Dec 22, 2020

  1. Use constants for paths

    Ilya Zarembsky committed Dec 22, 2020
  2. Merge in develop

    Ilya Zarembsky committed Dec 22, 2020
  3. Cleanup StepProgressBar

    Ilya Zarembsky committed Dec 22, 2020
  4. Add new intro hub css to template

    Ilya Zarembsky committed Dec 22, 2020
  5. Remove unused navigation mechanism

    Ilya Zarembsky committed Dec 22, 2020

Commits on Dec 23, 2020

  1. Removed unused setup lifecycle actions

    Ilya Zarembsky committed Dec 23, 2020
  2. Conditionally include the appropriate hub css

    Ilya Zarembsky committed Dec 23, 2020
  3. Clean up welcome view css, fix up button link

    Ilya Zarembsky committed Dec 23, 2020
  4. More welcome view cleanup. Make sure progress bar does not show on We…

    …lcome screen
    Ilya Zarembsky committed Dec 23, 2020

Commits on Jan 4, 2021

  1. GH-2220: Onboarding - Telemetry (#650)

    * Set the setup_step ConfData property for Welcome and Login/Create Account screens
    
    * History not working
    
    * Add setup step pings to Step4_ChoosePlanView
    
    * Send gb_onboarding and gb_onboarding_success pings. Refactor setSetupStep to use OnboardingConstants. Add react-router to onboarding hub
    
    * Update gb_onboarding setup_step to index 0-4 instead of 1-5
    
    * Remove LoginView since it is replaced with Step1_CreateAccountView
    
    * Add TODO
    benstrumeyer committed Jan 4, 2021
  2. Replace search view element

    Ilya Zarembsky committed Jan 4, 2021
  3. Iterate on search view layout

    Ilya Zarembsky committed Jan 4, 2021

Commits on Jan 5, 2021

  1. Option container design on default search select view

    Ilya Zarembsky committed Jan 5, 2021
  2. Further work on default search view option containers

    Ilya Zarembsky committed Jan 5, 2021
  3. Add confirmation modal for default search view

    Ilya Zarembsky committed Jan 5, 2021
  4. Message search extension with user choice

    Ilya Zarembsky committed Jan 5, 2021
  5. Fix typo in template. Tidy up status bar

    Ilya Zarembsky committed Jan 5, 2021
  6. Implement updating search preference

    Ilya Zarembsky committed Jan 5, 2021
  7. GH-2218: Browser Onboarding Copy Edits & Tooltips (#652)

    * Add tooltips for BlockSettingsView and move <Tooltip /> to shared-hub. Remove some unused translation messages
    
    * Remove unused svgs
    
    * Remove unused scss
    
    * Add messages for step 3 choose your search
    
    * Add back message
    benstrumeyer committed Jan 5, 2021

Commits on Jan 7, 2021

  1. There was a coup attempt at The Capitol yesterday

    Ilya Zarembsky committed Jan 7, 2021
  2. GH-2218: 8.5.5 Translations (#654)

    * Add tooltips for BlockSettingsView and move <Tooltip /> to shared-hub. Remove some unused translation messages
    
    * Remove unused svgs
    
    * Remove unused scss
    
    * Add messages for step 3 choose your search
    
    * Add back message
    
    * Change CTA button string
    benstrumeyer committed Jan 7, 2021
  3. Ghostery Dawn Intro Hub Miscellaneous Fixes (#653)

    * Fix the StepProgressBar width for each screen, step4 needs to be a little bigger
    
    * Add back button to all pages
    
    * Add margin top to Step Progress Bar
    
    * Add back button for success view
    
    * Refactor back button for all pages
    
    * Log the user out if they are returning to step 1
    
    * Add logout behavior to navbar
    
    * Add highestSetupStepReached() method to next buttons
    
    * Trying to add setup_step to SetupLifeCycleReducer
    
    * Revert "Trying to add setup_step to SetupLifeCycleReducer"
    
    This reverts commit fd2fb31.
    
    * Revert "Add highestSetupStepReached() method to next buttons"
    
    This reverts commit b7cdd1e.
    
    * Prevent user from moving forwards in the StepProgress bar, only back
    
    * Add back console log
    
    * Remove test class
    
    * Fix tooltips
    
    * Get rid of margin-left on all screens. Fix success view strings. Center CTA button on BlockSettings
    
    * Fix back button on small screen sizes for SuccessView
    
    * Bold <StepProgressBar /> current step label
    
    * Fix ChoosePlanView price font sizes
    
    Co-authored-by: Ilya Zarembsky <ilya.zarembsky@gmail.com>
    benstrumeyer and wlycdgr committed Jan 7, 2021

Commits on Jan 11, 2021

  1. Reduce tooltip delay in Block Settings view

    Ilya Zarembsky committed Jan 11, 2021
  2. Make entire option box clickable on default search view

    Ilya Zarembsky committed Jan 11, 2021
  3. Rough out custom URL selector

    Ilya Zarembsky committed Jan 11, 2021
  4. Choose Default Search view option container adjustments

    Ilya Zarembsky committed Jan 11, 2021
  5. Make toasts work

    Ilya Zarembsky committed Jan 11, 2021
  6. Tidy up custom URL input a little more

    Ilya Zarembsky committed Jan 11, 2021

Commits on Jan 12, 2021

  1. Remove console statement

    Ilya Zarembsky committed Jan 12, 2021
  2. GH-2236: Update onboarding branding (#658)

    * Update Dawn copy, add new logos, minor CSS change
    
    * Add message for install page copy change
    leuryr committed Jan 12, 2021

Commits on Jan 13, 2021

  1. Remove custom URL input from choose default search view. Style and co…

    …py updates
    Ilya Zarembsky committed Jan 13, 2021

Commits on Jan 14, 2021

  1. Choose Default Search view modal styling

    Ilya Zarembsky committed Jan 14, 2021
  2. More choose default search view modal styling

    Ilya Zarembsky committed Jan 14, 2021

Commits on Jan 19, 2021

  1. GH-2244: Unit tests for Ghostery Dawn Intro Hub (#657)

    * Add tests for Welcome and success viwe
    
    * Add tests for Welcome, Success, BlockSettingsView and ChoosePlanView
    
    * Add tests for Step1_CreateAccountForm
    
    * Add tests for Step1_LoginForm
    
    * Add tests for Step1_CreateAccountView
    
    * Add tests for hub reducers
    
    * Update copyright year
    
    * Add copyright to sass files
    
    * Add broken AntiSuiteActions test
    
    * Add tests for AntiSuiteActions
    
    * Add test for BlockingPolicyActions
    
    * Add test for MetricsActions
    
    * Add tests for ToastActions
    
    * Add tests for SetupLifeCycleActions
    
    * Add test for StepProgressBar component, fix console errors and use Onboarding Constants as an index to appease PropTypes
    
    * Update propTypes
    
    * Remove console log
    
    * Update proptypes
    
    * Update test for ToastReducer
    
    * Fix Choose Plan Page screen width
    
    * Add back comment
    
    * Cleanup unit tests, move withRouter back to component entry path, fix AntiSuiteReducer tests, and mock nested functions in action tests
    benstrumeyer committed Jan 19, 2021
  2. Remove updates and promotions checkbox and dropdown (#659)

    * Remove learn more dropdown and update design
    
    * Remove updates and promotions checkbox and automatically subscribe the user to emails upon registering in the hub instead
    
    * Remove ,
    benstrumeyer committed Jan 19, 2021

Commits on Jan 20, 2021

  1. Fix routing bug

    wlycdgr committed Jan 20, 2021
  2. Step Progress Bar Bug (#661)

    * Fix cross browser progress bar lines and reduce size of progress bar on step 4
    
    * Keep ghosty steps in place and fix the line lengths
    
    * Fix navigation
    benstrumeyer committed Jan 20, 2021

Commits on Jan 21, 2021

  1. Fixes for Dawn Onboarding toast messages (#660)

    * Fixes for Dawn toast styling and layout
    
    * Add missing toast error message for Step 1
    
    * Ensure toast remains above step progress bar
    
    * Comment update
    
    * Update snapshot for ToastMessage component
    
    * Fix toast not clearing after block settings submit
    
    * Move setToast code up in if block
    
    * Center tooltip info icon
    
    * Make toast message i18n-friendly
    leuryr committed Jan 21, 2021

Commits on Jan 22, 2021

  1. Leet tool character limits and misc fixes (#662)

    * Use leet tool for character limits, make toast index higher, fix step progress bar dots on large screens
    
    * Add password match error
    
    * Fix back button spacings
    benstrumeyer committed Jan 22, 2021
  2. Ghostery Dawn Intro Hub Design Fixes (#663)

    * Update copies. Add higher res image for success screen
    
    * Update You are already a plus/premium subscriber copy
    benstrumeyer committed Jan 22, 2021
  3. Ghostery Dawn Miscellaneous Bug fixes (#664)

    * Bold numbers in step progress bar
    
    * Align BlockSettingsView checkbox per vinny, add click handler to checkbox label
    
    * Restore already have account and create an account, also get rid of console error
    
    * Close tab when clicking CTA button on Success View
    
    * Fix terms and agreements label position on Create Account Form
    
    * Update snapshots
    
    * Clear toasts when clicking skip button
    benstrumeyer committed Jan 22, 2021

Commits on Jan 26, 2021

  1. Implements Start Trial button logic that branches on user login state…

    …. Takes signed in user to checkout instead of starting free trial
    wlycdgr committed Jan 26, 2021
  2. Update Startpage logo

    wlycdgr committed Jan 26, 2021
  3. GH-2218: Browser Onboarding Copy Edits (#666)

    * Add welcome message, startpage message already updated
    
    * Fix errors, add max-width to beautify string
    benstrumeyer committed Jan 26, 2021
  4. Wrap call to search extension in a try catch to facilitate testing in…

    … other browsers. Remove console statements from choose search reducer
    wlycdgr committed Jan 26, 2021
  5. Make radio button labels clickable in Block Settings view. Factor ans…

    …wer block rendering out to a render helper
    wlycdgr committed Jan 26, 2021

Commits on Jan 28, 2021

Commits on Jan 29, 2021

  1. setup_number ping parameter (#669)

    * Add setup_number for step 1 and step 2
    
    * Get rid of dawn_setup_number, replace with setup_number
    
    * Add setup_number to ChooseSearchView
    
    * Add setup_number to ChooseDefaultSearchView. TODO: Add trial setup pings 2, and 3
    
    * Add back in subscriptionType ping param...
    
    * Update setup_number to use fetchSearchEnginesAsync value for other dropdown list
    
    * Update setSetupStep setup_numbers
    
    * Move user to success screen if they get redirected to checkout-web in a new tab
    
    * Add setupStep constants to Step 4 and update BlockSettingsView renderHelpers
    
    * One liner onClick handlers
    
    * Change setup_number to dawn_setup_number
    
    * Add list of possible search engines, minus SEARCH_ENCRYPT and update dawn_setup_numbers
    benstrumeyer committed Jan 29, 2021
  2. GH-2248: Update CTA & links to Plus, Premium, and free trial subscrip…

    …tions (#671)
    
    * Restore free trial link. Add UTM params to premium checkout link. Update CTA button copies. Ensure user is on a plus trial after redirecting to glowstery domains
    
    * Remove unused variable
    benstrumeyer committed Jan 29, 2021
  3. Fix certain block settings not setting (#672)

    * Fix certain block settings not saving
    
    * Test update
    leuryr committed Jan 29, 2021
  4. Remove hack that forced Dawn hub from background. Add support for ope…

    …ning the Dawn hub to openIntroHub method of the console debugger.
    wlycdgr committed Jan 29, 2021