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

fast one click #1907

Merged
merged 13 commits into from
Sep 27, 2024
Merged

fast one click #1907

merged 13 commits into from
Sep 27, 2024

Conversation

ichub
Copy link
Contributor

@ichub ichub commented Sep 27, 2024

@ichub ichub force-pushed the ivan/fast-one-click branch 3 times, most recently from 0f9f929 to 996e3a3 Compare September 27, 2024 20:23
@ichub ichub requested a review from rrrliu September 27, 2024 20:24
@ichub ichub marked this pull request as ready for review September 27, 2024 20:24
Copy link
Collaborator

Choose a reason for hiding this comment

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

Nothing that we'll need to communicate this screen (and the associated "continue to zupass") to 10play team -- probably on our meeting monday

Comment on lines +369 to +374
if (!pipeline) {
throw new PCDHTTPError(
400,
"handleGetTicketPreview: pipeline not found " + requestedPipelineId
);
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

will this break any existing 1-click links, i.e. do we handle the 400 on the client?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

i've now split the new one-click page out from the old one so that none of the new code interferes with the old flows

setError(previewRes.error);
}
} catch (err) {
await dispatch({
Copy link
Collaborator

Choose a reason for hiding this comment

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

related to previous comment about handling the 400 -- should this just actually call handleOneClickLogin() e.g. for the Esmeralda and Prague links that were sent out?

@ichub ichub added this pull request to the merge queue Sep 27, 2024
Merged via the queue into main with commit 15e25e5 Sep 27, 2024
1 check passed
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