Skip to content

Conversation

@willmullinthomas
Copy link
Contributor

Why

Monday.com Ticket

This PR connects the reservation routes to the frontend to allow users to connect to the sftt backend and edit the status of blocks

This PR

Added a new protected API client file and added each of the routes and functions. Followed the same pattern as the routes made by @jackblanc in LLB.

Verification Steps

The UI for the reservation pages is not fully set up so I have not been able to confirm that everything is working as expected.

Copy link
Member

@jackblanc jackblanc left a comment

Choose a reason for hiding this comment

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

Nice work! Take a look at the authClient.test.ts for a guide on how to test this, it should be pretty simple but I think it's worth having.

You may need to include .then.catch chains to resolve the promises... honestly not too sure. We can cross that bridge when we use these.

@willmullinthomas
Copy link
Contributor Author

The fail_qa route is not recognized. Not sure why

@willmullinthomas willmullinthomas requested review from a team, jackblanc, justinkonecny, liammoyn and maxsebso and removed request for a team February 22, 2021 04:28

const BASE_URL = 'http://localhost';

// TODO: handle invalid cases
Copy link
Member

Choose a reason for hiding this comment

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

Can you add a ticket for this on Monday on the bugs/tech debt section? Don't want this to get lost. Or finish it as part of this PR.

Copy link
Member

@jackblanc jackblanc left a comment

Choose a reason for hiding this comment

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

Looks good, we love tests :)

@willmullinthomas willmullinthomas merged commit 1d4628c into master Feb 27, 2021
@chromium-52 chromium-52 deleted the reservationRoutes branch December 14, 2022 03:54
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