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

Epic: Migrate from Gatsby to Astro #190

Closed
36 of 41 tasks
WhiteHoodHacker opened this issue May 3, 2024 · 0 comments · Fixed by #197
Closed
36 of 41 tasks

Epic: Migrate from Gatsby to Astro #190

WhiteHoodHacker opened this issue May 3, 2024 · 0 comments · Fixed by #197
Assignees
Labels
dependencies Pull requests that update a dependency file epic Large collection of changes
Milestone

Comments

@WhiteHoodHacker
Copy link
Member

WhiteHoodHacker commented May 3, 2024

Astro has extremely good MDX support and is just well suited for static sites overall. I have already ported over a good chunk of functionality from the current site. Definitely is a much nicer development experience compared to Gatsby.

Migrated Functionality

Fixes

Known Issues

  • It is not possible to use a custom key for references between two content types (e.g. you cannot specify an author's name on a meeting Minh Duong, you must use Astro's path ID system member/minh-duong)
    • Workaround: adopt Astro's path ID system. Impact: This adds more friction when creating meetings, but could be improved with a custom CMS widget. This also prevents the easy adding of guest speakers, meaning they need to have a profile created in order for the site to build/pass Zod schema.
    • Solved by manually querying profiles and filtering by name.
  • It is not possible to co-locate PDFs and other assets with content markdown files.
    • Workaround: store these assets in public. Impact: This adds more friction when creating meetings, but can be improved using CMS custom assets directory upload.
    • Solved by using vite-plugin-static-copy to copy the entire meetings directory (including assets) into dist.
  • Plain markdown files (.md) will not apply custom component replacements (e.g. to use optimized image components or custom table elements). Previously, this was solved by forcing Gatsby to treat all .md files as .mdx files, but this does not seem to be configurable within Astro.
    • Workaround: Only use .mdx files. Impact: minimal.
@WhiteHoodHacker WhiteHoodHacker added dependencies Pull requests that update a dependency file epic Large collection of changes feature labels May 3, 2024
@WhiteHoodHacker WhiteHoodHacker self-assigned this May 3, 2024
@WhiteHoodHacker WhiteHoodHacker pinned this issue May 3, 2024
@WhiteHoodHacker WhiteHoodHacker added this to the FA2024 milestone Jul 10, 2024
@WhiteHoodHacker WhiteHoodHacker unpinned this issue Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file epic Large collection of changes
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant