tags icon indicating copy to clipboard operation
tags copied to clipboard

Craft 4 support

Open acalvino4 opened this issue 4 years ago • 31 comments

Are there plans to keep this updated for Craft 4?

acalvino4 avatar Apr 08 '22 17:04 acalvino4

@acalvino4 We'd certainly like to. We just need to determine the work involved so we can schedule accordingly.

I'll leave this open whilst we figure it out.

alexjcollins avatar Apr 09 '22 10:04 alexjcollins

Craft core plans to remove Tags and Categories altogether eventually and give Entries UI capabilities that would enable them to be used and displayed as such. https://github.com/craftcms/cms/issues/820

That being said, it doesn't seem like they've moved much forward to adding that in 4.0 since the only core change they've made is to add draft functionalities to categories.

Our website uses tags pretty heavily so I'll try to see what would need to be done to add the compatibility for Craft 4.0 and I'll make a pull request.

davidwebca avatar May 09 '22 16:05 davidwebca

The earliest Tags and Categories could be removed as core concepts is Craft 5.0, as it would be a major breaking change. In the interim, I'd love to see this plugin upgraded for Craft 4 compatibility.

mmikkel avatar May 12 '22 17:05 mmikkel

+1

wmdhosting avatar May 17 '22 17:05 wmdhosting

+1

theurbanu avatar Jun 01 '22 16:06 theurbanu

+1

arifje avatar Jun 07 '22 10:06 arifje

+1

jasonmorehead avatar Jun 09 '22 22:06 jasonmorehead

Just chiming in for all those +1s: I've been using my fork for a few weeks without any issue so far. So, for those who would need it right away while Ether reviews the pull request, you can pull my fork by changing your composer file like below. Don't forget the "repositories" part or it won't work.

{
  "require": {
    "ether/tags": "dev-master"
  },
  "repositories": [
    { "type": "git", "url": "https://github.com/davidwebca/craft-tags" }
  ]
}

Of course, this would be a temporary measure as I can't guarantee that my fork will stay up (I might delete my fork if and when the pull request gets approved). Make sure to update your file later if you do this!

davidwebca avatar Jun 10 '22 02:06 davidwebca

+1

swissmexxa avatar Jul 14 '22 08:07 swissmexxa

+1

viesrood avatar Jul 19 '22 10:07 viesrood

+1

CreateSean avatar Aug 16 '22 14:08 CreateSean

Curiosity: does @brandonkelly or anyone in pixel&tonic, personally have any strong opinion on this topic?

Makes me honestly wonder: what would be the technical reason behind this "missing feature"?

ricricucit avatar Sep 13 '22 12:09 ricricucit

+1

johndwells avatar Sep 13 '22 14:09 johndwells

can you review PR:. for craft 4

wmdhosting avatar Sep 20 '22 13:09 wmdhosting

Last week we announced that tags, categories, and global sets are going to be deprecated in Craft 4.4, and fully removed in Craft 5, in favor of entries (craftcms/cms#9781). And in 4.4 we will be adding a CLI tool that can be used to migrate existing tag groups, category groups, and global sets over to entries. We’ll also be making a couple improvements to Entries fields so they can replicate Categories and Tags fields’ UI (craftcms/cms#8522 + craftcms/cms#11379).

So in other words: this plugin won’t be needed anymore :)

brandonkelly avatar Oct 03 '22 23:10 brandonkelly

This is great news. Not sure what the timeline is on Craft 5 but I'm guessing it's far enough away that some people may still need this.

rob-c-baker avatar Oct 04 '22 09:10 rob-c-baker

as much i understand in 4.4 will be avaible. in 5 just removed completly.. But yes as someone allready posted PR:: for 4.. not much work to make live

wmdhosting avatar Oct 04 '22 09:10 wmdhosting

Last week we announced that tags, categories, and global sets are going to be deprecated in Craft 4.4, and fully removed in Craft 5, in favor of entries).

We need clarification on this then. Does deprecation mean that tags, categories and globals will be replaced with entries in 4.4? Or will deprecation here mean nothing else but a forewarning for Craft 5?

Q4 2023 is quite a while a head. A lot of us can not wait for over a year for something like this. But if 4.4 is a couple of days or weeks away, waiting might be something to consider

vebjorn avatar Oct 04 '22 12:10 vebjorn

And in 4.4 we will be adding a CLI tool that can be used to migrate existing tag groups, category groups, and global sets over to entries.

wmdhosting avatar Oct 04 '22 12:10 wmdhosting

And in 4.4 we will be adding a CLI tool that can be used to migrate existing tag groups, category groups, and global sets over to entries.

That's an ambitious goal when the official roadmap for Craft says "Convert categories, tags, and global sets into entries" is planned for 5.x ..... there is a massive lack of info, and massive gap between what they say, and what is official info here.

vebjorn avatar Oct 04 '22 13:10 vebjorn

We need clarification on this then. Does deprecation mean that tags, categories and globals will be replaced with entries in 4.4? Or will deprecation here mean nothing else but a forewarning for Craft 5?

No, deprecated means those element types will still exist, but we no longer recommend you use them going forward. It doesn’t make sense to deprecate them before that because entries aren’t yet a viable alternative. They will be in 4.4 though.

Q4 2023 is quite a while a head. A lot of us can not wait for over a year for something like this. But if 4.4 is a couple of days or weeks away, waiting might be something to consider

No need to wait; nothing is changing for the time being. Categories, tags, and global sets are still recommended until 4.4. The CLI migration tool will help you move to entries when the time is right. (Could totally just be something you put off until you’re getting ready to upgrade to Craft 5 – if it ain’t broke don’t fix it.)

That's an ambitious goal when the official roadmap for Craft says "Convert categories, tags, and global sets into entries" is planned for 5.x ..... there is a massive lack of info, and massive gap between what they say, and what is official info here.

It’s a transition, but 5.0 will deliver the last nail in the coffin, so that’s why it’s marked as a 5.x feature.

brandonkelly avatar Oct 04 '22 18:10 brandonkelly

That's an ambitious goal when the official roadmap for Craft says "Convert categories, tags, and global sets into entries" is planned for 5.x ..... there is a massive lack of info, and massive gap between what they say, and what is official info here.

It’s a transition, but 5.0 will deliver the last nail in the coffin, so that’s why it’s marked as a 5.x feature.

Thanks for clarifying @brandonkelly ! This ought to be something outlined somehow in the roadmap though, or am I weird? :)

vebjorn avatar Oct 04 '22 18:10 vebjorn

Yeah fair.

“Relate ancestors” setting for Entries/Categories fields was already present for 4.x.

Just added “Create <element type>” button for relational fields and Category/tag/global set → entry conversion tool, which were missing.

brandonkelly avatar Oct 04 '22 22:10 brandonkelly

@brandonkelly Are you also looking at porting across the Tags UI? Specifically, the ability to quickly search, select, and create "tags" (I guess that should now just read "entries") all from a single input element? And then double-click to open up an editor where further fields can be filled in?

We're currently stuck on Craft 3 as we need the speed of being able to quickly add new tags that this provides. We've also found that the pop-out list of Categories often takes a long time to load, whereas Tag autocomplete seems to be nearly instantaneous. As a result, we've been slowly migrating almost all Categories to Tags, but I'm now wary of that strategy if we're going to lose the UI in the near future?

theAdhocracy avatar Oct 17 '22 11:10 theAdhocracy

@theAdhocracy Yeah inline entry creation will be possible from Entries fields, similar to how Tags fields work.

brandonkelly avatar Oct 17 '22 13:10 brandonkelly

I wouldn't mind a state of the state here. I don't see anything (as of Craft 4.5.9) nearly replicating the sweet UI of searching, adding and creating tags on the fly that this plugin affords.

I dig this plugin for that alone. I don't want something similar or something functionally the same. I want this.

So what's going on? Wil this plugin be Craft 4 compatible? Will @brandonkelly replicate a sweet tagging UI exactly?

smockensturm avatar Nov 16 '23 20:11 smockensturm

@smockensturm Just to be clear, the Tags plugin is available for Craft 4 and it works exactly like Craft 3. We're running it at the moment with no issues. You just need to keep your Tags as, well, Tags, rather than go through the entrification process with them.

As for Craft 5, time will tell. I wasn't able to make dot.all and the video of the keynote is not clear on how the UI functions, but it looks like there will be a variety of options available. I'm in the same boat though; we need the same UI experience. So fingers crossed 🤞

theAdhocracy avatar Nov 16 '23 22:11 theAdhocracy

Just to be clear, the Tags plugin is available for Craft 4 and it works exactly like Craft 3.

Yeah, I suppose. Thanks for the rundown.

Screen Shot 2023-11-17 at 10 21 27 AM

smockensturm avatar Nov 17 '23 15:11 smockensturm