Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

create metrics collection/consent library for our use #129

Closed
ipfs-shipyard/ignite-metrics
#1
Assignees
0xDanomite
Labels
P0Critical: Tackled by core team ASAPdif/easySomeone with a little familiarity can pick upeffort/daysEstimated to take multiple days, but less than a weekkind/enhancementA net-new feature or improvement to an existing featurestatus/in-progressIn progress
@SgtPooki

Description

@SgtPooki

This library should contain the code fromipfs/public-gateway-checker#309, in a way that can be consumed by the packages listed at#105

We should host this library athttps://github.com/ipfs-shipyard/ignite-metrics and publish to npm as@ipfs-shipyard/ignite-metrics

A few requirements for this library:

Functional requirements

  1. Code is ESM.
  2. Export ESM.
  3. Can be consumed by CJS react libraries
  4. can be consumed by ESM react libraries
  5. can be consumed by CJS non-react libraries
  6. can be consumed by ESM non-react libraries
  7. For non-react libraries, thehttps://github.com/ipfs-shipyard/ignite-metrics/blob/ec17cc85748319d1dfe42003feea3a76eba209cf/src/CountlyMetrics.ts file will need to be enough for consumers to consume as they will not be able to consume the react components.

Inputs

  1. countlyAPI key and url
  2. consent warning text/component
  3. consent acceptance text/component

Exports

  1. Warning component:https://github.com/ipfs/public-gateway-checker/blob/c727202d5a98b9e191a9d979fdb4e40e8d23cf43/src/index.html#L16-L25
  2. consent component:https://github.com/ipfs/public-gateway-checker/blob/master/src/index.html#L26-L35
  3. consent toggle component:https://github.com/ipfs/public-gateway-checker/blob/c727202d5a98b9e191a9d979fdb4e40e8d23cf43/src/index.html#L69-L84
  4. Countly instance/global (this could be something else in the future)

Metadata

Metadata

Assignees

Labels

P0Critical: Tackled by core team ASAPdif/easySomeone with a little familiarity can pick upeffort/daysEstimated to take multiple days, but less than a weekkind/enhancementA net-new feature or improvement to an existing featurestatus/in-progressIn progress

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp