Commit Graph

29 Commits

Author SHA1 Message Date
Alex Hunt 9f71e388ce Refactoring setup script and creating refresh API route 2018-11-27 22:02:08 -08:00
Alex Hunt 45f6aabcfb Removing webpack-dev-server 2018-11-27 19:26:11 -08:00
Alex Hunt 3c5b93b3c2 Fixed a search bug and added simple unit tests for the chapters API 2018-05-18 19:37:03 -04:00
Alex Hunt 667c4548a2 Adding to README 2018-05-09 23:00:44 -04:00
Alex Hunt 47148bff57 Regex tweaks 2018-05-09 21:23:04 -04:00
Alex Hunt d25b0a23a1 Finished routing for edit page doc type switching 2018-05-08 23:39:59 -04:00
Alex Hunt e1b4797c52 Routing mostly working as expected now, except for switching docTypes on the edit page 2018-05-08 19:54:40 -04:00
Alex Hunt fde36c08d1 Refactoring routing to be more predictable 2018-05-02 20:29:45 -04:00
Alex Hunt a5043b3ea1 Modified reader entry point to use react-router with redux 2018-04-29 19:49:18 -04:00
Alex Hunt a6cf429335 Some refactoring and tidying 2018-04-29 13:39:43 -04:00
Alex Hunt dac188adf7 Cleaning up API search results and composing search page 2018-04-29 11:20:40 -04:00
Alex Hunt 6b27755a6a Save a plain-text version of document for search highlighting 2018-04-28 18:38:19 -04:00
Alex Hunt b53ef17448 Converted Reader page to use DraftJS. Farewell dangerously setting HTML. 2017-12-11 23:01:41 -05:00
Alex Hunt 8b3274de8f Got remove link buttons to work. Got annotation links to pop up a modal! Looks like it's never gonna work with dangerouslySetInnerHTML, but I made the DraftJS link decorator a connected component and that worked. 2017-12-11 22:47:52 -05:00
Alex Hunt 814c9148a6 Abstracted the notes UI into a documents UI and set up a text route to return chapters in the documents UI. 2017-12-10 22:19:59 -05:00
Alex Hunt e5e3f90d00 Added annotate mode logic. 2017-12-10 12:58:25 -05:00
Alex Hunt 4cab7755c8 Rehashed same CRUD UI for notes, but using the mode. Need to build in title inputs next. 2017-12-09 18:00:19 -05:00
Alex Hunt 29b2d2ff4b Refactored actions andAPI middleware to be more maintainable, and easy extending it to notes 2017-11-26 18:32:00 -05:00
Alex Hunt 43a37ce123 Refactored TextEditor components so that the DraftJS editor can be reused for note editing 2017-11-26 09:47:19 -05:00
Alex Hunt 1aa4fcf1f6 Used DraftJS RichUtil library to wire up bold/italic/underline/header buttons. 2017-11-25 09:57:25 -05:00
Alex Hunt 44b432f1e1 Introduced FontAwesome to replace the glyphicons lost in upgrading Boostrap to4 2017-11-22 15:17:27 -05:00
Alex Hunt dc4463800a Working on the editor UI. Needs some refactoring components and wire up api middleware. 2017-11-13 18:39:08 -05:00
Alex Hunt 287f15380a Incorporated DraftJS and refactored the reducers 2017-11-08 23:00:36 -05:00
Alex Hunt 7e2ec994f7 Wired up /edit route re-using Reader components. 2017-11-08 19:08:44 -05:00
Alex Hunt 063a63ba72 Set up basic Redux pattern with action middleware for API files, and then refactored into separate packages. 2017-11-05 14:28:55 -05:00
Alex Hunt 4c13c25cb6 React working as intended before I start tearing it up to implement Redux 2017-11-05 10:37:10 -05:00
Alex Hunt a1748b7220 Adding NPM, Babel, Webpack for basic React front end 2017-11-03 22:00:05 -04:00
Alex Hunt cfbaf067ed Basic REST API for interfacing with Elasticsearch. 2017-10-29 20:21:22 -04:00
Alexander Hunt a6311d589d Project Setup 2017-10-26 23:04:16 -04:00