Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Making pr #235

Closed
wants to merge 14 commits into from
Closed

Making pr #235

wants to merge 14 commits into from

Conversation

zleyyij
Copy link
Contributor

@zleyyij zleyyij commented Oct 14, 2024

No description provided.

@zleyyij
Copy link
Contributor Author

zleyyij commented Oct 15, 2024

This is wonderful progress, great work.

Eventually, I think the hope would be for branch selection to be a dropdown, with a Create New Branch option at the very bottom that when pressed, turns into an input icon (you could use the 'create new file' functionality as a rough reference.

backend/backups/creating-backups.md Outdated Show resolved Hide resolved
backend/docs/backups/creating-backups.md Outdated Show resolved Hide resolved
backend/src/gh.rs Outdated Show resolved Hide resolved
backend/src/gh.rs Outdated Show resolved Hide resolved
backend/src/git.rs Show resolved Hide resolved
backend/src/handlers_prelude/doc.rs Outdated Show resolved Hide resolved
backend/src/handlers_prelude/github_pull_request.rs Outdated Show resolved Hide resolved
backend/src/handlers_prelude/github_pull_request.rs Outdated Show resolved Hide resolved
frontend/src/lib/components/BranchButton.svelte Outdated Show resolved Hide resolved
frontend/src/routes/+page.svelte Outdated Show resolved Hide resolved
Copy link
Contributor Author

@zleyyij zleyyij left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent progress

backend/src/gh.rs Show resolved Hide resolved
backend/src/gh.rs Outdated Show resolved Hide resolved
backend/src/handlers_prelude/github_pull_request.rs Outdated Show resolved Hide resolved
backend/src/handlers_prelude/github_pull_request.rs Outdated Show resolved Hide resolved
backend/src/handlers_prelude/github_pull_request.rs Outdated Show resolved Hide resolved
backend/src/handlers_prelude/github_list_branches.rs Outdated Show resolved Hide resolved

pub async fn list_branches_handler(
State(state): State<AppState>,
) -> Result<(StatusCode, Json<serde_json::Value>), (StatusCode, Json<serde_json::Value>)> {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as the other one, a more strongly typed json plz

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you explain more what you mean by a more strongly typed json?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just using a struct that implements serialize/de serialize, rather than a serde_json::Value. Again, it's fine if you would prefer to just switch it to a serde_json::Object, but at that point I'd ask that you explain what exactly it returns in the function docstring.

backend/src/handlers_prelude/github_pull_request.rs Outdated Show resolved Hide resolved
frontend/src/lib/components/TopBar.svelte Show resolved Hide resolved
Copy link
Contributor Author

@zleyyij zleyyij left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code review is complete, refer to discord for UI review

backend/src/gh.rs Show resolved Hide resolved
backend/src/gh.rs Show resolved Hide resolved
backend/src/gh.rs Show resolved Hide resolved
backend/src/git.rs Show resolved Hide resolved
frontend/src/lib/main.ts Show resolved Hide resolved
@zleyyij
Copy link
Contributor Author

zleyyij commented Oct 19, 2024 via email

@zleyyij zleyyij closed this Oct 22, 2024
@TheKrol TheKrol mentioned this pull request Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants