chore/upgrade vue 3#8619
Open
max-nextcloud wants to merge 139 commits into
Open
Conversation
59e04f7 to
232f2dc
Compare
232f2dc to
e2419c3
Compare
a32e5da to
a985bdf
Compare
c17e61b to
41d6e05
Compare
41d6e05 to
01609dc
Compare
max-nextcloud
commented
Jul 1, 2026
max-nextcloud
commented
Jul 1, 2026
2308728 to
1f4b605
Compare
enjeck
reviewed
Jul 2, 2026
Signed-off-by: Jonas <jonas@freesources.org>
Signed-off-by: Jonas <jonas@freesources.org>
Follow-up to 33c48bf which converted these components to `defineAsyncComponent()`. Signed-off-by: Jonas <jonas@freesources.org>
Follow-up to e57ffe6. Signed-off-by: Jonas <jonas@freesources.org>
Signed-off-by: Jonas <jonas@freesources.org>
Follow-up of 68ae3fd Signed-off-by: Jonas <jonas@freesources.org>
Signed-off-by: Jonas <jonas@freesources.org>
Signed-off-by: Jonas <jonas@freesources.org>
…e-demi Signed-off-by: Jonas <jonas@freesources.org>
Also refactor the filePicker builder code a bit. Signed-off-by: Jonas <jonas@freesources.org>
We use the `onLoadedHandler()` nowadays as the emitted event didn't reach the Viewer anyway due to the new ViewerView.js wrapper. Signed-off-by: Jonas <jonas@freesources.org>
Prevents attributes from Viewer component being used as HTML element attributes. Also simplify createApp ViewerComponent call. Signed-off-by: Jonas <jonas@freesources.org>
Before, we used the Vue 2 `$destroy()` function that called the Vue component teardown cycle - which called save and then close. Vue 3 removed that method. The former fix to call `close()` here was partial, as it closed the editor without saving first. So let's `save()` explicitely here as well. Signed-off-by: Jonas <jonas@freesources.org>
Signed-off-by: Jonas <jonas@freesources.org>
Signed-off-by: Jonas <jonas@freesources.org>
Signed-off-by: Jonas <jonas@freesources.org>
Signed-off-by: Jonas <jonas@freesources.org>
1f4b605 to
c9f2f6e
Compare
Avoids shared read/write ordering of the two registered listeners on NcCheckRadioSwitch. Signed-off-by: Jonas <jonas@freesources.org>
Signed-off-by: Jonas <jonas@freesources.org>
Signed-off-by: Jonas <jonas@freesources.org>
Signed-off-by: Jonas <jonas@freesources.org>
The embed's debugYjs() was dead code as it called a non-existant `debugYjsData` on the editor component. The global `window.OCA.Text.debugYjs()` registered in `src/helpers/debug.ts` already provides what we need. Signed-off-by: Jonas <jonas@freesources.org>
The serializer expects a Node and doesn't support Fragment. A bug revealed by Typescript. Signed-off-by: Jonas <jonas@freesources.org>
Signed-off-by: Jonas <jonas@freesources.org>
Also make sure save request is only triggered with dirty editor state. Signed-off-by: Jonas <jonas@freesources.org>
menuEntryRefs is stored by v-for with an index now, which already ensures the order is correct. Signed-off-by: Jonas <jonas@freesources.org>
Signed-off-by: Jonas <jonas@freesources.org>
447e8f0 to
6674ad3
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
<var>.synctov-model:<var>Todos
$onno longer exists in Vue 3. We still use it in DirectEditingDetails