Skip to content

Commit

Permalink
chore(demo): Add a buried PR
Browse files Browse the repository at this point in the history
It's good to show off all the things.
  • Loading branch information
chelmertz committed Sep 27, 2024
1 parent 3eaec9c commit af94312
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion internal/storage/storage_demo.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,26 @@ func (s *StorageDemo) Prs() StoredState {
Buried: false,
}

prs = append(prs, pr1, pr2, pr3)
pr4 := types.ViewPr{
Url: "4",
ReviewStatus: "APPROVED",
Title: "style: fix linting errors",
Author: "olsons_beats",
RepoName: "translations",
RepoOwner: "chelmertz",
RepoUrl: "",
IsDraft: false,
LastUpdated: lastUpdated,
LastPrCommenter: "",
ThreadsActionable: 0,
ThreadsWaiting: 0,
Additions: 32,
Deletions: 15,
ReviewRequestedFromUsers: []string{},
Buried: true,
}

prs = append(prs, pr1, pr2, pr3, pr4)

state := StoredState{
Prs: prs,
Expand Down

0 comments on commit af94312

Please sign in to comment.