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

Add stats by origin #192

Merged
merged 9 commits into from
Sep 8, 2023
Merged

Add stats by origin #192

merged 9 commits into from
Sep 8, 2023

Conversation

chenyan-dfinity
Copy link
Contributor

@chenyan-dfinity chenyan-dfinity commented Sep 7, 2023

  • origin = playground | playground:git | playground:tag | playground:wasm | playground:post:blocks | dfx
  • Tags are only set in install.
    • Set by frontend: tags = git:{repo} | tag:{id} | example:{name} | file:new | ref:{url}
    • Set by backend: tags = profiling | install | upgrade | reinstall | asset

chenyan-dfinity and others added 8 commits September 7, 2023 08:42
…s sources (#193)

* Convert 'allowedOrigins' to TypeScript

* Add 'setOrigin' workplace reducer action

* Progress

* Refactor example projects to use example name in origin

* Misc

* Use URL origin in place of editor key for 'playground:post'

* Reintroduce details for 'tag' and 'git' origins

* Keep track of 'document.referrer' and 'window.opener'

* Misc
@chenyan-dfinity chenyan-dfinity merged commit 856f44f into main Sep 8, 2023
3 checks passed
@chenyan-dfinity chenyan-dfinity deleted the add-origin branch September 8, 2023 01:55
mergify bot pushed a commit to dfinity/sdk that referenced this pull request Sep 15, 2023
* Error out `dfx deploy --playground` when in CI environment.
* Report to the playground backend that this request comes from `dfx`. It's only used for monitoring purposes.
* Sync the API with dfinity/motoko-playground#192
* No changelog update needed, as the playground feature is already in the changelog.
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.

2 participants