Fix new code editor not showing in web app - #870
Conversation
Adds CodeMirror 6 to the edit_file.html template to provide a rich code editing experience with syntax highlighting and autocompletion. Co-authored-by: amirbiron <amirbiron@gmail.com>
Cursor Agent can help with this pull request. Just |
🧯 Dangerous deletes guard reportPolicy: see .cursorrules — dangerous deletions are blocked unless wrapped safely. Summary:
Flagged findings (file:line:snippet): Excluded matches (by path pattern): [...truncated, see workflow logs for full report] |
⏱️ Performance report(No performance test durations collected. Mark tests with |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
✨ תיאור קצר
הטמעת עורך הקוד CodeMirror 6 בדף עריכת קובץ (
edit_file.html). השינוי נדרש מכיוון שהעורך החדש לא הופיע בווב אפ לאחר מימוש האישו, וזה פותר את הבעיה על ידי שילובו ישירות בתבנית.📦 שינויים עיקריים
פירוט נקודות (רשימת תבליטים):
webapp/templates/edit_file.html.textareaהמקורי ושימוש בו לסנכרון תוכן העורך לפני שליחת הטופס.🧪 בדיקות
🧪 בדיקות נדרשות ב‑PR
📝 סוג שינוי
✅ צ'קליסט
🧩 השפעות/סיכונים
🔗 קישורים
🧯 סיכון / החזרה לאחור (Rollback)
webapp/templates/edit_file.html. במקרה של תקלה, המערכת תחזור להשתמש ב-textareaהרגיל.