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

Temp fix for allowing archived users to use the /join page #896

Merged
merged 1 commit into from
Aug 16, 2024

Conversation

ankushdharkar
Copy link
Contributor

Date: Aug 16, 2024

Developer Name: Ankush Dharkar


Issue Ticket Number:-

Description:

Temporarily unblocks archived users to submit the /join form. Cron job seems to be marking users not in discord as archived and blocking them

Is Under Feature Flag

  • Yes
  • No - This is a hotfix and needs to be available on prod

Database changes

  • Yes
  • No

Breaking changes (If your feature is breaking/missing something please mention pending tickets)

  • Yes - Unintended side-effects may occur from /join APIs now working for archived users. Risk: Minor (since backend should authorize correctly)
  • No

Is Development Tested?

  • Yes
  • No

Tested in staging?

  • Yes
  • No

Add relevant Screenshot below ( e.g test coverage etc. )

Google Chrome 2024-08-16 16 32 26

@ankushdharkar ankushdharkar added the bug Something isn't working label Aug 16, 2024
@ankushdharkar ankushdharkar self-assigned this Aug 16, 2024
@ankushdharkar ankushdharkar changed the title fix(895)!: temp fixes join page for archived users Temp fixe for allowing archived users to use the /join page Aug 16, 2024
@ankushdharkar ankushdharkar changed the title Temp fixe for allowing archived users to use the /join page Temp fix for allowing archived users to use the /join page Aug 16, 2024
Comment on lines +57 to +58
} else {
alert('You must be logged in to continue');
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Another small UX improvement. The button click was silently failing when users were not logged in

Choose a reason for hiding this comment

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

Nice. I really thought the page was just broken.

Choose a reason for hiding this comment

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

Wait, just read the description. I thought this was a fix that hitting the "Start" button does nothing if you are not logged in, and was fixing that.

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@entropyReverser That doesn't require a fix as the workaround is to log in using the "Sign in with GitHub" button on top-right
CleanShot 2024-08-16 at 17 06 38@2x

Choose a reason for hiding this comment

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

Yeah. I know, but I would have liked an alert like this of "Please log in to continue"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@entropyReverser That's exactly what this UX adds :)

@prakashchoudhary07
Copy link
Contributor

Will have to check, If we need to do backend changes to accept response from archived users

@ankushdharkar
Copy link
Contributor Author

@prakashchoudhary07 Already tested the flow by marking myself as archived. Was able to submit the form through and through. Let's merge this and get a real user to test this for us

@prakashchoudhary07 prakashchoudhary07 merged commit 506a573 into develop Aug 16, 2024
2 of 3 checks passed
@prakashchoudhary07 prakashchoudhary07 deleted the 895-archived-users-unable-to-use-join branch August 16, 2024 11:28
@ankushdharkar ankushdharkar restored the 895-archived-users-unable-to-use-join branch August 16, 2024 11:43
@ankushdharkar ankushdharkar deleted the 895-archived-users-unable-to-use-join branch August 16, 2024 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants