219 Commits

Author SHA1 Message Date
b9383d59df Run npm update cli-usage --depth 3 2019-05-19 15:45:29 +12:00
bc6ca77291 Run npm audit fix --force 2019-05-19 15:44:50 +12:00
1b33b651bd Run npm audit fix 2019-05-19 15:42:37 +12:00
8749fba61d Add react-router-config 2019-05-19 15:41:10 +12:00
871018684b Extract store creation 2019-05-09 15:34:08 +12:00
279b859e7b Add TODO for SSR SEO 2019-05-08 11:44:45 +12:00
798c4987f8 Extract http into separate parameter 2019-05-08 10:54:05 +12:00
c44d605890 Fix failing React tests for Login/Register 2019-05-08 10:12:53 +12:00
70c94c7c63 Add WaitMiddleware.ts 2019-05-08 09:57:33 +12:00
8c23b59ecd Add build comments target 2019-04-15 22:02:09 +12:00
a672aab11d Add ability to run app minified 2019-04-15 21:45:03 +12:00
f102ff1d70 List dependencies 2019-04-15 21:44:17 +12:00
5f662a1ac1 Make server work with browserify --node 2019-04-15 14:28:56 +12:00
dcc2fb4dc8 Log error messages during app Bootstrap.ts 2019-04-15 13:09:32 +12: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
c760b7e216 Run npm audit fix 2019-04-14 23:11:48 +12:00
cca6325214 Upgrade React to 16.8 2019-04-14 23:08:54 +12:00
3ffd391cb0 Add user prop to CommentEditor 2019-04-14 22:09:00 +12:00
90d1e1a040 Fix broken StringUtils.test.ts 2019-04-11 13:42:19 +08:00
0fb6c8a6c2 Reduce bundle size by 100kb by removing date-fns 2019-04-11 12:23:17 +08:00
7711a9596c Remove markdown from client-side
Markdown parser takes too much space in the final compressed bundle
2019-04-11 12:20:39 +08:00
9d282b278d Build ESM client-side modules to enable tree shaking
TypeScript compiler needs to be configured to output ES6 module by
setting --module es6 or the equivalent tsconfig.json compilerOptions
parameter.

Since tsc --build does not accept compiler options flags, we need to
duplicate some of the configuration:

- specify separate output folder for ES6 module files (new
  tsconfig.esm.json file)
- add "module" field for ES6 module (esm) output files to package.json

Hence, a script `scripts/sync-esm-config.js` was added to automate this
process.
2019-04-11 11:40:07 +08:00
37164a719f Add scripts/unpack.js script for analyzing bundle file size 2019-04-08 19:29:41 +08:00
0a1bd4dc87 Add build clean target 2019-04-08 19:28:36 +08:00
6605034e1e Export props from Link.tsx 2019-04-08 19:26:40 +08:00
65f1703089 Add ability to load user votes on frontend 2019-04-08 13:34:19 +08:00
e509c32f79 Add ability to load votes by id
Use createDate and updateDate as strings
2019-04-08 13:33:58 +08:00
17d67900c1 Add safe Markdown parsing to CommentService 2019-04-07 13:44:35 +08:00
6418cd64b6 Add @rondo/common Markdown 2019-04-07 13:16:18 +08:00
e727687ec8 Refactor CommentActions, add skeleton for Reducer 2019-04-07 00:23:01 +08:00
bbf18ed27a Add ability to specify middleware in AsyncRouter 2019-04-06 21:32:20 +08:00
364972c97f Update TODO.md 2019-04-06 14:41:05 +08:00
582d36de02 Add Link to Stories from Sites 2019-04-06 14:11:55 +08:00
e18fa89b26 Add /teams/:teamId/sites/:siteId/stories client-side 2019-04-06 14:01:16 +08:00
89af2f0845 Add StringUtils 2019-04-06 13:58:20 +08:00
42439ee422 Add TODO.md 2019-04-05 00:32:21 +08:00
eb46f8ccb3 Add OpenGraphScraper.ts 2019-04-04 19:54:28 +08:00
7d841182d3 Add open-graph-scraper 2019-04-04 11:44:28 +08:00
00dd9326ba Use Heading instead of Label in forms
I realize <label> tags should be used instead, but this looks nicer and
I don't have the time to style it.
2019-04-04 11:43:06 +08:00
3660540451 Add HistoryCrumbs.tsx 2019-04-04 10:50:33 +08:00
b3924fa8d3 Fix CRUDForm not updating text 2019-04-04 00:00:43 +08:00
ce68048f9e Display CRUD form even when item is undefined 2019-04-03 23:54:32 +08:00
fcd7a9f56a Fix SSR bug when using window.localStorage 2019-04-03 23:54:19 +08:00
363b84699f Fix CRUDReducer bug when retrieving item that already exists 2019-04-03 23:51:38 +08:00
a81a68b6e2 Log actions in collapsed groups by default 2019-04-03 23:51:22 +08:00
83861cc5be Add &nbsp; to TeamList New 2019-04-03 23:45:38 +08:00
3d85bb2106 Use console.group in ReduxLogger, enable via localStorage 2019-04-03 23:45:19 +08:00
1d582740a8 Add logging of statediff 2019-04-03 23:34:59 +08:00
1a47e3e8a6 Fix test failure in TeamConnector 2019-04-03 20:36:19 +08:00