volto icon indicating copy to clipboard operation
volto copied to clipboard

Link Widget Improvement (add/select/modify)

Open sneridagh opened this issue 2 years ago • 3 comments

PLIP (Plone Improvement Proposal)

Responsible Persons

Proposer: Víctor Fernández de Alba (@sneridagh)

Seconder:

Abstract

Improve the overall UX for the "add a link to a internal content or external URL".

Motivation

We already have one AddLinkForm that we use in a couple of scenarios to link content (in Slate editor and in the Image block and component alike. The idea is to improve and unify the experience across all the elements that has this interaction.

I know we had something similar before, but I think that now is more relevant than ever. I seems that it's a pattern that is well accepted and present in Google products, Confluence, WP, etc...

image image

Usage

  • Confluence (Atlassian)
  • Google Drive (Google)
  • Wordpress (Link Widget)

Assumptions

There are no assumptions.

Proposal & Implementation

We need to define the final look of the widget and include the feature of searching "in place".

  • Decide on which elements to show by default
    • The content inside the folder in which I'm in?
    • The most recent content the current user has created?
    • Fallback in case none of the above return results
  • How the link is "saved"/"commited"
  • Edit the link
  • Remove the link
  • Check corner cases

Deliverables

A new component that provides this features and can be reused in other scenarios.

Risks

Participants

Víctor Fernández de Alba Timo Stollenwerk ... help is welcomed!

sneridagh avatar Jan 24 '23 11:01 sneridagh

@akshatgarg12 @saadabban76 this issue is a PLIP, not an issue to be worked on at this time. A PLIP must be discussed, reviewed, and approved with a task list of deliverables by the project team before any work can be performed. Please read https://5.docs.plone.org/develop/coredev/docs/plips.html for details.

stevepiercy avatar Jan 28 '23 22:01 stevepiercy

@sneridagh We already have a branchIcon clicking on which allows us to choose image from other pages, should the link component show these images/ content from other pages in a dropdown, along with recently added urls and content in the site. Screenshot 2023-03-19 at 3 59 30 PM Screenshot 2023-03-19 at 4 14 52 PM

akshatgarg12 avatar Mar 19 '23 10:03 akshatgarg12