Commit Graph
59 Commits
Author SHA1 Message Date
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
KiwiandWyatt Johnson c2ffb30431 [next] i18n short number support (#1992)
* feat: Implement i18n short number

* test: fix failing tests
2018-10-12 23:16:13 +00:00
Wyatt JohnsonandGitHub 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
KiwiandWyatt Johnson 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
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 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
KiwiandWyatt Johnson 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 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 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 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 5501ee7832 Simplify signOff rest 2018-08-23 08:55:16 +02: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 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 bb39b4e8fa Add rest client 2018-08-10 17:19:01 +02:00
Chi Vinh Le bf8549c811 Merge branch 'authentication-support' into postMessage 2018-08-10 16:16:47 +02:00
Chi Vinh Le 9510fbed57 Add complex value test 2018-08-10 16:05:50 +02:00
Chi Vinh Le ea02e47241 Add PostMessage Service 2018-08-10 15:57:07 +02:00
Chi Vinh Le dbcf3c5756 Fix linter 2018-08-10 12:07:46 +02:00
KiwiandGitHub 32264fbc5f Merge branch 'next' into authentication-support 2018-08-10 10:37:57 +02:00
Chi Vinh Le 92a266363a Make UserBoxUnauthenticated responsive 2018-08-09 19:40:45 +02:00
Chi Vinh Le d140e2449f Support authentication 2018-08-09 16:14:35 +02:00
Chi Vinh Le 66d8244acc Refactor stream + some tests 2018-08-03 23:49:00 +02:00
Chi Vinh Le b3fa5e1e73 Integrate with embed 2018-08-03 18:19:37 +02:00
KiwiandWyatt Johnson 6d7056d831 [next] Add support for embed (#1762)
* Move talk-server/config to talk-common/config

* Refactor build into /src/core/build and use common config

* Add embed webpack config

* Start implementing embed

* Implement embed

* Add pym types

* Add event emitter to Talk Context

* Add MatchMedia test for passing values from the context

* Add support for click far away

* Integrate pym click events to registerClickFarAway

* Add tests

* Resolve merge issues

* Apply PR review
2018-08-02 15:29:18 +00:00
Chi Vinh Le d09835020d Rename WrappedComponent to BaseComponent 2018-07-17 19:22:06 -03:00
Chi Vinh Le 0aa556d288 Make timeagoFormatter optional 2018-07-13 19:58:58 -03:00
Chi Vinh Le 057d4254fa Add tests 2018-07-12 20:41:15 -03:00
Chi Vinh Le 6467348296 Merge branch 'next' into timestamp 2018-07-12 16:29:23 -03:00