Commit Graph

270 Commits

Author SHA1 Message Date
Ryan Nystrom
482ddf30f0 strip signature when editing (#2090) 2018-08-11 15:21:38 -04:00
Ryan Nystrom
28b76e61e1 Clean up reactions settings (#2084) 2018-08-11 13:50:36 -04:00
Ehud Adler
af4e0f8fb8 Choose double tap (#2022)
* Addresses #2013

* fixed issue with creating reaction from string

* Switched from MenuController to Separate TableViewController

* Minor wording change

* Minor wording update

* Switched all cells to StyleTextCells

* UX fixes.
Migrated back into GitHawk Section
Removed None and replaced it with a switch

* Switched Set Double Tap Reaction -> Double Tap Reaction
2018-08-11 11:02:29 -04:00
BrianLitwin
fe5ec6a00f updates/tests detectShortlink method (#1971)
* updates/tests detectShortlink

* Updates Int character check

* deleted redundant Unit Tests
2018-08-05 12:24:37 -04:00
Ryan Nystrom
e6a83f810b warm code block caches (#2039) 2018-08-05 12:12:45 -04:00
Ryan Nystrom
a23e756d2a Prevent crash when checkbox range oob (#2034) 2018-08-05 11:37:21 -04:00
Ivan Smetanin
ade56a81a1 Fix preferredContentSizeCategory called on background thread issue (#2037) 2018-08-05 11:37:03 -04:00
Ryan Nystrom
a86141b4d9 more hit area with more button (#2017) 2018-08-04 17:35:52 -04:00
Ryan Nystrom
a29d34b4f4 Fixed badge alignment (#2018)
* fixed alignment for badge

* more padding
2018-08-04 17:35:45 -04:00
Ryan Nystrom
5070f605f2 replace signature with badge (#2003) 2018-07-29 19:29:49 -04:00
Ryan Nystrom
120d6a84d9 fix webview background color on iOS 12 (#1997) 2018-07-28 17:04:25 -04:00
Ryan Nystrom
ae81a20d6e More top padding for root comment (#1991) 2018-07-28 17:02:30 -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
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
c287075ba6 Long press urls and display system share sheet (#1856)
* Long press urls and display system share sheet

* update StyledTextKit to fix highlighting bug
2018-06-03 21:26:25 -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
e9899fb935 Delete NSAttributedStringSizing (#1826)
* Delete NSAttributedStringSizing

* compile
2018-05-21 11:15:38 -04:00
Ryan Nystrom
8642d03a51 View raw markdown on comments (#1819) 2018-05-19 19:07:52 -04:00
BrianLitwin
2eeba279a4 resolves warning about updating UI off main thread (#1814) 2018-05-19 11:37:12 -04:00
Ryan Nystrom
b02c7cf0ad functioning watch app 2018-04-29 21:38:25 -04:00
Ryan Nystrom
707e1d1a7f HTML cells use dynamic font size (#1756) 2018-04-22 19:24:17 -04:00
Ryan Nystrom
79f4ac9106 Code blocks share system font adjustment, use StyledText (#1752) 2018-04-22 13:40:58 -04:00
Ryan Nystrom
e5796c3515 use utf16 for tag ranges (#1738) 2018-04-21 18:26:55 -04:00
Ryan Nystrom
bf263b7e05 Show empty string when no markdown (#1732) 2018-04-14 23:12:44 -04:00
Ryan Nystrom
178d7700b7 Remove MMMarkdown dependency (#1729)
* replace old markdown callsites

* unit tests working

* remove unused parsing

* final removal of old parsing, build and tests succeed

* remove dependency

* capture readme ref branch
2018-04-14 23:12:03 -04:00
Joan Disho
e87df7e3c1 make IssueCommentSectionController conform to MarkdownStyledTextViewDelegate (#1718) 2018-04-10 09:58:04 -04:00
Ryan Nystrom
3f8b5b391d Merge pull request #1711 from GitHawkApp/compact-map
Change two flatMaps to compactMap
2018-04-10 07:38:45 -04:00
Ryan Nystrom
0b2cfaed5d Merge pull request #1664 from jdisho/feat/Issue-1551-Reply-Button-Comments
Reply button on comments
2018-04-10 07:38:34 -04:00
Bas Broek
7482881711 Change two flatMaps to compactMap 2018-04-10 11:51:18 +02:00
Joan Disho
641d7e6cc3 refactor the code 2018-04-10 11:42:52 +02:00
Joan Disho
96be2d1ad8 remove "import MessageViewController" from IssueCommentSectionController 2018-04-10 11:42:52 +02:00
Joan Disho
eab6797d47 quote a substring of the comment and mention the user in messageView on reply. 2018-04-10 11:42:52 +02:00
Joan Disho
b0fefae3ab focus on the comment on reply action 2018-04-10 11:42:52 +02:00
Joan Disho
2a7664968b make messageView firstResponder onReply action 2018-04-10 11:42:52 +02:00
Joan Disho
e53d954b7b add Reply action on didTapMore(cell: sender:) 2018-04-10 11:41:53 +02:00
Bas Broek
02dcc2677a Merge branch 'master' into infer-types-args 2018-04-10 11:36:46 +02:00
Ryan Nystrom
746fffc77f update cmark lib (#1708) 2018-04-08 18:25:10 -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
Ryan Nystrom
62e2763a85 Refactor markdown parsing to use text lib (#1674)
* milestones refactored with styled text

* reference refactored

* refactor commit references

* fix styled text bug

* request event refactored

* refactor titles

* warm caches for bg-gen models

* delete old text cell

* move shortlinks into MMMarkdown

* almost there

* build green

* running and trimming whitespaces

* styled text working

* fix tests

* tests passing
2018-03-31 10:12:51 -04:00
Luciano Almeida
84d39ddab8 Fixing overlap content after react menu on comment. (#1577)
* Fixing overlap content after react menu.

* more elegant solution for the fix. :))
2018-03-21 21:38:38 -04:00
Bas Broek
75b7c07ed5 Infer types and arguments in-app 2018-03-20 21:42:23 +01:00
Ryan Nystrom
66dc61ace0 Refactor labeled events to use StyledText (#1659)
* refactor tap handling on attributed views

* styled cell interaction working

* share menu code

* label events finished
2018-03-18 14:55:57 -04:00
Ryan Nystrom
002de8d4ed Update Apollo to 0.8.0 and codegen to 0.18.8 (#1656) 2018-03-17 15:54:18 -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
Luciano Almeida
83a2ffe6bd Removing #available conditionals (#1578) 2018-02-26 22:24:08 -08:00
Ryan Nystrom
1fe95f6c2d strip root image paths from html (#1540) 2018-02-19 12:06:00 -05:00
Ryan Nystrom
0001920b75 Refactor text styles to use StyledText (#1490) 2018-02-04 19:09:42 -05:00
Ryan Nystrom
098030a4fe query webview when height doesnt change (#1448) 2018-01-19 23:24:21 -05:00