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

Migrate anonymization script to react #10654

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

danieljames-dj
Copy link
Member

Currently there are two pages of anonymization - one for anonymizing profile (in rails) and another for anonymizing account (in react). This PR merges both to a single react script.

@danieljames-dj danieljames-dj marked this pull request as draft January 19, 2025 16:24
remove the person's data.
</ListItem>
<ListItem>
For recently competed competitions (Past 1 month), after anonymizing the person&apos;s data,
Copy link
Member

Choose a reason for hiding this comment

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

Maybe it's worth mentioning that currently comps older than 3 months are removed automatically from Live?

Copy link
Member Author

Choose a reason for hiding this comment

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

I'm not sure about that actually. Is that how it is happening? In that case, we need to do for past 3 months right?

Copy link
Member

Choose a reason for hiding this comment

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

Yup, it was implemented recently.

Copy link
Member Author

Choose a reason for hiding this comment

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

So that means "Past 1 month" needs to be replaced with "Past 3 months" and in brackets we can mention WCA Live will auto-clear after 3 months, am I right?

Copy link
Member

Choose a reason for hiding this comment

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

Yes, you're right

Copy link
Member Author

Choose a reason for hiding this comment

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

Done

app/controllers/tickets_controller.rb Outdated Show resolved Hide resolved
app/controllers/tickets_controller.rb Outdated Show resolved Hide resolved
@danieljames-dj danieljames-dj force-pushed the anonym-script branch 2 times, most recently from 854423d to 5b3fe8c Compare January 27, 2025 04:16
@danieljames-dj danieljames-dj marked this pull request as ready for review January 27, 2025 04:16
@danieljames-dj danieljames-dj force-pushed the anonym-script branch 3 times, most recently from ffa78a5 to db318a9 Compare January 27, 2025 15:12
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.

3 participants