33 Commits

Author SHA1 Message Date
Ryan Nystrom
8a8da143b5 new send button position (#2066) 2018-08-08 21:54:20 -04:00
Ryan Nystrom
3028081c3c Migrate Toast component to new Squawk CocoaPod library (#1900)
* add Squawk lib

* delete Toast

* Build green

* fix build after rebase
2018-07-14 18:26:47 -04:00
Ryan Nystrom
45335eb4a0 [WIP] Refactor networking to shared lib (#1602)
* [WIP] Refactor networking to shared lib

* notification models as codable and tests

* default request params

* break out into files

* fix tests

* check notification values

* add milestones

* add milestone response

* repo notifications

* refactor v3 response

* refactor to support passing response to response initializer

* add release fetch and model

* add examples from githawk

* notifications working

* almost all notifications requests migrated

* finish notification migration, add graphql request/response

* replace issue requests

* replace milestones request

* fetch assignees migrated

* readme fetch migrated

* migrate badge request

* delete unused request from client

* remove paging

* nearly done w/ migration

* local build green

* refactor gql fetches, replace mutations

* build green, slim down client

* strip session manager from client

* everything working
2018-03-04 21:35:36 -05:00
Ryan Nystrom
0001920b75 Refactor text styles to use StyledText (#1490) 2018-02-04 19:09:42 -05:00
Ryan Nystrom
3e4d98bcc5 Placeholder on image upload consistent (#1379)
* placeholder on image upload consistent

* dynamic type on form text fields
2018-01-09 12:01:02 -05:00
Bas Broek
7f04139794 Disable animations when reduce motion enabled (#1167) 2017-12-10 18:15:44 -05:00
Bas Broek
c27ebab527 Add magic tap to saving comment/sending issue (#1045)
* Add magic tap to saving comment/sending issue

* Update EditCommentViewController.swift
2017-11-22 13:29:40 -05:00
James Sherlock
609ac8e817 Define viewController for image upload to present chooser/upload UI (#940) 2017-11-14 09:46:10 -05:00
Rizwan Mohamed Ibrahim
ab28e739bc [CHOR] @objc at same line as func (#888) 2017-11-07 13:37:36 -05:00
Joe Rocca
1ef1796472 adds dismiss keyboard on new issue cancel (#740) 2017-10-27 10:48:30 -04:00
Hesham Salman
523acc431a Forced dismissal of keyboard on viewWillDisappear (#757) 2017-10-27 10:46:47 -04:00
Rizwan Mohamed Ibrahim
029d0bacb3 [FIX] New issue title first responder only when loading the view (#770) 2017-10-27 10:41:45 -04:00
Rizwan Mohamed Ibrahim
10f3d2b45e [FIX] User name on image upload (#777) 2017-10-27 10:40:11 -04:00
Rizwan Mohamed Ibrahim
50b811667d [ADD] Focus title field when creating a new issue (#719) 2017-10-24 21:47:02 -04:00
Hesham Salman
f213bac924 Thin SwiftLint ruleset (#704)
* Thin SwiftLint ruleset

* Disabled trailing_whitespace rule
2017-10-23 16:58:09 -04:00
James Sherlock
bde290f192 Image Upload for Bug Reports (#475)
* WIP: Basic image upload for bug reports

* Added image upload UI, Improved flow, Sped up process, Accurate information is passed through

* Improved navigation structure and transitions

* Tidy up of code, enable actual submission to Imgur

* Update to use table view

* Minor changes as per @BasThomas code review

* Remove all classes from Test target, Added @testable

Should fix Buddybuild issues

* Tweaks as per Ryan code review, Moved image upload logic to shared controller, added flag to toggle upload action
2017-10-22 13:58:03 -04:00
Ryan Nystrom
72429dbaea Toast mounts to UIWindow (#603) 2017-10-18 16:33:44 -04:00
Ryan Nystrom
357e7e1bde Finish wiring up edit comments (#594) 2017-10-18 12:14:17 -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
Bas Broek
462cf8333d Add support to show static toasts to specific viewcontroller (#546) 2017-10-13 19:54:18 -04:00
Bas Broek
f43292c008 Adds a string constant 2017-10-13 14:05:45 +02:00
Ryan Nystrom
5ecfc19fee replace status bar calls with toast 2017-10-12 21:34:51 -04:00
Rizwan Mohamed Ibrahim
5b195e931b Enable/Disable New issue submit button based on title text (#519)
* Enable/Disable New issue submit button based on title text (#518)

* Remove target when deinit

* Adds check for title field empty text

* Uses IBAction instead of adding target
2017-10-11 13:43:01 -04:00
Ryan Nystrom
643e614cf6 dont mess with inputAccessory automatically with text action controller, fixes #514 2017-10-09 15:11:59 -04:00
Ryan Nystrom
cfd93c14a0 resuable cancel action, text view config, MD actions menu and control, init edit comments 2017-10-08 20:53:40 +01:00
Ryan Nystrom
1c38ff4d5c swift 4 migration 2017-10-07 14:46:10 +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
8dd6bfbe9e better wording and layout for new issue 2017-09-28 20:19:46 -04:00
Ryan Nystrom
8d1aa57301 present new issue VC modally, fixes #449 2017-09-28 20:11:50 -04:00
Ryan Nystrom
0de9dd5146 new issue action bg matches comments, fixes #453 2017-09-27 22:12:33 -04:00
Ryan Nystrom
9e7ae34958 new issue spinner, resign kb on send, fixes #446 2017-09-27 21:57:41 -04:00
Ryan Nystrom
db7dd52f0e new issue form language matches github, fixes #448 2017-09-27 21:50:09 -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