Skip to content
This repository was archived by the owner on Jan 2, 2025. It is now read-only.

Conversation

@rsdy
Copy link
Contributor

@rsdy rsdy commented Apr 4, 2023

This adds a persistent tracking_id that's user-aware. The core of the logic is in webserver/config.rs, and would be good to get another pair of eyes if this is what we want.

This also opens the opporunity to potentially reset this in the future on a per-user basis, but that's unimplemented currently.

@rsdy rsdy added enhancement New feature or request backend labels Apr 4, 2023
Copy link
Contributor

@ggordonhall ggordonhall left a comment

Choose a reason for hiding this comment

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

Will we need to make some changes to answer.rs and analytics.rs to propagate the user identifier into the analytics DB? At the moment the frontend passes a user_id to /answer.

@anastasiya1155 I'd like to get your input on this. What is the user_id passed to /answer?

@anastasiya1155
Copy link
Collaborator

Will we need to make some changes to answer.rs and analytics.rs to propagate the user identifier into the analytics DB? At the moment in the frontend passes a user_id to /answer.

@anastasiya1155 I'd like to get your input on this. What is the user_id passed to /answer?

We use unique device id as a user identifier at the moment

Copy link
Contributor

@oppiliappan oppiliappan left a comment

Choose a reason for hiding this comment

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

this also opens up the gates for adding gh user-ids in analytics events!

@rsdy rsdy changed the title Rsdy/blo 525 use GitHub username or id to identify Use GitHub username or id to identify Apr 12, 2023
@rsdy rsdy merged commit 958829c into main Apr 12, 2023
@rsdy rsdy deleted the rsdy/blo-525-use-github-username-or-id-to-identify branch April 12, 2023 17:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

backend enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants