32 Commits

Author SHA1 Message Date
adb3d877a4 Make react testing asynchronous 2019-11-04 15:02:02 -04:00
b2620e8050 Replace most of Navbar with styled-components 2019-11-03 17:15:27 -04:00
1b5209ca08 Add offset keys to Column 2019-11-03 14:55:48 -04:00
76b20551c7 Add Column/Columns/Container 2019-11-03 14:42:43 -04:00
a3578e35ba Remove bloomer from packages/client 2019-11-03 12:34:26 -04:00
2d4cb2d275 Add theme helpers 2019-11-03 11:15:55 -04:00
882248a367 Use styled components for Input.tsx 2019-11-02 15:30:02 -04:00
1bd19286fa Upgrade all packages 2019-10-31 19:44:28 -04:00
73c27aec6a Fix packages/comments-common 2019-09-16 11:39:36 +07:00
92912af839 Fix packages/client 2019-09-16 00:44:21 +07:00
fea568b58a Fix packages/common 2019-09-15 17:50:20 +07:00
eebe26f706 Extract redux, http-types, http-client and test-utils 2019-09-10 17:56:25 +07:00
dffad844ad Rename scope @rondo to @rondo.dev 2019-08-25 11:33:06 +07:00
18fef76807 Add ability to login from embedded site 2019-04-15 00:13:51 +12:00
7c1b6973ae Add ReturnHere.tsx 2019-04-14 23:12:05 +12:00
3ffd391cb0 Add user prop to CommentEditor 2019-04-14 22:09:00 +12:00
0fb6c8a6c2 Reduce bundle size by 100kb by removing date-fns 2019-04-11 12:23:17 +08:00
6605034e1e Export props from Link.tsx 2019-04-08 19:26:40 +08:00
3660540451 Add HistoryCrumbs.tsx 2019-04-04 10:50:33 +08:00
0b1cd203c3 Add sync actions to CRUDActions 2019-04-03 11:41:54 +08:00
71f7687ab9 Add Link (ContextLink) 2019-04-02 23:33:06 +08:00
b38004a08a Add Modal.tsx 2019-03-26 20:33:00 +08:00
30a8c56119 Fix test for User firstName & lastName
Also fix CSRF token. This was probably broken since csurf middleware was
modified to use cookie instead of session storage to provide support for
single page app (SPA).
2019-03-18 15:53:05 +05:00
905501e053 packages/client: Use bloomer in login & register forms 2019-03-18 13:48:18 +05:00
cf8aefd099 Add custom Redirect component
react-router v4 was made before React introduced a more performant
function renderToNodeStream to replace renderToString. All guides for
react-router are made using renderToString method, but I would love to
use the renderToNodeStream instead.

Since we cannot issue a 302 redirect after the page has already been
rendered (because status codes are written first), we can display a
<a> link with a text message. Once the React client-side library
hydrates the DOM Tree, the redirect should happen client side, so no
user action should be required.

This idea was taken from:
https://github.com/ReactTraining/react-router/issues/6191
2019-03-17 19:59:46 +05:00
5a34885605 Add withForm HOC, as well as RegisterForm 2019-03-17 15:05:02 +05:00
c2c72457db Add LoginForm to comments 2019-03-17 11:20:34 +05:00
5c847b94e6 Add full test for LoginForm 2019-01-20 21:39:32 +01:00
bdf0aa57be Add TestUtils and a generic way to isolate connected components 2019-01-20 18:11:18 +01:00
0fcd8cbb03 Move login logic into a single folder 2019-01-20 00:48:22 +01:00
26f106fcae Create LoginForm 2019-01-19 19:21:56 +01:00
a46a2d28bf Mv client files into separate package 2019-01-18 20:31:16 +01:00