Commit Graph
323 Commits
Author SHA1 Message Date
Tom Moor af2aefa8f5 simplify feature switch 2021-09-10 21:02:44 -07:00
Tom Moor 3dad744179 Merge branch 'main' into feat/issue-2230 2021-08-29 13:45:26 -07:00
Saumya Pandey f389ac6414 fix: Improvements in share feat (#2502)
* Make request only when popover is visible

* Update policies required for shares.create shares.update

* Create withCollection scope

* Remove team share check from shares.create

* Update tests
2021-08-29 10:44:09 +05:30
Tom Moor 0158ab7ae8 refactor for new services structure 2021-08-28 11:43:38 -07:00
Tom Moor 19cad30ac8 Merge without enabling multiplayer 2021-08-27 22:24:46 -07:00
Wesley a50471959b feat: Always show share button (#2469)
This is to enable the share page also for internal team members.

closes #2444
2021-08-22 23:20:29 -07:00
Tom Moor 32792caca8 Add loading placeholder when exceeding 500ms 2021-08-20 17:36:11 -07:00
Tom Moor 7e1c5b7640 Move connection status to within doc area, otherwise you cant see it when sidebar is collapsed 2021-08-20 15:56:39 -07:00
Tom Moor 14974facc9 Handle permission denied when loading doc 2021-08-20 15:38:47 -07:00
Tom Moor 716ff572be Use onAuthenticate hook 2021-08-19 14:53:44 -07:00
Tom Moor 80ff682ec6 fix: Use static docs for archived,trash,revisions 2021-08-13 18:14:55 -07:00
Tom Moor 4973298f24 fix: JS errors in shared document 2021-08-13 17:43:15 -07:00
Tom Moor 8bc77e54d3 Local document storage 2021-08-13 15:25:43 -07:00
Tom Moor ee2e776175 Add display when websocket connection is lost 2021-08-12 19:50:10 -07:00
Tom Moor aa90d388ef fix: Locally update text value and tasks summary with multiplayer editor 2021-08-11 17:10:13 -07:00
Tom Moor c1f832b0a2 Add team.features validation 2021-08-11 16:19:33 -07:00
Tom Moor 14596a11e8 fix: Template injection working with multiplayer and drafts 2021-08-11 15:47:17 -07:00
Tom Moor 06a9a6634b refactor template injection to be multiplayer-friendly 2021-08-10 23:16:38 -07:00
Tom Moor 6f684037e2 feat: Hook up awareness to presence store 2021-08-10 20:48:38 -07:00
Tom Moor c8fb988d6d Create features object to allow enabling future features 2021-08-10 17:40:16 -07:00
Tom Moor 135dc356af wip 2021-08-10 16:51:16 -07:00
Tom Moor 859b04d6a3 fix: Double network connection 2021-08-10 11:43:41 -07:00
Tom Moor d0f4d8282c wip 2021-08-08 18:49:29 -07:00
Tom Moor 79b92b92aa iteration 2021-08-07 18:11:09 -07:00
Tom Moor ce65f27a47 wip: Pull work across from previous branch 2021-08-06 16:39:17 -07:00
Saumya PandeyandTom Moor a81fbd8608 fix: Show tasks completion on document list items (#2342)
Co-authored-by: Tom Moor <tom.moor@gmail.com>
2021-07-27 11:31:27 +05:30
Tom Moor 84ad7c482c fix: Various editor header and metadata fixes (#2361)
* fix: Publish button disabled on drafts in read-only mode
fix: Template selector appears on edited documents

* fix: Save button does not immediately come available when selecting a template

* fix: Template menu item alignment
closes #2204

* fixes: Use policy for display of star in document title
closes #2354

* fix: Modified time is sometimes bold when last edited user is current user
closes #2355

* fix: Allow starring of drafts
2021-07-22 15:17:18 -07:00
Tom Moor 6e07ee3f3e chore: Move animations and globals from shared directory (#2344) 2021-07-21 10:34:55 -07:00
Saumya PandeyandTom Moor fdb85ec195 fix: Separate toasts storage to own MobX store (#2339)
Co-authored-by: Tom Moor <tom.moor@gmail.com>
2021-07-20 14:36:10 +05:30
Tom Moor f64ab37d3c fix: Interpolation on archive/delete translationsg 2021-07-19 17:26:48 -04:00
falleng0dandTom Moor 2e955353ae feat: translations (#2275)
Co-authored-by: Tom Moor <tom.moor@gmail.com>
2021-07-19 11:12:53 -07:00
Tom Moor 31714efb0b feat: useBoolean hook (#2314)
* feat: Add useBoolean hook and example usage

* More example usage

* chore: More useBoolean conversion
2021-07-15 12:27:03 -07:00
Tom Moor 30cf244610 chore: Loading placeholders (#2322)
* Improve visual of loading mask

* Normalize placeholder naming

* Remove unused file
2021-07-15 12:26:34 -07:00
Saumya PandeyandTom Moor 7d5fbeb7b0 fix: Add access to document TOC on mobile (#2279)
* Add TOC button for mobile

* Undo NewDocumentMenu changes

* Place the toc button in the correct position.

* Pass menu props to menuitem

* Update app/menus/TableOfContentsMenu.js

Co-authored-by: Tom Moor <tom.moor@gmail.com>

* Update app/menus/TableOfContentsMenu.js

Co-authored-by: Tom Moor <tom.moor@gmail.com>

* Use the existing prop type

* Write menu inside actions prop

* Prevent blank webpage behaviour for toc

* Use href instead of level to determine target

* Update app/scenes/Document/components/Header.js

Co-authored-by: Tom Moor <tom.moor@gmail.com>

* Add heading to menu items

* Use existing Heading component

Co-authored-by: Tom Moor <tom.moor@gmail.com>
2021-07-09 04:50:27 -07:00
Tom Moor 056f89fcfd fix: Allow TOC to scroll when larger than browser height (#2296) 2021-07-09 04:07:28 -07:00
Tom Moor 181a20a268 fix: More context menu fixes 2021-07-05 16:35:46 -04:00
Tom Moor a1d5ac0907 RTL document support (#2263)
* Basic RTL support in documents

* fix: DocumentListItem and ReferenceListItem for RTL content
2021-07-03 07:00:10 -07:00
Tom Moor 8331026cb3 fix: No search results from link editor search due to error parsing date (date-fns upgrade) 2021-06-16 07:54:56 -07:00
Tom Moor 48f54b5aa2 fix: Unauthorized request to views.list from shared documents 2021-06-13 18:24:02 -07:00
Tom Moor 9f05c9bd43 chore: Upgrade React to v17 (#2045)
* chore: Upgrade React v17

* chore: Upgrade additional deps to reduce warnings

* fix: Restore react-table dep

* Bump react-avatar-editor, mobx-react

* Remove unmaintained @rehooks/window-scroll-position dep

* Bump react-waypoint dep for React 17 support

* fix: Syntax error in autotrack chunk name comment
2021-06-13 15:23:53 -07:00
DaveandTom Moor a8e2e349e9 fix: change metaDisplay key to Alt for "Table of contents" (#2187)
* change `metaDisplay` key to Alt for "Table of contents"

Co-authored-by: Tom Moor <tom.moor@gmail.com>
2021-06-12 15:37:35 -07:00
Saumya PandeyandTom Moor 6beb6febc4 fix: Use friendly urls for collections (#2162)
Co-authored-by: Tom Moor <tom.moor@gmail.com>
2021-06-09 17:48:48 -07:00
Saumya PandeyandTom Moor a6d4d4ea36 fix: Add Portugese, Brazil to language options (#2164)
* Add Portugese, Brazil to language options

* Upgrade date-fns package

Co-authored-by: Tom Moor <tom.moor@gmail.com>
2021-06-09 17:42:14 -07:00
Tom Moor e625e77a56 fix: Data loading loop on old browsers 2021-06-02 12:45:07 -07:00
Tom Moor 7dc11e5b86 fix: Local cache for shared link share trees to reduce render flashing 2021-05-22 20:03:50 -07:00
Tom Moor 44920a25f4 feat: Nested document sharing (#2075)
* migration

* frontend routing, api permissioning

* feat: apiVersion=2

* feat: re-writing document links to point to share

* poc nested documents on share links

* fix: nested shareId permissions

* ui and language tweaks, comments

* breadcrumbs

* Add icons to reference list items

* refactor: Breadcrumb component

* tweaks

* Add shared parent note
2021-05-22 19:34:05 -07:00
Tom Moor d01e3f7c72 fix: Print styles in dark mode when OS is light mode
closes #2124
2021-05-12 20:00:10 -07:00
Tom Moor 896ee5c20d feat: Improved viewers popover (#2106)
* refactoring popover

* feat: DocumentViews popover

* i18n

* fix: tab focus warnings

* test: Add tests around users.info changes

* snapshots
2021-05-05 19:35:23 -07:00
Tom Moor a261abcdef Merge branch 'main' of github.com:outline/outline 2021-04-23 18:25:43 -07:00
Tom Moor f64d0ce660 feat: Share flyover (#2065)
* feat: Implement share as flyover instead of modal

* refactor

* i18n
2021-04-23 17:31:27 -07:00