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

Nationals #37

Merged
merged 27 commits into from
May 9, 2024
Merged

Nationals #37

merged 27 commits into from
May 9, 2024

Conversation

lishaduck
Copy link
Member

Description

This PR includes code that'll be deployed for nationals, should we make it that far, but which can't be deployed for state.

@lishaduck lishaduck self-assigned this Mar 23, 2024
@lishaduck lishaduck added this to the Nationals milestone Mar 24, 2024
Without this, the checkboxes would not be rendered correctly.
They weren't checked when the user clicked on them.
This was due to another annoying csp violation.
Oversight on my part.
I apologize, I hope this is the last time I have to fix this.
54 characters removed, for a total of a 50 line reduction of code!
Bump preact.
Downgrade gfm to a csr compatible version.

HeadlessUI v2.0 is broken, and HeadlessUI v1.18 added code from v2.0.
It's mostly turned off, but it's still in the bundle.
It relies on process.env.JEST_WORKER_ID to disable some features.
We use combobox, the affected component, so we can't upgrade.
I disabled some rules:
useDefaultSwitchClause doesn't have type information.
It found a real bug in compile-mdx.
Luckily, JS was lenient enough it didn't make a big deal.
The csp didn't work right with latest fresh.
Apparently f-client-nav requires the direct child to be a partial.
It works fine otherwise, so I hadn't noticed.
However, it turns out `f-client-nav`ed islands must be partialled.
I gave up on streaming for now, but this is still a nice simplification.
Refactor Path Resolution Logic in MDX Compilation File Discovery
Fix Missing Partial Island Warning
@lishaduck
Copy link
Member Author

I'm going to go ahead and merge this seeing as this both fixes bugs on main, and GH doesn't like stacking PRs, even just with a trunk-based workflow.

@lishaduck lishaduck marked this pull request as ready for review May 9, 2024 16:50
@lishaduck lishaduck requested review from MattsAttack, iiAzui and a team as code owners May 9, 2024 16:50
@lishaduck lishaduck merged commit 0a0797c into main May 9, 2024
3 checks passed
@lishaduck lishaduck deleted the next branch May 9, 2024 16:50
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.

1 participant