Skip to content
This repository was archived by the owner on Sep 20, 2023. It is now read-only.

Commit 0f676e1

Browse files
authored
Revert "Cut version 1.23.0 (#2380)" (#2382)
This reverts commit 1c40d45.
1 parent 1c40d45 commit 0f676e1

File tree

843 files changed

+55393
-22040
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

843 files changed

+55393
-22040
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 0 additions & 35 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 0 additions & 17 deletions
This file was deleted.

.swiftlint.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,21 @@
11
disabled_rules:
22
- function_parameter_count
3+
- line_length
4+
- identifier_name
5+
- type_name
36
- function_body_length
47
- type_body_length
58
- force_try
69
- force_cast
7-
- cyclomatic_complexity
8-
- identifier_name
9-
- type_name
10-
- line_length
11-
- file_length
12-
- large_tuple
13-
- nesting
10+
- trailing_whitespace
1411

1512
included:
1613
- Classes
1714
- FreetimeTests
18-
- Local\ Pods
1915
excluded:
2016
- Pods
17+
- Local Pods
2118
- Playgrounds
22-
- Local\ Pods/SwipeCellKit
19+
- Sample
2320

2421
reporter: "xcode"

AppStore.md

Lines changed: 110 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
1+
# App Store Details
2+
3+
[App Store Link](https://itunes.apple.com/us/app/githawk-for-github/id1252320249?ls=1&mt=8)
4+
5+
## App Information
6+
7+
### Name
8+
9+
GitHawk for GitHub
10+
11+
### Subtitle
12+
13+
Better GitHub notifications
14+
15+
### Privacy Policy URL
16+
17+
http://githawk.com/privacy.html
18+
19+
### Category
20+
21+
1. Productivity
22+
2. Utilities
23+
24+
### Rating
25+
26+
4+
27+
28+
## Version Information
29+
30+
### Keywords
31+
32+
```
33+
github,codehub,gitbucket,ioctocat,gitlab,repository,gitbucket,gitter,gothub,githun,girhub,bitbucket
34+
```
35+
36+
- github
37+
- codehub
38+
- gitbucket
39+
- ioctocat
40+
- gitlab
41+
- repository
42+
- gitbucket
43+
- gitter
44+
- gothub
45+
- githun
46+
- girhub
47+
- bitbucket
48+
49+
### Description
50+
51+
```
52+
GitHawk will help you achieve INBOX ZERO with your GitHub notifications. Comment on Issues and Pull Requests even faster than GitHub desktop. GitHawk is also the first-ever mobile app that lets you add emoji reactions!
53+
54+
TOP FEATURES
55+
56+
- Reach INBOX ZERO with GitHub notifications
57+
- Read, reply, and react to Issues and Pull Requests
58+
- Fast, native GitHub flavored Markdown
59+
- Browse Repositories and create Issues
60+
- 100% open source
61+
62+
ISSUES & PULL REQUESTS
63+
64+
- Browse file changes
65+
- Manage labels, reviewers, assignees, and miletones
66+
- Open, close and lock
67+
- React with emoji on comments
68+
- Read comments, reviews, and view the timeline
69+
- Comment with fast Markdown shortcuts
70+
- Edit and delete comments
71+
72+
NOTIFICATIONS
73+
74+
- Browse latest notifications
75+
- Swipe to mark read or Mark All
76+
77+
SEARCH
78+
79+
- Search for Repositories (Issues and Users coming soon!)
80+
- View recent searches
81+
82+
BOOKMARKS
83+
84+
- Keep track of your favorite Repositories, Issues, and Pull Requests
85+
86+
REPOSITORIES
87+
88+
- READMEs are native and fast
89+
- View Issues and Pull Requests
90+
- Browse files and code
91+
- Create new Issues
92+
93+
OTHER
94+
95+
- Homescreen badge for unread notifications
96+
- Sign in with multiple accounts
97+
- View GitHub API status
98+
99+
GitHawk is also fully open source, so if there are features or fixes that you want, its as simple as building it yourself! You can find all of the source code on GitHub:
100+
101+
github.com/rnystrom/githawk
102+
103+
Follow us on Twitter: @githawk
104+
```
105+
106+
### URLs
107+
108+
- **Support URL:** http://githawk.com
109+
- **Marketing URL:** http://githawk.com
110+

CODE_OF_CONDUCT.md

Lines changed: 0 additions & 46 deletions
This file was deleted.

Classes/Bookmark/BookmarkCell.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ final class BookmarkCell: SwipeSelectableCell {
2525

2626
override init(frame: CGRect) {
2727
super.init(frame: frame)
28-
28+
2929
backgroundColor = .white
3030

3131
contentView.clipsToBounds = true
@@ -84,14 +84,14 @@ final class BookmarkCell: SwipeSelectableCell {
8484
string: "\(viewModel.bookmark.owner)/\(viewModel.bookmark.name)",
8585
attributes: [
8686
.font: Styles.Text.secondaryBold.preferredFont,
87-
.foregroundColor: Styles.Colors.Gray.light.color
87+
.foregroundColor: Styles.Colors.Gray.light.color,
8888
]
8989
)
9090
detailString.append(NSAttributedString(
9191
string: " #\(viewModel.bookmark.number)",
9292
attributes: [
9393
.font: Styles.Text.secondary.preferredFont,
94-
.foregroundColor: Styles.Colors.Gray.light.color
94+
.foregroundColor: Styles.Colors.Gray.light.color,
9595
]
9696
))
9797
detailLabel.attributedText = detailString

Classes/Bookmark/BookmarkNavigationController.swift

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ final class BookmarkNavigationController {
1414

1515
private let store: BookmarkStore
1616
private let model: Bookmark
17-
private static let iconImageInset = UIEdgeInsets(top: 0, left: 16, bottom: 0, right: 0)
1817

1918
init?(store: BookmarkStore?, model: Bookmark?) {
2019
guard let store = store, let model = model else { return nil }
@@ -23,19 +22,19 @@ final class BookmarkNavigationController {
2322
}
2423

2524
// MARK: Public API
26-
25+
2726
var navigationItem: UIBarButtonItem {
2827
let item = UIBarButtonItem()
2928
configureNavigationItem(item)
3029
return item
3130
}
32-
31+
3332
func configureNavigationItem(_ item: UIBarButtonItem) {
34-
33+
3534
let accessibilityLabel: String
3635
let imageName: String
3736
let selector: Selector
38-
37+
3938
if store.contains(model) {
4039
imageName = "nav-bookmark-selected"
4140
accessibilityLabel = Constants.Strings.removeBookmark
@@ -45,38 +44,36 @@ final class BookmarkNavigationController {
4544
accessibilityLabel = Constants.Strings.bookmark
4645
selector = #selector(BookmarkNavigationController.add(sender:))
4746
}
48-
47+
4948
item.accessibilityLabel = accessibilityLabel
5049
item.image = UIImage(named: imageName)?.withRenderingMode(.alwaysTemplate)
5150
item.target = self
5251
item.action = selector
5352
item.isEnabled = true
5453
item.width = 0
55-
item.imageInsets = BookmarkNavigationController.iconImageInset
5654
}
57-
55+
5856
//for timeframe between viewDidLoad() and bookmark info is loaded
5957
static var disabledNavigationItem: UIBarButtonItem {
6058
let item = UIBarButtonItem()
6159
item.image = UIImage(named: "nav-bookmark")?.withRenderingMode(.alwaysTemplate)
6260
item.isEnabled = false
63-
item.imageInsets = BookmarkNavigationController.iconImageInset
6461
return item
6562
}
66-
63+
6764
// MARK: Private API
68-
65+
6966
@objc func add(sender: UIBarButtonItem) {
7067
Haptic.triggerSelection()
7168
sender.action = #selector(BookmarkNavigationController.remove(sender:))
7269
sender.image = UIImage(named: "nav-bookmark-selected")?.withRenderingMode(.alwaysTemplate)
7370
store.add(model)
7471
}
75-
72+
7673
@objc func remove(sender: UIBarButtonItem) {
7774
sender.action = #selector(BookmarkNavigationController.add(sender:))
7875
sender.image = UIImage(named: "nav-bookmark")?.withRenderingMode(.alwaysTemplate)
7976
store.remove(model)
8077
}
81-
78+
8279
}

Classes/Bookmark/BookmarkSectionController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ final class BookmarkSectionController: ListGenericSectionController<BookmarkView
3232

3333
return CGSize(
3434
width: width,
35-
height: max(object.text.viewSize(in: width).height, Styles.Sizes.tableCellHeight + Styles.Sizes.rowSpacing * 2)
35+
height: max(object.text.viewSize(in: width).height, Styles.Sizes.tableCellHeightLarge)
3636
)
3737
}
3838

Classes/Bookmark/BookmarkViewController.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ TabNavRootViewControllerType {
7676

7777
searchBar.delegate = self
7878
searchBar.placeholder = Constants.Strings.searchBookmarks
79+
searchBar.tintColor = Styles.Colors.Blue.medium.color
7980
searchBar.backgroundColor = .clear
8081
searchBar.searchBarStyle = .minimal
8182
navigationItem.titleView = searchBar
@@ -98,11 +99,12 @@ TabNavRootViewControllerType {
9899
collectionView.collectionViewLayout.invalidateForOrientationChange()
99100
}
100101
}
101-
102+
102103
override func viewWillDisappear(_ animated: Bool) {
103104
searchBar.resignFirstResponder()
104105
}
105106

107+
106108
private func update(animated: Bool) {
107109
adapter.performUpdates(animated: animated)
108110
}

0 commit comments

Comments
 (0)