Commit Graph

123 Commits

Author SHA1 Message Date
Talip Göksu
765ee243cd Fix(Scroll to top of list on tap of tabbar item) (#1974) 2018-07-26 09:11:20 -04:00
Mani Ramezan
09b96895bd When there’s no unread messagee, disable mark all as read (#1919)
Fixes [#1918](https://github.com/GitHawkApp/GitHawk/issues/1918)
2018-07-16 07:26:04 -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
Bas Broek
5cf550684a Notification a11y actions (#1890)
* Add custom a11y actions for notification cell actions

* Cleanup
2018-07-09 14:48:31 -04:00
Ryan Nystrom
8452d73ab9 Display empty notification cell (#1884) 2018-06-25 08:59:10 -04:00
Ryan Nystrom
faca5497a8 New Inbox design (#1870)
* New Inbox design

* rename ident to number

* use ax animation

* building with old notifications removed

* remove "2" suffix

* use latest IGLK+Swift

* apply IGLK perf fixes

* fix build

* Update with IGLK binding bug fix
2018-06-17 14:47:59 -04:00
Ryan Nystrom
380c1fac55 Always update inbox when receiving changes (#1730) 2018-04-14 23:12:26 -04:00
Orta
6dc2988d23 Port to Xcode 9.3 (#1696) 2018-04-07 23:24:51 -04:00
Bas Broek
7a1f7ae7e4 Readd repo notifications (#1689)
* Differentiate between a repo and all request

* Bonus track: a11y

* Use Bool.description
2018-03-31 10:17:07 -04:00
Gabriel Caruso
cfe68a796b Rename "Archived" to "All" (#1662) 2018-03-21 21:31:16 -04:00
Ryan Nystrom
a317c23a12 remove dead code (#1611) 2018-03-04 22:06:12 -05:00
Luciano Almeida
9a3b301dae Fixing topLayoutGuide and bottomLayoutGuide iOS 11 deprecated Warnings (#1510) 2018-02-11 18:40:27 -05:00
Bas Broek
bfa8d26a32 Only update the mark all state, don't re-init the button (#1457)
* Only update the mark all state, don't re-init the button

* Don't forget to update state
2018-01-22 21:34:17 -05:00
Ryan Nystrom
11e8de75f5 notifications VC back item empty (#1403) 2018-01-13 16:37:08 -05:00
Ryan Nystrom
4575f07938 notification alert ipad crash (#1351) 2018-01-05 13:24:26 -05:00
Ryan Nystrom
55952e5a5a Only show repos present in notification list (#1333)
* notification vc displays only present repos in action sheet

* remove subscriptions controller
2018-01-05 13:23:47 -05:00
Ryan Nystrom
10045b1954 remove assert b/c firing on spinner bar item (#1328) 2018-01-02 09:24:36 -05:00
dkhamsing
b445019576 Rename .all title to Archived (#1318) 2017-12-30 17:12:28 -05:00
Bas Broek
b9cda654a9 [DO NOT MERGE] Switch markAll logic back to mark all (#1295)
* Switch markAll logic back to mark all

* Remove testing logic
2017-12-27 13:41:17 -05:00
Ryan Nystrom
29f7f67ff8 View notifications by repository (#1291)
* get subscriptions api

* stub subscription ctrl

* use icon bar items, inject inbox type

* wire up repo list

* push notif, show all for repos

* clean path

* fix spinner bar item bugs

* call correct mark-read apis

* alert titles

* sort repos by alpha

* unify show-all callsite

* nits
2017-12-19 10:11:59 -05:00
Bas Broek
7f04139794 Disable animations when reduce motion enabled (#1167) 2017-12-10 18:15:44 -05:00
Rizwan Mohamed Ibrahim
ab28e739bc [CHOR] @objc at same line as func (#888) 2017-11-07 13:37:36 -05:00
Rizwan Mohamed Ibrahim
898a97602e [ADD] HIde markall button when there is no "Unread" message (#881) 2017-11-07 08:49:43 -05:00
Ryan Nystrom
aa15d3e6d5 Remove iOS 11 navigation titles (#816) 2017-10-31 22:02:53 -07:00
Ryan Nystrom
2ca2cfb9dc Better FlatCache usage in notifications (#795)
* Better FlatCache usage in notifications

* fix paging bug on notifications
2017-10-31 21:31:20 -07: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
d4adc9016a Disable updating tab and badge when on Archives (#657) 2017-10-22 14:21:55 -04:00
Hesham Salman
ad6caa286d Swapped Bar Button Items (#644)
Catpitalization
2017-10-22 14:01:18 -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
Ryan Nystrom
357e7e1bde Finish wiring up edit comments (#594) 2017-10-18 12:14:17 -04:00
Ryan Nystrom
deb937ef00 only filter notifications at end so inbox zero doesnt show up on empty results 2017-10-14 12:11:43 -04:00
Ryan Nystrom
40dfd85e7b notification VMs use filter method 2017-10-14 12:06:36 -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
4f33c84b74 Add an alert when removing recent searches (#552) 2017-10-13 19:59:10 -04:00
Ryan Nystrom
f1161663f9 fixup search bar styling 2017-10-13 19:31:44 -04:00
Weyert de Boer
a1810c0529 Search for Inbox (#503)
* Added the generic SearchBar section controller
Added a helper method for searching notifications

* Strip the unwanted characters from the search query
2017-10-13 18:14:21 -04:00
Ryan Nystrom
5ecfc19fee replace status bar calls with toast 2017-10-12 21:34:51 -04:00
James Sherlock
0201891081 Invert guard for improved readability (#473) 2017-09-29 16:35:19 -04: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
49c4bfaf9a quick flip on inbox guard, fixes #472 2017-09-29 15:42:32 -04:00
Ryan Nystrom
58eef8af76 dont remove inbox results on error, fixes #464 2017-09-28 19:48:01 -04:00
Ryan Nystrom
c5379d0a99 badge inbox tab when home screen badges, fixes #378 2017-09-27 20:25:59 -04:00
Ryan Nystrom
c1d80c7a37 scroll to top of inbox when tapping tab once, fixes #285 2017-09-26 20:12:39 -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
James Sherlock
a58b70fc3a Take into account tab bar height in empty states 2017-09-17 16:39:24 +01:00
Ryan Nystrom
d83fff055c notifications now inbox 2017-09-05 23:19:59 -04:00
Ryan Nystrom
27442db482 fix navigation with tab+split+nav 2017-08-31 23:47:38 -04:00
Ryan Nystrom
f25ce83780 refactor for single Result type 2017-08-27 20:41:01 -04:00
Ryan Nystrom
9521612560 rating system wired up 2017-08-26 15:38:18 -04:00
Ryan Nystrom
32cc0f1797 in-feed rating prompt 2017-08-26 14:58:29 -04:00