Skip to content

Conversation

@ShGKme
Copy link
Contributor

@ShGKme ShGKme commented May 4, 2023

☑️ Resolves

Add ESLint rules for deprecated things from Vue 2.6 and using Vue 3 things available in Vue 2.7

Fix all errors.

🖼️ Screenshots

No changes

@ShGKme ShGKme added this to the 💜 Next Major (28) milestone May 4, 2023
@ShGKme ShGKme self-assigned this May 4, 2023
@ShGKme ShGKme mentioned this pull request May 4, 2023
47 tasks
:fill-color="'#FFCC00'" />
<template #icon>
<Star v-if="item.isFavorite" :size="20" />
<Star v-else :size="20" :fill-color="'#FFCC00'" />
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
<Star v-else :size="20" :fill-color="'#FFCC00'" />
<Star v-else :size="20" fill-color="#FFCC00" />

😊

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I wanted to have this commit plain, having only one lint rule fix, related to the migration.

For this thing we can add a new rule with the auto fix.

@ShGKme
Copy link
Contributor Author

ShGKme commented May 4, 2023

Actually, it is ready to merge. Should we do it before the release?

@ShGKme ShGKme force-pushed the techdebt/add-eslint-rules-for-vue3-preparation branch from 681d585 to 12242f9 Compare May 5, 2023 08:00
@ShGKme
Copy link
Contributor Author

ShGKme commented May 5, 2023

Rebased onto master, added a fix for tests

@ShGKme ShGKme marked this pull request as ready for review May 5, 2023 09:54
Copy link
Contributor

@Antreesy Antreesy left a comment

Choose a reason for hiding this comment

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

Seems good by me!

Comment on lines -24 to -25
<NcButton slot="trigger"
v-tooltip.bottom="t('spreed', 'Create a new group conversation')"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Note: slot="trigger" is just removed here. This button is not passed to any of the component's slots.

@nickvergessen nickvergessen merged commit 3bf6915 into master May 5, 2023
@nickvergessen nickvergessen deleted the techdebt/add-eslint-rules-for-vue3-preparation branch May 5, 2023 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove deprecated slot syntax in Vue components

4 participants