Commit Graph

240 Commits

Author SHA1 Message Date
Ryan Nystrom
f874c2fdcc add tests for notification db, fix settings, avoid dupe inbox requests 2018-09-26 19:35:49 -04:00
Ryan Nystrom
b489e8db97 Local push notifications (#2145)
* add fmdb

* add local notification cache mechanism

* rewiring to update local db when fetching notifications

* local pushes working

* building for xcode 10
2018-09-22 14:40:35 -04:00
Ryan Nystrom
5c6d48bca4 Replace "Inbox Zero" functionality and remove Firebase (#2142)
* simpler inbox zero date that allows date planning

* clean up

* remove firebase
2018-08-25 21:47:43 -04:00
Ivan Smetanin
ade56a81a1 Fix preferredContentSizeCategory called on background thread issue (#2037) 2018-08-05 11:37:03 -04:00
Ryan Nystrom
05b3829b2b improved send icon, better read animation (#2016) 2018-08-04 17:35:58 -04:00
Ryan Nystrom
8ee644b764 Add animation when marking read (#2002) 2018-07-29 19:29:37 -04:00
Ryan Nystrom
2abec91b05 Make inbox buttons more tappable (#1990)
* Make inbox buttons more tappable

* add missing file
2018-07-28 17:04:35 -04:00
Mani Ramezan
f4ed93e9cb Don’t send haptic if it’s already marked as read (#1917)
This fixes https://github.com/GitHawkApp/GitHawk/issues/1893
2018-07-26 09:15:43 -04:00
Talip Göksu
765ee243cd Fix(Scroll to top of list on tap of tabbar item) (#1974) 2018-07-26 09:11:20 -04:00
Ryan Nystrom
db4608d366 fix selection bug (#1932) 2018-07-19 09:23:16 -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
BrianLitwin
232af80bca dims non-actionable subviews in notification cell (#1908) 2018-07-15 13:22:38 -04:00
BrianLitwin
10f5fd7406 reorders read/watch buttons (#1906) 2018-07-15 10:23:58 -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
Mani Ramezan
579e94b2bf Add haptic feedback on watch/unwatch notifications (#1898)
This fixes https://github.com/GitHawkApp/GitHawk/issues/1895
2018-07-14 18:23:19 -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
1ac9348852 update to new StyledTextKit lib name (#1849) 2018-06-02 23:14:11 -04:00
Ryan Nystrom
f8b8a977d6 Update StyledText with new highlight API (#1844) 2018-05-30 22:28:32 -04:00
Ryan Nystrom
911f281aab notifications use StyledText (#1823) 2018-05-21 09:47:21 -04:00
Ryan Nystrom
de801c5601 Merge pull request #1780 from GitHawkApp/vulnerability-support
Add support for vulnerability alerts
2018-05-10 09:09:25 -04:00
Bas Broek
1a795e028c Add a security vulnerability notification type 2018-05-01 21:43:19 +02:00
Ryan Nystrom
b02c7cf0ad functioning watch app 2018-04-29 21:38:25 -04:00
Ryan Nystrom
8c4e734d9c Skip loading status when inbox empty (#1731) 2018-04-14 23:12:35 -04:00
Ryan Nystrom
380c1fac55 Always update inbox when receiving changes (#1730) 2018-04-14 23:12:26 -04:00
Bas Broek
02dcc2677a Merge branch 'master' into infer-types-args 2018-04-10 11:36:46 +02:00
Orta
6dc2988d23 Port to Xcode 9.3 (#1696) 2018-04-07 23:24:51 -04:00
Bas Broek
5de3e0910d Enable invitation decoding (#1687)
* Fix invitation decoding

* Add a test
2018-03-31 10:17:19 -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
Bas Broek
75b7c07ed5 Infer types and arguments in-app 2018-03-20 21:42:23 +01:00
Ryan Nystrom
a317c23a12 remove dead code (#1611) 2018-03-04 22:06:12 -05: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
1012faf943 Release notifications (#1546)
* releases WIP

* loading releases working
2018-02-26 22:37:06 -08:00
Ryan Nystrom
63417aefc5 update notification cells when ago string changes (#1588) 2018-02-26 22:23:57 -08:00
Luciano Almeida
9a3b301dae Fixing topLayoutGuide and bottomLayoutGuide iOS 11 deprecated Warnings (#1510) 2018-02-11 18:40:27 -05:00
Ryan Nystrom
0001920b75 Refactor text styles to use StyledText (#1490) 2018-02-04 19:09:42 -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
23519e7b32 adjust layout of notification cells (#1367) 2018-01-06 11:26:14 -05:00
Ryan Nystrom
429df47701 Fetch issue/PR status and comment count for notifications (#1353)
* add state to notification view model

* hack to get it working

* cleanup

* comment count

* cleanup ui
2018-01-05 13:24:42 -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
Ryan Nystrom
eb7069f6f7 Refactor date formatting from String (#1229)
* refactor date formatting from String

* undo new file
2017-12-16 22:16:01 -05:00
Ryan Nystrom
d0d052a9e4 init firebase db once, avoid flickering view (#1235) 2017-12-12 09:52:33 -05:00