-
Notifications
You must be signed in to change notification settings - Fork 4
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
Allow link retrieval by the leader, remove v1 flow #580
Commits on Mar 26, 2024
-
Remove v1 links from the Home Page
gh-572 The v1 flow is too brittle. It will be confusing having login be meaningful for v1 and v2 simultaneously. Any shortcomings of v2 do not outweigh the risk that v1 carries of lockout.
Configuration menu - View commit details
-
Copy full SHA for 91c5d64 - Browse repository at this point
Copy the full SHA 91c5d64View commit details
Commits on Mar 27, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 57e5734 - Browse repository at this point
Copy the full SHA 57e5734View commit details -
Don't require access key-related vars in itest
We use OIDC and SSO login now.
Configuration menu - View commit details
-
Copy full SHA for 84684fe - Browse repository at this point
Copy the full SHA 84684feView commit details -
Configuration menu - View commit details
-
Copy full SHA for 52ea18b - Browse repository at this point
Copy the full SHA 52ea18bView commit details -
Restore webapp outputs, something broke
I think I depend on having these available. They're just going to have to be in the GitHub Actions output.
Configuration menu - View commit details
-
Copy full SHA for cae6cd2 - Browse repository at this point
Copy the full SHA cae6cd2View commit details
Commits on Mar 30, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 9ee5109 - Browse repository at this point
Copy the full SHA 9ee5109View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f5765e - Browse repository at this point
Copy the full SHA 4f5765eView commit details -
Use Promise.all with waitForNavigation
gh-567 Otherwise "the navigation might happen on submit before you wait for it." https://stackoverflow.com/questions/52136638/proper-way-to-use-page-waitfornavigation-in-puppeteer#:~:text=1%20Answer&text=It%20happens%20because%20the%20navigation,of%20one%20at%20a%20time.
Configuration menu - View commit details
-
Copy full SHA for d3556f6 - Browse repository at this point
Copy the full SHA d3556f6View commit details -
Disable Plan Seder if there is no logged-in user
gh-568 Because my Plan a Seder button renders as an <a> element, I don't have access to the "disabled" form control attribute. I want to see what the HTML looks like when the button is disabled. This says there's not a portable way to check for a disabled link: https://stackoverflow.com/questions/10276133/how-to-disable-html-links ChatGPT says to use: ``` link.getAttribute('aria-disabled') === 'true' || link.hasAttribute('disabled') ```
Configuration menu - View commit details
-
Copy full SHA for ca94d14 - Browse repository at this point
Copy the full SHA ca94d14View commit details -
Configuration menu - View commit details
-
Copy full SHA for b30d234 - Browse repository at this point
Copy the full SHA b30d234View commit details -
Configuration menu - View commit details
-
Copy full SHA for 700b269 - Browse repository at this point
Copy the full SHA 700b269View commit details -
Put the post-login Paper in a medium container
I like how the v2 Papers look. They use a medium container.
Configuration menu - View commit details
-
Copy full SHA for d4eac4e - Browse repository at this point
Copy the full SHA d4eac4eView commit details -
Put Home Page main content on Paper
gh-568 You can't see a disabled Plan a Seder button against the Red Sea background. The About link has always been hard to see against the Red Sea background as well.
Configuration menu - View commit details
-
Copy full SHA for 23e0c89 - Browse repository at this point
Copy the full SHA 23e0c89View commit details -
Make the Home Page container narrower
I want to show more of the Red Sea background. The buttons are small anyway.
Configuration menu - View commit details
-
Copy full SHA for ec4ee8c - Browse repository at this point
Copy the full SHA ec4ee8cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 534c8dc - Browse repository at this point
Copy the full SHA 534c8dcView commit details
Commits on Mar 31, 2024
-
Make the home page container size xs
gh-568 Even sm was too wide. On mobile xs is, too, but at least it's a bit narrower on desktop.
Configuration menu - View commit details
-
Copy full SHA for b1de4de - Browse repository at this point
Copy the full SHA b1de4deView commit details -
Configuration menu - View commit details
-
Copy full SHA for ca307f0 - Browse repository at this point
Copy the full SHA ca307f0View commit details
Commits on Apr 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 694a6c3 - Browse repository at this point
Copy the full SHA 694a6c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7761286 - Browse repository at this point
Copy the full SHA 7761286View commit details
Commits on Apr 2, 2024
-
Expect the leader nickname to display
gh-568 When picking the script. We'll use this instead of prompting them for their name.
Configuration menu - View commit details
-
Copy full SHA for 4480e21 - Browse repository at this point
Copy the full SHA 4480e21View commit details -
Configuration menu - View commit details
-
Copy full SHA for a2e4843 - Browse repository at this point
Copy the full SHA a2e4843View commit details -
Use better SEO terms on the Home Page
I don't come up in search results for "mad lib haggadah."
Configuration menu - View commit details
-
Copy full SHA for a23b5da - Browse repository at this point
Copy the full SHA a23b5daView commit details
Commits on Apr 3, 2024
-
gh-567 I haven't used them for a while now. I use the opaque cookie that my app sets.
Configuration menu - View commit details
-
Copy full SHA for 04d8378 - Browse repository at this point
Copy the full SHA 04d8378View commit details
Commits on Apr 4, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0bfce56 - Browse repository at this point
Copy the full SHA 0bfce56View commit details -
Configuration menu - View commit details
-
Copy full SHA for 571bd10 - Browse repository at this point
Copy the full SHA 571bd10View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d4fd1d - Browse repository at this point
Copy the full SHA 1d4fd1dView commit details -
Don't set JWT cookies, backend v2
We use the opaque cookie only.
Configuration menu - View commit details
-
Copy full SHA for b2e4df0 - Browse repository at this point
Copy the full SHA b2e4df0View commit details -
Pull opaque cookie info from schema v2
gh-572 I'd like to remove backend v1 entirely.
Configuration menu - View commit details
-
Copy full SHA for 3e83140 - Browse repository at this point
Copy the full SHA 3e83140View commit details
Commits on Apr 6, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0865967 - Browse repository at this point
Copy the full SHA 0865967View commit details -
Require, don't import, client-dynamodb
I got the error: SyntaxError: Cannot use import statement outside a module
Configuration menu - View commit details
-
Copy full SHA for 0c04cdb - Browse repository at this point
Copy the full SHA 0c04cdbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0453c87 - Browse repository at this point
Copy the full SHA 0453c87View commit details -
I'm not sure if this will fix it, but I'm getting an error: > Error occurred prerendering page "/". Read more: > https://nextjs.org/docs/messages/prerender-error
Configuration menu - View commit details
-
Copy full SHA for e557add - Browse repository at this point
Copy the full SHA e557addView commit details -
Configuration menu - View commit details
-
Copy full SHA for ea9aada - Browse repository at this point
Copy the full SHA ea9aadaView commit details -
Wrap my top-level JSX in QueryClientProvider
I keep getting the error: Error: No QueryClient set, use QueryClientProvider to set one The docs have the QueryClientProvider wrapping components at a higher level: https://tanstack.com/query/latest/docs/framework/react/overview though I can't tell if that's the issue.
Configuration menu - View commit details
-
Copy full SHA for 4573e00 - Browse repository at this point
Copy the full SHA 4573e00View commit details -
Define the function using React Query later
The example https://tanstack.com/query/latest/docs/framework/react/overview has the function that uses React Query defined after the default export. Maybe that's significant.
Configuration menu - View commit details
-
Copy full SHA for ef9153e - Browse repository at this point
Copy the full SHA ef9153eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 739a278 - Browse repository at this point
Copy the full SHA 739a278View commit details -
Put the QueryClientProvider at the very top
Still trying to deal with the error: Error: No QueryClient set, use QueryClientProvider to set one by making my code as much like the example https://tanstack.com/query/latest/docs/framework/react/overview#enough-talk-show-me-some-code-already as possible.
Configuration menu - View commit details
-
Copy full SHA for 202139d - Browse repository at this point
Copy the full SHA 202139dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 98d79dc - Browse repository at this point
Copy the full SHA 98d79dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for a562dfd - Browse repository at this point
Copy the full SHA a562dfdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f934a0 - Browse repository at this point
Copy the full SHA 9f934a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for de1163a - Browse repository at this point
Copy the full SHA de1163aView commit details -
Configuration menu - View commit details
-
Copy full SHA for b51fe9b - Browse repository at this point
Copy the full SHA b51fe9bView commit details -
Set useQuery staleTime to Infinity
It seems to be refetching and thus re-rendering constantly.
Configuration menu - View commit details
-
Copy full SHA for 9db4917 - Browse repository at this point
Copy the full SHA 9db4917View commit details -
Try to avoid excessive refetching
My create-haggadah/index page is refetching and re-rendering like crazy. Trying to only get it to fetch when it first loads. https://tanstack.com/query/v4/docs/framework/react/guides/important-defaults
Configuration menu - View commit details
-
Copy full SHA for 5d720a3 - Browse repository at this point
Copy the full SHA 5d720a3View commit details -
That was in there by mistake. I'm wondering if that was the cause for the strange behaviors I was seeing: the page re-rendering constantly, to the point where I couldn't even type more than one character in the the boxes without it getting blanked out; the fetches firing and re-firing constantly; and the XPath for 'text contains <nickname>' never being found, despite being plainly visible on the page.
Configuration menu - View commit details
-
Copy full SHA for ec63ec2 - Browse repository at this point
Copy the full SHA ec63ec2View commit details
Commits on Apr 7, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 43b83b1 - Browse repository at this point
Copy the full SHA 43b83b1View commit details -
Wrap only the component using the query
I'm still trying to prevent the call to /scripts from refiring every time I type a character. I'm hypothesizing that this is because I'm wrapping the whole app in the QueryClientProvider.
Configuration menu - View commit details
-
Copy full SHA for d619b54 - Browse repository at this point
Copy the full SHA d619b54View commit details -
Use useEffect to get the user nickname
No matter what I do with react-query, my seemingly unrelated useEffect hook that fetches the scripts re-runs every time the seemingly unrelated text boxes get more than one character typed in them. This is despite the fact that I am passing [] as the second arg to useEffect.
Configuration menu - View commit details
-
Copy full SHA for dfb43cc - Browse repository at this point
Copy the full SHA dfb43ccView commit details -
Search all descendant text nodes for nickname
According to ChatGPT: > The . in the contains() function refers to the string value of the > current node, including all descendant text nodes.
Configuration menu - View commit details
-
Copy full SHA for 450ab93 - Browse repository at this point
Copy the full SHA 450ab93View commit details -
Move the Accordions before the Home function
I'm hypothesizing that the change in order from an earlier commit on the v2-login branch was the cause for the re-renders to happen on every state change.
Configuration menu - View commit details
-
Copy full SHA for 806297c - Browse repository at this point
Copy the full SHA 806297cView commit details -
Configuration menu - View commit details
-
Copy full SHA for f319019 - Browse repository at this point
Copy the full SHA f319019View commit details -
Configuration menu - View commit details
-
Copy full SHA for ca9759c - Browse repository at this point
Copy the full SHA ca9759cView commit details -
Add some logging to the join-seder flow
I'm getting strange behavior where the leader's join-seder request seems to have the right params, but fails, and the Seder proceeds, without the leader able to participate.
Configuration menu - View commit details
-
Copy full SHA for 86d9842 - Browse repository at this point
Copy the full SHA 86d9842View commit details -
Don't blacklist characters except in room code
I think this is the reason that joining a seder with a leader name like my-email@email.com was failing. Certain characters were not allowed. I think DynamoDB and React handle the types of injection that I was trying to avoid with the character blacklist.
Configuration menu - View commit details
-
Copy full SHA for e1aed6b - Browse repository at this point
Copy the full SHA e1aed6bView commit details -
Configuration menu - View commit details
-
Copy full SHA for de1b904 - Browse repository at this point
Copy the full SHA de1b904View commit details -
Configuration menu - View commit details
-
Copy full SHA for 540593b - Browse repository at this point
Copy the full SHA 540593bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1460baf - Browse repository at this point
Copy the full SHA 1460bafView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e0b6a6 - Browse repository at this point
Copy the full SHA 4e0b6a6View commit details
Commits on Apr 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b0d7375 - Browse repository at this point
Copy the full SHA b0d7375View commit details -
Remove unnecessary second break
I probably shouldn't even be using breaks at all as I am.
Configuration menu - View commit details
-
Copy full SHA for 0b403d9 - Browse repository at this point
Copy the full SHA 0b403d9View commit details -
Add a Seders page, look for the links link
The "links link" is the permalink to the leader's page that gives all the participant permalinks.
Configuration menu - View commit details
-
Copy full SHA for 02e8778 - Browse repository at this point
Copy the full SHA 02e8778View commit details -
Configuration menu - View commit details
-
Copy full SHA for 88ade93 - Browse repository at this point
Copy the full SHA 88ade93View commit details -
Look for the link href prefix in itest
Because I'm not including the pw in the thing I'm looking for, since it might get logged if not found.
Configuration menu - View commit details
-
Copy full SHA for 1c8f73f - Browse repository at this point
Copy the full SHA 1c8f73fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 94fd5fb - Browse repository at this point
Copy the full SHA 94fd5fbView commit details
Commits on Apr 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 46e71f4 - Browse repository at this point
Copy the full SHA 46e71f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f9c4be - Browse repository at this point
Copy the full SHA 4f9c4beView commit details -
Include cookies when getting my-seders
Though for some reason in the console the login cookie was sent without {credentials: "include"}.
Configuration menu - View commit details
-
Copy full SHA for 4920f0a - Browse repository at this point
Copy the full SHA 4920f0aView commit details
Commits on Apr 10, 2024
-
Don't refetch so much at /seders
The /seders page is refreshing periodically. I'd rather have it stay displayed once it's displayed the first time, even if a subsequent refresh request fails.
Configuration menu - View commit details
-
Copy full SHA for 15b2102 - Browse repository at this point
Copy the full SHA 15b2102View commit details -
But maybe don't print it. I am not prioritizing testing the links link without revealing it at this time.
Configuration menu - View commit details
-
Copy full SHA for 726f46a - Browse repository at this point
Copy the full SHA 726f46aView commit details