Commit Graph

49 Commits

Author SHA1 Message Date
943a290b83 chore: Update flow just far enough to get hooks libdefs (#1348) 2020-07-13 20:23:15 -07:00
f43deb7940 chore: Move to prettier standard double quotes (#1309) 2020-06-20 13:59:15 -07:00
9274005cbb feat: Upgrade editor (#1227)
* WIP

* document migration

* fix: Handle clashing keyboard events

* fix: convert getSummary

* fix: parseDocumentIds

* lint

* fix: Remove unused plugin

* Move editor version to header
Add editor version check for API endpoints

* fix: Editor update auto-reload
Bump RME

* test

* bump rme

* Remove slate flow types, improve themeing, bump rme

* bump rme

* fix: parseDocumentIds returning duplicate ID's, improved regression tests

* test

* fix: Missing code styles

* lint

* chore: Upgrade v2 migration to use AST

* Bump RME

* Update welcome doc

* add highlight to keyboard shortcuts ref

* theming improvements

* fix: Code comments show as headings, closes #1255

* loop

* fix: TOC highlighting

* lint

* add: Automated backup of docs before migration

* Update embeds to new format

* fix: React warning

* bump to final editor version 10.0.0

* test
2020-05-19 20:39:34 -07:00
9338a54fe0 feat: Separate title from body (#1216)
* first pass at updating all Time components each second

* fix a couple date variable typos

* use class style state management instead of hooks

* wip: Separate title from body

* address feedback

* test: Remove unused test

* feat: You in publishing info language
fix: Removal of secondary headings

* After much deliberation… a migration is needed for this to be reliable

* fix: Export to work with new title structure

* fix: Untitled

* fix: Consistent spacing of first editor node

* fix: Emoji in title handling

* fix: Time component not updating for new props

* chore: Add createdAt case

* fix: Conflict after merging new TOC

* PR feedback

* lint

* fix: Heading level adjustment

Co-authored-by: Taylor Lapeyre <taylorlapeyre@gmail.com>
2020-04-05 15:07:34 -07:00
d0606a72c3 feat: Improved table of contents (#1223)
* feat: New table of contents

* fix: Hide TOC in edit mode

* feat: Highlight follows scroll position

* scroll tracking

* UI

* fix: Unrelated css fix with long doc titles

* Improve responsiveness

* feat: Add keyboard shortcut access to TOC

* fix: Headings should reflect content correctly when viewing old document revision

* flow

* fix: Persist TOC choice between sessions
2020-04-05 12:22:26 -07:00
f0afa67012 fix: Focus on empty document after creation
fix: Clicking in whitespace below document should focus
Remove unused component
2020-02-26 22:29:22 -08:00
908b457dec fix: Use alternative redirect method (#1176) 2020-02-16 17:28:24 -08:00
8e5a5a57a9 feat: Store image uploads as attachments in database (#1144)
* First pass

* Documentation

* Added optional documentId relationship

* name -> key

* cleanup: No need for separate documentId prop
2020-01-16 09:42:42 -08:00
7bbddcaebf fix: Unable to focus into description in collection edit 2020-01-02 22:49:40 -08:00
293c3b7b9c fix: Move references spacing directly below content (#1113)
* fix: Move references spacing directly below content

* Child document -> Nested document
2019-12-18 21:00:36 -08:00
97c8bfc27f fix: Protect against redirecting back to the same doc
closes #975
2019-10-15 20:59:00 -07:00
18658e354a Update Editor.js 2019-09-15 21:18:31 -07:00
e2453b5b2a fix: Editor headings offset 2019-09-15 14:42:32 -07:00
6520a501e3 fix: accessiblity improvements, focus states, real buttons 2019-08-30 00:27:40 -07:00
d024d31f66 refactor: flow typing (#1012)
* fix: padding

* fix: Minor button alignment issues

* feat: Add icon to invite people button

* WIP
2019-08-08 23:09:09 -07:00
3d805d5fe7 chore: tooltip update / remove css loader (#985)
* fix: Add suspended filter to people management #984

* chore: removing css loader

* pui-react-tooltip -> tippy
closes #980

* remove extract-text-plugin
2019-07-09 21:17:25 -07:00
091e542406 feat: Backlinks (#979)
* feat: backlinks

* feat: add backlinkDocumentId to documents.list

* chore: refactor
fix: create and delete backlink handling

* fix: guard against self links

* feat: basic frontend
fix: race condition

* styling

* test: fix parse ids

* self review

* linting

* feat: Improved link styling

* fix: Increase clickable area at bottom of doc / between references

* perf: global styles are SLOW
2019-07-07 19:25:45 -07:00
d3abbcf9d5 feat: Added tooltips to editor controls 2019-07-03 21:32:21 -07:00
07a941a65d Websocket Support (#937)
* Atom / RSS meta link

* Spike

* Feeling good about this spike now

* Remove document.collection

* Remove koa.ctx from all presenters to make them portable outside requests

* Remove full serialized model from events
Move events.add to controllers for now, will eventually be in commands

* collections.create event
parentDocument -> parentDocumentId

* Fix up deprecated tests

* Fixed: Doc creation

* documents.move

* Handle collection deleted

* 💚

* Authorize room join requests

* Move starred data structure
Account for documents with no context on sockets

* Add socket.io-redis

* Add WEBSOCKETS_ENABLED env variable to disable websockets entirely for self hosted
New installations will default to true, existing installations to false

* 💚 No need for promise response here

* Reload notice
2019-04-17 19:11:23 -07:00
59c82f1f06 Dark Mode (#912)
closes #704
2019-03-12 21:35:35 -07:00
0ce50781d7 Fixes: Redirects do not push into history stack 2019-01-26 13:01:33 +00:00
13501b6d76 Moving redirects to declarative method 2019-01-19 00:23:39 -08:00
d21dd710bb Upgrade Editor – Slate 0.44 / RME 8.0.0 (#863)
* Upgrade Slate

* Normalization

* Remove dupe dep

* Fixes placeholders

* Image uploading fixed

* Verbose but solid placeholder handling

* RME 8.0.0

* Fixes: Ability to delete embeds
2019-01-18 22:44:31 -08:00
044b4f16bc Editor embeds (#680)
- [x] Make deleting an embed easier
- [x] Add document level ability to disable embeds
- [x] Add team level ability to disable embeds
- [x] GitHub
- [x] Numeracy
- [x] Mode Analytics
- [x] Figma
- [x] Airtable
- [x] Vimeo
- [x] RealtimeBoard
- [x] Loom
- [x] Lucidcharts
- [x] Framer
- [x] InVision
- [x] Typeform
- [x] Marvel
- [x] Spotify
- [x] Codepen
- [x] Trello
2018-12-15 14:06:29 -08:00
f72fa40a0f WIP 2018-04-03 20:20:30 -07:00
48e3a93d83 Bump slate serializer 2018-03-18 01:10:53 -07:00
d02fc793ee Improved paragraph behavior 2018-03-10 21:25:07 -08:00
9142d975df Draft Documents (#518)
* Mostly there

* Fix up specs

* Working scope, updated tests

* Don't record view on draft

* PR feedback

* Highlight drafts nav item

* Bugaboos

* Styling

* Refactoring, gradually addressing Jori feedback

* Show collection in drafts list
Flow fixes

* Ensure menu actions are hidden when draft
2018-02-27 22:41:12 -08:00
6caba86751 Mobile Responsive Styles (#580)
* WIP: Responsive styles

* Flip breakpoints, ensure doc doesn't spread

* Add MenuIcon

* Refactor Sidebar to share mobile responsive styles

* Fix accidental find/replace

* Tweak padding to take into account icon spacing
2018-02-10 23:24:12 -08:00
abcab12b97 Fix TOC 2018-02-06 22:40:13 -08:00
97268314fe Map keyboard shortcuts on windows (#526)
* Map keyboard shortcuts on windows

* Fixed also saving commands

* Fix keyboard shortcut for keyboard shortcuts

* Fixed guide

* Cmd -> Mod
2018-01-28 17:57:45 -08:00
330f0eb41d Added support for block quotes 2017-12-30 13:46:21 -08:00
13b1ab7dca Merge branch 'master' of github.com:jorilallo/atlas into update-slate 2017-12-08 20:22:07 -08:00
466986eabb Remove logging 2017-12-08 20:08:47 -08:00
d7d13179d6 Remove slate-plain-serializer dependency 2017-12-08 19:13:35 -08:00
7b9fa9f4a7 Fixed: Spurious save prompts 2017-12-06 08:40:43 -08:00
64c2624479 Fixes: Image upload. Back to using our own plugin to show progress 2017-12-06 08:15:06 -08:00
e3f664e8a4 Fixed: Checklist items cant be created from shortcuts
Fixed: BlockToolbar not close on unfocus
2017-12-05 20:05:43 -08:00
751b468e92 More and more fixes 2017-12-03 19:59:54 -08:00
802f6e6594 Flowtyping 2017-12-03 11:13:35 -08:00
15e8e50601 Slate 30 2017-12-02 23:14:27 -08:00
224f94a79e Added ability to print a document 2017-12-02 16:27:45 -08:00
88020fc569 Merge pull request #451 from outline/jori/sunday-tweaks
Sunday tweaks
2017-11-26 21:14:18 -08:00
a0f3332b9f removed ToC in readonly mode 2017-11-26 20:52:39 -08:00
2143a87671 WIP: Collection home 2017-11-26 18:18:40 -08:00
ab13f51d5d Upgrade prettier 2017-11-10 14:14:30 -08:00
51bc705488 Working 2017-11-05 22:48:31 -08:00
84c82c31a9 Shared assets, cleanup for initial deploy 2017-10-29 15:02:24 -07:00
4863680d86 frontend > app 2017-10-25 22:49:04 -07:00