Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: migrate to vue 3 #25

Open
wants to merge 39 commits into
base: next
Choose a base branch
from
Open

chore: migrate to vue 3 #25

wants to merge 39 commits into from

Conversation

raimund-schluessler
Copy link
Collaborator

@raimund-schluessler raimund-schluessler commented Oct 6, 2023

This migrates the package to vue 3. It basically pulls in the beta branch from https://github.com/sagalbot/vue-select/tree/beta onto our adjustments. However, I did that manually and fixed some issues along the way.
The component and the tests work fine. I did not migrate the docs yet and they don't build, if we intend to migrate them at all, I would like to do this in a follow-up PR, since this one is already huge.

I also migrated from yarn to npm.

I tested the library in the nextcloud/vue docs vue 3 branch, and it works just fine as far as I can tell.

Changes done:

  • Migrated the component to vue 3
  • Migrated and adjusted the tests
  • Switched from yarn to npm
  • Upgraded all dependencies to latest versions
  • Use @nextcloud/eslint-config
  • Fix eslint and build action

@raimund-schluessler raimund-schluessler changed the title Vue3 chore: migrate to vue 3 Oct 6, 2023
@raimund-schluessler raimund-schluessler linked an issue Oct 6, 2023 that may be closed by this pull request
@raimund-schluessler raimund-schluessler added this to the 4.0.0 milestone Oct 6, 2023
@raimund-schluessler raimund-schluessler marked this pull request as ready for review October 8, 2023 20:02
@raimund-schluessler
Copy link
Collaborator Author

raimund-schluessler commented Oct 8, 2023

@Pytal @skjnldsv @susnux @ShGKme Since we kind of actively develop the library now, I was wondering whether nextcloud-deps is still the right place to do so, or whether the component should rather move to nextcloud-libraries?

@juliusknorr
Copy link

I did that manually and fixed some issues along the way.
Since we kind of actively develop the library now

Any chance to just upstream those changes and rather use the upstream beta then?

@raimund-schluessler
Copy link
Collaborator Author

I did that manually and fixed some issues along the way.

Since we kind of actively develop the library now

Any chance to just upstream those changes and rather use the upstream beta then?

I don't think so. We couldn't even upstream our changes to the master branch and upstream hasn't seen any activity in nearly 10 months.

@susnux
Copy link

susnux commented Oct 9, 2023

I don't think so. We couldn't even upstream our changes to the master branch and upstream hasn't seen any activity in nearly 10 months.

Yes upstream seems to be orphaned, currently we are the most active fork.

Pytal and others added 18 commits November 2, 2023 16:01
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
feat(Select): Allow to customize `aria-label` for l10n
Signed-off-by: Christopher Ng <chrng8@gmail.com>
- Move accessibility attributes from wrapper to input
- Move uid from dropdown toggle element id to wrapper
- Wrap open indicator icon with button element
- Handle toggle dropdown on selected options to not conflict with open indicator button
- Label listbox element

Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: Christopher Ng <chrng8@gmail.com>
enh(a11y): Improve accessibility with correct attributes
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Pytal and others added 16 commits January 8, 2024 18:57
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: Christopher Ng <chrng8@gmail.com>
- Run `npm pkg fix`

Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.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.

Vue 3 support
5 participants