Skip to content

Chore/upgrade vue 3#1933

Draft
silverkszlo wants to merge 20 commits into
mainfrom
chore/upgrade-vue-3
Draft

Chore/upgrade vue 3#1933
silverkszlo wants to merge 20 commits into
mainfrom
chore/upgrade-vue-3

Conversation

@silverkszlo

@silverkszlo silverkszlo commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

🚧 work in progress 🚧

Upgrade to Vue 3

  • upgrade dependencies
  • replace vuex with pinia
  • upgrade to eslint config file
  • tbc
    ...

🤖 AI (if applicable)

  • The content of this PR was partly or fully generated using AI

@silverkszlo
silverkszlo requested a review from mejo- July 13, 2026 14:24
Comment thread src/store/app.js
@silverkszlo
silverkszlo force-pushed the chore/upgrade-vue-3 branch 2 times, most recently from 715dbd4 to 8d82acf Compare July 15, 2026 11:46
Comment thread eslint.config.js Outdated
Signed-off-by: silver <s.szmajduch@posteo.de>
Signed-off-by: silver <s.szmajduch@posteo.de>
Signed-off-by: silver <s.szmajduch@posteo.de>
Signed-off-by: silver <s.szmajduch@posteo.de>
Signed-off-by: silver <s.szmajduch@posteo.de>
Signed-off-by: silver <s.szmajduch@posteo.de>
Signed-off-by: silver <s.szmajduch@posteo.de>

Assisted-by: ClaudeCode:claude-sonnet-5
Signed-off-by: silver <s.szmajduch@posteo.de>
Signed-off-by: silver <s.szmajduch@posteo.de>
Signed-off-by: silver <s.szmajduch@posteo.de>

Assisted-by: ClaudeCode:claude-sonnet-5
Signed-off-by: silver <s.szmajduch@posteo.de>

Assisted-by: ClaudeCode:claude-sonnet-5
Signed-off-by: silver <s.szmajduch@posteo.de>

Assisted-by: ClaudeCode:claude-sonnet-5
Signed-off-by: silver <s.szmajduch@posteo.de>

Assisted-by: ClaudeCode:claude-sonnet-5
Signed-off-by: silver <s.szmajduch@posteo.de>

Assisted-by: ClaudeCode:claude-sonnet-5
Signed-off-by: silver <s.szmajduch@posteo.de>

Assisted-by: ClaudeCode:claude-sonnet-5
Signed-off-by: silver <s.szmajduch@posteo.de>

Assisted-by: ClaudeCode:claude-sonnet-5
Signed-off-by: silver <s.szmajduch@posteo.de>
…odelValue

Signed-off-by: silver <s.szmajduch@posteo.de>

Assisted-by: ClaudeCode:claude-sonnet-5
Signed-off-by: silver <s.szmajduch@posteo.de>

Assisted-by: ClaudeCode:claude-sonnet-5
@silverkszlo
silverkszlo force-pushed the chore/upgrade-vue-3 branch from 6bae2db to 7a76ef3 Compare July 16, 2026 15:11

@enjeck enjeck left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

failing playwright tests are relevant. I'm nervous about upgrading since Notes doesn't have a comprehensive test suite that could help us catch any issues. Could we have another PR that adds some more tests that cover more key workflows first, before we do the migration?

@silverkszlo

Copy link
Copy Markdown
Contributor Author

failing playwright tests are relevant. I'm nervous about upgrading since Notes doesn't have a comprehensive test suite that could help us catch any issues. Could we have another PR that adds some more tests that cover more key workflows first, before we do the migration?

Hey @enjeck , yes I can do that. I would also do a separate PR for the Pinia migration, like @mejo- and @max-nextcloud suggested.

@mejo- mejo- left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, code changes look very promising so far ❤️ Thanks a lot for chunking the changes in easily reviewable commits, that makes it very pleasant to review 😊

</template>
<template v-if="category.name !== ''" #actions>
<NcActionButton
:closeAfterClick="true"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe that's for later, but :property="true" can get replaced with property on Vue components. So in this case this could become simply closeAfterClick (without the colon).


import { generateFilePath } from '@nextcloud/router'

import { Fragment } from 'vue-frag'

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess vue-frag can be removed from dependencies now?

/>
</div>
<span class="action-buttons">
<NcActions :open.sync="actionsOpen" container=".action-buttons" menu-align="right">

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We got these migrations wrong both in Collectives and in Text a few times. The changes look good to me, but I recommend to test the functionalities manually where .sync and/or v-model got touched to be on the safe side.

<NcActionInput
v-else
:value="note.category"
:modelValue="note.category"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here. Code changes look good but I'd verify with a manual test.

@silverkszlo silverkszlo mentioned this pull request Jul 20, 2026
1 task
Signed-off-by: silver <s.szmajduch@posteo.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants