Skip to content

Commit

Permalink
web-app-external: view mode (#9879)
Browse files Browse the repository at this point in the history
* web-app-external: open files in shares and public links in view mode by default

* Simplify logic by not handling everything in a watcher

* Show error popup when trying to switch to edit mode for read-only files

* Simplify logic some more

* Remove obsolete unref

* Remove console output

* Implement feature flag

* run linter

* test: fix unit tests

* add config to dev docs

* fixup! add config to dev docs

---------

Co-authored-by: Jannik Stehle <[email protected]>
  • Loading branch information
dschmidt and JammingBen committed Nov 10, 2023
1 parent 8af21c7 commit a578d93
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ Depending on the backend you are using, there are sample config files provided i
- `options.upload.xhr.timeout` Specifies the timeout for XHR uploads in milliseconds.
- `options.editor.autosaveEnabled` Specifies if the autosave for the editor apps is enabled.
- `options.editor.autosaveInterval` Specifies the time interval for the autosave of editor apps in seconds.
- `options.editor.openAsPreview` Specifies if non-personal files i.e. files in shares, spaces or public links are being opened in read only mode so the user needs to manually switch to edit mode. Can be set to `true`, `false` or an array of web app/editor names.
- `options.contextHelpersReadMore` Specifies whether the "Read more" link should be displayed or not.
- `options.openLinksWithDefaultApp` Specifies whether single file link shares should be opened with default app or not.
- `options.tokenStorageLocal` Specifies whether the access token will be stored in the local storage when set to `true` or in the session storage when set to `false`. If stored in the local storage, login state will be persisted across multiple browser tabs, means no additional logins are required. Defaults to `true`.
Expand Down

0 comments on commit a578d93

Please sign in to comment.