Skip to content

Commit 57be093

Browse files
committed
* 'master' of https://github.com/GitHawkApp/GitHawk: (107 commits) new routing library and refactor shortcuts (#2241) use edge inset to right align image (#2232) Adds more share actions when browsing a repository (#2161) (#2237) Huge refactor of AppDelegate and authentication routing (#2238) Fix readme duplicate identifier asserts (#2219) Order repo branches after fetch (#2228) set spinner color in RepoBranchVC (#2221) Update Setup.md (#2218) Localize Inbox Zero and allow for per-year holidays (#2215) change repo branch (#2202) Fix entitlements path (#2211) Settings cell textColor (#2193) Fixed cell border on merge button (#2204) Move entitlements to Resources (#2209) Restore readme images after assets move (#2210) Delete AppStore.md Delete appcenter-post-clone.sh move designs to own repo (#2208) Switched to constants (#2207) Move lock (#2206) ...
2 parents 0f1fc2c + 64f920a commit 57be093

File tree

749 files changed

+27525
-60868
lines changed

Some content is hidden

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

749 files changed

+27525
-60868
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
5+
---
6+
7+
**Describe the bug**
8+
A clear and concise description of what the bug is.
9+
10+
**To Reproduce**
11+
Steps to reproduce the behavior:
12+
1. Go to '...'
13+
2. Click on '....'
14+
3. Scroll down to '....'
15+
4. See error
16+
17+
**Expected behavior**
18+
A clear and concise description of what you expected to happen.
19+
20+
**Screenshots**
21+
If applicable, add screenshots to help explain your problem.
22+
23+
**Desktop (please complete the following information):**
24+
- OS: [e.g. iOS]
25+
- Browser [e.g. chrome, safari]
26+
- Version [e.g. 22]
27+
28+
**Smartphone (please complete the following information):**
29+
- Device: [e.g. iPhone6]
30+
- OS: [e.g. iOS8.1]
31+
- Browser [e.g. stock browser, safari]
32+
- Version [e.g. 22]
33+
34+
**Additional context**
35+
Add any other context about the problem here.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
5+
---
6+
7+
**Is your feature request related to a problem? Please describe.**
8+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
9+
10+
**Describe the solution you'd like**
11+
A clear and concise description of what you want to happen.
12+
13+
**Describe alternatives you've considered**
14+
A clear and concise description of any alternative solutions or features you've considered.
15+
16+
**Additional context**
17+
Add any other context or screenshots about the feature request here.

AppStore.md

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

CODE_OF_CONDUCT.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
6+
7+
## Our Standards
8+
9+
Examples of behavior that contributes to creating a positive environment include:
10+
11+
* Using welcoming and inclusive language
12+
* Being respectful of differing viewpoints and experiences
13+
* Gracefully accepting constructive criticism
14+
* Focusing on what is best for the community
15+
* Showing empathy towards other community members
16+
17+
Examples of unacceptable behavior by participants include:
18+
19+
* The use of sexualized language or imagery and unwelcome sexual attention or advances
20+
* Trolling, insulting/derogatory comments, and personal or political attacks
21+
* Public or private harassment
22+
* Publishing others' private information, such as a physical or electronic address, without explicit permission
23+
* Other conduct which could reasonably be considered inappropriate in a professional setting
24+
25+
## Our Responsibilities
26+
27+
Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
28+
29+
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
30+
31+
## Scope
32+
33+
This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
34+
35+
## Enforcement
36+
37+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at rnystrom@whoisryannystrom.com. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
38+
39+
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
40+
41+
## Attribution
42+
43+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
44+
45+
[homepage]: http://contributor-covenant.org
46+
[version]: http://contributor-covenant.org/version/1/4/

Classes/Bookmark/BookmarkNavigationController.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ final class BookmarkNavigationController {
5050
item.target = self
5151
item.action = selector
5252
item.isEnabled = true
53+
item.width = 0
5354
}
5455

5556
//for timeframe between viewDidLoad() and bookmark info is loaded

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.tableCellHeightLarge)
35+
height: max(object.text.viewSize(in: width).height, Styles.Sizes.tableCellHeight + Styles.Sizes.rowSpacing * 2)
3636
)
3737
}
3838

Classes/Bookmark/BookmarkViewController.swift

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

7777
searchBar.delegate = self
7878
searchBar.placeholder = Constants.Strings.searchBookmarks
79-
searchBar.tintColor = Styles.Colors.Blue.medium.color
8079
searchBar.backgroundColor = .clear
8180
searchBar.searchBarStyle = .minimal
8281
navigationItem.titleView = searchBar
@@ -99,6 +98,11 @@ TabNavRootViewControllerType {
9998
collectionView.collectionViewLayout.invalidateForOrientationChange()
10099
}
101100
}
101+
102+
override func viewWillDisappear(_ animated: Bool) {
103+
searchBar.resignFirstResponder()
104+
}
105+
102106

103107
private func update(animated: Bool) {
104108
adapter.performUpdates(animated: animated)
@@ -148,14 +152,15 @@ TabNavRootViewControllerType {
148152
}
149153

150154
func didDelete(bookmarkSectionController: BookmarkSectionController, viewModel: BookmarkViewModel) {
155+
searchBar.resignFirstResponder()
151156
bookmarkStore.remove(viewModel.bookmark)
152157
update(animated: true)
153158
}
154159

155160
// MARK: ListAdapterDataSource
156161

157162
func objects(for listAdapter: ListAdapter) -> [ListDiffable] {
158-
let contentSizeCategory = UIApplication.shared.preferredContentSizeCategory
163+
let contentSizeCategory = UIContentSizeCategory.preferred
159164
let width = view.bounds.width
160165
var bookmarks: [ListDiffable]
161166
switch state {

Classes/Issues/Assignees/IssueAssigneeSummaryCell.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ final class IssueAssigneeSummaryCell: UICollectionViewCell, UICollectionViewData
3434
label.textColor = Styles.Colors.Gray.light.color
3535
contentView.addSubview(label)
3636
label.snp.makeConstraints { make in
37-
make.centerY.equalTo(contentView)
38-
make.left.equalTo(contentView)
37+
make.centerY.equalToSuperview()
38+
make.left.equalToSuperview()
3939
}
4040

4141
collectionView.backgroundColor = .clear
@@ -44,7 +44,7 @@ final class IssueAssigneeSummaryCell: UICollectionViewCell, UICollectionViewData
4444
contentView.addSubview(collectionView)
4545
collectionView.snp.makeConstraints { make in
4646
make.left.equalTo(label.snp.right).offset(Styles.Sizes.columnSpacing)
47-
make.top.bottom.right.equalTo(contentView)
47+
make.top.bottom.right.equalToSuperview()
4848
}
4949
}
5050

Classes/Issues/Assignees/IssueAssigneeUserCell.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ final class IssueAssigneeUserCell: UICollectionViewCell, ListBindable {
2828

2929
contentView.addSubview(imageView)
3030
imageView.snp.makeConstraints { make in
31-
make.centerY.equalTo(contentView)
32-
make.left.equalTo(contentView)
31+
make.centerY.equalToSuperview()
32+
make.left.equalToSuperview()
3333
make.size.equalTo(Styles.Sizes.icon)
3434
}
3535

@@ -38,7 +38,7 @@ final class IssueAssigneeUserCell: UICollectionViewCell, ListBindable {
3838
label.backgroundColor = .clear
3939
contentView.addSubview(label)
4040
label.snp.makeConstraints { make in
41-
make.centerY.equalTo(contentView)
41+
make.centerY.equalToSuperview()
4242
make.left.equalTo(imageView.snp.right).offset(Styles.Sizes.columnSpacing)
4343
}
4444
}

Classes/Issues/Branches/IssueBranchesSectionController.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ final class IssueTargetBranchSectionController: ListSectionController {
1616
override func didUpdate(to object: Any) {
1717
guard let object = object as? IssueTargetBranchModel else { return }
1818
self.object = object
19-
inset = UIEdgeInsets.zero
2019
}
2120

2221
override func sizeForItem(at index: Int) -> CGSize {

0 commit comments

Comments
 (0)