Commit Graph

275 Commits

Author SHA1 Message Date
Ryan Nystrom
11ddb70aa8 better tests, fix dupe insert bug 2018-09-28 12:52:54 -04:00
Ryan Nystrom
f874c2fdcc add tests for notification db, fix settings, avoid dupe inbox requests 2018-09-26 19:35:49 -04:00
Ryan Nystrom
dcf0641df0 remove unused defaults 2018-09-25 17:36:05 -04:00
Ryan Nystrom
a17028cb6f move path/defaults to be injected 2018-09-25 17:33:08 -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
f619a256bc Changing accounts resets to main tab fix (#2114)
* Fix issue changing accounts resets to main tab

* Pull request review code fix
2018-08-13 21:53:45 -04:00
Ivan Smetanin
38023e8fb3 Add tabBarController selectedIndex updating (#2058) 2018-08-07 11:48:29 -04:00
Ivan Smetanin
ade56a81a1 Fix preferredContentSizeCategory called on background thread issue (#2037) 2018-08-05 11:37:03 -04:00
Ryan Nystrom
5070f605f2 replace signature with badge (#2003) 2018-07-29 19:29:49 -04:00
Ryan Nystrom
e56c29a9a6 Redesigned Issues interface (#1983)
* clean up title model

* update title style

* organize issue SC method

* remove background colors from styled text in issues

* collection view bg white

* remove card inset and clean up snap superview code

* clean up label design

* thread is root and change base font size

* remove borders on comment cells

* adjust collapse design

* adjust comment line spacing and make non-root body smaller

* refactor detail view

* viewer header background color

* more buttons in reaction cell

* vertical spacers working

* design basically finished;

* scroll to bottom accounts for inset

* PR review background color white

* fixup PR review comments

* spacing on merge and review

* readme background white

* rename to just "spacer"

* horizontal spacing

* fix tests
2018-07-27 11:03:09 -04:00
Ryan Nystrom
54aae10b9f Update Squawk (#1910)
* Update Squawk

* fix build
2018-07-15 16:14:15 -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
f3f3d45ff2 Autocompelte for issue search (#1903) 2018-07-14 18:22:49 -04:00
Ryan Nystrom
0e6ef406f3 Limit emoji autocomplete search results (#1904) 2018-07-14 18:22:37 -04:00
Ryan Nystrom
d7084328f6 Testing out IGLK swift branch (#1743)
* testing out IGLK swift branch

* using local IGListKit, update labels to latest

* new labels working
2018-05-27 11:01:34 -04:00
Ryan Nystrom
e9899fb935 Delete NSAttributedStringSizing (#1826)
* Delete NSAttributedStringSizing

* compile
2018-05-21 11:15:38 -04:00
Bas Broek
1507b17025 Synthesize Equatable conformances 2018-05-10 10:36:08 +02:00
Ryan Nystrom
b02c7cf0ad functioning watch app 2018-04-29 21:38:25 -04:00
Ryan Nystrom
79f4ac9106 Code blocks share system font adjustment, use StyledText (#1752) 2018-04-22 13:40:58 -04:00
Ryan Nystrom
ce80b303b6 MessageViewController update (#1741)
* update action label when value changes, make actions diffable

* Update IGListKit swift branch after rebase

* Update MessageViewController pod

* fix build, update w/ latest fixes
2018-04-21 18:26:45 -04:00
Ryan Nystrom
e33fd79617 less thrashy loading spinner 2018-04-15 12:45:12 -04:00
Bas Broek
02dcc2677a Merge branch 'master' into infer-types-args 2018-04-10 11:36:46 +02:00
Ryan Nystrom
2f844ad38f retain badge object when fetching notifications (#1709) 2018-04-08 22:43:20 -04:00
Ryan Nystrom
5fd68c1e6a Rewrite markdown parsing with cmark (#1704)
* add cmark lib, build succeeds

* building and running (with dupe asserts)

* list newlines, quote styles

* tables working in cmark

* fix table bg color math and code bg color

* code block highlighting only when theres a language

* share code block logic

* mentions need @

* update cmark lib

* shortlinks

* detect issue shortlinks

* simplify and correct shortlinks

* remove html comments

* tests passing
2018-04-07 23:27:14 -04:00
Orta
6dc2988d23 Port to Xcode 9.3 (#1696) 2018-04-07 23:24:51 -04:00
Bas Broek
f70738d439 Make Toast init non-optional, post a11y notification (#1670) 2018-03-21 21:50:01 -04:00
Bas Broek
75b7c07ed5 Infer types and arguments in-app 2018-03-20 21:42:23 +01:00
Ryan Nystrom
83acbea441 Start refactoring text views with StyledText (#1658)
* refactoring with styledtext

* issue rename refactored

* fix tests
2018-03-17 18:55:08 -04:00
Joan Disho
9971612040 Update 3D touch items when switching account. (#1646)
* bugfix(Issue-1592-3D-Touch-Not-Updated): update 3D touch items when switching account.

* bugfix(Issue-1592-3D-Touch-Not-Updated): switch to the most recent account and update 3D touch user item when switching account.

* fix an indentation problem to ShortcutHandler

* add the app delegate as a listener and configure ShortcutHandler on didFocus(...)

* restore whitespace

* consistent alignment
2018-03-17 11:44:03 -04:00
Ryan Nystrom
751d4bc4e3 Move session management to local pod and add app group (#1636)
* move session management to local pod and add app group

* copy paste fail from SO
2018-03-11 16:42:15 -04:00
Ryan Nystrom
3d93fbdd6c clean up login client (#1612) 2018-03-06 22:03:38 -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
Luciano Almeida
83a2ffe6bd Removing #available conditionals (#1578) 2018-02-26 22:24:08 -08:00
Rizwan Mohamed Ibrahim
8fb4200a9a [ADD] Refactoring short cut handler to use enum based Routes (#1591) 2018-02-26 22:23:36 -08:00
Luciano Almeida
12fb61a318 Fixing files dont have code highlighting (#1543) 2018-02-19 20:32:17 -05:00
Luciano Almeida
9a3b301dae Fixing topLayoutGuide and bottomLayoutGuide iOS 11 deprecated Warnings (#1510) 2018-02-11 18:40:27 -05:00
Ryan Nystrom
44e2da1d35 username highlighting (#1502) 2018-02-09 17:40:05 -05:00
Ryan Nystrom
0001920b75 Refactor text styles to use StyledText (#1490) 2018-02-04 19:09:42 -05:00
Ryan Nystrom
ec4807d415 Reply to Pull Request Review comments (#1483)
* wip

* reply cell shows up in comments

* focus on reply model and scroll to reply

* api to create PR comment replies

* reply working

* clean and code reuse

* even more reuse

* organize
2018-02-04 19:08:34 -05:00
Ryan Nystrom
ae4adaab28 use lru cache for current bitmap caching (#1368) 2018-01-06 11:54:07 -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
9cbed6946b prevent tapping svgs (#1352) 2018-01-05 13:24:34 -05:00
Ryan Nystrom
755be5af2e Refactor autocomplete control and wire it up in comment editing (#1326)
* refactor text view delegate to be 1:many

* move autocomplete stuff to its own controller + API

* refactor VC to work with new autocomplete controller

* update pods with new message stuff

* reorganize and fixup files

* app builds

* better names

* thread autocomplete to comment SC

* autocomplete working in edit

* finish refactor
2018-01-02 09:14:28 -05:00
Joe Rocca
17ecfbb518 Added wrapping labels view to RepoSummaryCell (#1245)
* added label list view to repo summary cell

* simpler total label width calculation

* simplified label list view height caching
2017-12-19 14:51:45 -05:00
Ryan Nystrom
f19e64cbe0 log device environment info (#1278) 2017-12-19 10:12:58 -05:00
Bas Broek
377161aed0 Fix Int format crash + unify String localization (#1273)
* Use %d over %zi to prevent a possible crash

* Clean up / unify localization behavior

Before, we were doing double localization (Feeding a `LocalizedString` into a `.localizedStringWithFormat`).
2017-12-17 16:10:57 -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
Bas Broek
7f04139794 Disable animations when reduce motion enabled (#1167) 2017-12-10 18:15:44 -05:00