Repository navigation
היסטוריית Git מדריך - #2918
היסטוריית Git מדריך#2918
Conversation
Co-authored-by: amirbiron <amirbiron@gmail.com>
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) |
⏱️ Performance report(No performance test durations collected. Mark tests with |
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
Co-authored-by: amirbiron <amirbiron@gmail.com>
📖 Documentation PreviewThe documentation has been built successfully!
To view locally:
|
Co-authored-by: amirbiron <amirbiron@gmail.com>
Co-authored-by: amirbiron <amirbiron@gmail.com>
Co-authored-by: amirbiron <amirbiron@gmail.com>
Co-authored-by: amirbiron <amirbiron@gmail.com>
Co-authored-by: amirbiron <amirbiron@gmail.com>
Co-authored-by: amirbiron <amirbiron@gmail.com>
Co-authored-by: amirbiron <amirbiron@gmail.com>
Co-authored-by: amirbiron <amirbiron@gmail.com>
Co-authored-by: amirbiron <amirbiron@gmail.com>
Co-authored-by: amirbiron <amirbiron@gmail.com>
Co-authored-by: amirbiron <amirbiron@gmail.com>
Co-authored-by: amirbiron <amirbiron@gmail.com>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.
Co-authored-by: amirbiron <amirbiron@gmail.com>
✨ תיאור קצר
הוספנו יכולות חדשות לדפדפן הריפו: צפייה בהיסטוריית קבצים, השוואת גרסאות (Diff Viewer) וצפייה בתוכן קובץ ב-commit ספציפי. זה מאפשר למשתמשים להבין טוב יותר את השינויים בקוד לאורך זמן.
📦 שינויים עיקריים
פירוט נקודות (רשימת תבליטים):
GitMirrorServiceעם יכולות שליפת היסטוריה, תוכן קובץ ב-commit ו-diff, כולל ולידציות קפדניות, זיהוי בינארי וטיפול בקידודים שונים.repo_browser.pyלחשיפת יכולות ה-Git החדשות ל-Frontend, עם טיפול בשגיאות וקידוד פרמטרים.repo-history.jsועיצובם ב-repo-browser.css, תוך שמירה על חווית משתמש קיימת (למשל, Breadcrumbs).window.RepoStateב-repo-browser.jsלתמיכה חלקה ב-CodeMirror 6 בעת הצגת קובץ מ-commit ספציפי.🧪 בדיקות
🧪 בדיקות נדרשות ב‑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)
Note
Adds Git file history/diff capabilities end-to-end with strict validation, new APIs, UI, and tests.
GitMirrorServicewith repo/file/ref validation patterns, token injection via ctor, improved_sanitize_output, binary detection/decoding, and new methods:get_file_history,get_file_at_commit,get_diff(with truncation and_parse_diff), andget_commit_info.GET /repo/api/history,GET /repo/api/file-at-commit/<commit>,GET /repo/api/diff/<commit1>/<commit2>, andGET /repo/api/commit/<commit>with structured errors and size limits.repo-history.js(history panel, compare mode, diff modal), updatesrepo-browser.js(header/actions, clipboard,RepoStateadapter), styles inrepo-browser.css, and template wiring.Written by Cursor Bugbot for commit bd9d49e. This will update automatically on new commits. Configure here.