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

Count active users with Google Analytics #112

Open
wants to merge 61 commits into
base: master
Choose a base branch
from
Open

Count active users with Google Analytics #112

wants to merge 61 commits into from

Conversation

beszel
Copy link
Collaborator

@beszel beszel commented Nov 13, 2019

Resolves #53

The "Dismiss this header" button is not included in the popup, for
obvious reasons. The "Restore original content" button is fully working.
The message remains the same after restoring content.
The "Dismiss this header" button is not included in the popup, for
obvious reasons. The "Restore original content" button is fully working.
The message remains the same after restoring content.
Also fixed "Restore original content" button in popup.
This uses a hardcoded popup URL, which should be changed.
The extension ID is also static now.
With appropriate end-to-end tests
When the popup requests the extension status from the content script,
it now receives a keyword telling it which message to display. It
previously received the entire message that it should display.

The Status enum can't be imported from `popup.js`, so a temporary
solution is used.
Remove tests for `getExcludedDomain` and `getWhyExcluded`
This reverts commit 2694fc2.

The removed tests should be left in, as the functions they are testing
will be put back in. Tests will not pass on this commit.
If the extension had to be disabled on a particular site, the header
would explain why. Now the popup explains why.
A broken test was found and fixed as part of this commit.
The "Dismiss this header" button is not included in the popup, for
obvious reasons. The "Restore original content" button is fully working.
The message remains the same after restoring content.
The "Dismiss this header" button is not included in the popup, for
obvious reasons. The "Restore original content" button is fully working.
The message remains the same after restoring content.
Also fixed "Restore original content" button in popup.
This uses a hardcoded popup URL, which should be changed.
Remove tests for `getExcludedDomain` and `getWhyExcluded`
This reverts commit 2694fc2.

The removed tests should be left in, as the functions they are testing
will be put back in. Tests will not pass on this commit.
If the extension had to be disabled on a particular site, the header
would explain why. Now the popup explains why.
A broken test was found and fixed as part of this commit.
This one isn't tracking for some reason.
This is used to get an accurate count of how many users actively browse
with the extension.
@beszel beszel self-assigned this Nov 13, 2019
We only want a user count for now.
@ProfJanetDavis
Copy link
Collaborator

I see the same duplicate commits here as with #113 and I'd suggest I similar course of action. I'm sorry I got so far behind!

@ProfJanetDavis
Copy link
Collaborator

Squash merge results in a reasonable set of changed files here also, though if you want a proper review through GitHub it would be helpful to have a clean PR with a minimal set of commits and changed files.

commit a7f3706fca9bb459673f495b47d42478145aa00e
Author: Janet Davis <davisj@whitman.edu>
Date:   Mon Nov 25 15:20:14 2019 -0800

    Added notes from #96 to manual test cases

commit debd4ba38450d0736cdb58cc29e74df53f993351
Author: Ian Hawkins <ian@hawkapp.com>
Date:   Thu Nov 14 15:44:14 2019 -0800

    Make icon grey in more sizes

commit fbe703f868f586228af60e66d49e64a8b37bf3d1
Author: Ian Hawkins <ian@hawkapp.com>
Date:   Sat Nov 9 09:19:11 2019 -0800

    Grey out icon when it makes sense

    This doesn't work for all icon sizes.
@beszel
Copy link
Collaborator Author

beszel commented Jan 17, 2020

@ProfJanetDavis Can we close this PR, or do you want to use this Analytics experiment?

@beszel beszel closed this Jan 17, 2020
@beszel beszel reopened this Jan 17, 2020
@ProfJanetDavis
Copy link
Collaborator

ProfJanetDavis commented Jan 18, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

It should use Google Analytics to track active users
2 participants