Content
View differences
Updated by Marc Alcobé about 2 years ago
**As** an OpenProject user
**I want** to be able to add a link to a custom field type text
**in order to** quickly link to a page.
**Acceptance criteria**
* New custom field type "URL" in the administration settings. "URL".
* In the work package details there is a field where users can add a link. Next to it there is On hover we have an icon that allows to add or remove activates the link. editing mode.
* Clicking on the link opens the target in the same window (not in a new tab).
**Open**
* How do we switch between editing and clicking on the link?
* _Preference Niels:_ Preference Niels: Clicking the link opens it. The editing is triggered by an icon on hover.
* _Proposal Marc:_ Treat it the same way we do with the Spent time field. The icon is always there and then switch between add and remove link action.
* Do we want the icon to allow editing the existing link? Maybe is easier to treat the icon as a add and remove link. When the user wants to change the link overrides the existing one and adds a new one (normally copying it).
**Visuals and Figma**
https://www.figma.com/file/oTMDTvcwrx35qExTkkSKBn/Custom-fields?type=design&node-id=624-13975&mode=design
**I want** to be able to add a link to a custom field type text
**in order to** quickly link to a page.
**Acceptance criteria**
* New custom field type "URL" in the administration settings.
* In the work package details there is a field where users can add a link. Next to it there is
* Clicking on the link opens the target in the same window (not in a new tab).
* How do we switch between editing and clicking on the link?
* _Preference Niels:_
* _Proposal Marc:_ Treat it the same way we do with the Spent time field. The icon is always there and then switch between add and remove link action.
* Do we want the icon to allow editing the existing link? Maybe is easier to treat the icon as a add and remove link. When the user wants to change the link overrides the existing one and adds a new one (normally copying it).
**Visuals and Figma**
https://www.figma.com/file/oTMDTvcwrx35qExTkkSKBn/Custom-fields?type=design&node-id=624-13975&mode=design