Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/actions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ pub enum QueryKind {
pub struct QueryMap<'a> {
pub name: &'a str,
pub kind: QueryKind,
pub query: Arc<dyn github::IssuesQuery + Send + Sync>,
pub query: Arc<dyn github::issue_query::IssuesQuery + Send + Sync>,
}

#[derive(Debug, serde::Serialize)]
Expand Down
100 changes: 51 additions & 49 deletions src/agenda.rs

Large diffs are not rendered by default.

9 changes: 4 additions & 5 deletions src/gh_comments.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,16 @@ use hyper::{
header::{CACHE_CONTROL, CONTENT_SECURITY_POLICY, CONTENT_TYPE},
};

use crate::github::GitHubIssueStateReason;
use crate::{
cache,
github::{
github::issue_with_comments::{
GitHubGraphQlComment, GitHubGraphQlReactionGroup, GitHubGraphQlReviewThreadComment,
GitHubIssueState, GitHubIssueWithComments, GitHubReviewState,
GitHubIssueState, GitHubIssueStateReason, GitHubIssueWithComments, GitHubReviewState,
GitHubSimplifiedAuthor,
},
};
use crate::{
errors::AppError,
github::GitHubSimplifiedAuthor,
handlers::Context,
utils::{immutable_headers, is_repo_autorized},
};
Expand Down Expand Up @@ -727,7 +726,7 @@ fn write_reaction_groups_as_html(
continue;
}

use crate::github::GitHubGraphQlReactionContent::*;
use crate::github::issue_with_comments::GitHubGraphQlReactionContent::*;
let emoji = match reaction_group.content {
ThumbsUp => "👍",
ThumbsDown => "👎",
Expand Down
Loading