feat: add focused framework filter toggle#140
Conversation
|
@Ankita562 Thank you so much for this, great work. If you make the tweak suggested in the comment we can get this merged |
|
All set! @AlexanderKaran I followed your example from #139. I updated the Zod schemas in config.ts, prepopulated all the content JSON files with the isFocused flag, and updated the stats-generator script to emit it automatically going forward. I also went back to the Astro component and cleaned out the old lookup logic so it just reads the flag directly from the stats now. Let me know if everything looks good! |
| our methodology and testing process. | ||
| </p> | ||
|
|
||
| <div class="filter-container"> |
There was a problem hiding this comment.
@Ankita562 Can you turn this into its own Astro Component and then just import it, will help keep this page a little cleaner
| { | ||
| "name": "Next.js", | ||
| "package": "app-next-js", | ||
| "isFocused": false, |
|
@Ankita562 Just a few more litle tweaks and were good to go |
|
All set! @AlexanderKaran I've wrapped up the final tweaks:
Let me know if everything looks good to merge! |
This PR resolves #136 by adding a "Show focused frameworks only" toggle to the comparison lists on the homepage.
Changes made:
Checklist
starter-*package, ensure that the deps, and file content matches the output of the metaframeworks recommended starter/default projectScreenshots
Toggle Unchecked (Showing all frameworks):

Toggle Checked (Default - Showing focused frameworks only):
