Commit Graph
115 Commits
Author SHA1 Message Date
Chi Vinh Le 1176080aee feat: Implement InReplyTo 2018-10-19 17:31:21 +02:00
Wyatt JohnsonandGitHub e9c80fc02a [next] Relay GraphQL Batching (#1965)
* feat: added graphqlBatch

* refactor: cleanup of json serial

* refactor: cleanup of json serilization

* feat: use react network layer

* fix: adjusted broken user

* fix: temporarily disable cache for profile query

* test: temporarily use precompiled modules

* fix: bug when updating comment count on an asset

* fix: compile modules to commonjs for jest

* test: add react-relay-network-layer to transform whitelist

* fix: use react-relay-network-layer/es

* types: add react-relay-network-modern typescript types

* feat: integrate custom error middleware

* review: add todo
2018-10-15 22:46:21 +00:00
Belén CurcioandWyatt Johnson ba15cbf23c [next] Pluralization for the comment count (#1983)
* Pluralization comment count

* Adding updated snapshots

* fix: snapshots
2018-10-12 17:28:59 +00:00
KiwiandWyatt Johnson cf2be96a13 [next] Permalink View (#1987)
* feat: Implement converation thread

* Update unit tests

* test: adapt integration tests

* test: refactor denormalization helpers

* test: Include multiple parents in permalink View

* test: add integration test for loading previous parent comments

* feat: use dashed & solid time line

* feat: use new conversation thread design

* feat: add header from new design

* test: update snapshots

* fix: better scrolling behavior

* feat: add user box

* fix: add translations

* fix: typo

* fix: plural translation

* fix: paddings

* feat: better styling for level 0 comments

* fix: gutter size

* fix: update iframe url with new comment id

* test: add unit tests
2018-10-12 16:41:58 +00:00
Belén CurcioandWyatt Johnson 0d588f2f28 [next] Login prompt for not signed in users trying to react to comments. (#1979)
* Fixing the commentCount for 0 comments

* Show signIn when logged-off user reacts to a comment

* Snapshots updated

* removing graphiql

* Reaction: Icon - Label - Count
2018-10-09 16:33:13 +00:00
Chi Vinh Le 0feb7384b2 Merge branch 'next' into next-comment-counts 2018-10-08 21:07:08 +02:00
Belén Curcio ec539c2dae Tests updated 2018-10-08 15:01:34 -03:00
Belén Curcio 7e7a5856c2 Revert "Revert "Using fragment and updated fixtures""
This reverts commit 333e1a6dac.
2018-10-08 08:41:40 -03:00
Belén Curcio 333e1a6dac Revert "Using fragment and updated fixtures"
This reverts commit 8dae12b5ab.
2018-10-05 10:05:28 -03:00
Belén Curcio 8dae12b5ab Using fragment and updated fixtures 2018-10-05 09:54:47 -03:00
Belén Curcio bd7903fc53 Snapshots updated 2018-10-04 20:27:03 -03:00
Belén Curcio d3fb04225c Snapshots updated 2018-10-04 18:35:24 -03:00
Chi Vinh Le bd1d677b63 Merge branch 'next' into next-respect 2018-10-04 19:15:00 +02:00
Chi Vinh Le a09b50a9e7 test: fix snapshots 2018-10-03 16:49:42 +02:00
Chi Vinh Le 9dc702d29e Merge branch 'next' into next-profile 2018-10-03 01:33:09 +02:00
Belén Curcio 52cdec056b updated snapshots 2018-10-01 16:32:40 -03:00
Belén Curcio ede3951309 Adding Snapshots and translations 2018-10-01 15:38:06 -03:00
Belén Curcio 5aa3024921 Adding Snapshots and translations 2018-10-01 15:35:56 -03:00
Chi Vinh Le ccb6f347ae test: use baseComment and baseAsset in fixtures 2018-09-27 17:48:10 +02:00
Chi Vinh Le 3ffdb09afe fix: lint 2018-09-27 15:18:21 +02:00
Chi Vinh Le 2e9d0a21fe test: simplify tests 2018-09-27 15:02:53 +02:00
Chi Vinh Le d49a30c50a fix: pass settings to deeper ReplyListContainer 2018-09-27 14:56:28 +02:00
Wyatt Johnson 9966d5a644 fix: remove debug 2018-09-26 17:49:01 -06:00
Wyatt Johnson bc447dbde0 fix: test updates 2018-09-26 17:48:24 -06:00
Belén Curcio 16cbbe8d2c Adding spected 2018-09-26 17:23:54 -03:00
Belén Curcio 210146e998 More snapshots 2018-09-26 17:13:28 -03:00
Belén Curcio fd01fec70b Adding actionCounts to the fixtures 2018-09-26 17:03:01 -03:00
Belén Curcio 473e41cdc4 Updated snapshots 2018-09-26 16:37:30 -03:00
Chi Vinh Le b5b3c66d61 Add tests 2018-09-25 21:42:15 +02:00
Belén CurcioandGitHub 45802c651e Merge branch 'next' into next-profile 2018-09-25 14:15:14 -03:00
Belén CurcioandGitHub 4c898e8825 Merge branch 'next' into next-profile 2018-09-25 13:08:30 -03:00
Wyatt JohnsonandGitHub 2ce955bc96 Merge branch 'next' into next-server-threading 2018-09-24 21:45:11 +00:00
Chi Vinh Le 62a1fc5901 Implement local reply list for last threading level 2018-09-24 20:08:11 +02:00
Belén Curcio 661f392281 Adding the difss 2018-09-24 10:58:40 -03:00
Belén Curcio 0cea633b0b Merge branch 'next' of github.com:coralproject/talk into next-profile
* 'next' of github.com:coralproject/talk:
  [next] Embed plus (#1877)
  [next] Permit (#1899)
  Use upstream @types/recompose
  [next] Limited threading (#1894)
  More clarifying comments
  Improve cross browser support
  Don't use css capitalize
  Upgrade RTE to fix a paste issue
  [next] Resubscribe local state (#1884)
  Styling fixes
  WIP
  Update snapshots
  Namespace ids
  Move styles to button
2018-09-24 10:30:20 -03:00
Wyatt Johnson a8f315db4b fix: test patches 2018-09-23 18:08:24 -06:00
KiwiandWyatt Johnson 106a5d36ed [next] Embed plus (#1877)
* Implement StreamEmbed instance and rename library to coral

* Add article & articleButton.html, only show embed htmls in production

* Respect assetURL

* Add tests

* Add parseHashQuery

* Fix permalink query and integration tests

* Fix permalink URL

* Remove optionalparams from pym

* Scroll when showing permalink view

* Implement autoRender

* AutoRender immediately when render permalink

* Add test for `showPermalink` event

* Add comment
2018-09-21 22:43:28 +00:00
KiwiandWyatt Johnson 18e6638162 [next] Limited threading (#1894)
* Implement limited threading

* Adapt snapshots

* Test threading
2018-09-21 15:57:33 +00:00
Chi Vinh Le 2a640d2bbc Don't use css capitalize 2018-09-20 17:23:26 +02:00
Belén Curcio 5bf6161e46 Adding div as mapping, since div cannot be descendant of p 2018-09-17 11:04:47 -03:00
Belén Curcio 601436cf99 Updated snapshots 2018-09-14 17:56:32 -03:00
Belén Curcio cb2cfe1581 Adding View Conversation functionality and styling 2018-09-14 17:52:55 -03:00
Belén Curcio 1009045c4c Working tabs 2018-09-14 10:13:42 -03:00
Chi Vinh Le ecc9eadc67 Add activeTab to local state 2018-09-13 18:29:22 +02:00
Chi Vinh Le db483849dd Move files into tab structure 2018-09-13 18:29:22 +02:00
Chi Vinh Le c8cd68c6b7 Use Message Component 2018-09-12 22:01:43 +02:00
Chi Vinh Le 32e56e805c Adapt integration test 2018-09-12 20:35:07 +02:00
Chi Vinh Le 632c4b263e Merge branch 'next' into next-edit 2018-09-12 20:25:44 +02:00
KiwiandWyatt Johnson 8b09b52be8 [next] Start a clean session when user logs in / out (#1853)
* Clear user session after login / logout

* Filename cases

* Improve type checking

* Apply suggestions
2018-09-12 16:04:54 +00:00
Chi Vinh Le 2292e5d53f Fix integration test 2018-09-12 17:07:36 +02:00