verbb / hyper

A Craft CMS plugin for managing links, focusing on user experience.
Other
24 stars 15 forks source link

Configure your link types in settings #52

Open jan-dh opened 1 year ago

jan-dh commented 1 year ago

What are you trying to do?

When using Hyper within a page builder setup you have to do a lot of setup over and over again, since often time you want to reuse the hyper config (link types & linked fields) over and over again for multiple block types.

What's your proposed solution?

Would be nice if you could configure those link types on a plugin settings level, just like entry types, that you can drag & drop or enable & disable, but don't have to manually reconfigure for every instance of a Hyper field.

Additional context

No response

engram-design commented 1 year ago

I understand the workflow frustration when using in Matrix fields (or just lots of Hyper fields in general), but not quite sure how global settings would work at the moment, without annoying people who do want tailored fields.

But probably adding a drop-down in the field settings to pick from the Plugin settings would work. Which would also allow you to create multiple “default settings” for fields, which could work nicely.

jan-dh commented 1 year ago

Yep, would love that approach!

jan-dh commented 1 year ago

@engram-design just wondering if you have a rough timeline on this feature. I'm putting of CMS set up to avoid a lot of duplicate work & possibly a lot of mistakes in matrix fields.

engram-design commented 1 year ago

I can't provide an ETA, but it would be a reasonably-sized new feature and is probably a few months away.

jan-dh commented 1 year ago

Clear, thanks for the quick response!

gglnx commented 1 year ago

With Craft 5 lurking around, it would be nice to revisit this topic. I see two possible routes for this problem (and maybe configured in one project dozens links fields 😵):

  1. Supporting field instances (having only a few link fields, allowing to re-use them)
  2. Decoupling link types from link fields like sections and entry types in Craft 5
engram-design commented 1 year ago

@gglnx still digesting these new features from the Craft 5 alpha (and waiting for the APIs to settle), but that’s certainly an option.