Commit Graph

871 Commits

Author SHA1 Message Date
Kiwi f5324f65bb Merge branch 'next' into next-ui-select 2018-10-19 20:22:53 +02:00
Chi Vinh Le 544c21440b fix: select not propagating value in ff 2018-10-19 20:20:38 +02:00
Chi Vinh Le a3aca825e3 feat: upgrade react and enzyme 2018-10-19 20:19:27 +02:00
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
Chi Vinh Le 1f0cba5657 fix: use correct value 2018-10-19 19:43:46 +02:00
Kiwi bc4d746291 fix: use asset url (#2005) 2018-10-19 17:32:12 +00:00
Wyatt Johnson ecc4bdc4bb Merge branch 'next' into next-ui-select 2018-10-19 17:07:04 +00:00
Wyatt Johnson 9608198d86 [next] Content Security Policy (#1972)
* feat: initial csp support

* fix: strip non-frame directives

* review: added tests, fixed some edge cases
2018-10-19 17:06:40 +00:00
Kiwi dda4443ab4 Merge pull request #2012 from coralproject/next-disable-audit
[next] Disable `npm audit`
2018-10-19 18:45:53 +02:00
Wyatt Johnson 01b4094b4e fix: disable audit 2018-10-19 10:37:35 -06:00
Kiwi 4e0d578280 Merge branch 'next' into next-ui-select 2018-10-19 00:22:43 +02:00
Kim Gardner 9a129af21e Merge pull request #1984 from coralproject/profile-mobile
[next] Profile Mobile (new) Version
2018-10-18 17:05:24 +01:00
Chi Vinh Le ea5d907ff5 fix: remove 80% max-width 2018-10-17 17:26:30 +02:00
Chi Vinh Le a8d69a0c5d feat: add some padding to default demo site 2018-10-17 17:26:31 +02:00
Chi Vinh Le b74e8f3390 fix: only break words when necessary 2018-10-17 17:09:53 +02:00
Chi Vinh Le dcc4b4a892 fix: styles closer to design 2018-10-17 17:07:54 +02:00
Chi Vinh Le bee35c3865 fix: better types 2018-10-17 16:41:13 +02:00
Chi Vinh Le b6ee59eb91 fix: missing change 2018-10-17 16:00:33 +02:00
Chi Vinh Le aeb75666de Merge branch 'next-ui-select' of https://github.com/coralproject/talk into next-ui-select 2018-10-17 15:48:30 +02:00
Chi Vinh Le 6f51f68776 fix: improve types 2018-10-17 15:48:06 +02:00
Kiwi 2b5ef018d0 Merge branch 'next' into next-ui-select 2018-10-17 15:45:14 +02:00
Chi Vinh Le 847d5d0ea9 fix: types 2018-10-17 15:36:00 +02:00
Chi Vinh Le 70465ebd31 feat: Implement SelectField 2018-10-17 00:02:12 +02:00
Wyatt Johnson 3a9bcaa8b0 Merge branch 'next' into profile-mobile 2018-10-16 18:23:28 +00:00
Kiwi 50dd2e28b0 fix: ff focus styles (#1997) 2018-10-16 17:21:12 +00:00
Kiwi 80e6ccbc98 Merge pull request #1994 from coralproject/next-static-uri
[next] Static URI Support
2018-10-16 18:50:29 +02:00
Wyatt Johnson 9f37c3b3da Merge branch 'next' into next-static-uri 2018-10-15 22:47:04 +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
Wyatt Johnson 14658d3d5d review: suggested improvements 2018-10-15 16:43:20 -06:00
Wyatt Johnson 3633fd7afb feat: added static uri support 2018-10-15 14:56:43 -06:00
Kiwi 9347815276 fix: no precommit test (#1993) 2018-10-15 16:01:49 +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
Wyatt Johnson 3636e47b16 feat: added husky + lint-staged (#1966) 2018-10-12 22:14:36 +00:00
Wyatt Johnson 5362a26976 fix: fix graphiql 2018-10-12 15:04:45 -06:00
Wyatt Johnson d25862e035 fix: docker login 2018-10-12 13:33:40 -06:00
Wyatt Johnson cda72ba249 [next] Docker + Revision Metadata (#1991)
* feat: added version metadata, release to Docker

* fix: fixed mistake with export

* fix: adjusted circle cache beheviour

* fix: removed node_modules from workspace

* fix: added version prefix to cache keys

* review: patched invalid job name

* fix: hardcode cache version prefix :(

* fix: improved cache keys
2018-10-12 19:13:55 +00:00
Belén Curcio ba15cbf23c [next] Pluralization for the comment count (#1983)
* Pluralization comment count

* Adding updated snapshots

* fix: snapshots
2018-10-12 17:28:59 +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
Kiwi ff5a94b91f fix: adapt translation keys to our convention (#1988) 2018-10-11 22:42:39 +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
Wyatt Johnson 44e6d4b26a [next] GraphiQL Fixes (#1967)
* fix: fixed playground middleware

* fix: replaced express middleware with custom html based middleware
2018-10-10 16:25:26 +00:00
Belén Curcio 343784dcb1 Profile Mobile version 2018-10-10 10:39:33 -03:00
Belén Curcio 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
Kiwi 7c9b8e5377 Merge pull request #1968 from coralproject/next-comment-counts
[next] Comments Count
2018-10-08 21:50:41 +02:00
Belén Curcio 49ec2bf18e Merge branch 'next-comment-counts' of github.com:coralproject/talk into next-comment-counts
* 'next-comment-counts' of github.com:coralproject/talk: (53 commits)
  fix: Readd and fix App unittest
  fix: undesired margin
  Correct optimitic updates
  fix: correct typings
  fix: linting
  Optimistic Responses updated
  Adding optimisticresponse for deleteCommentReaction
  Changes
  test: use baseComment and baseAsset in fixtures
  fix: lint
  test: simplify tests
  fix: pass settings to deeper ReplyListContainer
  fix: remove debug
  fix: test updates
  feat: replaced respect with reaction and added some options!
  Adding spected
  More snapshots
  It was the optimistic response
  Adding actionCounts to the fixtures
  Updated snapshots
  ...
2018-10-08 16:44:24 -03:00
Belén Curcio ae63e9a975 tiny refactor 2018-10-08 16:43:54 -03:00
Chi Vinh Le 0feb7384b2 Merge branch 'next' into next-comment-counts 2018-10-08 21:07:08 +02:00
Chi Vinh Le b69313a01e fix: Readd and fix App unittest 2018-10-08 20:53:02 +02:00
Belén Curcio ec539c2dae Tests updated 2018-10-08 15:01:34 -03:00
Belén Curcio 51b7f5470e Refactor 2018-10-08 14:58:10 -03:00