Tom Moor
206160582e
chore: Tweak ordering of unpublish menu item
2020-09-02 20:19:36 -07:00
Tom Moor
82433e02a0
feat: Add custom error state for chunk loading failed
2020-08-31 21:09:23 -07:00
Tom Moor
637a9b5cf9
refactor: Remove unused event handlers
2020-08-31 20:44:19 -07:00
Tom Moor
4edf90a184
fix: Development warning, missing key on event list items
2020-08-31 20:29:55 -07:00
Tom Moor
31522b0d6f
fix: Local shares state not cleared when document is deleted
2020-08-31 20:28:41 -07:00
Tom Moor
759d4a5ac2
fix: Handle error revoking share link on frontend
2020-08-31 20:24:05 -07:00
Tom Moor
3c7dc93982
Merge branch 'develop' of github.com:outline/outline into develop
2020-08-31 20:06:44 -07:00
Guilherme DIniz
0aa338cccc
feat: Allow unpublishing documents ( #1467 )
...
* Allow unpublishing documents
* add block unpublish files that has children
* add api tests to new route
2020-08-31 20:03:05 -07:00
Tom Moor
de8ac4acf5
fix: Configure mobx-react-lite observer batching
...
Removes development warning
2020-08-31 18:42:12 -07:00
Tom Moor
cf522cc85f
fix: Regression with TOC not showing when navigating directly to document ( #1500 )
...
fix: Editing document too wide when TOC visible in read only
2020-08-31 18:31:13 -07:00
Tom Moor
03b6dd62a8
fix: Missing click action to change permissions on a collection
...
fix: Modals no longer stacking correctly since upgrading react-portal
2020-08-25 21:00:50 -07:00
Tom Moor
7f0c608dbb
Merge branch 'guilherme-diniz-feature/document-history-header' into develop
2020-08-25 20:04:02 -07:00
Tom Moor
c52fbb944e
Styling tidy up
2020-08-25 20:03:52 -07:00
Tom Moor
e22e952606
Merge branch 'feature/document-history-header' of git://github.com/guilherme-diniz/outline into guilherme-diniz-feature/document-history-header
2020-08-25 19:44:56 -07:00
Guilherme Diniz
197cdff6c3
fix layout issues
2020-08-25 17:22:13 -03:00
Tom Moor
69611638b9
fix: Redirect to parent document when deleting a child document if possible ( #1489 )
2020-08-25 08:45:04 -07:00
Tom Moor
e117d5f103
fix: Unable to view all possible locations when moving document ( #1490 )
...
* fix: Remove limit of displayed results on Move dialog
* fix: Filter templates from results
* Show final document location on hover/active, reduces visual noise
2020-08-25 08:44:46 -07:00
Tom Moor
03db975217
Merge branch 'feature/document-history-header' of git://github.com/guilherme-diniz/outline into guilherme-diniz-feature/document-history-header
2020-08-24 23:46:16 -07:00
Tom Moor
70838918c3
fix: Collections not collapsing
2020-08-23 12:51:35 -07:00
Tom Moor
ec38f5d79c
refactor: Remove old react lifecycle methods ( #1480 )
...
* refactor: Remove deprecated APIs
* bump mobx-react for hooks support
* inject -> useStores
https://mobx-react.js.org/recipes-migration\#hooks-to-the-rescue
* chore: React rules of hooks lint
2020-08-23 11:51:56 -07:00
Guilherme Diniz
05f48f054b
feat: Add Header to Document History Sidebar
2020-08-21 20:58:57 -03:00
Tom Moor
ec55299c8b
fix: Improve websocket reliability ( #1470 )
...
* check connection on page visibility change
* fix: SocketPresence account for socket changing
2020-08-20 20:37:54 -07:00
Tom Moor
6dd6768f07
feat: Allow moving templates between collections ( #1454 )
...
- Allow template move in document policy
- fix: Ensure that document is not added to collection structure in documentMover command
- fix: Moving a template should now show nested documents as options
- fix: Hitting 'm' should not allow moving a draft
- fix: Styling of seperators on move screen
2020-08-20 19:46:29 -07:00
Tom Moor
d885252fb0
fix: Mobile style fixes and improvements ( #1459 )
...
* fixes #1457 – check for matchMedia function before using it
* fixes: Depth issues
closes #1458
* fixes: Long breadcrumbs cause horizontal overflow
* fix: Improve tabs and overflow on mobile
2020-08-17 00:08:22 -07:00
Tom Moor
df9b0bcf91
fix: Websocket reconnect when navigating from settings -> home
2020-08-14 17:47:12 -07:00
Tom Moor
31910f1628
Remove auto reconnect, increase reconnectionDelayMax
2020-08-14 17:25:55 -07:00
Tom Moor
14cb3a36c1
perf: Reduce initial bundle size / async bundle loading ( #1456 )
...
* feat: Move to React.lazy
* perf: Remove duplicate babel/runtime
* fix: Run yarn-deduplicate
* Further attempts to remove rich-markdown-editor from initial chunk
* perf: Lazy loading of authenticated routes
* perf: Move color picker to async loading
fix: Display placeholder when loading rich editor
* fix: Cache bust on auto reload
2020-08-14 17:23:58 -07:00
Tom Moor
d3350c20b6
perf: Attempt websocket connection before polling
2020-08-14 13:37:11 -07:00
Tom Moor
174acfac32
fix: Unnecessary shares.info request when loading public share ( #1453 )
...
closes #1450
2020-08-13 16:48:03 -07:00
Tom Moor
dbe8a10702
fix: Login to X should be centered when team name wraps to newline
2020-08-12 14:05:32 -07:00
Tom Moor
0f41a04e49
refactor: Remove centralized Modal management ( #1444 )
...
* refactor: Finally remove centralized Modals component
* chore: Cleanup related unused methods in UiStore
2020-08-12 10:49:15 -07:00
Tom Moor
d055021ad4
chore: Remove all usage of collection.type ( #1445 )
...
* chore: Remove all usage of collection.type
* migration: Remove type column
2020-08-12 10:49:02 -07:00
Tom Moor
810dc5a061
feat: Clicking the last updated time should open document history sidebar
...
Ref #1285
2020-08-11 21:01:03 -07:00
ktfth
7abe375b3e
refactor: Removed unusued index on the onSearchLink ( #1420 )
...
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2020-08-11 19:59:11 -07:00
Tom Moor
63371d8f5b
flow
2020-08-11 18:59:57 -07:00
Tom Moor
6e61df0729
fix: Improved loading jank fix, new DelayedMount component
2020-08-10 21:30:12 -07:00
Tom Moor
5ddc4000d0
fixes: Strange scroll behavior on long collection descriptions
...
closes #1391
2020-08-10 16:23:55 -07:00
Tom Moor
48b61559cc
fixes: JS error when attempting to show toast messages from collection description editor
2020-08-10 16:04:23 -07:00
Tom Moor
0cac5cfe51
fix: Prevent reload loop with error on editor load
2020-08-10 15:52:45 -07:00
Tom Moor
e9ce80a3aa
fixes: Case where websocket will not reconnect
...
closes #1384
2020-08-09 23:25:27 -07:00
Tom Moor
07d488c826
fix: GitHub Gist embed reliability, closes #1400
2020-08-09 21:53:57 -07:00
Tom Moor
e2bd03494d
chore: Update syntax, improve more typing ( #1439 )
...
* chore: <React.Fragment> to <>
* flow types
2020-08-09 09:48:04 -07:00
Tom Moor
449dc55aaa
chore: Upgrade Babel, Jest, Eslint ( #1437 )
...
* chore: Upgrade Prettier 1.8 -> 2.0
* chore: Upgrade Babel 6 -> 7
* chore: Upgrade eslint plugins
* chore: Add eslint import/order rules
* chore: Update flow-typed deps
2020-08-08 22:53:59 -07:00
Tom Moor
e312b264a6
chore: Upgrade Prettier 1.8 -> 2.0 ( #1436 )
2020-08-08 18:53:11 -07:00
Tom Moor
68dcb4de5f
fix: Catch expected error when shares.info returns 404
2020-08-08 17:55:21 -07:00
Tom Moor
d2b9a5c03f
fix: Various React errors in console
2020-08-08 17:51:40 -07:00
Tom Moor
1b023fb6d7
fix: Remove flash of loading state for document lists
2020-08-08 17:39:30 -07:00
Tom Moor
065d04ec98
chore: Missing flow types
2020-08-08 15:58:34 -07:00
Tom Moor
869fc086d6
feat: Templates ( #1399 )
...
* Migrations
* New from template
* fix: Don't allow public share of template
* chore: Template badges
* fix: Collection active
* feat: New doc button on template list item
* feat: New template menu
* fix: Sorting
* feat: Templates onboarding notice
* fix: New doc button showing on archived/deleted templates
2020-08-08 15:18:37 -07:00
Tom Moor
bc4806ac30
feat: Allow checkboxes to be toggled without going into 'edit' mode ( #1349 )
2020-07-28 20:43:34 -07:00