Commit Graph

43 Commits

Author SHA1 Message Date
Alex Hunt
9fcc14c8e6 Improving interface for media uploads 2019-08-10 08:28:32 -07:00
Alex Hunt
d14518ac91 Added ability to upload images to s3 and store them as part of ES object 2019-08-02 19:24:24 -07:00
Alex Hunt
9c74599950 Fixing broken functionality 2019-07-29 21:42:50 -07:00
Alex Hunt
9628899d26 Fixing routing and api for media 2019-07-28 13:16:59 -07:00
Alex Hunt
006a1b2e1f Refactored routing, broke some editor components 2019-07-28 10:20:41 -07:00
Alex Hunt
b745d2e186 Editor Sidebar options on mobile devices 2018-12-02 16:55:11 -08:00
Alex Hunt
c9f197675f Refactoring input & toggle state 2018-11-29 23:37:36 -08:00
Alex Hunt
57a9e2d492 Input validation for annotation modal 2018-11-24 23:41:58 -08:00
Alex Hunt
0d74b9c189 Input validation for new annotations 2018-11-23 18:18:42 -07:00
Alex Hunt
49eb07102d Completing functionality for tags 2018-11-23 14:23:08 -07:00
Alex Hunt
1d862cd30f Replaced plain_text with search_text, a list of blocks with keys, and wired search UI to link to document key, allowing for linking to a search result's place in the text. 2018-05-20 13:42:51 -04: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
6d6efea4d4 Added mappings and routes for tags 2018-05-12 12:45:12 -04:00
Alex Hunt
cec930966c Fixing other functionality broken by routing and refactoring 2018-05-10 21:38:44 -04:00
Alex Hunt
3aafbac5a6 Fixed the delete document issues caused by switch to routing 2018-05-10 20:25:39 -04:00
Testing User
03a42fb14d README instructions 2018-05-09 22:35:43 -04:00
Alex Hunt
d25b0a23a1 Finished routing for edit page doc type switching 2018-05-08 23:39:59 -04:00
Alex Hunt
b90e6a49b1 Finally refactored actions so they can be import as a single object 2018-05-08 20:36:04 -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
d24d444683 Fleshed out routing functionality, needs some refactoring 2018-05-01 23:52:59 -04:00
Alex Hunt
a212863bf3 Wiring up React Router routing and condensing entry points into SPA 2018-05-01 00:05:04 -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
6b27755a6a Save a plain-text version of document for search highlighting 2018-04-28 18:38:19 -04:00
Alex Hunt
335c5fdf47 Some cleaning and setting up pytest 2018-04-19 19:45:43 -04:00
Alex Hunt
879c7e5857 Better handling for when there are no documents to display. Introduced a few welcome components. 2017-12-16 18:17:34 -05:00
Alex Hunt
1c8586f3fe Consolidated Chapter and Note document pages into one Editor route with a dropdown to select the docType you wish to edit. Will be easier to manage as I add more doc types. Also began implementing some responsive layout elements. 2017-12-13 23:27:13 -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
d69a3f7bff Fixed chapter numbering in Documents UI 2017-12-10 23:07:20 -05:00
Alex Hunt
4e63aca0a5 Fixing breaking changes made to Reader while working on Documents 2017-12-10 22:43:32 -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
e083adfbc0 Used selectionState and decorators to add annotation UI to DraftJS editor! Includes modal for selecting note from list. 2017-12-10 18:22:38 -05:00
Alex Hunt
e5e3f90d00 Added annotate mode logic. 2017-12-10 12:58:25 -05:00
Alex Hunt
44eb201104 Added the title input and the logic to display a header in read mode 2017-12-09 18:16:41 -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
6e37fae7ca Fleshing out Notes page with edit and annotate modes. Commiting now while it basically works, before refactoring some of the component names, which have gotten confusing. 2017-12-09 13:05:18 -05:00
Alex Hunt
ada54f7dfc Replicated basic chapter read UI for notes. 2017-12-07 21:08:07 -05:00
Alex Hunt
0b61166220 Converted Elasticsearch API to generate document IDs distinct from chapter numbers, the way I should have done it from the start. Also made chapter numbers update after deleting a chapter from the middle of the range 2017-11-28 23:44:15 -05:00
Alex Hunt
ff6cb1b5cd Continued paring down actions and laying framework for notes. Need to tackle some kind of id / number distinction for document schema 2017-11-26 22:21:05 -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
f4a548f23d Added notes doc_type to Elasticsearch index, extended Flask API blueprint to handle notes, added a notes entry point to webpack, and started fleshing out note components. Will require some refactoring of actions. 2017-11-26 12:38:25 -05:00
Alex Hunt
bf55be3404 Wired the react CRUD UI up to the Elasticsearch API. Numbering scheme will break once you start deleting chapters. 2017-11-21 22:52:32 -05:00