Commit Graph

78 Commits

Author SHA1 Message Date
Kiwi 2e6237b9d9 [next] Implement Comment History Pagination (#2008)
* refactor: profile

* feat: add pagination to comment history

* feat: add getMeSourceID helper

* feat: update profile in CreateCommentMutation

* fix: clear query response cache on mutation

* test: add integration tests for profile

* test: add unit tests
2018-10-19 17:54:40 +00:00
Wyatt Johnson 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
Kiwi c2ffb30431 [next] i18n short number support (#1992)
* feat: Implement i18n short number

* test: fix failing tests
2018-10-12 23:16:13 +00:00
Kiwi 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
Wyatt Johnson 8184c3932e [next] Install (#1957)
* Wip

* Adding Wizard and initial step <3

* Wip

* Adding more steps to the Install Wizard

* Mantaining state across steps

* Adding Steps

* Step Component

* wip

* feat: improved logging

* feat: added tenant install route

* Progress

* Refactor

* Adding rest install mutation

* Wip

* Done

* Addding snapshots

* URL validators

* Adding validation for url, and final step

* Header component and main variants

* fix: resolved router

* fix: corrected spec for prop

* fix: updated test snapshot

* Translations

* Translations

* Adding extra validation

* prefixing events with On - onSaveData

* prefixing events with On - onSaveData

* Adding translations, and colors from the palette

* Centering steps

* Ready

* feat: added production redirects

* fix: fixes during production

* fix: removed dead code

* Placeholder translations

* removing submit from cancel

* Adding a description for the URL field

* typo

* Refactor and renaming

* Using white as var

* Refactor and renaming

* feat: use new palette colors

* fix: extracted styles

* Adding await to avoid race condition with setState :)

* lint

* feat: added urls

* fix: wizard leaking styles

* fix: simplify icon style

* fix: adjust global body css to remove padding to allow seamless integration

* fix: types and small refactors

* fix: correctly filter wizard children

* refactor: simplify step containers

* fix: better typecheck

* test: remove obsolete snapshots

* fix: don't export FormProps
2018-10-11 22:13:02 +00:00
Chi Vinh Le b6554b344c Implement Show Conversation Link 2018-09-25 21:42:15 +02:00
Kiwi 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
Kiwi dbd7f4f820 [next] Resubscribe local state (#1884)
* Resubscribe local state

* Don't pass context
2018-09-18 14:59:51 -06:00
Chi Vinh Le 632c4b263e Merge branch 'next' into next-edit 2018-09-12 20:25:44 +02:00
Kiwi 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 a36d944e4a Implement edit 2018-09-11 00:15:27 +02:00
Chi Vinh Le df664bdb73 Fix types and tests 2018-09-07 00:51:57 +02:00
Chi Vinh Le 845fbc1b1b Move uuid generation to TalkContext 2018-09-07 00:34:17 +02:00
Chi Vinh Le e132087682 Full PromisifiedStorage + Simplifications 2018-09-06 23:53:29 +02:00
Chi Vinh Le 3a1b043eb7 Merge branch 'next' into next-reply 2018-09-06 21:38:20 +02:00
Kiwi 53e548d77a [next] Save Comment Draft + Pym Storage (#1843)
* Implement pym storage

* Save comment draft + test

* Apply suggestions

* Use class for PymStorage implementation

* Add some comments
2018-09-06 17:07:17 +00:00
Chi Vinh Le 441cc9d57b Stream should work outside of iframe for debugging 2018-09-06 00:06:58 +02:00
Chi Vinh Le 444c86cb3c Focus RTE when opening reply 2018-09-06 00:06:58 +02:00
Chi Vinh Le 110becb075 Implement reply 2018-09-06 00:06:58 +02:00
Chi Vinh Le c96112fc8c Fix tests 2018-09-06 00:06:58 +02:00
Chi Vinh Le 31bc5fa913 WIP 2018-09-06 00:06:28 +02:00
Chi Vinh Le aa2b70fd8c Save comment draft + test 2018-09-03 12:16:01 +02:00
Chi Vinh Le ccf91480da Implement pym storage 2018-09-03 09:28:09 +02:00
Chi Vinh Le 4c1f2e72cb Use createSinonStub 2018-08-31 17:24:42 +02:00
Chi Vinh Le 25e8cb517b Add integration test 2018-08-31 17:15:40 +02:00
Chi Vinh Le 428c35a931 Hide forward ref and fix tests 2018-08-31 16:11:25 +02:00
Chi Vinh Le 792ceed2ad No more patched packages! 2018-08-31 02:28:53 +02:00
Chi Vinh Le 942ce366b8 Finish porting to relay-1.7 including types 2018-08-30 23:49:38 +02:00
Chi Vinh Le 0dcff65344 Upgrade react-relay types 2018-08-30 16:43:01 +02:00
Chi Vinh Le 7ab70b8484 Update relay-runtime types 2018-08-30 15:41:08 +02:00
Chi Vinh Le 0497718764 WIP 2018-08-30 10:23:13 +02:00
Chi Vinh Le c66c5a1ade Implement post comment mutation 2018-08-30 10:23:03 +02:00
Chi Vinh Le a99fe3c0ff Integrate actual translations into integration tests 2018-08-29 22:55:13 +02:00
Chi Vinh Le 5a26b319d8 Adapt sign up plus validation and translations 2018-08-27 16:49:58 +02:00
Chi Vinh Le d1d993d0b7 Updated fluent 2018-08-27 14:33:31 +02:00
Chi Vinh Le d8b5b00adc Fix fragments and queries 2018-08-24 14:11:09 +02:00
Chi Vinh Le 65a212b531 Fix UserBox 2018-08-24 11:17:09 +02:00
Chi Vinh Le 5501ee7832 Simplify signOff rest 2018-08-23 08:55:16 +02:00
Belén Curcio 7b5a87207b removing input from user signOff 2018-08-22 09:48:06 -03:00
Belén Curcio bace76decc changes 2018-08-21 22:47:39 -03:00
Belen Curcio 94ad23ce9b Working validation from the server using CallOuts 2018-08-16 16:21:52 -03:00
Belen Curcio e4ebb2553f Handling error messages 2018-08-16 13:14:47 -03:00
Belen Curcio a48bcc3076 Hitting the delete route and deleting the token 2018-08-16 12:20:56 -03:00
Belen Curcio e704c6d968 SignOff Mutation 2018-08-16 12:02:09 -03:00
Belen Curcio 551ce1521c Progress 2018-08-15 13:12:19 -03:00
Belén Curcio 7e081bbf07 Sign Up Form, Cross Validations for Username, Email, Password, and more added. 2018-08-12 23:48:49 -03:00
Chi Vinh Le 1dec622e64 Support rest and implement SignIn and SignUp Rest + Mutations 2018-08-10 19:07:41 +02:00
Chi Vinh Le 7cb5ab37a7 Merge branch 'postMessage' into rest-next 2018-08-10 17:20:31 +02:00
Chi Vinh Le 505bb48f8b Add rest endpoints 2018-08-10 17:19:07 +02:00
Chi Vinh Le bb39b4e8fa Add rest client 2018-08-10 17:19:01 +02:00