ממשק מנוע סנכרון ריפו - #2762
Conversation
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) |
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
⏱️ 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! |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 5 potential issues.
Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: amirbiron <amirbiron@gmail.com>
📖 Documentation PreviewThe documentation has been built successfully!
To view locally:
|
Uh oh!
There was an error while loading. Please reload this page.
✨ תיאור קצר
מימשנו את "מדריך ההמשך (UI Guide)" ליצירת ממשק משתמש חדש ואינטראקטיבי לדפדפן הקוד. הממשק החדש מחליף את דפי ה-Bootstrap הישנים ומציג עץ קבצים, עורך קוד CodeMirror, וסרגל חיפוש גלובלי, ומשפר משמעותית את חווית הגלישה והחיפוש בקוד הריפו.
📦 שינויים עיקריים
פירוט נקודות (רשימת תבליטים):
/repo/) הכולל Tree View, עורך קוד CodeMirror, וסרגל חיפוש גלובלי, בהתאם למדריך.webapp/static/css/repo-browser.css,webapp/static/js/repo-browser.js) לניהול הלוגיקה והעיצוב של ה-UI.webapp/routes/repo_browser.pyעם נקודות קצה חדשות ל-API (/repo/api/tree,/repo/api/file,/repo/api/search,/repo/api/stats) ותמיכה בסטטיסטיקות סוגי קבצים.extra_headל-webapp/templates/base.htmlכדי לאפשר הזרקת סקריפטים וגיליונות סגנון חיצוניים בתבניות יורשות, כנדרש במדריך.🧪 בדיקות
כל רכיבי ה-UI (ניווט בעץ, טעינת קבצים, חיפוש, שינוי גודל סרגל צד, קבצים אחרונים, פעולות העתקה) נבדקו ידנית בדפדפן. נקודות הקצה של ה-API אומתו להחזרת נתונים צפויים.
🧪 בדיקות נדרשות ב‑PR
📝 סוג שינוי
✅ צ'קליסט
services/register_jobs.py(כולל Callback/Trigger להפעלה ידנית — למשלcallback_name/trigger_funcלפי המבנה) כדי שיופיעו בדשבורדdocs/environment-variables.rstוגםservices/config_inspector_service.pydocs/webapp/theming_and_css.rst+FEATURE_SUGGESTIONS/theme_matrix.md🧩 השפעות/סיכונים
🔗 קישורים
🧯 סיכון / החזרה לאחור (Rollback)
/repo/למצבם הקודם (מבוסס Bootstrap פשוט).Note
Modernizes the repo browser with an API-first backend and a new interactive frontend.
GET /repo/api/tree(lazy file tree),GET /repo/api/file/<path>(file content + metadata),GET /repo/api/search(enhanced search withlanguage,pattern, limit=50), andGET /repo/api/stats(git stats enriched with MongoDBlast_sync/sync_status)repo_indexto renderrepo/index.htmland augment metadata with top file-type countsrepo/base_repo.html(includes CodeMirror 5, Bootstrap Icons) andrepo/index.html(tree pane, breadcrumbs, code viewer)static/css/repo-browser.cssandstatic/js/repo-browser.js(tree view, search, resizable sidebar, recent files){% block extra_head %}tobase.htmlWritten by Cursor Bugbot for commit 00e14a5. This will update automatically on new commits. Configure here.