Skip to content

[next] refactor!: Drop clickOutsideOptions mixin and refactor using components#6429

Merged
susnux merged 2 commits into
nextfrom
refactor/next
Feb 28, 2025
Merged

[next] refactor!: Drop clickOutsideOptions mixin and refactor using components#6429
susnux merged 2 commits into
nextfrom
refactor/next

Conversation

@susnux

@susnux susnux commented Jan 23, 2025

Copy link
Copy Markdown
Contributor

☑️ Resolves

  • Drop clickOutsideOptions mixin and refactor using components.
    • Refactored to use <script setup> with proper Typescript types and slot definitions.
    • Following components which used the mixin were refactored to not need it anymore:
      • NcHeaderMenu
      • NcAppNavigationSettings

🏁 Checklist

  • ⛑️ Tests are included or are not applicable
  • 📘 Component documentation has been extended, updated or is not applicable
  • 3️⃣ Backport to next requested with a Vue 3 upgrade

@susnux susnux added 3. to review Waiting for reviews 💥 breaking PR that requires a new major version vue 3 refactor ♻️ Pull request that is neither a fix nor a feature labels Jan 23, 2025
@susnux susnux added this to the 9.0.0-alpha.7 milestone Jan 23, 2025
@ShGKme

ShGKme commented Jan 23, 2025

Copy link
Copy Markdown
Contributor
  • Refactored to use <script setup> with proper Typescript types and slot definitions.

Is it required to remove the mixin? If not, could we separate PR with mixing removing and component rewriting?

Comment thread src/components/NcHeaderMenu/NcHeaderMenu.vue Outdated
@susnux

susnux commented Jan 23, 2025

Copy link
Copy Markdown
Contributor Author

Is it required to remove the mixin? If not, could we separate PR with mixing removing and component rewriting?

No but the refactor is needed before removal. So after that it is not needed anymore, so we can do it directly.

@st3iny st3iny 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.

Looks good

@susnux susnux mentioned this pull request Feb 16, 2025
13 tasks
Comment thread CHANGELOG.md Outdated
…ents

Following components which used the mixin were refactored to not need it
anymore. Also refactored to use `<script setup>` with proper Typescript
types and slot definitions.

- `NcHeaderMenu`
- `NcAppNavigationSettings`

Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Grigorii K. Shartsev <me@shgk.me>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@susnux susnux merged commit e6b95e7 into next Feb 28, 2025
@susnux susnux deleted the refactor/next branch February 28, 2025 13:12
@ShGKme ShGKme changed the title refactor!: Drop clickOutsideOptions mixin and refactor using components [next] refactor!: Drop clickOutsideOptions mixin and refactor using components Mar 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews 💥 breaking PR that requires a new major version refactor ♻️ Pull request that is neither a fix nor a feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants