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

Change tag-it to tagify and upgrade bootstrap #21

Closed
wants to merge 0 commits into from

Conversation

NathanBeddoeWebDev
Copy link

@NathanBeddoeWebDev NathanBeddoeWebDev commented Sep 12, 2023

Summary
Addresses #18

Our team wants to be able to use Geta Tags for our site, but we don't want to reintroduce Jquery. tag-it looks like it's recently deprecated in favor of tagify which is a jquery-less solution. Bootstrap has also removed jquery in version 5, thus I believe we can remove Jquery from Geta Tags.

Note
Just a heads up, I've never developed Episerver widgets or UI components before and I'm not super competent with either Dojo or AMD modules.

One part where this is apparent is where I'm loading cdn scripts directly into our define dependencies. I did originally have something like "Geta.Optimizely.Tags/1.0.0/ClientResources/vendor/tagify.min.js" which was working in development, but I don't think it was going to work when I packed it with a proper version. If you've got a better way to load vendor scripts into AMD, I'm all ears.

Utilizes https://github.com/yairEO/dragsort and https://github.com/yairEO/tagify

@NathanBeddoeWebDev
Copy link
Author

Just sorting out the allowSpaces option, tagify has some weird options around that.

@NathanBeddoeWebDev NathanBeddoeWebDev marked this pull request as ready for review September 13, 2023 00:04
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.

1 participant