Commit Graph

83 Commits

Author SHA1 Message Date
Rizwan Mohamed Ibrahim
199ce48047 [ADD] Bookmarks per user account (#738) 2017-10-27 10:55:22 -04:00
Bas Broek
f1768753fd Move Equatable conformances to static funcs (#746) 2017-10-27 10:48:09 -04:00
Bas Broek
baf6ccc18b Improve code browsing accessibility (#748)
* Files are buttons too; added types

* Add accessibility hint for file / directory cells
2017-10-27 10:47:47 -04:00
Ryan Nystrom
2585f2c39a Faster label summary equality for diffing (#725)
* Faster label summary equality for diffing

* actually build & fix errors
2017-10-24 21:58:59 -04:00
Joe Rocca
282a84683b added labels equatable check to ListDiffable isEqual method, fixes #715 (#716) 2017-10-24 21:46:31 -04:00
Rizwan Mohamed Ibrahim
fba236450b Adds options to remove bookmark (#696)
* [ADD] options to remove bookmark

* [ADD] Move bookmark actions to bottom of action sheet
2017-10-24 21:43:22 -04:00
Rizwan Mohamed Ibrahim
40091dd4a1 [ADD] Large title for bookmarks with search controller (#692) 2017-10-24 21:40:35 -04:00
Hesham Salman
f213bac924 Thin SwiftLint ruleset (#704)
* Thin SwiftLint ruleset

* Disabled trailing_whitespace rule
2017-10-23 16:58:09 -04:00
Ryan Nystrom
a78e96c63a Ceiling final height of repo issue cells (#668) 2017-10-22 14:50:00 -04:00
Rizwan Mohamed Ibrahim
bd10b4e032 Add Bookmarks tab (#601)
* [ADD] Bookmarks for repo, issues and pull request

* [FIX] Bookmark model decoding from archive

* [ADD] Clear all option for bookmarks

* [ADD] Search bookmarks with search bar

* [ADD] Swipe to delete for bookmarks (only when search bar is not active)

* [ADD] Bookmark cell accessible and some cleanup

* [ADD] Incorporate review comments

* [ADD] Reuse notification type instead of bookmark type

* [ADD] Incorporate review comments
- Enum over struct on bookmark model
- Github bookmark tab icon
- Smooth deselection, Single tap to scroll to top, cleanup
-
2017-10-22 14:00:50 -04:00
Joe Rocca
a6275bb5b9 Adds label summary dots to repo issues/PR cell (#622)
* added labelableFields to RepoPages queries

* added labels to RepositoryIssueSummaryModel

* added DotListView

* replaced UICollectionView with DotListView

* added DotListView to RepositorySummaryCell

* fixed max items calculation

* removed constraints and set collection view frame instead
2017-10-22 13:58:51 -04:00
Hesham Salman
a52e533b5f User can receive search results while typing (#611)
* Cancelled networking when the cancel button is pressed

* Responded to comments: code formatting & cleanup

* Can now search while typing

Slight formatting changes

* Prevented search term from showing up in recent before search succeeds

* Show loading screen while typing

* Less complicated network cancellation

* Cleaned up groups

* Recently viewed repos (#631)

* Recently Viewed Repos saved in search store

* Styling changes

* Equatable changes and visual updates

* Visually update after selecting a repo

* Rebased

* Slowed down the debouncer a bit
2017-10-22 00:11:12 -04:00
Ryan Nystrom
5bae4ba89d [WIP] Add FlatCache lib and use for Notifications (#632)
* init FlatCache lib

* tests for all other cases

* install flatcache to freeitme project, move VM creation into client

* refactor and split up inbox design

* fixup flatcache pod
2017-10-22 00:08:42 -04:00
Bas Broek
980fba6cc0 Move some hardcoded "Search"es to Constants (#616) 2017-10-21 20:35:57 -04:00
Bas Broek
a6e8ddab47 Adds sharing to code browsing (#602) 2017-10-21 20:31:36 -04:00
Ryan Nystrom
ca5ba59908 do safe area insetting on UICollectionView the "right" way, fixes #581 2017-10-16 09:41:56 -04:00
Ryan Nystrom
1acde1acd4 use empty bg view for file load failures 2017-10-15 15:14:14 -04:00
Ryan Nystrom
5355a93921 show error when loading non-text 2017-10-15 15:02:41 -04:00
Ryan Nystrom
3178fd242e browse repo file blobs 2017-10-15 15:01:01 -04:00
Ryan Nystrom
1f734514a9 browse repo dirs 2017-10-14 15:40:36 -04:00
Ryan Nystrom
a58c26836d add filtering to base list VC 2017-10-14 11:56:23 -04:00
Weyert de Boer
6779557f22 Add search to issues (#506)
* Added the generic SearchBar section controller
Added a helper method for searching notifications

* Strip the unwanted characters from the search query

* Add a first version of searching issues in Repository screen

* Improve the search for the Repository screen

* Improve the filtering of issues by changing the order

* Fixed the compiling issues to make the project compile again
2017-10-14 11:11:07 -04:00
Weyert de Boer
1ffda90eae Renamed Strings.swift to Constants.swift (#517)
* Renamed `Strings.swift` to `Constants.swift`, fixes #498
Added the product urls to `Constants.swift`, partly fixes #494

* Wrapped the strings in a `Strings`-enum

* Really shouldn't manually retype things

* Update project.pbxproj
2017-10-14 11:06:25 -04:00
Ryan Nystrom
34ebd869ad Revert "Added iOS 11 searchController UINavigationItem (#522)"
This reverts commit c32eda7989.
2017-10-13 20:05:16 -04:00
Ryan Nystrom
5ecfc19fee replace status bar calls with toast 2017-10-12 21:34:51 -04:00
Joe Rocca
c32eda7989 Added iOS 11 searchController UINavigationItem (#522)
* added iOS 11 searchController UINavigationItem, fixes #376

* set iOS 11 UINavigationItem largeTitleDisplayMode to never
2017-10-11 13:40:55 -04:00
Ryan Nystrom
22223d1e4b begin code browsing 2017-10-08 21:28:07 +01:00
Ryan Nystrom
cb4cec0c3a fix tabman to 1.0.1 to avoid bugs 2017-10-07 18:37:51 +01:00
Ryan Nystrom
1c38ff4d5c swift 4 migration 2017-10-07 14:46:10 +01:00
Ryan Nystrom
8d6f0ab118 upgrade apollo to 0.6.5 and codegen to 0.16.5 2017-10-07 13:30:46 +01:00
Ryan Nystrom
30c758b4ac new base list VC, refactor repo issues, fixes #493 2017-10-05 22:37:40 +01:00
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