Tom Moor
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
Tom Moor
c20282de06
feat: Add child document preloading
2019-12-22 17:06:39 -08:00
Tom Moor
e404955394
feat: Trash ( #1082 )
...
* wip: trash
* Enable restoration of deleted documents
* update Trash icon
* Add endpoint to trigger garbage collection
* fix: account for drafts
* fix: Archived documents should be deletable
* fix: Missing delete cascade
* bump: upgrade rich-markdown-editor
2019-11-18 18:51:32 -08:00
Tom Moor
21af0bd8be
fix: Sidebar links unexpand
...
closes #1044
2019-10-13 16:15:42 -07:00
Tom Moor
01f672fac9
fix: Drop to import
2019-10-12 23:03:58 -07:00
Mateusz Sapielak
8ea1323a7c
fix: Ensure menus are always kept on the screen ( #1036 )
...
* ensuring dropdowns fit on the screen
* refactoring
* fix flow types
* no longer fixing the elements which should resolve scrolling issues
* fix menus that should be fixed
* styled-components syntax was wrong
* account for fixed dropdowns when handling overflowing menus
* Update app/components/DropdownMenu/DropdownMenu.js
Co-Authored-By: Tom Moor <tom.moor@gmail.com >
2019-10-12 20:21:48 -07:00
Tom Moor
b42e9737b6
feat: Memberships ( #1032 )
...
* WIP
* feat: Add collection.memberships endpoint
* feat: Add ability to filter collection.memberships with query
* WIP
* Merge stashed work
* feat: Add ability to filter memberships by permission
* continued refactoring
* paginated list component
* Collection member management
* fix: Incorrect policy data sent down after collection.update
* Reduce duplication, add empty state
* cleanup
* fix: Modal close should be a real button
* fix: Allow opening edit from modal
* fix: remove unused methods
* test: fix
* Passing test suite
* Refactor
* fix: Flow UI errors
* test: Add collections.update tests
* lint
* test: moar tests
* fix: Missing scopes, more missing tests
* fix: Handle collection privacy change over socket
* fix: More membership scopes
* fix: view endpoint permissions
* fix: respond to privacy change on socket event
* policy driven menus
* fix: share endpoint policies
* chore: Use policies to drive documents UI
* alignment
* fix: Header height
* fix: Correct behavior when collection becomes private
* fix: Header height for read-only collection
* send id's over socket instead of serialized objects
* fix: Remote policy change
* fix: reduce collection fetching
* More websocket efficiencies
* fix: Document collection pinning
* fix: Restored ability to edit drafts
fix: Removed ability to star drafts
* fix: Require write permissions to pin doc to collection
* fix: Header title overlaying document actions at small screen sizes
* fix: Jank on load caused by previous commit
* fix: Double collection fetch post-publish
* fix: Hide publish button if draft is in no longer accessible collection
* fix: Always allow deleting drafts
fix: Improved handling of deleted documents
* feat: Show collections in drafts view
feat: Show more obvious 'draft' badge on documents
* fix: incorrect policies after publish to private collection
* fix: Duplicating a draft publishes it
2019-10-05 18:42:03 -07:00
Tom Moor
4164fc178c
fix: First auto-save unfocuses document ( #1046 )
...
* fix: Autosave unfocuses document
* Revert unneeded change
* test: le fix
* fix: Handle offline state
fix: Untitled documents appear with empty titles
* fix: Draft bubble roundness (yes, it doesnt belong here but see it, fix it)
2019-09-22 17:09:11 -07:00
Tom Moor
140f009b4d
fix: Improve accessibility of buttons / tab indexes with tooltips
2019-08-29 00:06:21 -07:00
Tom Moor
347015cf86
feat: improve physicality of draft bubble (it's the little details)
2019-08-24 17:43:23 -07:00
Tom Moor
929722e1c1
fix: double load on mount. closes #1015
2019-08-20 22:13:36 -07:00
Tom Moor
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
Tom Moor
c18e4cd43e
feat: separate draft count and icon in sidebar
2019-08-05 23:17:41 -07:00
Tom Moor
a515631e21
feat: document menu available in sidebar ( #986 )
...
* feat: document menu available in sidebar
* fix: more accessible blue
* feat: accessible blue
feat: clearer new doc button
closes #983
* lint
2019-07-13 10:15:38 -07:00
Tom Moor
8f276731ed
Fixes: Socket reconnecting when changing theme
2019-04-20 15:19:35 -07:00
Tom Moor
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
Tom Moor
59c82f1f06
Dark Mode ( #912 )
...
closes #704
2019-03-12 21:35:35 -07:00
Tom Moor
fc7c485ba9
Add 'n' shortcut for new doc
...
Fixed cmd+enter shortcut to publish doc
Fixed keyboard shortcut display on non-mac
Fixed heading alignment
Fixed documents smaller than page should not scroll
2019-03-09 20:00:45 -08:00
Tom Moor
5525730272
Refactor history sidebar, reduce thrashing on doc render
2019-01-19 17:28:32 -08:00
Tom Moor
babcf4a3f3
More withRouter removal
2019-01-19 15:25:46 -08:00
Tom Moor
77a8f54973
Even less history passing, fix global styles warning in dev
2019-01-19 00:44:16 -08:00
Tom Moor
13501b6d76
Moving redirects to declarative method
2019-01-19 00:23:39 -08:00
Tom Moor
e6e89dc243
Added: Recently published view to collection
...
Added: Infinite scroll to collection
2019-01-07 23:14:43 -08:00
Tom Moor
a68ad856a3
Move draft bubble inline with menu icons
2019-01-06 16:25:05 -08:00
Tom Moor
b9765fb59e
Improved sidebar selected styling, simplified logic and css
2019-01-06 16:12:07 -08:00
Tom Moor
f80e4ab04c
Improved button styling
...
Added toast when collection permissions are saved
Removed usage of setState (old habits die hard)
2019-01-05 18:23:57 -08:00
Tom Moor
8c02b0028c
Collection Permissions ( #829 )
...
see https://github.com/outline/outline/issues/668
2019-01-05 13:37:33 -08:00
Tom Moor
8cbcb77486
Base model refactor ( #810 )
...
* Big upgrades
* WIP: Stash
* Stash, 30 flow errors left
* Downgrade mobx
* WIP
* When I understand the difference between class and instance methods
* 💚
* Fixes: File import
Model saving edge cases
pinning and starring docs
Collection editing
Upgrade mobx devtools
* Notification settings saving works
* Disabled settings
* Document mailer
* Working notifications
* Colletion created notification
Ensure not notified for own actions
* Tidy up
* Document updated event only for document creation
Add indexes
Notification setting on user creation
* Commentary
* Fixed: Notification setting on signup
* Fix document move / duplicate stale data
Add BaseModel.refresh method
* Fixes: Title in sidebar not updated after editing document
* 💚
* Improve / restore error handling
Better handle offline errors
* 👕
2018-12-04 22:24:30 -08:00
Tom Moor
cc9f32cdc9
Team switcher
2018-11-11 16:24:05 -08:00
Tom Moor
8d569fd46d
Upgrade dependencies
2018-11-06 21:58:32 -08:00
Tom Moor
2f681b1ce8
WIP: Dashboard tabs
2018-08-09 23:14:51 -07:00
Tom Moor
a75140b08c
Fixes various overflow issues, #724
2018-07-24 21:13:54 -07:00
Tom Moor
55ddd3137d
Added bubble to side of drafts in sidebar with count of pending drafts
...
Based on feedback that its not clear on initial use
2018-06-23 15:27:16 -07:00
Tom Moor
87c1d610d1
Add missing alt, add missing lang property
2018-06-16 14:00:24 -07:00
Tom Moor
434129a434
ThemeProvider ( #677 )
...
closes #655
2018-06-09 19:10:30 -07:00
Tom Moor
97c2d8dffc
Closes #667 - React warning in development
2018-06-04 21:13:42 -07:00
Tom Moor
b40b77b228
Merge branch 'master' into share-links
2018-05-22 21:27:45 -07:00
Tom Moor
05339441e7
Fixes: Minor layout issue in settings sidebar header
2018-05-20 20:21:39 -07:00
Tom Moor
dded458582
Setup for unauthenticated doc viewing
2018-05-12 21:01:17 -07:00
Tom Moor
016bb01948
Tweak header block spacing
2018-05-12 11:09:59 -07:00
Tom Moor
ba0a7b7f4a
Update docs
...
Remove extra API request after document.update
Cleanup
2018-05-07 22:08:47 -07:00
Tom Moor
a0f21393ee
Merge pull request #643 from outline/issue-627
...
Clarify account dropdown
2018-05-06 17:06:16 -07:00
Tom Moor
3f5a9fdb3a
Add icon to clarify menu functionality
2018-05-06 14:01:28 -07:00
Tom Moor
c3d7f0785c
Restore stickyness of …
2018-05-06 00:06:36 -07:00
Tom Moor
b37241229c
Remove unworkable menu
2018-05-05 23:49:03 -07:00
Tom Moor
79c9582020
Adding new doc menu to sidebar items
2018-05-05 22:45:10 -07:00
Tom Moor
518015f55b
Upgrade to Flow 0.71
2018-05-05 16:16:08 -07:00
Tom Moor
41a96e4331
Remove Icons
2018-05-02 21:51:39 -07:00
Tom Moor
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
Tom Moor
85a27593e8
Fix sidebar spacing, this needs a crazy refactor soon
2018-01-29 23:09:53 -08:00