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

feat: adding base countly metric functionality #1

Merged
merged 26 commits into from
Dec 17, 2022

Conversation

0xDanomite
Copy link
Contributor

closes ipfs/ipfs-gui#129

  • Initial PR - still needs work but using PR to review current state with @SgtPooki

@welcome

This comment was marked as resolved.

src/CountlyMetrics.ts Outdated Show resolved Hide resolved
@@ -0,0 +1,29 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i'd highly recommend getting familiar with gitignore.io. https://www.toptal.com/developers/gitignore/api/visualstudiocode,macos,windows,linux,node is a great default for our projects

.npmrc Outdated Show resolved Hide resolved
.storybook/package.json Outdated Show resolved Hide resolved
.storybook/preview.js Outdated Show resolved Hide resolved
Comment on lines 20 to 29
{
showMetricInfoLink &&
<div className="metric-info-link-wrapper">
See
<a className="metrics-warning-link" href="https://support.count.ly/hc/en-us/articles/360037441932-Web-analytics-JavaScript-#features-for-consent" target="_blank" rel="noreferrer">
{`Countly's group_features`}
</a>
for more information.
</div>
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this could be a dumb component to clean this code up

src/components/Warning/Warning.tsx Outdated Show resolved Hide resolved
src/types/countly.d.ts Outdated Show resolved Hide resolved
src/types/global.d.ts Outdated Show resolved Hide resolved
tsconfig.json Show resolved Hide resolved
@whizzzkid
Copy link
Collaborator

Hey @SgtPooki @djmcquillan we should publish this as an ESM, so we can use this as anywhere we load UI like we use geoip https://playcode.io/991829

It's much more convenient to integrate.

@SgtPooki SgtPooki merged commit 2546b8a into main Dec 17, 2022
@SgtPooki SgtPooki deleted the feature/metric-library/129 branch December 17, 2022 02:45
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.

create metrics collection/consent library for our use
3 participants