Commit Graph

63 Commits

Author SHA1 Message Date
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
1ac9348852 update to new StyledTextKit lib name (#1849) 2018-06-02 23:14:11 -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
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
Ryan Nystrom
0001920b75 Refactor text styles to use StyledText (#1490) 2018-02-04 19:09:42 -05:00
Ryan Nystrom
65959c7c14 Card inset design completely overhauled (#1396)
* card inset design completely overhauled

* respond to safe area changes
2018-01-13 12:37:00 -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
7d483c0247 Titles use AttributedStringCell (#1128)
* titles use AttributedStringCell

* background color
2017-12-02 16:14:23 -05:00
Ryan Nystrom
178b37eb27 Render checkmarks (#1078)
* add assets

* put marker for checked and unchecked

* attachment working

* export smaller assets

* use lighter blue for checked

* thread can-update, undo accident

* nudge down checkmark attachment

* add tests
2017-11-26 12:27:32 -05:00
Ryan Nystrom
4733859946 Open PR comments in another VC (#828)
* WIP PR comments

* thread comment count to PR review model

* PR review comments in another VC
2017-11-04 21:46:21 -04: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
357e7e1bde Finish wiring up edit comments (#594) 2017-10-18 12:14:17 -04:00
James Sherlock
edf76f42f3 Add ability to delete comments (#530)
* Add alert action to delete comments, add viewerCanDelete variable

[skip ci]

* Add delete confirmation message

* Enable networking for deleting comments

* Updates as per @BasThomas feedback

* Update comment, oops
2017-10-14 14:41:45 -04:00
Ryan Nystrom
1c38ff4d5c swift 4 migration 2017-10-07 14:46:10 +01:00
Ryan Nystrom
1b0e09c5f9 thread viewerCanUpdate for each comment 2017-09-27 22:33:42 -04:00
Ryan Nystrom
e29b0c06da pipe raw md to comment models 2017-09-27 22:17:42 -04:00
Ryan Nystrom
1592d9b29b intro parsing options 2017-09-17 17:41:29 -04:00
Ryan Nystrom
81a9a167ce shorthand issues are tappable to push new issue VC 2017-09-16 23:34:12 -04:00
Ryan Nystrom
61596c3a32 refactor so there is a root model 2017-08-06 17:38:34 -04:00
Ryan Nystrom
17de45f298 separate VMs and timeline VMs from parsing issue types 2017-07-27 13:21:54 -06:00
Ryan Nystrom
6a52e19fd0 Merge branch 'master' into reactorlist 2017-07-24 21:15:51 -06:00
James Sherlock
e6262e01b3 Add edited label to comment details 2017-07-21 12:34:06 +01:00
James Sherlock
e12eadb894 Add list of reactors on long press
- Each permutation is individually localized
- Limits to 3 names before just saying how many people again
2017-07-20 09:18:07 +01:00
Ryan Nystrom
b391c367d3 fix hack appending string to root comment making it unique. proper model instead. 2017-07-15 23:51:26 -04:00
Ryan Nystrom
625f08eb1a inline comments, fixes #136 2017-07-15 14:45:43 -04:00
Ryan Nystrom
da2fea1032 assignee and reviewers 2017-07-13 22:19:27 -04:00
Ryan Nystrom
28d785ac13 prep notification feed for snapshots 2017-07-09 12:59:04 -04:00
Ryan Nystrom
08bb5dd5e9 cell border config for threaded comments 2017-07-03 17:31:49 -04:00
Ryan Nystrom
2224beae61 comment thread inset spacing 2017-07-03 17:05:47 -04:00
Ryan Nystrom
db1976ca5f locked in top status 2017-07-03 15:48:58 -04:00
Ryan Nystrom
012874b31f author comment bg color 2017-07-01 23:15:47 -04:00
Ryan Nystrom
1de117bfb4 merge status, fixes #8 2017-06-28 23:33:11 -07:00
Ryan Nystrom
19fd875a3a dynamic text resize on orientation change 2017-06-26 10:29:40 -04:00
Ryan Nystrom
289e5654cf html styling to match github 2017-06-22 23:35:55 -04:00
Ryan Nystrom
2dbdce6719 update iglk to 3.0 2017-06-22 22:44:11 -04:00
Ryan Nystrom
7af03ac74f hr cells 2017-06-20 11:24:27 -04:00
Ryan Nystrom
958a991e95 testing out new md parsing strategy 2017-06-15 22:49:20 -04:00
Ryan Nystrom
e3042c65e5 reaction mutations working 2017-06-07 11:56:46 -04:00
Ryan Nystrom
e829963e0b comment thread renders 2017-06-05 23:12:12 -04:00
Ryan Nystrom
fdc9eb9430 status cell, refactor networking 2017-06-04 23:44:39 -04:00
Ryan Nystrom
b392a4159e get PRs working again (needs cleanup) 2017-06-02 23:28:51 -04:00
Ryan Nystrom
2498e1e76d break out VM gen for issue so it can be shared with PRs 2017-06-02 23:24:57 -04:00
Ryan Nystrom
99ee0f0c9b generic comment gen function 2017-06-02 23:17:00 -04:00
Ryan Nystrom
6f7614f7a1 label model gen extension 2017-06-02 23:09:45 -04:00
Ryan Nystrom
c8af32f14e separate fragments, create PR gql 2017-06-02 23:06:38 -04:00
Ryan Nystrom
80a8e81b27 id consistent with rename to numbers; 2017-06-02 14:52:03 -04:00
Ryan Nystrom
c305d39831 send reactions to issue VM 2017-06-02 14:51:18 -04:00
Ryan Nystrom
5bae0be922 remove genned models that arent in notifications endpoint 2017-06-02 14:02:16 -04:00