fix: correct Web Template frameworks order (#2895)#2896
fix: correct Web Template frameworks order (#2895)#2896soufiane-amt wants to merge 1 commit intoappwrite:mainfrom
Conversation
Console (appwrite/console)Project ID: Sites (1)
Tip Sites support three domain rule types: Active deployment, Git branch, and Redirect |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review infoConfiguration used: Organization UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
WalkthroughThe change adds 'React Native' as a framework option to the frameworkOrder list in the create-site templates page configuration. The framework is inserted between 'Vite' and 'Other' in the ordering sequence. This modification extends the set of recognized frameworks available for template filtering and sorting, with one line added to package.json and one line added to the templates configuration file. Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes 🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Greptile SummaryFixed the framework dropdown ordering by adding
Confidence Score: 5/5
Important Files Changed
Last reviewed commit: b12cf5d |

What I did
Ensured that the “Other” option always appears last and React Native appears in the correct position by adding 'React Native' item in the correct order to the array of frameworkOrder.
Issue
Bug: In the Web Template creation flow, the frameworks dropdown was displaying React Native as the last item and Other as the second last, which is confusing for users #2895 .
Reproduction Steps:
Go to Create Project → Access a project.
Click on Create Site.
Choose Clone a Template.
Observe the frameworks dropdown — the last framework is React Native, and the second last is Other.
Expected Behavior:
Other should always be the last item in the frameworks list.
Actual Behavior:
React Native appears last, and Other is second last.
Before the fix:
After :
Summary by CodeRabbit