Commit Graph

152 Commits

Author SHA1 Message Date
Ivan Magda
f8d0cc7f12 Move duplicate share UIAlertActions to AlertAction struct #359 (#431)
* Move duplicate share UIAlertActions to AlertActions struct #359

Create helper AlertActions struct for convenient UIAlertAction's instantiation.

* Create AlertActionBuilder #359

The AlertActionBuilder is used to create custom UIAlertAction's with constituent parts.

* Create UIAlertController+Action #359

UIAlertController+Action extension provide a convinient way for adding actions into the UIAlertController.

* Move additional UIAlertAction duplicates into AlertAction #359

* NewIssueTableViewController: Use correct titles for alert actions #359

Use "Go back" and "Discard" titles instead of "No" and "Yes".

* IssueCommentSectionController: Refactor alert actions #359

* SettingsViewController: Refactor onSignOut alert actions #359
2017-09-29 16:21:17 -04:00
Ryan Nystrom
8d1aa57301 present new issue VC modally, fixes #449 2017-09-28 20:11:50 -04:00
Ryan Nystrom
bd7750c28a fix paging broken on repo issues 2017-09-26 22:05:29 -04:00
Ryan Nystrom
b339731834 image size respects aspect ratio, fixes #417 2017-09-26 22:03:17 -04:00
Ryan Nystrom
5fe34ce698 fix tabman bug when tabbar is visible 2017-09-26 21:05:13 -04:00
Ryan Nystrom
550c93e700 action title says "New Issue" 2017-09-25 22:53:52 -04:00
James Sherlock
f40557eeaf Native Create Issue (#311)
* Add a "Create Issue" view controller, Hook up networking, Enable bug reporting

* Add create issue button to all repos

* Fix navigation for tablet, Add markdown controls view

* Remove new issue button if issues are not enabled

* Add localization for new issue text

* Update scrollView insets on keyboard, Add slight background

* More style changes, moved preview to it's own button, expanding text view, return takes you to next field

* Update bug report repository

* Design changes

* Add markdown controls to new issue
2017-09-25 11:24:14 -04:00
Dylan Lewis
a3276615d5 [413] Use shared colours for standard UI components (#421)
* Update UISwitch on tint color

Align green with shared color

* Update tintColor of all UIAlertControllers

* Create factory for SFSafariViewController

* Update SFSafariViewController tint color

Only in the .configured factory

* Use SFSafariViewController factory everywhere

* Create factory for UIAlertController

* Use UIAlertController factory everywhere
2017-09-24 18:32:32 -04:00
Ryan Nystrom
873ad37e7e only show issues page when enabled, fixes #379 2017-09-23 10:29:53 -04:00
Ryan Nystrom
00ed7ec1e6 backout center align 2017-09-23 10:25:11 -04:00
Ryan Nystrom
8adf246d08 center pages on repo, fixes #383 2017-09-23 10:23:47 -04:00
Ryan Nystrom
6912f7617f Repo paging control (#336)
* WIP paging control on repos

* paging working but inset still broken

* remove old repo VC and replace with paging
2017-09-22 18:12:05 -04:00
Bas Broek
cd269665df Add cancel button to repository more options 2017-09-22 07:41:42 +02:00
Bas Broek
15f41c94af Prefer interpolation over concatenation 2017-09-20 19:02:32 +02:00
Ryan Nystrom
e2999fdff2 proper push from issues VC 2017-09-18 22:50:26 -04:00
Rizwan Mohamed Ibrahim
5567c20d5f Adds more options to repo with share actions 2017-09-18 19:18:28 +05:30
Ryan Nystrom
27c659400d refactor networking to use indicator when using gql 2017-09-17 20:45:44 -04:00
Ryan Nystrom
c73576eb66 Merge branch 'master' of github.com:rnystrom/GitHawk 2017-09-17 17:41:34 -04:00
Ryan Nystrom
1592d9b29b intro parsing options 2017-09-17 17:41:29 -04:00
James Sherlock
b2f71a54d2 Merge branch 'master' into tabBarHeight 2017-09-17 22:15:41 +01:00
Ryan Nystrom
ee5ffd03e9 Merge pull request #310 from rizwankce/fix/empty-state-for-repo-overview
Adds empty state when no readme for repository
2017-09-17 16:59:36 -04:00
Ryan Nystrom
7d536c805a Update RepositoryEmptyResultsType.swift 2017-09-17 16:59:11 -04:00
James Sherlock
a58b70fc3a Take into account tab bar height in empty states 2017-09-17 16:39:24 +01:00
Ryan Nystrom
81a9a167ce shorthand issues are tappable to push new issue VC 2017-09-16 23:34:12 -04:00
Rizwan Mohamed Ibrahim
f5aec36126 Adds empty state when no readme for repo 2017-09-15 19:22:26 +05:30
Ryan Nystrom
0bc36bb489 rename "readme" to "overview" on repo 2017-09-11 15:07:37 -04:00
Ryan Nystrom
cd614d33b7 handle interactions on readme 2017-09-10 23:48:24 -04:00
Ryan Nystrom
17fb9ae7db simple readme support in repos 2017-09-10 21:08:59 -04:00
Ryan Nystrom
1d6f5858fd simplify search setup, add loading spinner 2017-09-04 16:52:22 -04:00
Ryan Nystrom
2311f5576d fix bottom spacing by rounding up cell height 2017-09-03 18:40:26 -04:00
Ryan Nystrom
e1dbf9c391 resize repo cells on layout change 2017-09-03 18:23:55 -04:00
Ryan Nystrom
bdb52d67c9 namespace type and model for repo 2017-09-03 18:00:47 -04:00
Ryan Nystrom
49cab47751 update issue/pr empty states 2017-09-03 17:56:56 -04:00
Ryan Nystrom
6ef37b282d issue/pr title should be body 2017-09-03 17:35:29 -04:00
Ryan Nystrom
4532464318 deselect repo issue/pr cell on appear 2017-09-03 17:34:08 -04:00
Ryan Nystrom
ca8f5e6fc4 fix green/red cell color 2017-09-03 17:33:22 -04:00
Ryan Nystrom
07340fdc1f dont show repo empty state unless loaded 2017-09-03 17:32:16 -04:00
Ryan Nystrom
e476976fd3 major refactor to repo 2017-09-03 17:27:26 -04:00
Ryan Nystrom
3ffc4f2b9c search cell selection, better cell text treatment 2017-09-02 18:41:39 -04:00
Ryan Nystrom
27442db482 fix navigation with tab+split+nav 2017-08-31 23:47:38 -04:00
Ryan Nystrom
308ae653f3 fix search merge 2017-08-31 20:05:46 -04:00
James Sherlock
f09cb86467 Updates as per BasThomas review 2017-08-08 08:04:41 +01:00
James Sherlock
5f424e09c7 Empty Views 2017-08-01 18:26:40 +01:00
James Sherlock
b434a884db Minor Tweaks 2017-08-01 17:44:19 +01:00
James Sherlock
8bfff679df Add Tab Bar Controller
Needs some adjustment but it's better than the hacked mark all button 😬
2017-07-30 17:14:27 +01:00
James Sherlock
df22cd4e7f Hide issues tab if repo doesn't have it enabled 2017-07-30 15:38:51 +01:00
James Sherlock
01da17c9a4 Fix issues/pull request paging 2017-07-30 15:19:19 +01:00
James Sherlock
13cc4e2eba Broken RepoView issues/pull requests into separate queries, Separated networking from view layer
Unfortunately Apollo doesn't support directives, so had to break up the queries which meant the networking code needs to get quite a bit bigger to support both of them (a lot of switches!). Paging isn't erroring any more, but also isn't adding new content so looking into!
2017-07-30 15:15:32 +01:00
James Sherlock
c06866a0d1 Update state icons/colors 2017-07-29 17:56:21 +01:00
James Sherlock
faa6b6dac7 Add pull requests view and networking, toggle between views 2017-07-29 17:41:30 +01:00