silverstripe / silverstripe-linkfield

Silverstripe module for managing links
BSD 3-Clause "New" or "Revised" License
4 stars 13 forks source link

Default AnyLink implementation #31

Closed dnsl48 closed 10 months ago

dnsl48 commented 3 years ago

Summary

In support for the RFC-30 we need to come up with a robust default AnyLink implementation.

That link type is expected to be used the most and should be able to represent other link types (depending on the CMS user choice).

Acceptance Criteria

chillu commented 3 years ago

I've got a few more ;)

maxime-rainville commented 3 years ago

Sounds good. On the graphQL bit, it's worth pointing out that DBFile currently has it's own special grahpql type. https://github.com/silverstripe/silverstripe-graphql/blob/3/_config/assets.yml

We'll probably need some similar logic for this, but that's probably a problem for another card.

chillu commented 3 years ago

Just to clarify: With "Supports 10 link fields" I mean 10 entries in static $db. We'll build in 4 link types (internal page, external URL, email, file), and a handful of projects might have one or two additional ones (e.g. phone number, document management system integration, etc). It's very unlikely that any Silverstripe project will have 10 link types.