-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor: Split Editor Wrapper into multiple components #2687
Conversation
41814bf
to
41661ec
Compare
This is just some preparation - but i think it's helpful in its own right and changing quite a lot of file structures - so maybe good to get it in already. |
@max-nextcloud Setting labels is highly appreciated ;) |
41661ec
to
0abdcbb
Compare
a3cb6f0
to
4d17d6c
Compare
/compile |
04b53b3
to
d1963d2
Compare
/compile |
</script> | ||
|
||
<style scoped lang="scss"> | ||
.text-editor__main, .editor { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We do not have a .editor
element in this component.
/rebase |
9adc0e0
to
44ad290
Compare
`Editor/Status` handles the status display in the menubar. `Editor/DocumentStatus` handles the document messages on conflict etc. Also move all files that are only used within it into the `Components/Editor` dir. Signed-off-by: Max <max@nextcloud.com>
This will contain all editor related things. For now it only has the EditorMediaHandler Signed-off-by: Max <max@nextcloud.com>
This injects the `$editor` to display the content. One reason less to have the `$editor` in the `EditorWrapper`. Signed-off-by: Max <max@nextcloud.com>
Signed-off-by: Max <max@nextcloud.com>
Signed-off-by: Max <max@nextcloud.com>
Signed-off-by: Max <max@nextcloud.com>
Signed-off-by: Max <max@nextcloud.com>
44ad290
to
4f58e4c
Compare
/compile |
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
EditorWrapper
is fairly large and hard to understand. It handles almost all editor related things - Sessions, Sync, Document, EditorLayout, Menubars etc.In order to rework the collaboration it might be helpful to split it into smaller pieces so it becomes easier to understand and handle.
Editor/Status
handles the status display in the menubar.