Commit Graph

159 Commits

Author SHA1 Message Date
Jori Lallo
c0d89be516 Fixed content while loading 2017-06-26 23:48:59 -07:00
Jori Lallo
35854b65d8 Added prop annotations 2017-06-26 23:47:51 -07:00
Jori Lallo
e02768606a Fixed loading of content for document page change 2017-06-26 23:47:10 -07:00
Jori Lallo
b7dd74fb6c Fixed page title while loading 2017-06-26 23:46:36 -07:00
Jori Lallo
6eecd830db Cleanup and show active collection in the sidebar 2017-06-26 23:45:35 -07:00
Tom Moor
e8423b6a67 Remove extra layout from Flatpages 2017-06-25 21:48:41 -07:00
Tom Moor
52765d9d1d Document Viewers (#79)
* Recording document views

* Add 'views' to document response

* Basic displaying of document views, probably want it more sublte than this? But hey, lets get it in there

* Bigly improves. RESTful > RPC

* Display of who's viewed doc

* Add Popover, add Scrollable, move views store

* Working server tests 💁

* Document Stars (#81)

* Added: Starred documents

* UI is dumb but functionality works

* Star now displayed inline in title

* Optimistic rendering

* Documents Endpoints (#85)

* More seeds, documents.list endpoint

* Upgrade deprecated middleware

* document.viewers, specs

* Add documents.starred
Add request specs for star / unstar endpoints

* Basic /starred page

* Remove comment

* Fixed double layout
2017-06-25 17:21:33 -07:00
Jori Lallo
7439b9ecf5 Sidebar on edit mode 2017-06-25 00:29:40 -07:00
Jori Lallo
b8d0666c63 Moved Layout to be a wrapper for routes 2017-06-24 17:14:36 -07:00
Jori Lallo
aa0ddd94bf Sidebar work 2017-06-15 20:39:08 -07:00
Jori Lallo
42e54a3a54 Cleanup 2017-06-08 23:32:08 -07:00
Jori Lallo
43a312825b hot fix to DocumentStore#pathToDocument 2017-06-06 23:20:03 -07:00
Jori Lallo
cc64b6f4fa Merge pull request #80 from jorilallo/jori/collection-children
Collection backend refactor
2017-06-06 22:36:11 -07:00
Jori Lallo
9220978639 changes per tom's comments 2017-06-06 22:34:29 -07:00
Jori Lallo
1b25408272 Added error handling back 2017-06-05 23:54:26 -07:00
Jori Lallo
9027b55930 Removed mentions of navigationTree 2017-06-05 23:12:47 -07:00
Tom Moor
74d65aba67 Search improvements (#76)
* Search improvements

* Search results keyboard navigation
2017-05-31 20:23:09 -07:00
Jori Lallo
9a2caeb5ff Fixed collection creation 2017-05-29 20:00:08 -07:00
Jori Lallo
0d87d6abf5 Separated user and auth stores 2017-05-29 19:54:36 -07:00
Jori Lallo
a4ca14ab9d Flow comment 2017-05-29 18:35:07 -07:00
Jori Lallo
0bd3dd1a72 Fix color constant 2017-05-29 18:31:29 -07:00
Jori Lallo
5a82430553 Rebase fix 2017-05-29 18:22:10 -07:00
Jori Lallo
201f90030c Refactored collections store and layout components 2017-05-29 18:04:26 -07:00
Tom Moor
51d3191ac0 Renames 2017-05-26 22:31:39 -07:00
Tom Moor
0e293b38c7 Publishing Info (#70)
* Restore publishing info
Closes #68

* Prevent document remounting / refetching when changing between edit / read

* Merge master
2017-05-26 21:58:16 -07:00
Tom Moor
e3b2fcf8c9 Improves 2017-05-26 00:04:13 -07:00
Tom Moor
c0b85a643c Truncated previews now rendered on client 2017-05-25 21:59:35 -07:00
Tom Moor
e791509dac Moving previews to client side rendering for consistency 2017-05-25 00:07:41 -07:00
Jori Lallo
6b566a568f Collection model 2017-05-23 00:45:15 -07:00
Jori Lallo
07ff5b6ae5 Remove old useless test 2017-05-22 23:51:52 -07:00
Jori Lallo
4c8df3231d Updated jest for frontend 2017-05-22 23:51:16 -07:00
Jori Lallo
2a8cc80a86 Added errors store with tests 2017-05-22 22:16:47 -07:00
Tom Moor
3353eb913a Search improves (#67)
* ESC should go back from search
using direct onKeyDown here as react-keydown does not trigger within an input

* Addressable search urls
2017-05-21 23:02:53 -07:00
Tom Moor
bfeabd60ec Restore prompt on leaving document with unsaved changes 2017-05-21 20:50:01 -07:00
Jori Lallo
451b6ad058 Router fixes 2017-05-17 20:31:33 -07:00
Jori Lallo
b25298c8f1 upgraded to react router v4 2017-05-17 19:57:26 -07:00
Jori Lallo
ff17047791 Slate editor (#38)
* WIP: Slate editor

* WIP

* Focus at start / end working

* ah ha

* Super basic floating toolbar

* Nested list editing

* Pulling more logic into plugins

* inline code markdown

* Backspace at end of code block should remove mark

* Ensure there is always an empty line at editor end

* Add keyboard shortcuts for bold, italic, underline

* Add strikethrough shortcode and toolbar

* Toolbar to declarative
Fixed paragraph styling
Removed unused stuffs

* Super basic link editing

* Split Toolbar, now possible to edit and remove links

* Add new link to selection from toolbar working

* Ensure toolbar doesn't extend off screen

* Fix minor js issues, disable formatting of document title

* Boom, icons

* Remove codemirror, fix MD parsing issues

* CMD+S now saves inplace

* Add --- shortcut for horizontal rule

* Improved styling for link editor

* Add header anchors in readOnly

* More readable core text color

* Restored image file uploading 🎉

* Add support for inline md syntax, ** __ etc

* Centered

* Flooooow

* Checklist support

* Upgrade edit list plugin

* Finally. Allow keydown within rich textarea

* Update Markdown serializer

* Cleanup, remove async editor loading

* Editor > MarkdownEditor
Fixed unsaved changes warning triggered when all changes are saved

* MOAR typing

* Combine edit and view

* Fixed checkboxes still editable in readOnly

* wip

* Breadcrumb
Restored scroll

* Move document scene actions to menu

* Added: Support for code blocks, syntax highlighting

* Cleanup

*  > styled component

* Prevent CMD+Enter from adding linebreak

* Show image uploading in layout activity indicator

* Upgrade editor deps

* Improve link toolbar. Only one scenario where it's not working now
2017-05-17 19:36:31 -07:00
Jori Lallo
7b16d3e5e2 Merge pull request #47 from jorilallo/jori/path-to-document
Build the full navigation tree for document in header (fixes #17)
2017-05-13 16:57:18 -07:00
Jori Lallo
823d6a934c removed old code 2017-05-13 16:51:27 -07:00
Jori Lallo
a4bc4663ef Separated Breadcrumbs into its own component 2017-05-13 16:50:36 -07:00
Jori Lallo
7144cc7f14 Fixed key warning 2017-05-13 16:03:35 -07:00
Jori Lallo
94a5a29964 Removed unused component 2017-05-13 16:00:50 -07:00
Jori Lallo
3ecca38d9e Build the full navigation tree for document in header 2017-05-13 15:36:06 -07:00
Jori Lallo
aa93ac9914 Fixed search after flow fixes 2017-05-11 23:26:57 -07:00
Jori Lallo
259c643f91 Fixes to recent flow changes 2017-05-11 23:05:11 -07:00
Jori Lallo
0a76d6af9e Flow for all the files 2017-05-11 17:23:56 -07:00
Jori Lallo
a98199599a Fixed linting errors and warnings 2017-05-10 00:02:11 -07:00
Jori Lallo
eb8d2631fb Moved AtlasPreviewLoading.js to SC 2017-05-09 23:42:03 -07:00
Jori Lallo
75094a60a1 Fixed aslant warnings 2017-05-09 23:41:46 -07:00
Jori Lallo
75ad27658e Fix flow errors 2017-05-09 23:14:24 -07:00