Skip to content

chore/upgrade vue 3#8619

Draft
max-nextcloud wants to merge 62 commits into
mainfrom
chore/upgrade-vue-3
Draft

chore/upgrade vue 3#8619
max-nextcloud wants to merge 62 commits into
mainfrom
chore/upgrade-vue-3

Conversation

@max-nextcloud

Copy link
Copy Markdown
Collaborator
  • upgrade dependencies to vue3
  • replace new Vue with createApp
  • <var>.sync to v-model:<var>
  • fix imports
  • Vue.observable to reactive
  • from beforeDestroy() to beforeUnmount()
  • key attribute in v-for component

@max-nextcloud max-nextcloud moved this to 🏗️ In progress in 📝 Productivity team May 21, 2026
@max-nextcloud max-nextcloud self-assigned this May 21, 2026
@max-nextcloud max-nextcloud force-pushed the chore/upgrade-vue-3 branch 2 times, most recently from ca71bcc to b3671aa Compare June 3, 2026 13:48
Signed-off-by: Max <max@nextcloud.com>
Also replace `Vue.extend` with `createApp` when it is needed.
In SourceView it can simply be dropped
as we already render SourceView with our own vue instance.

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>
Signed-off-by: Max <max@nextcloud.com>
Signed-off-by: Max <max@nextcloud.com>
We should import them explicitely. But that is for another day.

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>
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>
Introduce `createCollaborativeEditor` and `createMarkdownContentEditor`
to superseed `createEditor` with more specific type signatures.

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>
Signed-off-by: Max <max@nextcloud.com>
Signed-off-by: Max <max@nextcloud.com>
Signed-off-by: Max <max@nextcloud.com>
One error is still missing - but that is a longer story.

Signed-off-by: Max <max@nextcloud.com>
Signed-off-by: Max <max@nextcloud.com>
These are used by consumers of the createEditor api.

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>
The 1st argument inside a fixture must use object destructuring pattern, e.g. ({ task } => {}). Instead, received "_".

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>
Signed-off-by: Max <max@nextcloud.com>
Signed-off-by: Max <max@nextcloud.com>
`add-image-node` and `delete-image-node` used to be handled by collectives.
But collectives is now listening to the event bus directly.

I could not find any other handler for these events.

Signed-off-by: Max <max@nextcloud.com>
Convert listInputRule to typescript to be able to add proper types.

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>
We only use it in Editor and can aswell use a dynamic component instead.

Signed-off-by: Max <max@nextcloud.com>
It contains information about:
* last saved
* collaborator list
* offline state

So this is the most fitting name I could come up with.

Signed-off-by: Max <max@nextcloud.com>
Signed-off-by: Max <max@nextcloud.com>
Signed-off-by: Max <max@nextcloud.com>
The Placeholder extension accesses browser specific apis on init.

Signed-off-by: Max <max@nextcloud.com>
@max-nextcloud max-nextcloud force-pushed the chore/upgrade-vue-3 branch from b3671aa to 59e04f7 Compare June 9, 2026 08:45
Also introduce `testEditor` test helper.

Signed-off-by: Max <max@nextcloud.com>
@max-nextcloud max-nextcloud force-pushed the chore/upgrade-vue-3 branch from 59e04f7 to 232f2dc Compare June 9, 2026 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🏗️ In progress

Development

Successfully merging this pull request may close these issues.

1 participant