Problem/Motivation

Limited linking in the default Drupal SDC method

Steps to reproduce

When editing a view mode, or field formatter using the UI Patterns under Manage display
Then a limited string type has no validation for URL or a local path

Proposed resolution

UI Patterns ~2.0 provides number of refs
Use $ref: "ui-patterns://url" in all link props
like

    url:
      type: string
      title: URL Link
      description: Simple URL link for heading.
      $ref: "ui-patterns://url"

Remaining tasks

  • ✅ File an issue about this project
  • ✅ Addition/Change/Update/Fix to this project
  • ✅ Testing to ensure no regression
  • ➖ Automated unit/functional testing coverage
  • ➖ Developer Documentation support on feature change/addition
  • ➖ User Guide Documentation support on feature change/addition
  • ➖ UX/UI designer responsibilities
  • ➖ Accessibility and Readability
  • ✅ Code review from 1 Varbase core team member
  • ✅ Full testing and approval
  • ✅ Credit contributors
  • ✅ Review with the product owner
  • ✅ Update Release Notes and Update Helper on new feature change/addition
  • ✅ Release varbase-10.1.0-alpha2, varbase_components-3.0.0-alpha5

Varbase update type

  • ✅ No Update
  • ➖ Optional Update
  • ➖ Forced Update
  • ➖ Forced Update if Unchanged

User interface changes

After the change

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

  • Issue #3525844: Changed URL links in components to use $ref: ui-patterns://url for better admin UI/UX and extra validation

Comments

rajab natshah created an issue. See original summary.

  • rajab natshah committed df52923f on 3.0.x
    Issue #3525844: Change URL links in components to use $ref: ui-patterns...
rajab natshah’s picture

Assigned: rajab natshah » s.halawani
Issue summary: View changes
Status: Active » Needs review
Issue tags: +varbase-10.1.0-alpha2, +varbase_components-3.0.0-alpha5
rajab natshah’s picture

Assigned: s.halawani » Unassigned
Status: Needs review » Fixed
rajab natshah’s picture

Issue summary: View changes

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

rajab natshah’s picture

rajab natshah’s picture

rajab natshah’s picture

Issue summary: View changes