add tech review panel for AI branch diff - #10
Open
R0MADEV wants to merge 9 commits into
Open
Conversation
R0MADEV
force-pushed
the
feat/tech-review-panel
branch
from
July 31, 2026 22:44
1d0e1ef to
e61806b
Compare
R0MADEV
commented
Jul 31, 2026
Comment on lines
+1002
to
+1012
| #[tauri::command] | ||
| pub async fn git_ref_diff(path: String, base: String, target: String) -> Result<String, String> { | ||
| if !is_safe_branch(&base) { return Err(format!("unsafe base: {base}")); } | ||
| if !is_safe_branch(&target) { return Err(format!("unsafe target: {target}")); } | ||
| tauri::async_runtime::spawn_blocking(move || { | ||
| if !is_git_repo(&path) { return Err("not a git repository".into()); } | ||
| git_output(&path, &["diff", &format!("{base}...{target}")]) | ||
| }) | ||
| .await | ||
| .map_err(|e| e.to_string())? | ||
| } |
There was a problem hiding this comment.
hola xdd soy otro tests desde otra cuenta xd
R0MADEV
commented
Jul 31, 2026
Comment on lines
+6
to
+8
| export function reviewT(key: ReviewMessageKey, values: TranslationValues = {}): string { | ||
| return catalogT('review', key, values) | ||
| } |
R0MADEV
commented
Aug 1, 2026
Comment on lines
+306
to
+312
| #[tauri::command] | ||
| pub async fn git_current_branch(path: String) -> Result<String, String> { | ||
| tauri::async_runtime::spawn_blocking(move || current_branch(&path)) | ||
| .await | ||
| .map_err(|e| e.to_string())? | ||
| } | ||
|
|
Owner
Author
|
ajjaja porque |
R0MANDEV
suggested changes
Aug 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.