Skip to content

Created Universal Link Input Field type#2305

Open
Toocky wants to merge 10 commits into
cortezaproject:2024.9.xfrom
Toocky:2024.9.x-feature-link-input-field
Open

Created Universal Link Input Field type#2305
Toocky wants to merge 10 commits into
cortezaproject:2024.9.xfrom
Toocky:2024.9.x-feature-link-input-field

Conversation

@Toocky
Copy link
Copy Markdown

@Toocky Toocky commented Mar 17, 2026

The following changes are implemented

Created a universal Link field type

#2304

Changes in the user interface:

New Link type selectable from the field type drop down
image

Defaults to "Dynamic" it will handle web addresses, Emails, and Phone numbers, the URL options are only visible on dynamic and if you have statically selected the URL type.
image

when you disable the dynamic selection you will be given the preconfigured list of protocols.
image

if your desired link is not covered you can set a custom protocol.
image

you can see the dynamic
image
image
image
image

And statically they will all use the selected protocol without any sanity checks
image
image

these could potentially be enhanced to include the other protocols into the dynamic selector if the protocol has a specific ID pattern we can easily map with a regex but for now ive just included email phone and www

Checklist when submitting a final (!draft) PR

  • Commits are tidied up, squashed if needed and follow guidelines in CONTRIBUTING.md
  • Code builds
  • All existing tests pass
  • All new critical code is covered by tests
  • PR is linked to the relevant issue(s)
  • Rebased with the target branch

@Toocky
Copy link
Copy Markdown
Author

Toocky commented Mar 22, 2026

Rebased with 2024.9.8

@Fajfa Fajfa force-pushed the 2024.9.x branch 2 times, most recently from b8536d1 to b7d6d27 Compare May 21, 2026 14:25
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