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
Feature/console debugging #568
Commits on Apr 29, 2020
Commits on May 1, 2020
Commits on May 4, 2020
Commits on May 5, 2020
add linting for class-methods-use-this and fix most resulting errors.…
… Add /tools and /tests to linter. Update height in UpgradeBanner
Commits on May 6, 2020
Commits on May 8, 2020
Commits on May 11, 2020
Commits on May 12, 2020
finish linting errors for no-restricted-syntax. 1 remains: couldn't r…
…esolve removing iterator loops for urlSearchParams
Commits on May 14, 2020
Refactor UNSAFE_componentWillMount into either constructor or compone…
…ntDidMount, leave notes for how decision was made.
Commits on May 18, 2020
Refactor UNSAFE_componentWillReceiveProps to componentDidUpdate or ge…
…tDerivedStateFromProps
Commits on May 20, 2020
Commits on May 21, 2020
add linting for react/destructuring-assignment and fix errors. ToDo: …
…test code and check for errors
Commits on May 22, 2020
Commits on May 23, 2020
rework linting rule no-param-reassign to have more exceptions and par…
…am object destructuring
Commits on May 26, 2020
remove added linting expression no-use-before-define and fix resultin…
…g errors. fix BugDB.js bug.
Commits on May 28, 2020
Commits on May 29, 2020
Commits on Jun 2, 2020
Commits on Jun 3, 2020
Commits on Jun 4, 2020
Commits on Jun 6, 2020
Commits on Jun 7, 2020
Commits on Jun 8, 2020
Commits on Jun 15, 2020
Commits on Jul 1, 2020
Commits on Jul 8, 2020
Commits on Jul 14, 2020
Commits on Jul 20, 2020
Commits on Jul 21, 2020
Commits on Jul 28, 2020
Commits on Jul 29, 2020
Commits on Jul 30, 2020
Commits on Jul 31, 2020
Commits on Sep 2, 2020
Commits on Sep 8, 2020
Remove LOG global and refactor log utility to gate on debug value ins…
…tead of log value
Commits on Sep 9, 2020
Implement globals getter with support for string and regex literal ar…
…guments for console debugger
Rename getActiveTabInfo to accurately reflect function. Add support f…
…or logging that overrides global logging setting
Add help and status method stubs to GhosteryDebug. Add support for ge…
…tting all conf props, a single one, or a subset using regexp
Commits on Sep 10, 2020
Commits on Sep 11, 2020
Rename GHOSTERY console debug object to ghostery because toggling Cap…
…s Lock is ANNoyINg
Prettify ghostery console debugger help function output. Continue fle…
…shing out help contents
Commits on Sep 12, 2020
Continue fleshing out debugger help. Add first handling of a case whe…
…re a function name is passed in to the help method
Flesh out implementation of ghosteryDebug#getConfData output. Flesh o…
…ut debugger help output for this function
Commits on Sep 13, 2020
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.
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
Commits on Sep 14, 2020
Commits on Sep 15, 2020
Organize GhosteryDebug by grouping formatting and output code and gro…
…uping help CLI & strings. Document GhosteryDebug#printToConsole and GhosteryDebug#typeset. Add ToC.
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.
Move toggleLogging to settings GhosteryDebug instance field. Move sta…
…tus to settings.show. Move isLog and objectDisplayStyle into settings
Commits on Sep 16, 2020
Add help output for GhosteryDebug#settings.show(). Standardize show()…
… and toggleLogging() output to use typeset() and printToConsole(). Add Babel support for optional chaining syntax
Begin GhosteryDebug#settings.setOutputStyle implementation. Factor co…
…mmon printToConsole code out to a helper
Finish implementing GhosteryDebug#settings.toggleOutputStyle. Factor …
…out common code in the settings togglers to helper methods
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.
Commits on Sep 17, 2020
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.
Prep printToConsole and typeset for handling objects, so that printTo…
…Console and its helpers can take sole responsibility for console calls
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
Pipe getConfData and getGlobals output through the standard typeset /…
… printToConsole chain
Move GhosteryDebug#_outputObjectSlice out of the printing section sin…
…ce it now delegates printing to printToConsole
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
Update ABTest to support hitting the A/B server without automatically…
… logging out the return values
Commits on Sep 18, 2020
Implement standardized output formatting and error checking for Ghost…
…eryDebug#hitABServerWithIr
rename hitABServerWithIr to hitABServerWithIrAsync to make it clear t…
…hat it is beautiful
Rename hitABServerWithIrAsync to fetchABTestsWithIr cos it is shorter…
… and will match fetchCMPCampaigns
Replace '__HIGHLIGHT__' CSS marker magic string with string constant …
…in GhosteryDebugger
Allow changing values of CSS marker string constants without having t…
…o modify GhosteryDebug#printToConsole or printFormatted
Commits on Sep 19, 2020
Commits on Sep 21, 2020
Commits on Sep 22, 2020
Commits on Sep 23, 2020
Merge branch 'feature/console-debugging' of github.com:IAmThePan/ghos…
…tery-extension into feature/console-debugging
Commits on Sep 24, 2020
Add JSDoc for Debugger showPromoModal. Remove @async tag in other one…
…s as it is only intended for use with functions defined with the async keyword
JSDoc Debugger settings object and settings.show. Convert settings to…
… a closure to force JSDoc to document inner properties
Fix bug that was preventing subscription data from showing in Debugge…
…r getUserData output