27 Commits

Author SHA1 Message Date
Ryan Nystrom
8ee644b764 Add animation when marking read (#2002) 2018-07-29 19:29:37 -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
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
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
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
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
0001920b75 Refactor text styles to use StyledText (#1490) 2018-02-04 19:09:42 -05:00
Ryan Nystrom
23519e7b32 adjust layout of notification cells (#1367) 2018-01-06 11:26:14 -05: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
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
Rizwan Mohamed Ibrahim
1ff0c01688 Fixes navigation bar for issues/PR when pushed from notifications (#466) 2017-09-29 00:03:13 -04:00
Ryan Nystrom
89bcc4f188 naving to commit shares commit presentation logic, remove embedding in nav VC, fixes #442 2017-09-27 20:21:01 -04:00
Ryan Nystrom
4f2363c040 only scroll to bottom of issue/pr when coming from notifications 2017-09-17 21:34:09 -04:00
Ryan Nystrom
2311f5576d fix bottom spacing by rounding up cell height 2017-09-03 18:40:26 -04:00
Ryan Nystrom
9521612560 rating system wired up 2017-08-26 15:38:18 -04:00
Ryan Nystrom
cc2ce1f397 throttled rating controller, system rating 2017-08-26 13:36:35 -04:00
Ryan Nystrom
b2f883f42e option to mark read on open 2017-08-24 23:28:36 -04:00
Ryan Nystrom
951e8903ef move notifications stuff to a dedicated data source 2017-08-13 16:59:33 -04:00
Ryan Nystrom
d8b5c602e0 clean up segmented model, change read animation, clean up if on unread selection, fixes #65 2017-07-06 16:29:36 -04:00
Ryan Nystrom
706574c0a8 remove unused, tweak hide animation 2017-07-01 23:27:15 -04:00
Ryan Nystrom
3320637377 remove sending read on open 2017-07-01 23:18:25 -04:00
Ryan Nystrom
36ba983705 hack swipe gesture together 2017-07-01 23:01:47 -04:00
Ryan Nystrom
c214796214 faster animation to make up for weird UI bug 2017-06-30 23:24:49 -04:00
Ryan Nystrom
36082fca4a proper read state changes 2017-06-30 22:33:52 -04:00
Ryan Nystrom
1e49658f43 remove plural in note SC class name 2017-06-30 22:21:25 -04:00