Commit Graph

653 Commits

Author SHA1 Message Date
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
e615cbf7a8 Merge pull request #48 from jorilallo/jori/rm-application-component
Removed unused component
2017-05-13 16:05:50 -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
48769a09fb Merge pull request #46 from jorilallo/jori/cleanup
Flow all the things
2017-05-11 17:54:26 -07:00
Jori Lallo
c9bb31cee1 lint 2017-05-11 17:40:57 -07:00
Jori Lallo
2ef33f0844 Disable import/order 2017-05-11 17:39:23 -07:00
Jori Lallo
719b2b3e6f Run flow on recommit 2017-05-11 17:24:47 -07:00
Jori Lallo
0a76d6af9e Flow for all the files 2017-05-11 17:23:56 -07:00
Jori Lallo
fd404a4669 Merge pull request #45 from jorilallo/jori/flow
Fix flow errors
2017-05-10 00:49:41 -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
Jori Lallo
e051713177 Merge pull request #43 from jorilallo/jori/flow-types
flow types
2017-05-03 22:54:42 -07:00
Jori Lallo
fe7b69a4a5 Added further types and moved types 2017-05-03 22:49:50 -07:00
Jori Lallo
791bf0a32e Fixed flow resolvers 2017-05-03 22:49:29 -07:00
Jori Lallo
dfdaef1098 Config and flow scripts 2017-05-03 22:49:08 -07:00
Jori Lallo
b6ec9029d8 Merge pull request #41 from jorilallo/jori/ap-key-improvements
Validation error for missing API key label
2017-05-01 22:45:10 -07:00
Jori Lallo
e28d620694 Fixed lifecycle timeout issue 2017-05-01 22:43:26 -07:00
Jori Lallo
64f40b61d8 Validation error for missing API key label 2017-05-01 22:29:39 -07:00
Jori Lallo
62fc9a8a9e Merge pull request #39 from jorilallo/jori/remove-rebass
Remove Rebass
2017-05-01 22:28:12 -07:00
Jori Lallo
c9d6d4bfb2 Remove Rebass 2017-05-01 22:01:50 -07:00
Jori Lallo
930bf7d105 Removed useless modules 2017-04-30 11:14:57 -07:00
Jori Lallo
adff6192d8 Merge pull request #35 from jorilallo/jori/babel
Start using babel-preset-env
2017-04-29 16:05:32 -07:00
Jori Lallo
8d84ebe886 Start using babel-preset-env 2017-04-29 15:52:05 -07:00
Jori Lallo
8cdadf27ed Merge pull request #34 from jorilallo/jori/fix-15
Remove periods from url slugs. Fixes #15
2017-04-29 14:44:30 -07:00
Jori Lallo
e2cf2a2fe7 Remove periods from url slugs. Fixes #15 2017-04-29 14:43:43 -07:00
Jori Lallo
37cacf121b Removed unused Markdown icon 2017-04-29 14:27:48 -07:00
Jori Lallo
31d05839ba Removed constants.js 2017-04-29 14:21:02 -07:00
Jori Lallo
2c36aa613d Merge pull request #33 from jorilallo/jori/remove-cache
Remove caches
2017-04-29 14:15:38 -07:00
Jori Lallo
dd0098943c Removed offline component 2017-04-29 14:14:11 -07:00
Jori Lallo
5dd8a759f9 Removed serviceworker 2017-04-29 14:09:53 -07:00
Jori Lallo
4907bd5d75 Remove cache store 2017-04-29 14:08:15 -07:00
Jori Lallo
70dad7aa47 Added styled components 2017-04-29 14:02:55 -07:00
Jori Lallo
dd37ad58b2 Merge pull request #32 from jorilallo/flow
Add Flow
2017-04-29 13:56:23 -07:00
Tom Moor
da8cf6f600
Converted a couple of components to flow-types 2017-04-27 22:18:46 -07:00
Tom Moor
4e5c3944d8
Add flow, example implementation and types 2017-04-27 22:10:43 -07:00
Tom Moor
2095b3a874 Fix prettier integration, format (#31)
* Fix prettier integration, format

* Reformat again
2017-04-27 21:48:13 -07:00
Jori Lallo
51fade7439 Merge pull request #29 from jorilallo/jori/upgrade-dependencies
Upgrade dependencies
2017-04-26 22:27:43 -07:00
Jori Lallo
ab80a0b047 Upgraded koa 2017-04-26 22:25:52 -07:00
Jori Lallo
b34d80717b Upgraded dependencies 2017-04-26 22:18:36 -07:00
Jori Lallo
c0a8d71bb9 Merge pull request #28 from jorilallo/jori/prettier
Added prettier
2017-04-26 21:50:38 -07:00
Jori Lallo
08b1609440 [chore] added prettier 2017-04-26 21:47:03 -07:00