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

Feature/console debugging #568

Merged
merged 155 commits into from Sep 24, 2020

Commits on May 5, 2020

  1. add linting for class-methods-use-this and fix most resulting errors.…

    … Add /tools and /tests to linter. Update height in UpgradeBanner
    IAmThePan committed May 5, 2020

Commits on May 11, 2020

Commits on May 14, 2020

  1. Refactor UNSAFE_componentWillMount into either constructor or compone…

    …ntDidMount, leave notes for how decision was made.
    IAmThePan committed May 14, 2020

Commits on May 18, 2020

  1. Refactor UNSAFE_componentWillReceiveProps to componentDidUpdate or ge…

    …tDerivedStateFromProps
    IAmThePan committed May 18, 2020

Commits on May 21, 2020

  1. add linting for react/destructuring-assignment and fix errors. ToDo: …

    …test code and check for errors
    IAmThePan committed May 21, 2020

Commits on May 22, 2020

  1. Fix minor bugs

    IAmThePan committed May 22, 2020

Commits on May 23, 2020

  1. rework linting rule no-param-reassign to have more exceptions and par…

    …am object destructuring
    IAmThePan committed May 23, 2020

Commits on May 29, 2020

Commits on Jun 3, 2020

Commits on Jun 6, 2020

  1. merge with develop

    IAmThePan committed Jun 6, 2020

Commits on Jun 8, 2020

Commits on Jul 29, 2020

  1. Address remaining PR issues

    IAmThePan committed Jul 29, 2020

Commits on Sep 2, 2020

  1. Merge in latest develop

    wlycdgr committed Sep 2, 2020

Commits on Sep 13, 2020

  1. Factor pickRandomArrEl function out to utils, flesh it out, and docum…

    …ent it. Revise help output for getABTests to conform to standard format for function help output. Remove addition of linebreaks from typeset method to help fix and improve output formatting. Adjust output styles accordingly and define sub header styles.
    wlycdgr committed Sep 13, 2020
  2. Give debugger's typeset method the responsibility for adding new line…

    …s before and after debugger help output. Add CSS style markers for a standard way to specify which styles the printToConsole method should apply
    wlycdgr committed Sep 13, 2020

Commits on Sep 15, 2020

  1. Merge in latest develop

    wlycdgr committed Sep 15, 2020
  2. Organize GhosteryDebug by grouping formatting and output code and gro…

    …uping help CLI & strings. Document GhosteryDebug#printToConsole and GhosteryDebug#typeset. Add ToC.
    wlycdgr committed Sep 15, 2020
  3. Rearrange static class fields in help strings section of GhosteryDebu…

    …g to account for the apparent fact that static class fields must be defined before being referenced by other class fields. Fix small typos.
    wlycdgr committed Sep 15, 2020
  4. Move toggleLogging to settings GhosteryDebug instance field. Move sta…

    …tus to settings.show. Move isLog and objectDisplayStyle into settings
    wlycdgr committed Sep 15, 2020

Commits on Sep 16, 2020

  1. Add help output for GhosteryDebug#settings.show(). Standardize show()…

    … and toggleLogging() output to use typeset() and printToConsole(). Add Babel support for optional chaining syntax
    wlycdgr committed Sep 16, 2020
  2. Begin GhosteryDebug#settings.setOutputStyle implementation. Factor co…

    …mmon printToConsole code out to a helper
    wlycdgr committed Sep 16, 2020
  3. Finish implementing GhosteryDebug#settings.toggleOutputStyle. Factor …

    …out common code in the settings togglers to helper methods
    wlycdgr committed Sep 16, 2020
  4. Flesh out GhosteryDebugger#forceOnePromoModalDisplay to produce forma…

    …tted output and handle bad arguments. Rework PromoModals so that modals can be added, removed, and priority-shifted around without necessitating any changes to the GhosteryDebug help output or other code.
    wlycdgr committed Sep 16, 2020

Commits on Sep 17, 2020

  1. Factor string array assembly out from GhosteryDebugger#help to a help…

    …er that can be called independently by other methods. Update showPromoModal output to use the standard formatting provided by the typeset & printToConsole chain. Improve docs for PromoModals#showPromoModal. Make the PromoModals#showPromoModal argument handling case-insensitive. Add PromoModals.getActiveModalTypes. Improve getObjectSlice util function docs. Improve pickRandomArrEl util function docs and error messaging. Add capitalize utility function. Solve global warming.
    wlycdgr committed Sep 17, 2020
  2. Prep printToConsole and typeset for handling objects, so that printTo…

    …Console and its helpers can take sole responsibility for console calls
    wlycdgr committed Sep 17, 2020
  3. Add error handling to getObjectSlice util function and return whether…

    … a match was found, so we can provide better messaging about the return values in GhosteryDebug methods that use the utility
    wlycdgr committed Sep 17, 2020
  4. Remove extra line

    wlycdgr committed Sep 17, 2020
  5. Pipe getConfData and getGlobals output through the standard typeset /…

    … printToConsole chain
    wlycdgr committed Sep 17, 2020
  6. Move GhosteryDebug#_outputObjectSlice out of the printing section sin…

    …ce it now delegates printing to printToConsole
    wlycdgr committed Sep 17, 2020
  7. Convert GhosteryDebug#getABTests to use standard typeset and printToC…

    …onsole output pipeline. Factor pushing an object to output array as object or string based on debugger setting out to helper
    wlycdgr committed Sep 17, 2020
  8. Update ABTest to support hitting the A/B server without automatically…

    … logging out the return values
    wlycdgr committed Sep 17, 2020

Commits on Sep 21, 2020

  1. Flesh out fetchCMPCampaigns implementation to conform to standard out…

    …put formatting. Add docs
    wlycdgr committed Sep 21, 2020

Commits on Sep 23, 2020

  1. Cut Debugger#getDebugInfo

    wlycdgr committed Sep 23, 2020
  2. Merge branch 'feature/console-debugging' of github.com:IAmThePan/ghos…

    …tery-extension into feature/console-debugging
    wlycdgr committed Sep 23, 2020
  3. Fix typo

    wlycdgr committed Sep 23, 2020