-
-
Notifications
You must be signed in to change notification settings - Fork 134
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support direct editing for notes (#1686)
* feat(capabilities): Fetch and store direct editing capability using existing capabilities code Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com> * feat: Implement direct editing repo Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com> * wip: Edit note with webview Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com> * wip: allow switching between the three note opening modes in preferences Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com> * EditNoteActivity: if no setting, use plain edit, not direct edit Required by UX team Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com> * feat: Add FAB to switch to rich editing mode from plain edit/preview Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com> * feat: add fab while direct editing to switch to normal editing Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com> * Fix toolbar when switching between direct edit and normal edit Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com> * wip: error and conflict handling when switching edit modes Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com> * Only show direct editing FAB if direct editing is available Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com> * EditNoteActivity: if pref is direct edit but it's not available, launch normal edit instead Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com> * Show error if direct editing not loaded after 10 seconds Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com> * Update user agent for Notes webview Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com> * Support opening new notes with direct editing Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com> * Allow invalid ssl certs for debug builds in webview Development only! Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com> * NoteDirectEdit: prevent duplicate note creation when creating it with direct edit remote id needs to be set Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com> * Fix create with plain edit -> direct edit flow Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com> --------- Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
- Loading branch information
1 parent
83c91cc
commit 4e096b4
Showing
37 changed files
with
1,156 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.